Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,116 Log
Holders
476
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 LogLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Logarithms
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-12-10 */ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.3.2 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // OpenZeppelin Contracts v4.3.2 (utils/Context.sol) /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // OpenZeppelin Contracts v4.3.2 (utils/introspection/ERC165.sol) /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // OpenZeppelin Contracts v4.3.2 (utils/Strings.sol) /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // OpenZeppelin Contracts v4.3.2 (access/IAccessControl.sol) /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // OpenZeppelin Contracts v4.3.2 (token/ERC721/IERC721.sol) /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // OpenZeppelin Contracts v4.3.2 (token/ERC721/extensions/ERC721Enumerable.sol) // OpenZeppelin Contracts v4.3.2 (token/ERC721/ERC721.sol) // OpenZeppelin Contracts v4.3.2 (token/ERC721/IERC721Receiver.sol) /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // OpenZeppelin Contracts v4.3.2 (token/ERC721/extensions/IERC721Metadata.sol) /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // OpenZeppelin Contracts v4.3.2 (utils/Address.sol) /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @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); } /** * @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 of token that is not own"); 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); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // OpenZeppelin Contracts v4.3.2 (token/ERC721/extensions/IERC721Enumerable.sol) /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @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); } /** * @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(); } } // OpenZeppelin Contracts v4.3.2 (access/AccessControlEnumerable.sol) // OpenZeppelin Contracts v4.3.2 (access/IAccessControlEnumerable.sol) /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable is IAccessControl { /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) external view returns (address); /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) external view returns (uint256); } // OpenZeppelin Contracts v4.3.2 (access/AccessControl.sol) /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // OpenZeppelin Contracts v4.3.2 (utils/structs/EnumerableSet.sol) /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } } /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {grantRole} to track enumerable memberships */ function grantRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) { super.grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {revokeRole} to track enumerable memberships */ function revokeRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) { super.revokeRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {renounceRole} to track enumerable memberships */ function renounceRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) { super.renounceRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {_setupRole} to track enumerable memberships */ function _setupRole(bytes32 role, address account) internal virtual override { super._setupRole(role, account); _roleMembers[role].add(account); } } // OpenZeppelin Contracts v4.3.2 (access/Ownable.sol) /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // OpenZeppelin Contracts v4.3.2 (utils/cryptography/MerkleProof.sol) /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } } contract Logarithms is Context, AccessControlEnumerable, ERC721, ERC721Enumerable, Ownable { string constant base_uri_head = "https://logarithms.art/metadata/"; string constant base_uri_tail = ".json"; uint constant public maxTotalSupply = 2500; uint constant public teamSupply = 125; uint constant public publicSupply = maxTotalSupply - teamSupply; uint constant public maxPerCall = 20; uint constant public whiteListMax = 2; uint public pricePerToken = 0.05 ether; uint public tokensMinted = 0; uint public tokensBurned = 0; bool public teamTokensMinted = false; bool public tradeActive = false; enum SaleState{ CLOSED, PRIVATE, PUBLIC } SaleState public saleState = SaleState.CLOSED; bytes32 private merkleRoot; constructor() ERC721("Logarithms", "Log") { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); } function safeTransferFrom(address _from, address _to, uint256 _tokenId, bytes calldata data) public override { require(tradeActive, "Trade is not active"); super.safeTransferFrom(_from, _to, _tokenId, data); } function safeTransferFrom(address _from, address _to, uint256 _tokenId) public override { require(tradeActive, "Trade is not active"); super.safeTransferFrom(_from, _to, _tokenId); } function transferFrom(address _from, address _to, uint256 _tokenId) public override { require(tradeActive, "Trade is not active"); super.transferFrom(_from, _to, _tokenId); } function setTradeState(bool tradeState) public { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Cannot set trade state"); tradeActive = tradeState; } function setPrice(uint newPrice) public { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Cannot set price"); pricePerToken = newPrice; } function mintTeamTokens() public { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Cannot mint team tokens"); require(!teamTokensMinted, "Team tokens have already been minted"); for (uint i = 0; i < teamSupply; i++) { _mint(owner(), tokensMinted+1); tokensMinted += 1; } teamTokensMinted = true; } function setSaleState(SaleState newState) public { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Cannot alter sale state"); saleState = newState; } function setMerkleRoot(bytes32 newRoot) public { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Cannot set merkle root"); merkleRoot = newRoot; } function withdraw() public { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Cannot withdraw"); payable(owner()).call{value: address(this).balance}(""); } function mint(uint amount, bytes32[] calldata proof, uint freeAmount) public payable { require(amount > 0, "Minting 0 tokens is quite useless"); require(amount <= maxPerCall, "Amount is higher than maximum per call"); require (saleState != SaleState.CLOSED, "Sale is closed"); if (saleState == SaleState.PRIVATE) { bytes32 userLeaf = keccak256(abi.encodePacked(msg.sender, freeAmount)); require(MerkleProof.verify(proof, merkleRoot, userLeaf), "Provided data is not correct"); require(amount + balanceOf(msg.sender) <= freeAmount + whiteListMax, "Amount is higher than allowed"); if (freeAmount > balanceOf(msg.sender)) { freeAmount -= balanceOf(msg.sender); if (freeAmount > amount) { freeAmount = amount; } } else { freeAmount = 0; } if (freeAmount + tokensMinted > _availableSupply()) { freeAmount = _availableSupply() - tokensMinted; } for (uint i = 0; i < freeAmount; i++) { _mint(_msgSender(), tokensMinted+1); tokensMinted += 1; } amount -= freeAmount; } if (amount + tokensMinted > _availableSupply()) { amount = _availableSupply() - tokensMinted; } uint amountToPay = amount * pricePerToken; require(amountToPay <= msg.value, "Provided not enough Ether for purchase"); for (uint i = 0; i < amount; i++) { _mint(_msgSender(), tokensMinted+1); tokensMinted += 1; } if (msg.value > amountToPay) { payable(_msgSender()).call{value: msg.value - amountToPay}(""); } } function burnMany(uint256[] calldata tokenIds) public { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller cannot burn"); for (uint i; i < tokenIds.length; i++) { _burn(tokenIds[i]); } tokensBurned += tokenIds.length; } function _availableSupply() private view returns(uint) { if (teamTokensMinted) { return maxTotalSupply; } else { return publicSupply; } } function tokenURI(uint256 _tokenId) public pure override returns (string memory) { return string(abi.encodePacked(base_uri_head, Strings.toString(_tokenId), base_uri_tail)); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable, AccessControlEnumerable) returns (bool) { return super.supportsInterface(interfaceId); } function _beforeTokenTransfer( address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"maxPerCall","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"freeAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintTeamTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum Logarithms.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Logarithms.SaleState","name":"newState","type":"uint8"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"tradeState","type":"bool"}],"name":"setTradeState","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":"teamSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamTokensMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"pure","type":"function"},{"inputs":[],"name":"tokensBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradeActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"whiteListMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405266b1a2bc2ec50000600d556000600e819055600f556010805462ffffff191690553480156200003257600080fd5b50604080518082018252600a8152694c6f6761726974686d7360b01b6020808301918252835180850190945260038452624c6f6760e81b908401528151919291620000809160029162000281565b5080516200009690600390602084019062000281565b505050620000b3620000ad620000c660201b60201c565b620000ca565b620000c06000336200011c565b62000364565b3390565b600c80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200013382826200015f60201b6200185a1760201c565b60008281526001602090815260409091206200015a918390620018646200016f821b17901c565b505050565b6200016b82826200018f565b5050565b600062000186836001600160a01b0384166200022f565b90505b92915050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200016b576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001eb3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054620002785750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000189565b50600062000189565b8280546200028f9062000327565b90600052602060002090601f016020900481019282620002b35760008555620002fe565b82601f10620002ce57805160ff1916838001178555620002fe565b82800160010185558215620002fe579182015b82811115620002fe578251825591602001919060010190620002e1565b506200030c92915062000310565b5090565b5b808211156200030c576000815560010162000311565b600181811c908216806200033c57607f821691505b602082108114156200035e57634e487b7160e01b600052602260045260246000fd5b50919050565b61320b80620003746000396000f3fe60806040526004361061027d5760003560e01c80636352211e1161014f57806395d89b41116100c1578063cf3234601161007a578063cf32346014610747578063d547741f14610767578063e5ff2e8a14610787578063e7873b581461079c578063e985e9c5146107b2578063f2fde38b146107fb57600080fd5b806395d89b411461069d578063a217fddf146106b2578063a22cb465146106c7578063b88d4fde146106e7578063c87b56dd14610707578063ca15c8731461072757600080fd5b80637b1b1de6116101135780637b1b1de6146105e95780637cb64759146105ff5780638da5cb5b1461061f5780639010d07c1461063d57806391b7f5ed1461065d57806391d148541461067d57600080fd5b80636352211e146105695780636de9f32b1461058957806370a082311461059f578063715018a6146105bf5780637a2ae891146105d457600080fd5b80632cfac6ec116101f357806342842e0e116101ac57806342842e0e146104a85780634f6ccce7146104c85780635882128d146104e85780635a67de07146105075780635e84d72314610527578063603f4d521461053c57600080fd5b80632cfac6ec146103fe5780632f2ff15d146104135780632f745c591461043357806336568abe146104535780633ccfd60b146104735780633f780f001461048857600080fd5b806318160ddd1161024557806318160ddd146103565780631ff7712f1461036b57806322cb1ec81461037e57806323b872dd14610398578063248a9ca3146103b85780632ab4d052146103e857600080fd5b806301ffc9a71461028257806306fdde03146102b75780630743b808146102d9578063081812fc146102fc578063095ea7b314610334575b600080fd5b34801561028e57600080fd5b506102a261029d366004612abc565b61081b565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102cc61082c565b6040516102ae9190612b31565b3480156102e557600080fd5b506102ee600281565b6040519081526020016102ae565b34801561030857600080fd5b5061031c610317366004612b44565b6108be565b6040516001600160a01b0390911681526020016102ae565b34801561034057600080fd5b5061035461034f366004612b79565b610958565b005b34801561036257600080fd5b50600a546102ee565b610354610379366004612bef565b610a6e565b34801561038a57600080fd5b506010546102a29060ff1681565b3480156103a457600080fd5b506103546103b3366004612c42565b610ef2565b3480156103c457600080fd5b506102ee6103d3366004612b44565b60009081526020819052604090206001015490565b3480156103f457600080fd5b506102ee6109c481565b34801561040a57600080fd5b506102ee607d81565b34801561041f57600080fd5b5061035461042e366004612c7e565b610f24565b34801561043f57600080fd5b506102ee61044e366004612b79565b610f46565b34801561045f57600080fd5b5061035461046e366004612c7e565b610fdc565b34801561047f57600080fd5b50610354610ffe565b34801561049457600080fd5b506103546104a3366004612cba565b611094565b3480156104b457600080fd5b506103546104c3366004612c42565b6110fe565b3480156104d457600080fd5b506102ee6104e3366004612b44565b611130565b3480156104f457600080fd5b506010546102a290610100900460ff1681565b34801561051357600080fd5b50610354610522366004612cd5565b6111c3565b34801561053357600080fd5b506102ee611245565b34801561054857600080fd5b5060105461055c9062010000900460ff1681565b6040516102ae9190612d0c565b34801561057557600080fd5b5061031c610584366004612b44565b611255565b34801561059557600080fd5b506102ee600e5481565b3480156105ab57600080fd5b506102ee6105ba366004612d34565b6112cc565b3480156105cb57600080fd5b50610354611353565b3480156105e057600080fd5b506102ee601481565b3480156105f557600080fd5b506102ee600d5481565b34801561060b57600080fd5b5061035461061a366004612b44565b6113b9565b34801561062b57600080fd5b50600c546001600160a01b031661031c565b34801561064957600080fd5b5061031c610658366004612d4f565b61140e565b34801561066957600080fd5b50610354610678366004612b44565b61142d565b34801561068957600080fd5b506102a2610698366004612c7e565b61147c565b3480156106a957600080fd5b506102cc6114a5565b3480156106be57600080fd5b506102ee600081565b3480156106d357600080fd5b506103546106e2366004612d71565b6114b4565b3480156106f357600080fd5b50610354610702366004612d9b565b6114c3565b34801561071357600080fd5b506102cc610722366004612b44565b61152c565b34801561073357600080fd5b506102ee610742366004612b44565b6115b3565b34801561075357600080fd5b50610354610762366004612e36565b6115ca565b34801561077357600080fd5b50610354610782366004612c7e565b611673565b34801561079357600080fd5b5061035461167d565b3480156107a857600080fd5b506102ee600f5481565b3480156107be57600080fd5b506102a26107cd366004612e78565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561080757600080fd5b50610354610816366004612d34565b61178f565b600061082682611879565b92915050565b60606002805461083b90612ea2565b80601f016020809104026020016040519081016040528092919081815260200182805461086790612ea2565b80156108b45780601f10610889576101008083540402835291602001916108b4565b820191906000526020600020905b81548152906001019060200180831161089757829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b031661093c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061096382611255565b9050806001600160a01b0316836001600160a01b031614156109d15760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610933565b336001600160a01b03821614806109ed57506109ed81336107cd565b610a5f5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610933565b610a69838361189e565b505050565b60008411610ac85760405162461bcd60e51b815260206004820152602160248201527f4d696e74696e67203020746f6b656e73206973207175697465207573656c65736044820152607360f81b6064820152608401610933565b6014841115610b285760405162461bcd60e51b815260206004820152602660248201527f416d6f756e7420697320686967686572207468616e206d6178696d756d2070656044820152651c8818d85b1b60d21b6064820152608401610933565b600060105462010000900460ff166002811115610b4757610b47612cf6565b1415610b865760405162461bcd60e51b815260206004820152600e60248201526d14d85b19481a5cc818db1bdcd95960921b6044820152606401610933565b600160105462010000900460ff166002811115610ba557610ba5612cf6565b1415610daf576040516bffffffffffffffffffffffff193360601b16602082015260348101829052600090605401604051602081830303815290604052805190602001209050610c2c84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601154915084905061190c565b610c785760405162461bcd60e51b815260206004820152601c60248201527f50726f76696465642064617461206973206e6f7420636f7272656374000000006044820152606401610933565b610c83600283612ef3565b610c8c336112cc565b610c969087612ef3565b1115610ce45760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e7420697320686967686572207468616e20616c6c6f7765640000006044820152606401610933565b610ced336112cc565b821115610d1a57610cfd336112cc565b610d079083612f0b565b915084821115610d15578491505b610d1f565b600091505b610d27611922565b600e54610d349084612ef3565b1115610d5257600e54610d45611922565b610d4f9190612f0b565b91505b60005b82811015610da057610d75335b600e54610d70906001612ef3565b611949565b6001600e6000828254610d889190612ef3565b90915550819050610d9881612f22565b915050610d55565b50610dab8286612f0b565b9450505b610db7611922565b600e54610dc49086612ef3565b1115610de257600e54610dd5611922565b610ddf9190612f0b565b93505b6000600d5485610df29190612f3d565b905034811115610e535760405162461bcd60e51b815260206004820152602660248201527f50726f7669646564206e6f7420656e6f75676820457468657220666f7220707560448201526572636861736560d01b6064820152608401610933565b60005b85811015610e9257610e6733610d62565b6001600e6000828254610e7a9190612ef3565b90915550819050610e8a81612f22565b915050610e56565b5080341115610eeb5733610ea68234612f0b565b604051600081818185875af1925050503d8060008114610ee2576040519150601f19603f3d011682016040523d82523d6000602084013e610ee7565b606091505b5050505b5050505050565b601054610100900460ff16610f195760405162461bcd60e51b815260040161093390612f5c565b610a69838383611a97565b610f2e8282611ac8565b6000828152600160205260409020610a699082611864565b6000610f51836112cc565b8210610fb35760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610933565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b610fe68282611aee565b6000828152600160205260409020610a699082611b68565b61100960003361147c565b6110475760405162461bcd60e51b815260206004820152600f60248201526e43616e6e6f7420776974686472617760881b6044820152606401610933565b600c546040516001600160a01b03909116904790600081818185875af1925050503d8060008114610a69576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b61109f60003361147c565b6110e45760405162461bcd60e51b815260206004820152601660248201527543616e6e6f742073657420747261646520737461746560501b6044820152606401610933565b601080549115156101000261ff0019909216919091179055565b601054610100900460ff166111255760405162461bcd60e51b815260040161093390612f5c565b610a69838383611b7d565b600061113b600a5490565b821061119e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610933565b600a82815481106111b1576111b1612f89565b90600052602060002001549050919050565b6111ce60003361147c565b61121a5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420616c7465722073616c652073746174650000000000000000006044820152606401610933565b6010805482919062ff000019166201000083600281111561123d5761123d612cf6565b021790555050565b611252607d6109c4612f0b565b81565b6000818152600460205260408120546001600160a01b0316806108265760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610933565b60006001600160a01b0382166113375760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610933565b506001600160a01b031660009081526005602052604090205490565b600c546001600160a01b031633146113ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610933565b6113b76000611b98565b565b6113c460003361147c565b6114095760405162461bcd60e51b815260206004820152601660248201527510d85b9b9bdd081cd95d081b595c9adb19481c9bdbdd60521b6044820152606401610933565b601155565b60008281526001602052604081206114269083611bea565b9392505050565b61143860003361147c565b6114775760405162461bcd60e51b815260206004820152601060248201526f43616e6e6f742073657420707269636560801b6044820152606401610933565b600d55565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606003805461083b90612ea2565b6114bf338383611bf6565b5050565b601054610100900460ff166114ea5760405162461bcd60e51b815260040161093390612f5c565b610eeb85858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611cc592505050565b60606040518060400160405280602081526020017f68747470733a2f2f6c6f6761726974686d732e6172742f6d657461646174612f81525061156d83611cfd565b60405180604001604052806005815260200164173539b7b760d91b81525060405160200161159d93929190612f9f565b6040516020818303038152906040529050919050565b600081815260016020526040812061082690611e03565b6115d560003361147c565b6116165760405162461bcd60e51b815260206004820152601260248201527121b0b63632b91031b0b73737ba10313ab93760711b6044820152606401610933565b60005b818110156116545761164283838381811061163657611636612f89565b90506020020135611e0d565b8061164c81612f22565b915050611619565b5081819050600f600082825461166a9190612ef3565b90915550505050565b610fe68282611eb4565b61168860003361147c565b6116d45760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74206d696e74207465616d20746f6b656e730000000000000000006044820152606401610933565b60105460ff16156117335760405162461bcd60e51b8152602060048201526024808201527f5465616d20746f6b656e73206861766520616c7265616479206265656e206d696044820152631b9d195960e21b6064820152608401610933565b60005b607d81101561177f57611754610d62600c546001600160a01b031690565b6001600e60008282546117679190612ef3565b9091555081905061177781612f22565b915050611736565b506010805460ff19166001179055565b600c546001600160a01b031633146117e95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610933565b6001600160a01b03811661184e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610933565b61185781611b98565b50565b6114bf8282611eda565b6000611426836001600160a01b038416611f5e565b60006001600160e01b0319821663780e9d6360e01b1480610826575061082682611fad565b600081815260066020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118d382611255565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000826119198584611fed565b14949350505050565b60105460009060ff161561193757506109c490565b611944607d6109c4612f0b565b905090565b6001600160a01b03821661199f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610933565b6000818152600460205260409020546001600160a01b031615611a045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610933565b611a1060008383612099565b6001600160a01b0382166000908152600560205260408120805460019290611a39908490612ef3565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611aa133826120a4565b611abd5760405162461bcd60e51b815260040161093390612fe2565b610a69838383612197565b600082815260208190526040902060010154611ae48133612342565b610a698383611eda565b6001600160a01b0381163314611b5e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610933565b6114bf82826123a6565b6000611426836001600160a01b03841661240b565b610a69838383604051806020016040528060008152506114c3565b600c80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061142683836124fe565b816001600160a01b0316836001600160a01b03161415611c585760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610933565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611ccf33836120a4565b611ceb5760405162461bcd60e51b815260040161093390612fe2565b611cf784848484612528565b50505050565b606081611d215750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d4b5780611d3581612f22565b9150611d449050600a83613049565b9150611d25565b60008167ffffffffffffffff811115611d6657611d6661305d565b6040519080825280601f01601f191660200182016040528015611d90576020820181803683370190505b5090505b8415611dfb57611da5600183612f0b565b9150611db2600a86613073565b611dbd906030612ef3565b60f81b818381518110611dd257611dd2612f89565b60200101906001600160f81b031916908160001a905350611df4600a86613049565b9450611d94565b949350505050565b6000610826825490565b6000611e1882611255565b9050611e2681600084612099565b611e3160008361189e565b6001600160a01b0381166000908152600560205260408120805460019290611e5a908490612f0b565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600082815260208190526040902060010154611ed08133612342565b610a6983836123a6565b611ee4828261147c565b6114bf576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611f1a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054611fa557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610826565b506000610826565b60006001600160e01b031982166380ac58cd60e01b1480611fde57506001600160e01b03198216635b5e139f60e01b145b8061082657506108268261255b565b600081815b845181101561209157600085828151811061200f5761200f612f89565b6020026020010151905080831161205157604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061207e565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061208981612f22565b915050611ff2565b509392505050565b610a69838383612580565b6000818152600460205260408120546001600160a01b031661211d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610933565b600061212883611255565b9050806001600160a01b0316846001600160a01b031614806121635750836001600160a01b0316612158846108be565b6001600160a01b0316145b80611dfb57506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff16611dfb565b826001600160a01b03166121aa82611255565b6001600160a01b0316146122125760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610933565b6001600160a01b0382166122745760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610933565b61227f838383612099565b61228a60008261189e565b6001600160a01b03831660009081526005602052604081208054600192906122b3908490612f0b565b90915550506001600160a01b03821660009081526005602052604081208054600192906122e1908490612ef3565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61234c828261147c565b6114bf57612364816001600160a01b03166014612638565b61236f836020612638565b604051602001612380929190613087565b60408051601f198184030181529082905262461bcd60e51b825261093391600401612b31565b6123b0828261147c565b156114bf576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600081815260018301602052604081205480156124f457600061242f600183612f0b565b855490915060009061244390600190612f0b565b90508181146124a857600086600001828154811061246357612463612f89565b906000526020600020015490508087600001848154811061248657612486612f89565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806124b9576124b96130fc565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610826565b6000915050610826565b600082600001828154811061251557612515612f89565b9060005260206000200154905092915050565b612533848484612197565b61253f848484846127d4565b611cf75760405162461bcd60e51b815260040161093390613112565b60006001600160e01b03198216635a05180f60e01b14806108265750610826826128e1565b6001600160a01b0383166125db576125d681600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b6125fe565b816001600160a01b0316836001600160a01b0316146125fe576125fe8382612916565b6001600160a01b03821661261557610a69816129b3565b826001600160a01b0316826001600160a01b031614610a6957610a698282612a62565b60606000612647836002612f3d565b612652906002612ef3565b67ffffffffffffffff81111561266a5761266a61305d565b6040519080825280601f01601f191660200182016040528015612694576020820181803683370190505b509050600360fc1b816000815181106126af576126af612f89565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106126de576126de612f89565b60200101906001600160f81b031916908160001a9053506000612702846002612f3d565b61270d906001612ef3565b90505b6001811115612785576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061274157612741612f89565b1a60f81b82828151811061275757612757612f89565b60200101906001600160f81b031916908160001a90535060049490941c9361277e81613164565b9050612710565b5083156114265760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610933565b60006001600160a01b0384163b156128d657604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061281890339089908890889060040161317b565b602060405180830381600087803b15801561283257600080fd5b505af1925050508015612862575060408051601f3d908101601f1916820190925261285f918101906131b8565b60015b6128bc573d808015612890576040519150601f19603f3d011682016040523d82523d6000602084013e612895565b606091505b5080516128b45760405162461bcd60e51b815260040161093390613112565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611dfb565b506001949350505050565b60006001600160e01b03198216637965db0b60e01b148061082657506301ffc9a760e01b6001600160e01b0319831614610826565b60006001612923846112cc565b61292d9190612f0b565b600083815260096020526040902054909150808214612980576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a546000906129c590600190612f0b565b6000838152600b6020526040812054600a80549394509092849081106129ed576129ed612f89565b9060005260206000200154905080600a8381548110612a0e57612a0e612f89565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480612a4657612a466130fc565b6001900381819060005260206000200160009055905550505050565b6000612a6d836112cc565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b6001600160e01b03198116811461185757600080fd5b600060208284031215612ace57600080fd5b813561142681612aa6565b60005b83811015612af4578181015183820152602001612adc565b83811115611cf75750506000910152565b60008151808452612b1d816020860160208601612ad9565b601f01601f19169290920160200192915050565b6020815260006114266020830184612b05565b600060208284031215612b5657600080fd5b5035919050565b80356001600160a01b0381168114612b7457600080fd5b919050565b60008060408385031215612b8c57600080fd5b612b9583612b5d565b946020939093013593505050565b60008083601f840112612bb557600080fd5b50813567ffffffffffffffff811115612bcd57600080fd5b6020830191508360208260051b8501011115612be857600080fd5b9250929050565b60008060008060608587031215612c0557600080fd5b84359350602085013567ffffffffffffffff811115612c2357600080fd5b612c2f87828801612ba3565b9598909750949560400135949350505050565b600080600060608486031215612c5757600080fd5b612c6084612b5d565b9250612c6e60208501612b5d565b9150604084013590509250925092565b60008060408385031215612c9157600080fd5b82359150612ca160208401612b5d565b90509250929050565b80358015158114612b7457600080fd5b600060208284031215612ccc57600080fd5b61142682612caa565b600060208284031215612ce757600080fd5b81356003811061142657600080fd5b634e487b7160e01b600052602160045260246000fd5b6020810160038310612d2e57634e487b7160e01b600052602160045260246000fd5b91905290565b600060208284031215612d4657600080fd5b61142682612b5d565b60008060408385031215612d6257600080fd5b50508035926020909101359150565b60008060408385031215612d8457600080fd5b612d8d83612b5d565b9150612ca160208401612caa565b600080600080600060808688031215612db357600080fd5b612dbc86612b5d565b9450612dca60208701612b5d565b935060408601359250606086013567ffffffffffffffff80821115612dee57600080fd5b818801915088601f830112612e0257600080fd5b813581811115612e1157600080fd5b896020828501011115612e2357600080fd5b9699959850939650602001949392505050565b60008060208385031215612e4957600080fd5b823567ffffffffffffffff811115612e6057600080fd5b612e6c85828601612ba3565b90969095509350505050565b60008060408385031215612e8b57600080fd5b612e9483612b5d565b9150612ca160208401612b5d565b600181811c90821680612eb657607f821691505b60208210811415612ed757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612f0657612f06612edd565b500190565b600082821015612f1d57612f1d612edd565b500390565b6000600019821415612f3657612f36612edd565b5060010190565b6000816000190483118215151615612f5757612f57612edd565b500290565b6020808252601390820152725472616465206973206e6f742061637469766560681b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60008451612fb1818460208901612ad9565b845190830190612fc5818360208901612ad9565b8451910190612fd8818360208801612ad9565b0195945050505050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b60008261305857613058613033565b500490565b634e487b7160e01b600052604160045260246000fd5b60008261308257613082613033565b500690565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516130bf816017850160208801612ad9565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516130f0816028840160208801612ad9565b01602801949350505050565b634e487b7160e01b600052603160045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008161317357613173612edd565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906131ae90830184612b05565b9695505050505050565b6000602082840312156131ca57600080fd5b815161142681612aa656fea26469706673582212204d60d5f75760c7cc38e6ebd45f64a01e752c8240ffc937a79e53733b16d10d4b64736f6c63430008090033
Deployed Bytecode
0x60806040526004361061027d5760003560e01c80636352211e1161014f57806395d89b41116100c1578063cf3234601161007a578063cf32346014610747578063d547741f14610767578063e5ff2e8a14610787578063e7873b581461079c578063e985e9c5146107b2578063f2fde38b146107fb57600080fd5b806395d89b411461069d578063a217fddf146106b2578063a22cb465146106c7578063b88d4fde146106e7578063c87b56dd14610707578063ca15c8731461072757600080fd5b80637b1b1de6116101135780637b1b1de6146105e95780637cb64759146105ff5780638da5cb5b1461061f5780639010d07c1461063d57806391b7f5ed1461065d57806391d148541461067d57600080fd5b80636352211e146105695780636de9f32b1461058957806370a082311461059f578063715018a6146105bf5780637a2ae891146105d457600080fd5b80632cfac6ec116101f357806342842e0e116101ac57806342842e0e146104a85780634f6ccce7146104c85780635882128d146104e85780635a67de07146105075780635e84d72314610527578063603f4d521461053c57600080fd5b80632cfac6ec146103fe5780632f2ff15d146104135780632f745c591461043357806336568abe146104535780633ccfd60b146104735780633f780f001461048857600080fd5b806318160ddd1161024557806318160ddd146103565780631ff7712f1461036b57806322cb1ec81461037e57806323b872dd14610398578063248a9ca3146103b85780632ab4d052146103e857600080fd5b806301ffc9a71461028257806306fdde03146102b75780630743b808146102d9578063081812fc146102fc578063095ea7b314610334575b600080fd5b34801561028e57600080fd5b506102a261029d366004612abc565b61081b565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102cc61082c565b6040516102ae9190612b31565b3480156102e557600080fd5b506102ee600281565b6040519081526020016102ae565b34801561030857600080fd5b5061031c610317366004612b44565b6108be565b6040516001600160a01b0390911681526020016102ae565b34801561034057600080fd5b5061035461034f366004612b79565b610958565b005b34801561036257600080fd5b50600a546102ee565b610354610379366004612bef565b610a6e565b34801561038a57600080fd5b506010546102a29060ff1681565b3480156103a457600080fd5b506103546103b3366004612c42565b610ef2565b3480156103c457600080fd5b506102ee6103d3366004612b44565b60009081526020819052604090206001015490565b3480156103f457600080fd5b506102ee6109c481565b34801561040a57600080fd5b506102ee607d81565b34801561041f57600080fd5b5061035461042e366004612c7e565b610f24565b34801561043f57600080fd5b506102ee61044e366004612b79565b610f46565b34801561045f57600080fd5b5061035461046e366004612c7e565b610fdc565b34801561047f57600080fd5b50610354610ffe565b34801561049457600080fd5b506103546104a3366004612cba565b611094565b3480156104b457600080fd5b506103546104c3366004612c42565b6110fe565b3480156104d457600080fd5b506102ee6104e3366004612b44565b611130565b3480156104f457600080fd5b506010546102a290610100900460ff1681565b34801561051357600080fd5b50610354610522366004612cd5565b6111c3565b34801561053357600080fd5b506102ee611245565b34801561054857600080fd5b5060105461055c9062010000900460ff1681565b6040516102ae9190612d0c565b34801561057557600080fd5b5061031c610584366004612b44565b611255565b34801561059557600080fd5b506102ee600e5481565b3480156105ab57600080fd5b506102ee6105ba366004612d34565b6112cc565b3480156105cb57600080fd5b50610354611353565b3480156105e057600080fd5b506102ee601481565b3480156105f557600080fd5b506102ee600d5481565b34801561060b57600080fd5b5061035461061a366004612b44565b6113b9565b34801561062b57600080fd5b50600c546001600160a01b031661031c565b34801561064957600080fd5b5061031c610658366004612d4f565b61140e565b34801561066957600080fd5b50610354610678366004612b44565b61142d565b34801561068957600080fd5b506102a2610698366004612c7e565b61147c565b3480156106a957600080fd5b506102cc6114a5565b3480156106be57600080fd5b506102ee600081565b3480156106d357600080fd5b506103546106e2366004612d71565b6114b4565b3480156106f357600080fd5b50610354610702366004612d9b565b6114c3565b34801561071357600080fd5b506102cc610722366004612b44565b61152c565b34801561073357600080fd5b506102ee610742366004612b44565b6115b3565b34801561075357600080fd5b50610354610762366004612e36565b6115ca565b34801561077357600080fd5b50610354610782366004612c7e565b611673565b34801561079357600080fd5b5061035461167d565b3480156107a857600080fd5b506102ee600f5481565b3480156107be57600080fd5b506102a26107cd366004612e78565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561080757600080fd5b50610354610816366004612d34565b61178f565b600061082682611879565b92915050565b60606002805461083b90612ea2565b80601f016020809104026020016040519081016040528092919081815260200182805461086790612ea2565b80156108b45780601f10610889576101008083540402835291602001916108b4565b820191906000526020600020905b81548152906001019060200180831161089757829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b031661093c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061096382611255565b9050806001600160a01b0316836001600160a01b031614156109d15760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610933565b336001600160a01b03821614806109ed57506109ed81336107cd565b610a5f5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610933565b610a69838361189e565b505050565b60008411610ac85760405162461bcd60e51b815260206004820152602160248201527f4d696e74696e67203020746f6b656e73206973207175697465207573656c65736044820152607360f81b6064820152608401610933565b6014841115610b285760405162461bcd60e51b815260206004820152602660248201527f416d6f756e7420697320686967686572207468616e206d6178696d756d2070656044820152651c8818d85b1b60d21b6064820152608401610933565b600060105462010000900460ff166002811115610b4757610b47612cf6565b1415610b865760405162461bcd60e51b815260206004820152600e60248201526d14d85b19481a5cc818db1bdcd95960921b6044820152606401610933565b600160105462010000900460ff166002811115610ba557610ba5612cf6565b1415610daf576040516bffffffffffffffffffffffff193360601b16602082015260348101829052600090605401604051602081830303815290604052805190602001209050610c2c84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601154915084905061190c565b610c785760405162461bcd60e51b815260206004820152601c60248201527f50726f76696465642064617461206973206e6f7420636f7272656374000000006044820152606401610933565b610c83600283612ef3565b610c8c336112cc565b610c969087612ef3565b1115610ce45760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e7420697320686967686572207468616e20616c6c6f7765640000006044820152606401610933565b610ced336112cc565b821115610d1a57610cfd336112cc565b610d079083612f0b565b915084821115610d15578491505b610d1f565b600091505b610d27611922565b600e54610d349084612ef3565b1115610d5257600e54610d45611922565b610d4f9190612f0b565b91505b60005b82811015610da057610d75335b600e54610d70906001612ef3565b611949565b6001600e6000828254610d889190612ef3565b90915550819050610d9881612f22565b915050610d55565b50610dab8286612f0b565b9450505b610db7611922565b600e54610dc49086612ef3565b1115610de257600e54610dd5611922565b610ddf9190612f0b565b93505b6000600d5485610df29190612f3d565b905034811115610e535760405162461bcd60e51b815260206004820152602660248201527f50726f7669646564206e6f7420656e6f75676820457468657220666f7220707560448201526572636861736560d01b6064820152608401610933565b60005b85811015610e9257610e6733610d62565b6001600e6000828254610e7a9190612ef3565b90915550819050610e8a81612f22565b915050610e56565b5080341115610eeb5733610ea68234612f0b565b604051600081818185875af1925050503d8060008114610ee2576040519150601f19603f3d011682016040523d82523d6000602084013e610ee7565b606091505b5050505b5050505050565b601054610100900460ff16610f195760405162461bcd60e51b815260040161093390612f5c565b610a69838383611a97565b610f2e8282611ac8565b6000828152600160205260409020610a699082611864565b6000610f51836112cc565b8210610fb35760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610933565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b610fe68282611aee565b6000828152600160205260409020610a699082611b68565b61100960003361147c565b6110475760405162461bcd60e51b815260206004820152600f60248201526e43616e6e6f7420776974686472617760881b6044820152606401610933565b600c546040516001600160a01b03909116904790600081818185875af1925050503d8060008114610a69576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b61109f60003361147c565b6110e45760405162461bcd60e51b815260206004820152601660248201527543616e6e6f742073657420747261646520737461746560501b6044820152606401610933565b601080549115156101000261ff0019909216919091179055565b601054610100900460ff166111255760405162461bcd60e51b815260040161093390612f5c565b610a69838383611b7d565b600061113b600a5490565b821061119e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610933565b600a82815481106111b1576111b1612f89565b90600052602060002001549050919050565b6111ce60003361147c565b61121a5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420616c7465722073616c652073746174650000000000000000006044820152606401610933565b6010805482919062ff000019166201000083600281111561123d5761123d612cf6565b021790555050565b611252607d6109c4612f0b565b81565b6000818152600460205260408120546001600160a01b0316806108265760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610933565b60006001600160a01b0382166113375760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610933565b506001600160a01b031660009081526005602052604090205490565b600c546001600160a01b031633146113ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610933565b6113b76000611b98565b565b6113c460003361147c565b6114095760405162461bcd60e51b815260206004820152601660248201527510d85b9b9bdd081cd95d081b595c9adb19481c9bdbdd60521b6044820152606401610933565b601155565b60008281526001602052604081206114269083611bea565b9392505050565b61143860003361147c565b6114775760405162461bcd60e51b815260206004820152601060248201526f43616e6e6f742073657420707269636560801b6044820152606401610933565b600d55565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606003805461083b90612ea2565b6114bf338383611bf6565b5050565b601054610100900460ff166114ea5760405162461bcd60e51b815260040161093390612f5c565b610eeb85858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611cc592505050565b60606040518060400160405280602081526020017f68747470733a2f2f6c6f6761726974686d732e6172742f6d657461646174612f81525061156d83611cfd565b60405180604001604052806005815260200164173539b7b760d91b81525060405160200161159d93929190612f9f565b6040516020818303038152906040529050919050565b600081815260016020526040812061082690611e03565b6115d560003361147c565b6116165760405162461bcd60e51b815260206004820152601260248201527121b0b63632b91031b0b73737ba10313ab93760711b6044820152606401610933565b60005b818110156116545761164283838381811061163657611636612f89565b90506020020135611e0d565b8061164c81612f22565b915050611619565b5081819050600f600082825461166a9190612ef3565b90915550505050565b610fe68282611eb4565b61168860003361147c565b6116d45760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74206d696e74207465616d20746f6b656e730000000000000000006044820152606401610933565b60105460ff16156117335760405162461bcd60e51b8152602060048201526024808201527f5465616d20746f6b656e73206861766520616c7265616479206265656e206d696044820152631b9d195960e21b6064820152608401610933565b60005b607d81101561177f57611754610d62600c546001600160a01b031690565b6001600e60008282546117679190612ef3565b9091555081905061177781612f22565b915050611736565b506010805460ff19166001179055565b600c546001600160a01b031633146117e95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610933565b6001600160a01b03811661184e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610933565b61185781611b98565b50565b6114bf8282611eda565b6000611426836001600160a01b038416611f5e565b60006001600160e01b0319821663780e9d6360e01b1480610826575061082682611fad565b600081815260066020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118d382611255565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000826119198584611fed565b14949350505050565b60105460009060ff161561193757506109c490565b611944607d6109c4612f0b565b905090565b6001600160a01b03821661199f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610933565b6000818152600460205260409020546001600160a01b031615611a045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610933565b611a1060008383612099565b6001600160a01b0382166000908152600560205260408120805460019290611a39908490612ef3565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611aa133826120a4565b611abd5760405162461bcd60e51b815260040161093390612fe2565b610a69838383612197565b600082815260208190526040902060010154611ae48133612342565b610a698383611eda565b6001600160a01b0381163314611b5e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610933565b6114bf82826123a6565b6000611426836001600160a01b03841661240b565b610a69838383604051806020016040528060008152506114c3565b600c80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061142683836124fe565b816001600160a01b0316836001600160a01b03161415611c585760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610933565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611ccf33836120a4565b611ceb5760405162461bcd60e51b815260040161093390612fe2565b611cf784848484612528565b50505050565b606081611d215750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d4b5780611d3581612f22565b9150611d449050600a83613049565b9150611d25565b60008167ffffffffffffffff811115611d6657611d6661305d565b6040519080825280601f01601f191660200182016040528015611d90576020820181803683370190505b5090505b8415611dfb57611da5600183612f0b565b9150611db2600a86613073565b611dbd906030612ef3565b60f81b818381518110611dd257611dd2612f89565b60200101906001600160f81b031916908160001a905350611df4600a86613049565b9450611d94565b949350505050565b6000610826825490565b6000611e1882611255565b9050611e2681600084612099565b611e3160008361189e565b6001600160a01b0381166000908152600560205260408120805460019290611e5a908490612f0b565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600082815260208190526040902060010154611ed08133612342565b610a6983836123a6565b611ee4828261147c565b6114bf576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611f1a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054611fa557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610826565b506000610826565b60006001600160e01b031982166380ac58cd60e01b1480611fde57506001600160e01b03198216635b5e139f60e01b145b8061082657506108268261255b565b600081815b845181101561209157600085828151811061200f5761200f612f89565b6020026020010151905080831161205157604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061207e565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061208981612f22565b915050611ff2565b509392505050565b610a69838383612580565b6000818152600460205260408120546001600160a01b031661211d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610933565b600061212883611255565b9050806001600160a01b0316846001600160a01b031614806121635750836001600160a01b0316612158846108be565b6001600160a01b0316145b80611dfb57506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff16611dfb565b826001600160a01b03166121aa82611255565b6001600160a01b0316146122125760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610933565b6001600160a01b0382166122745760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610933565b61227f838383612099565b61228a60008261189e565b6001600160a01b03831660009081526005602052604081208054600192906122b3908490612f0b565b90915550506001600160a01b03821660009081526005602052604081208054600192906122e1908490612ef3565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61234c828261147c565b6114bf57612364816001600160a01b03166014612638565b61236f836020612638565b604051602001612380929190613087565b60408051601f198184030181529082905262461bcd60e51b825261093391600401612b31565b6123b0828261147c565b156114bf576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600081815260018301602052604081205480156124f457600061242f600183612f0b565b855490915060009061244390600190612f0b565b90508181146124a857600086600001828154811061246357612463612f89565b906000526020600020015490508087600001848154811061248657612486612f89565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806124b9576124b96130fc565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610826565b6000915050610826565b600082600001828154811061251557612515612f89565b9060005260206000200154905092915050565b612533848484612197565b61253f848484846127d4565b611cf75760405162461bcd60e51b815260040161093390613112565b60006001600160e01b03198216635a05180f60e01b14806108265750610826826128e1565b6001600160a01b0383166125db576125d681600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b6125fe565b816001600160a01b0316836001600160a01b0316146125fe576125fe8382612916565b6001600160a01b03821661261557610a69816129b3565b826001600160a01b0316826001600160a01b031614610a6957610a698282612a62565b60606000612647836002612f3d565b612652906002612ef3565b67ffffffffffffffff81111561266a5761266a61305d565b6040519080825280601f01601f191660200182016040528015612694576020820181803683370190505b509050600360fc1b816000815181106126af576126af612f89565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106126de576126de612f89565b60200101906001600160f81b031916908160001a9053506000612702846002612f3d565b61270d906001612ef3565b90505b6001811115612785576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061274157612741612f89565b1a60f81b82828151811061275757612757612f89565b60200101906001600160f81b031916908160001a90535060049490941c9361277e81613164565b9050612710565b5083156114265760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610933565b60006001600160a01b0384163b156128d657604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061281890339089908890889060040161317b565b602060405180830381600087803b15801561283257600080fd5b505af1925050508015612862575060408051601f3d908101601f1916820190925261285f918101906131b8565b60015b6128bc573d808015612890576040519150601f19603f3d011682016040523d82523d6000602084013e612895565b606091505b5080516128b45760405162461bcd60e51b815260040161093390613112565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611dfb565b506001949350505050565b60006001600160e01b03198216637965db0b60e01b148061082657506301ffc9a760e01b6001600160e01b0319831614610826565b60006001612923846112cc565b61292d9190612f0b565b600083815260096020526040902054909150808214612980576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a546000906129c590600190612f0b565b6000838152600b6020526040812054600a80549394509092849081106129ed576129ed612f89565b9060005260206000200154905080600a8381548110612a0e57612a0e612f89565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480612a4657612a466130fc565b6001900381819060005260206000200160009055905550505050565b6000612a6d836112cc565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b6001600160e01b03198116811461185757600080fd5b600060208284031215612ace57600080fd5b813561142681612aa6565b60005b83811015612af4578181015183820152602001612adc565b83811115611cf75750506000910152565b60008151808452612b1d816020860160208601612ad9565b601f01601f19169290920160200192915050565b6020815260006114266020830184612b05565b600060208284031215612b5657600080fd5b5035919050565b80356001600160a01b0381168114612b7457600080fd5b919050565b60008060408385031215612b8c57600080fd5b612b9583612b5d565b946020939093013593505050565b60008083601f840112612bb557600080fd5b50813567ffffffffffffffff811115612bcd57600080fd5b6020830191508360208260051b8501011115612be857600080fd5b9250929050565b60008060008060608587031215612c0557600080fd5b84359350602085013567ffffffffffffffff811115612c2357600080fd5b612c2f87828801612ba3565b9598909750949560400135949350505050565b600080600060608486031215612c5757600080fd5b612c6084612b5d565b9250612c6e60208501612b5d565b9150604084013590509250925092565b60008060408385031215612c9157600080fd5b82359150612ca160208401612b5d565b90509250929050565b80358015158114612b7457600080fd5b600060208284031215612ccc57600080fd5b61142682612caa565b600060208284031215612ce757600080fd5b81356003811061142657600080fd5b634e487b7160e01b600052602160045260246000fd5b6020810160038310612d2e57634e487b7160e01b600052602160045260246000fd5b91905290565b600060208284031215612d4657600080fd5b61142682612b5d565b60008060408385031215612d6257600080fd5b50508035926020909101359150565b60008060408385031215612d8457600080fd5b612d8d83612b5d565b9150612ca160208401612caa565b600080600080600060808688031215612db357600080fd5b612dbc86612b5d565b9450612dca60208701612b5d565b935060408601359250606086013567ffffffffffffffff80821115612dee57600080fd5b818801915088601f830112612e0257600080fd5b813581811115612e1157600080fd5b896020828501011115612e2357600080fd5b9699959850939650602001949392505050565b60008060208385031215612e4957600080fd5b823567ffffffffffffffff811115612e6057600080fd5b612e6c85828601612ba3565b90969095509350505050565b60008060408385031215612e8b57600080fd5b612e9483612b5d565b9150612ca160208401612b5d565b600181811c90821680612eb657607f821691505b60208210811415612ed757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612f0657612f06612edd565b500190565b600082821015612f1d57612f1d612edd565b500390565b6000600019821415612f3657612f36612edd565b5060010190565b6000816000190483118215151615612f5757612f57612edd565b500290565b6020808252601390820152725472616465206973206e6f742061637469766560681b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60008451612fb1818460208901612ad9565b845190830190612fc5818360208901612ad9565b8451910190612fd8818360208801612ad9565b0195945050505050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b60008261305857613058613033565b500490565b634e487b7160e01b600052604160045260246000fd5b60008261308257613082613033565b500690565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516130bf816017850160208801612ad9565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516130f0816028840160208801612ad9565b01602801949350505050565b634e487b7160e01b600052603160045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008161317357613173612edd565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906131ae90830184612b05565b9695505050505050565b6000602082840312156131ca57600080fd5b815161142681612aa656fea26469706673582212204d60d5f75760c7cc38e6ebd45f64a01e752c8240ffc937a79e53733b16d10d4b64736f6c63430008090033
Deployed Bytecode Sourcemap
72442:5408:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77451:204;;;;;;;;;;-1:-1:-1;77451:204:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;77451:204:0;;;;;;;;24480:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;72855:37::-;;;;;;;;;;;;72891:1;72855:37;;;;;1489:25:1;;;1477:2;1462:18;72855:37:0;1343:177:1;26039:221:0;;;;;;;;;;-1:-1:-1;26039:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1874:32:1;;;1856:51;;1844:2;1829:18;26039:221:0;1710:203:1;25562:411:0;;;;;;;;;;-1:-1:-1;25562:411:0;;;;;:::i;:::-;;:::i;:::-;;38401:113;;;;;;;;;;-1:-1:-1;38489:10:0;:17;38401:113;;75144:1621;;;;;;:::i;:::-;;:::i;73008:36::-;;;;;;;;;;-1:-1:-1;73008:36:0;;;;;;;;73751:187;;;;;;;;;;-1:-1:-1;73751:187:0;;;;;:::i;:::-;;:::i;49070:123::-;;;;;;;;;;-1:-1:-1;49070:123:0;;;;;:::i;:::-;49136:7;49163:12;;;;;;;;;;:22;;;;49070:123;72657:42;;;;;;;;;;;;72695:4;72657:42;;72704:37;;;;;;;;;;;;72738:3;72704:37;;66851:196;;;;;;;;;;-1:-1:-1;66851:196:0;;;;;:::i;:::-;;:::i;38069:256::-;;;;;;;;;;-1:-1:-1;38069:256:0;;;;;:::i;:::-;;:::i;67436:205::-;;;;;;;;;;-1:-1:-1;67436:205:0;;;;;:::i;:::-;;:::i;74967:171::-;;;;;;;;;;;;;:::i;73944:167::-;;;;;;;;;;-1:-1:-1;73944:167:0;;;;;:::i;:::-;;:::i;73550:195::-;;;;;;;;;;-1:-1:-1;73550:195:0;;;;;:::i;:::-;;:::i;38591:233::-;;;;;;;;;;-1:-1:-1;38591:233:0;;;;;:::i;:::-;;:::i;73049:31::-;;;;;;;;;;-1:-1:-1;73049:31:0;;;;;;;;;;;74626:166;;;;;;;;;;-1:-1:-1;74626:166:0;;;;;:::i;:::-;;:::i;72746:63::-;;;;;;;;;;;;;:::i;73132:45::-;;;;;;;;;;-1:-1:-1;73132:45:0;;;;;;;;;;;;;;;;;;:::i;24174:239::-;;;;;;;;;;-1:-1:-1;24174:239:0;;;;;:::i;:::-;;:::i;72942:28::-;;;;;;;;;;;;;;;;23904:208;;;;;;;;;;-1:-1:-1;23904:208:0;;;;;:::i;:::-;;:::i;69547:103::-;;;;;;;;;;;;;:::i;72814:36::-;;;;;;;;;;;;72848:2;72814:36;;72899:38;;;;;;;;;;;;;;;;74798:163;;;;;;;;;;-1:-1:-1;74798:163:0;;;;;:::i;:::-;;:::i;68896:87::-;;;;;;;;;;-1:-1:-1;68969:6:0;;-1:-1:-1;;;;;68969:6:0;68896:87;;66306:145;;;;;;;;;;-1:-1:-1;66306:145:0;;;;;:::i;:::-;;:::i;74117:154::-;;;;;;;;;;-1:-1:-1;74117:154:0;;;;;:::i;:::-;;:::i;47955:139::-;;;;;;;;;;-1:-1:-1;47955:139:0;;;;;:::i;:::-;;:::i;24649:104::-;;;;;;;;;;;;;:::i;47046:49::-;;;;;;;;;;-1:-1:-1;47046:49:0;47091:4;47046:49;;26332:155;;;;;;;;;;-1:-1:-1;26332:155:0;;;;;:::i;:::-;;:::i;73322:222::-;;;;;;;;;;-1:-1:-1;73322:222:0;;;;;:::i;:::-;;:::i;77209:183::-;;;;;;;;;;-1:-1:-1;77209:183:0;;;;;:::i;:::-;;:::i;66625:134::-;;;;;;;;;;-1:-1:-1;66625:134:0;;;;;:::i;:::-;;:::i;76771:257::-;;;;;;;;;;-1:-1:-1;76771:257:0;;;;;:::i;:::-;;:::i;67140:201::-;;;;;;;;;;-1:-1:-1;67140:201:0;;;;;:::i;:::-;;:::i;74277:343::-;;;;;;;;;;;;;:::i;72975:28::-;;;;;;;;;;;;;;;;26558:164;;;;;;;;;;-1:-1:-1;26558:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26679:25:0;;;26655:4;26679:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26558:164;69805:201;;;;;;;;;;-1:-1:-1;69805:201:0;;;;;:::i;:::-;;:::i;77451:204::-;77590:4;77613:36;77637:11;77613:23;:36::i;:::-;77606:43;77451:204;-1:-1:-1;;77451:204:0:o;24480:100::-;24534:13;24567:5;24560:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24480:100;:::o;26039:221::-;26115:7;29382:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29382:16:0;26135:73;;;;-1:-1:-1;;;26135:73:0;;8178:2:1;26135:73:0;;;8160:21:1;8217:2;8197:18;;;8190:30;8256:34;8236:18;;;8229:62;-1:-1:-1;;;8307:18:1;;;8300:42;8359:19;;26135:73:0;;;;;;;;;-1:-1:-1;26228:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26228:24:0;;26039:221::o;25562:411::-;25643:13;25659:23;25674:7;25659:14;:23::i;:::-;25643:39;;25707:5;-1:-1:-1;;;;;25701:11:0;:2;-1:-1:-1;;;;;25701:11:0;;;25693:57;;;;-1:-1:-1;;;25693:57:0;;8591:2:1;25693:57:0;;;8573:21:1;8630:2;8610:18;;;8603:30;8669:34;8649:18;;;8642:62;-1:-1:-1;;;8720:18:1;;;8713:31;8761:19;;25693:57:0;8389:397:1;25693:57:0;1560:10;-1:-1:-1;;;;;25785:21:0;;;;:62;;-1:-1:-1;25810:37:0;25827:5;1560:10;26558:164;:::i;25810:37::-;25763:168;;;;-1:-1:-1;;;25763:168:0;;8993:2:1;25763:168:0;;;8975:21:1;9032:2;9012:18;;;9005:30;9071:34;9051:18;;;9044:62;9142:26;9122:18;;;9115:54;9186:19;;25763:168:0;8791:420:1;25763:168:0;25944:21;25953:2;25957:7;25944:8;:21::i;:::-;25632:341;25562:411;;:::o;75144:1621::-;75253:1;75244:6;:10;75236:56;;;;-1:-1:-1;;;75236:56:0;;9418:2:1;75236:56:0;;;9400:21:1;9457:2;9437:18;;;9430:30;9496:34;9476:18;;;9469:62;-1:-1:-1;;;9547:18:1;;;9540:31;9588:19;;75236:56:0;9216:397:1;75236:56:0;72848:2;75307:6;:20;;75299:71;;;;-1:-1:-1;;;75299:71:0;;9820:2:1;75299:71:0;;;9802:21:1;9859:2;9839:18;;;9832:30;9898:34;9878:18;;;9871:62;-1:-1:-1;;;9949:18:1;;;9942:36;9995:19;;75299:71:0;9618:402:1;75299:71:0;75399:16;75386:9;;;;;;;;:29;;;;;;;:::i;:::-;;;75377:57;;;;-1:-1:-1;;;75377:57:0;;10227:2:1;75377:57:0;;;10209:21:1;10266:2;10246:18;;;10239:30;-1:-1:-1;;;10285:18:1;;;10278:44;10339:18;;75377:57:0;10025:338:1;75377:57:0;75460:17;75447:9;;;;;;;;:30;;;;;;;:::i;:::-;;75443:840;;;75517:40;;-1:-1:-1;;75534:10:0;10545:2:1;10541:15;10537:53;75517:40:0;;;10525:66:1;10607:12;;;10600:28;;;75488:16:0;;10644:12:1;;75517:40:0;;;;;;;;;;;;75507:51;;;;;;75488:70;;75575:47;75594:5;;75575:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75601:10:0;;;-1:-1:-1;75613:8:0;;-1:-1:-1;75575:18:0;:47::i;:::-;75567:88;;;;-1:-1:-1;;;75567:88:0;;10869:2:1;75567:88:0;;;10851:21:1;10908:2;10888:18;;;10881:30;10947;10927:18;;;10920:58;10995:18;;75567:88:0;10667:352:1;75567:88:0;75706:25;72891:1;75706:10;:25;:::i;:::-;75681:21;75691:10;75681:9;:21::i;:::-;75672:30;;:6;:30;:::i;:::-;:59;;75664:101;;;;-1:-1:-1;;;75664:101:0;;11491:2:1;75664:101:0;;;11473:21:1;11530:2;11510:18;;;11503:30;11569:31;11549:18;;;11542:59;11618:18;;75664:101:0;11289:353:1;75664:101:0;75791:21;75801:10;75791:9;:21::i;:::-;75778:10;:34;75774:216;;;75839:21;75849:10;75839:9;:21::i;:::-;75825:35;;;;:::i;:::-;;;75888:6;75875:10;:19;75871:69;;;75922:6;75909:19;;75871:69;75774:216;;;75979:1;75966:14;;75774:216;76030:18;:16;:18::i;:::-;76015:12;;76002:25;;:10;:25;:::i;:::-;:46;75998:119;;;76095:12;;76074:18;:16;:18::i;:::-;:33;;;;:::i;:::-;76061:46;;75998:119;76130:6;76125:122;76146:10;76142:1;:14;76125:122;;;76174:35;1560:10;76180:12;76194;;:14;;76207:1;76194:14;:::i;:::-;76174:5;:35::i;:::-;76236:1;76220:12;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;76158:3:0;;-1:-1:-1;76158:3:0;;;:::i;:::-;;;;76125:122;;;-1:-1:-1;76255:20:0;76265:10;76255:20;;:::i;:::-;;;75479:804;75443:840;76319:18;:16;:18::i;:::-;76304:12;;76295:21;;:6;:21;:::i;:::-;:42;76291:107;;;76378:12;;76357:18;:16;:18::i;:::-;:33;;;;:::i;:::-;76348:42;;76291:107;76404:16;76432:13;;76423:6;:22;;;;:::i;:::-;76404:41;;76475:9;76460:11;:24;;76452:75;;;;-1:-1:-1;;;76452:75:0;;12292:2:1;76452:75:0;;;12274:21:1;12331:2;12311:18;;;12304:30;12370:34;12350:18;;;12343:62;-1:-1:-1;;;12421:18:1;;;12414:36;12467:19;;76452:75:0;12090:402:1;76452:75:0;76539:6;76534:112;76555:6;76551:1;:10;76534:112;;;76577:35;1560:10;76583:12;1480:98;76577:35;76637:1;76621:12;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;76563:3:0;;-1:-1:-1;76563:3:0;;;:::i;:::-;;;;76534:112;;;;76668:11;76656:9;:23;76652:108;;;1560:10;76724:23;76736:11;76724:9;:23;:::i;:::-;76690:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76652:108;75229:1536;75144:1621;;;;:::o;73751:187::-;73850:11;;;;;;;73842:43;;;;-1:-1:-1;;;73842:43:0;;;;;;;:::i;:::-;73892:40;73911:5;73918:3;73923:8;73892:18;:40::i;66851:196::-;66967:30;66983:4;66989:7;66967:15;:30::i;:::-;67008:18;;;;:12;:18;;;;;:31;;67031:7;67008:22;:31::i;38069:256::-;38166:7;38202:23;38219:5;38202:16;:23::i;:::-;38194:5;:31;38186:87;;;;-1:-1:-1;;;38186:87:0;;13257:2:1;38186:87:0;;;13239:21:1;13296:2;13276:18;;;13269:30;13335:34;13315:18;;;13308:62;-1:-1:-1;;;13386:18:1;;;13379:41;13437:19;;38186:87:0;13055:407:1;38186:87:0;-1:-1:-1;;;;;;38291:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;38069:256::o;67436:205::-;67555:33;67574:4;67580:7;67555:18;:33::i;:::-;67599:18;;;;:12;:18;;;;;:34;;67625:7;67599:25;:34::i;74967:171::-;75009:41;47091:4;1560:10;47955:139;:::i;75009:41::-;75001:69;;;;-1:-1:-1;;;75001:69:0;;13669:2:1;75001:69:0;;;13651:21:1;13708:2;13688:18;;;13681:30;-1:-1:-1;;;13727:18:1;;;13720:45;13782:18;;75001:69:0;13467:339:1;75001:69:0;68969:6;;75077:55;;-1:-1:-1;;;;;68969:6:0;;;;75106:21;;75077:55;;;;75106:21;68969:6;75077:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25632:341;25562:411;;:::o;73944:167::-;74006:41;47091:4;1560:10;47955:139;:::i;74006:41::-;73998:76;;;;-1:-1:-1;;;73998:76:0;;14013:2:1;73998:76:0;;;13995:21:1;14052:2;14032:18;;;14025:30;-1:-1:-1;;;14071:18:1;;;14064:52;14133:18;;73998:76:0;13811:346:1;73998:76:0;74081:11;:24;;;;;;;-1:-1:-1;;74081:24:0;;;;;;;;;73944:167::o;73550:195::-;73653:11;;;;;;;73645:43;;;;-1:-1:-1;;;73645:43:0;;;;;;;:::i;:::-;73695:44;73718:5;73725:3;73730:8;73695:22;:44::i;38591:233::-;38666:7;38702:30;38489:10;:17;;38401:113;38702:30;38694:5;:38;38686:95;;;;-1:-1:-1;;;38686:95:0;;14364:2:1;38686:95:0;;;14346:21:1;14403:2;14383:18;;;14376:30;14442:34;14422:18;;;14415:62;-1:-1:-1;;;14493:18:1;;;14486:42;14545:19;;38686:95:0;14162:408:1;38686:95:0;38799:10;38810:5;38799:17;;;;;;;;:::i;:::-;;;;;;;;;38792:24;;38591:233;;;:::o;74626:166::-;74690:41;47091:4;1560:10;47955:139;:::i;74690:41::-;74682:77;;;;-1:-1:-1;;;74682:77:0;;14909:2:1;74682:77:0;;;14891:21:1;14948:2;14928:18;;;14921:30;14987:25;14967:18;;;14960:53;15030:18;;74682:77:0;14707:347:1;74682:77:0;74766:9;:20;;74778:8;;74766:9;-1:-1:-1;;74766:20:0;;74778:8;74766:9;:20;;;;;;;:::i;:::-;;;;;;74626:166;:::o;72746:63::-;72782:27;72738:3;72695:4;72782:27;:::i;:::-;72746:63;:::o;24174:239::-;24246:7;24282:16;;;:7;:16;;;;;;-1:-1:-1;;;;;24282:16:0;24317:19;24309:73;;;;-1:-1:-1;;;24309:73:0;;15261:2:1;24309:73:0;;;15243:21:1;15300:2;15280:18;;;15273:30;15339:34;15319:18;;;15312:62;-1:-1:-1;;;15390:18:1;;;15383:39;15439:19;;24309:73:0;15059:405:1;23904:208:0;23976:7;-1:-1:-1;;;;;24004:19:0;;23996:74;;;;-1:-1:-1;;;23996:74:0;;15671:2:1;23996:74:0;;;15653:21:1;15710:2;15690:18;;;15683:30;15749:34;15729:18;;;15722:62;-1:-1:-1;;;15800:18:1;;;15793:40;15850:19;;23996:74:0;15469:406:1;23996:74:0;-1:-1:-1;;;;;;24088:16:0;;;;;:9;:16;;;;;;;23904:208::o;69547:103::-;68969:6;;-1:-1:-1;;;;;68969:6:0;1560:10;69116:23;69108:68;;;;-1:-1:-1;;;69108:68:0;;16082:2:1;69108:68:0;;;16064:21:1;;;16101:18;;;16094:30;16160:34;16140:18;;;16133:62;16212:18;;69108:68:0;15880:356:1;69108:68:0;69612:30:::1;69639:1;69612:18;:30::i;:::-;69547:103::o:0;74798:163::-;74860:41;47091:4;1560:10;47955:139;:::i;74860:41::-;74852:76;;;;-1:-1:-1;;;74852:76:0;;16443:2:1;74852:76:0;;;16425:21:1;16482:2;16462:18;;;16455:30;-1:-1:-1;;;16501:18:1;;;16494:52;16563:18;;74852:76:0;16241:346:1;74852:76:0;74935:10;:20;74798:163::o;66306:145::-;66388:7;66415:18;;;:12;:18;;;;;:28;;66437:5;66415:21;:28::i;:::-;66408:35;66306:145;-1:-1:-1;;;66306:145:0:o;74117:154::-;74172:41;47091:4;1560:10;47955:139;:::i;74172:41::-;74164:70;;;;-1:-1:-1;;;74164:70:0;;16794:2:1;74164:70:0;;;16776:21:1;16833:2;16813:18;;;16806:30;-1:-1:-1;;;16852:18:1;;;16845:46;16908:18;;74164:70:0;16592:340:1;74164:70:0;74241:13;:24;74117:154::o;47955:139::-;48033:4;48057:12;;;;;;;;;;;-1:-1:-1;;;;;48057:29:0;;;;;;;;;;;;;;;47955:139::o;24649:104::-;24705:13;24738:7;24731:14;;;;;:::i;26332:155::-;26427:52;1560:10;26460:8;26470;26427:18;:52::i;:::-;26332:155;;:::o;73322:222::-;73446:11;;;;;;;73438:43;;;;-1:-1:-1;;;73438:43:0;;;;;;;:::i;:::-;73488:50;73511:5;73518:3;73523:8;73533:4;;73488:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73488:22:0;;-1:-1:-1;;;73488:50:0:i;77209:183::-;77275:13;77328;;;;;;;;;;;;;;;;;77343:26;77360:8;77343:16;:26::i;:::-;77371:13;;;;;;;;;;;;;-1:-1:-1;;;77371:13:0;;;77311:74;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;77297:89;;77209:183;;;:::o;66625:134::-;66697:7;66724:18;;;:12;:18;;;;;:27;;:25;:27::i;76771:257::-;76840:41;47091:4;1560:10;47955:139;:::i;76840:41::-;76832:72;;;;-1:-1:-1;;;76832:72:0;;17808:2:1;76832:72:0;;;17790:21:1;17847:2;17827:18;;;17820:30;-1:-1:-1;;;17866:18:1;;;17859:48;17924:18;;76832:72:0;17606:342:1;76832:72:0;76916:6;76911:74;76924:19;;;76911:74;;;76959:18;76965:8;;76974:1;76965:11;;;;;;;:::i;:::-;;;;;;;76959:5;:18::i;:::-;76945:3;;;;:::i;:::-;;;;76911:74;;;;77007:8;;:15;;76991:12;;:31;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;76771:257:0:o;67140:201::-;67257:31;67274:4;67280:7;67257:16;:31::i;74277:343::-;74325:41;47091:4;1560:10;47955:139;:::i;74325:41::-;74317:77;;;;-1:-1:-1;;;74317:77:0;;18155:2:1;74317:77:0;;;18137:21:1;18194:2;18174:18;;;18167:30;18233:25;18213:18;;;18206:53;18276:18;;74317:77:0;17953:347:1;74317:77:0;74410:16;;;;74409:17;74401:66;;;;-1:-1:-1;;;74401:66:0;;18507:2:1;74401:66:0;;;18489:21:1;18546:2;18526:18;;;18519:30;18585:34;18565:18;;;18558:62;-1:-1:-1;;;18636:18:1;;;18629:34;18680:19;;74401:66:0;18305:400:1;74401:66:0;74479:6;74474:111;72738:3;74491:1;:14;74474:111;;;74521:30;74527:7;68969:6;;-1:-1:-1;;;;;68969:6:0;;68896:87;74521:30;74576:1;74560:12;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;74507:3:0;;-1:-1:-1;74507:3:0;;;:::i;:::-;;;;74474:111;;;-1:-1:-1;74591:16:0;:23;;-1:-1:-1;;74591:23:0;74610:4;74591:23;;;74277:343::o;69805:201::-;68969:6;;-1:-1:-1;;;;;68969:6:0;1560:10;69116:23;69108:68;;;;-1:-1:-1;;;69108:68:0;;16082:2:1;69108:68:0;;;16064:21:1;;;16101:18;;;16094:30;16160:34;16140:18;;;16133:62;16212:18;;69108:68:0;15880:356:1;69108:68:0;-1:-1:-1;;;;;69894:22:0;::::1;69886:73;;;::::0;-1:-1:-1;;;69886:73:0;;18912:2:1;69886:73:0::1;::::0;::::1;18894:21:1::0;18951:2;18931:18;;;18924:30;18990:34;18970:18;;;18963:62;-1:-1:-1;;;19041:18:1;;;19034:36;19087:19;;69886:73:0::1;18710:402:1::0;69886:73:0::1;69970:28;69989:8;69970:18;:28::i;:::-;69805:201:::0;:::o;51380:112::-;51459:25;51470:4;51476:7;51459:10;:25::i;60401:152::-;60471:4;60495:50;60500:3;-1:-1:-1;;;;;60520:23:0;;60495:4;:50::i;37761:224::-;37863:4;-1:-1:-1;;;;;;37887:50:0;;-1:-1:-1;;;37887:50:0;;:90;;;37941:36;37965:11;37941:23;:36::i;33275:174::-;33350:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;33350:29:0;-1:-1:-1;;;;;33350:29:0;;;;;;;;:24;;33404:23;33350:24;33404:14;:23::i;:::-;-1:-1:-1;;;;;33395:46:0;;;;;;;;;;;33275:174;;:::o;71180:190::-;71305:4;71358;71329:25;71342:5;71349:4;71329:12;:25::i;:::-;:33;;71180:190;-1:-1:-1;;;;71180:190:0:o;77034:169::-;77100:16;;77083:4;;77100:16;;77096:102;;;-1:-1:-1;72695:4:0;;77034:169::o;77096:102::-;72782:27;72738:3;72695:4;72782:27;:::i;:::-;77171:19;;77034:169;:::o;31271:382::-;-1:-1:-1;;;;;31351:16:0;;31343:61;;;;-1:-1:-1;;;31343:61:0;;19319:2:1;31343:61:0;;;19301:21:1;;;19338:18;;;19331:30;19397:34;19377:18;;;19370:62;19449:18;;31343:61:0;19117:356:1;31343:61:0;29358:4;29382:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29382:16:0;:30;31415:58;;;;-1:-1:-1;;;31415:58:0;;19680:2:1;31415:58:0;;;19662:21:1;19719:2;19699:18;;;19692:30;19758;19738:18;;;19731:58;19806:18;;31415:58:0;19478:352:1;31415:58:0;31486:45;31515:1;31519:2;31523:7;31486:20;:45::i;:::-;-1:-1:-1;;;;;31544:13:0;;;;;;:9;:13;;;;;:18;;31561:1;;31544:13;:18;;31561:1;;31544:18;:::i;:::-;;;;-1:-1:-1;;31573:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31573:21:0;-1:-1:-1;;;;;31573:21:0;;;;;;;;31612:33;;31573:16;;;31612:33;;31573:16;;31612:33;31271:382;;:::o;26789:339::-;26984:41;1560:10;27017:7;26984:18;:41::i;:::-;26976:103;;;;-1:-1:-1;;;26976:103:0;;;;;;;:::i;:::-;27092:28;27102:4;27108:2;27112:7;27092:9;:28::i;49455:147::-;49136:7;49163:12;;;;;;;;;;:22;;;47537:30;47548:4;1560:10;47537;:30::i;:::-;49569:25:::1;49580:4;49586:7;49569:10;:25::i;50503:218::-:0;-1:-1:-1;;;;;50599:23:0;;1560:10;50599:23;50591:83;;;;-1:-1:-1;;;50591:83:0;;20455:2:1;50591:83:0;;;20437:21:1;20494:2;20474:18;;;20467:30;20533:34;20513:18;;;20506:62;-1:-1:-1;;;20584:18:1;;;20577:45;20639:19;;50591:83:0;20253:411:1;50591:83:0;50687:26;50699:4;50705:7;50687:11;:26::i;60729:158::-;60802:4;60826:53;60834:3;-1:-1:-1;;;;;60854:23:0;;60826:7;:53::i;27199:185::-;27337:39;27354:4;27360:2;27364:7;27337:39;;;;;;;;;;;;:16;:39::i;70166:191::-;70259:6;;;-1:-1:-1;;;;;70276:17:0;;;-1:-1:-1;;;;;;70276:17:0;;;;;;;70309:40;;70259:6;;;70276:17;70259:6;;70309:40;;70240:16;;70309:40;70229:128;70166:191;:::o;61697:158::-;61771:7;61822:22;61826:3;61838:5;61822:3;:22::i;33591:315::-;33746:8;-1:-1:-1;;;;;33737:17:0;:5;-1:-1:-1;;;;;33737:17:0;;;33729:55;;;;-1:-1:-1;;;33729:55:0;;20871:2:1;33729:55:0;;;20853:21:1;20910:2;20890:18;;;20883:30;20949:27;20929:18;;;20922:55;20994:18;;33729:55:0;20669:349:1;33729:55:0;-1:-1:-1;;;;;33795:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;33795:46:0;;;;;;;;;;33857:41;;540::1;;;33857::0;;513:18:1;33857:41:0;;;;;;;33591:315;;;:::o;27455:328::-;27630:41;1560:10;27663:7;27630:18;:41::i;:::-;27622:103;;;;-1:-1:-1;;;27622:103:0;;;;;;;:::i;:::-;27736:39;27750:4;27756:2;27760:7;27769:5;27736:13;:39::i;:::-;27455:328;;;;:::o;2919:723::-;2975:13;3196:10;3192:53;;-1:-1:-1;;3223:10:0;;;;;;;;;;;;-1:-1:-1;;;3223:10:0;;;;;2919:723::o;3192:53::-;3270:5;3255:12;3311:78;3318:9;;3311:78;;3344:8;;;;:::i;:::-;;-1:-1:-1;3367:10:0;;-1:-1:-1;3375:2:0;3367:10;;:::i;:::-;;;3311:78;;;3399:19;3431:6;3421:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3421:17:0;;3399:39;;3449:154;3456:10;;3449:154;;3483:11;3493:1;3483:11;;:::i;:::-;;-1:-1:-1;3552:10:0;3560:2;3552:5;:10;:::i;:::-;3539:24;;:2;:24;:::i;:::-;3526:39;;3509:6;3516;3509:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3509:56:0;;;;;;;;-1:-1:-1;3580:11:0;3589:2;3580:11;;:::i;:::-;;;3449:154;;;3627:6;2919:723;-1:-1:-1;;;;2919:723:0:o;61226:117::-;61289:7;61316:19;61324:3;56710:18;;56627:109;31882:360;31942:13;31958:23;31973:7;31958:14;:23::i;:::-;31942:39;;31994:48;32015:5;32030:1;32034:7;31994:20;:48::i;:::-;32083:29;32100:1;32104:7;32083:8;:29::i;:::-;-1:-1:-1;;;;;32125:16:0;;;;;;:9;:16;;;;;:21;;32145:1;;32125:16;:21;;32145:1;;32125:21;:::i;:::-;;;;-1:-1:-1;;32164:16:0;;;;:7;:16;;;;;;32157:23;;-1:-1:-1;;;;;;32157:23:0;;;32198:36;32172:7;;32164:16;-1:-1:-1;;;;;32198:36:0;;;;;32164:16;;32198:36;31931:311;31882:360;:::o;49847:149::-;49136:7;49163:12;;;;;;;;;;:22;;;47537:30;47548:4;1560:10;47537;:30::i;:::-;49962:26:::1;49974:4;49980:7;49962:11;:26::i;52004:238::-:0;52088:22;52096:4;52102:7;52088;:22::i;:::-;52083:152;;52127:6;:12;;;;;;;;;;;-1:-1:-1;;;;;52127:29:0;;;;;;;;;:36;;-1:-1:-1;;52127:36:0;52159:4;52127:36;;;52210:12;1560:10;;1480:98;52210:12;-1:-1:-1;;;;;52183:40:0;52201:7;-1:-1:-1;;;;;52183:40:0;52195:4;52183:40;;;;;;;;;;52004:238;;:::o;54316:414::-;54379:4;56509:19;;;:12;;;:19;;;;;;54396:327;;-1:-1:-1;54439:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;54622:18;;54600:19;;;:12;;;:19;;;;;;:40;;;;54655:11;;54396:327;-1:-1:-1;54706:5:0;54699:12;;23535:305;23637:4;-1:-1:-1;;;;;;23674:40:0;;-1:-1:-1;;;23674:40:0;;:105;;-1:-1:-1;;;;;;;23731:48:0;;-1:-1:-1;;;23731:48:0;23674:105;:158;;;;23796:36;23820:11;23796:23;:36::i;71732:701::-;71815:7;71858:4;71815:7;71873:523;71897:5;:12;71893:1;:16;71873:523;;;71931:20;71954:5;71960:1;71954:8;;;;;;;;:::i;:::-;;;;;;;71931:31;;71997:12;71981;:28;71977:408;;72134:44;;;;;;21686:19:1;;;21721:12;;;21714:28;;;21758:12;;72134:44:0;;;;;;;;;;;;72124:55;;;;;;72109:70;;71977:408;;;72324:44;;;;;;21686:19:1;;;21721:12;;;21714:28;;;21758:12;;72324:44:0;;;;;;;;;;;;72314:55;;;;;;72299:70;;71977:408;-1:-1:-1;71911:3:0;;;;:::i;:::-;;;;71873:523;;;-1:-1:-1;72413:12:0;71732:701;-1:-1:-1;;;71732:701:0:o;77661:184::-;77794:45;77821:4;77827:2;77831:7;77794:26;:45::i;29587:348::-;29680:4;29382:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29382:16:0;29697:73;;;;-1:-1:-1;;;29697:73:0;;21983:2:1;29697:73:0;;;21965:21:1;22022:2;22002:18;;;21995:30;22061:34;22041:18;;;22034:62;-1:-1:-1;;;22112:18:1;;;22105:42;22164:19;;29697:73:0;21781:408:1;29697:73:0;29781:13;29797:23;29812:7;29797:14;:23::i;:::-;29781:39;;29850:5;-1:-1:-1;;;;;29839:16:0;:7;-1:-1:-1;;;;;29839:16:0;;:51;;;;29883:7;-1:-1:-1;;;;;29859:31:0;:20;29871:7;29859:11;:20::i;:::-;-1:-1:-1;;;;;29859:31:0;;29839:51;:87;;;-1:-1:-1;;;;;;26679:25:0;;;26655:4;26679:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;29894:32;26558:164;32579:578;32738:4;-1:-1:-1;;;;;32711:31:0;:23;32726:7;32711:14;:23::i;:::-;-1:-1:-1;;;;;32711:31:0;;32703:85;;;;-1:-1:-1;;;32703:85:0;;22396:2:1;32703:85:0;;;22378:21:1;22435:2;22415:18;;;22408:30;22474:34;22454:18;;;22447:62;-1:-1:-1;;;22525:18:1;;;22518:39;22574:19;;32703:85:0;22194:405:1;32703:85:0;-1:-1:-1;;;;;32807:16:0;;32799:65;;;;-1:-1:-1;;;32799:65:0;;22806:2:1;32799:65:0;;;22788:21:1;22845:2;22825:18;;;22818:30;22884:34;22864:18;;;22857:62;-1:-1:-1;;;22935:18:1;;;22928:34;22979:19;;32799:65:0;22604:400:1;32799:65:0;32877:39;32898:4;32904:2;32908:7;32877:20;:39::i;:::-;32981:29;32998:1;33002:7;32981:8;:29::i;:::-;-1:-1:-1;;;;;33023:15:0;;;;;;:9;:15;;;;;:20;;33042:1;;33023:15;:20;;33042:1;;33023:20;:::i;:::-;;;;-1:-1:-1;;;;;;;33054:13:0;;;;;;:9;:13;;;;;:18;;33071:1;;33054:13;:18;;33071:1;;33054:18;:::i;:::-;;;;-1:-1:-1;;33083:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;33083:21:0;-1:-1:-1;;;;;33083:21:0;;;;;;;;;33122:27;;33083:16;;33122:27;;;;;;;32579:578;;;:::o;48384:497::-;48465:22;48473:4;48479:7;48465;:22::i;:::-;48460:414;;48653:41;48681:7;-1:-1:-1;;;;;48653:41:0;48691:2;48653:19;:41::i;:::-;48767:38;48795:4;48802:2;48767:19;:38::i;:::-;48558:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;48558:270:0;;;;;;;;;;-1:-1:-1;;;48504:358:0;;;;;;;:::i;52374:239::-;52458:22;52466:4;52472:7;52458;:22::i;:::-;52454:152;;;52529:5;52497:12;;;;;;;;;;;-1:-1:-1;;;;;52497:29:0;;;;;;;;;;:37;;-1:-1:-1;;52497:37:0;;;52554:40;1560:10;;52497:12;;52554:40;;52529:5;52554:40;52374:239;;:::o;54906:1420::-;54972:4;55111:19;;;:12;;;:19;;;;;;55147:15;;55143:1176;;55522:21;55546:14;55559:1;55546:10;:14;:::i;:::-;55595:18;;55522:38;;-1:-1:-1;55575:17:0;;55595:22;;55616:1;;55595:22;:::i;:::-;55575:42;;55651:13;55638:9;:26;55634:405;;55685:17;55705:3;:11;;55717:9;55705:22;;;;;;;;:::i;:::-;;;;;;;;;55685:42;;55859:9;55830:3;:11;;55842:13;55830:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;55944:23;;;:12;;;:23;;;;;:36;;;55634:405;56120:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;56215:3;:12;;:19;56228:5;56215:19;;;;;;;;;;;56208:26;;;56258:4;56251:11;;;;;;;55143:1176;56302:5;56295:12;;;;;57090:120;57157:7;57184:3;:11;;57196:5;57184:18;;;;;;;;:::i;:::-;;;;;;;;;57177:25;;57090:120;;;;:::o;28665:315::-;28822:28;28832:4;28838:2;28842:7;28822:9;:28::i;:::-;28869:48;28892:4;28898:2;28902:7;28911:5;28869:22;:48::i;:::-;28861:111;;;;-1:-1:-1;;;28861:111:0;;;;;;;:::i;65493:214::-;65578:4;-1:-1:-1;;;;;;65602:57:0;;-1:-1:-1;;;65602:57:0;;:97;;;65663:36;65687:11;65663:23;:36::i;39437:589::-;-1:-1:-1;;;;;39643:18:0;;39639:187;;39678:40;39710:7;40853:10;:17;;40826:24;;;;:15;:24;;;;;:44;;;40881:24;;;;;;;;;;;;40749:164;39678:40;39639:187;;;39748:2;-1:-1:-1;;;;;39740:10:0;:4;-1:-1:-1;;;;;39740:10:0;;39736:90;;39767:47;39800:4;39806:7;39767:32;:47::i;:::-;-1:-1:-1;;;;;39840:16:0;;39836:183;;39873:45;39910:7;39873:36;:45::i;39836:183::-;39946:4;-1:-1:-1;;;;;39940:10:0;:2;-1:-1:-1;;;;;39940:10:0;;39936:83;;39967:40;39995:2;39999:7;39967:27;:40::i;4220:451::-;4295:13;4321:19;4353:10;4357:6;4353:1;:10;:::i;:::-;:14;;4366:1;4353:14;:::i;:::-;4343:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4343:25:0;;4321:47;;-1:-1:-1;;;4379:6:0;4386:1;4379:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;4379:15:0;;;;;;;;;-1:-1:-1;;;4405:6:0;4412:1;4405:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;4405:15:0;;;;;;;;-1:-1:-1;4436:9:0;4448:10;4452:6;4448:1;:10;:::i;:::-;:14;;4461:1;4448:14;:::i;:::-;4436:26;;4431:135;4468:1;4464;:5;4431:135;;;-1:-1:-1;;;4516:5:0;4524:3;4516:11;4503:25;;;;;;;:::i;:::-;;;;4491:6;4498:1;4491:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;4491:37:0;;;;;;;;-1:-1:-1;4553:1:0;4543:11;;;;;4471:3;;;:::i;:::-;;;4431:135;;;-1:-1:-1;4584:10:0;;4576:55;;;;-1:-1:-1;;;4576:55:0;;24694:2:1;4576:55:0;;;24676:21:1;;;24713:18;;;24706:30;24772:34;24752:18;;;24745:62;24824:18;;4576:55:0;24492:356:1;34471:799:0;34626:4;-1:-1:-1;;;;;34647:13:0;;15292:20;15340:8;34643:620;;34683:72;;-1:-1:-1;;;34683:72:0;;-1:-1:-1;;;;;34683:36:0;;;;;:72;;1560:10;;34734:4;;34740:7;;34749:5;;34683:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34683:72:0;;;;;;;;-1:-1:-1;;34683:72:0;;;;;;;;;;;;:::i;:::-;;;34679:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34925:13:0;;34921:272;;34968:60;;-1:-1:-1;;;34968:60:0;;;;;;;:::i;34921:272::-;35143:6;35137:13;35128:6;35124:2;35120:15;35113:38;34679:529;-1:-1:-1;;;;;;34806:51:0;-1:-1:-1;;;34806:51:0;;-1:-1:-1;34799:58:0;;34643:620;-1:-1:-1;35247:4:0;34471:799;;;;;;:::o;47659:204::-;47744:4;-1:-1:-1;;;;;;47768:47:0;;-1:-1:-1;;;47768:47:0;;:87;;-1:-1:-1;;;;;;;;;;2578:40:0;;;47819:36;2469:157;41540:988;41806:22;41856:1;41831:22;41848:4;41831:16;:22::i;:::-;:26;;;;:::i;:::-;41868:18;41889:26;;;:17;:26;;;;;;41806:51;;-1:-1:-1;42022:28:0;;;42018:328;;-1:-1:-1;;;;;42089:18:0;;42067:19;42089:18;;;:12;:18;;;;;;;;:34;;;;;;;;;42140:30;;;;;;:44;;;42257:30;;:17;:30;;;;;:43;;;42018:328;-1:-1:-1;42442:26:0;;;;:17;:26;;;;;;;;42435:33;;;-1:-1:-1;;;;;42486:18:0;;;;;:12;:18;;;;;:34;;;;;;;42479:41;41540:988::o;42823:1079::-;43101:10;:17;43076:22;;43101:21;;43121:1;;43101:21;:::i;:::-;43133:18;43154:24;;;:15;:24;;;;;;43527:10;:26;;43076:46;;-1:-1:-1;43154:24:0;;43076:46;;43527:26;;;;;;:::i;:::-;;;;;;;;;43505:48;;43591:11;43566:10;43577;43566:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;43671:28;;;:15;:28;;;;;;;:41;;;43843:24;;;;;43836:31;43878:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;42894:1008;;;42823:1079;:::o;40327:221::-;40412:14;40429:20;40446:2;40429:16;:20::i;:::-;-1:-1:-1;;;;;40460:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;40505:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;40327:221:0:o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;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:367::-;2418:8;2428:6;2482:3;2475:4;2467:6;2463:17;2459:27;2449:55;;2500:1;2497;2490:12;2449:55;-1:-1:-1;2523:20:1;;2566:18;2555:30;;2552:50;;;2598:1;2595;2588:12;2552:50;2635:4;2627:6;2623:17;2611:29;;2695:3;2688:4;2678:6;2675:1;2671:14;2663:6;2659:27;2655:38;2652:47;2649:67;;;2712:1;2709;2702:12;2649:67;2355:367;;;;;:::o;2727:573::-;2831:6;2839;2847;2855;2908:2;2896:9;2887:7;2883:23;2879:32;2876:52;;;2924:1;2921;2914:12;2876:52;2960:9;2947:23;2937:33;;3021:2;3010:9;3006:18;2993:32;3048:18;3040:6;3037:30;3034:50;;;3080:1;3077;3070:12;3034:50;3119:70;3181:7;3172:6;3161:9;3157:22;3119:70;:::i;:::-;2727:573;;3208:8;;-1:-1:-1;3093:96:1;;3290:2;3275:18;3262:32;;2727:573;-1:-1:-1;;;;2727:573:1:o;3305:328::-;3382:6;3390;3398;3451:2;3439:9;3430:7;3426:23;3422:32;3419:52;;;3467:1;3464;3457:12;3419:52;3490:29;3509:9;3490:29;:::i;:::-;3480:39;;3538:38;3572:2;3561:9;3557:18;3538:38;:::i;:::-;3528:48;;3623:2;3612:9;3608:18;3595:32;3585:42;;3305:328;;;;;:::o;4005:254::-;4073:6;4081;4134:2;4122:9;4113:7;4109:23;4105:32;4102:52;;;4150:1;4147;4140:12;4102:52;4186:9;4173:23;4163:33;;4215:38;4249:2;4238:9;4234:18;4215:38;:::i;:::-;4205:48;;4005:254;;;;;:::o;4264:160::-;4329:20;;4385:13;;4378:21;4368:32;;4358:60;;4414:1;4411;4404:12;4429:180;4485:6;4538:2;4526:9;4517:7;4513:23;4509:32;4506:52;;;4554:1;4551;4544:12;4506:52;4577:26;4593:9;4577:26;:::i;4614:270::-;4687:6;4740:2;4728:9;4719:7;4715:23;4711:32;4708:52;;;4756:1;4753;4746:12;4708:52;4795:9;4782:23;4834:1;4827:5;4824:12;4814:40;;4850:1;4847;4840:12;4889:127;4950:10;4945:3;4941:20;4938:1;4931:31;4981:4;4978:1;4971:15;5005:4;5002:1;4995:15;5021:342;5167:2;5152:18;;5200:1;5189:13;;5179:144;;5245:10;5240:3;5236:20;5233:1;5226:31;5280:4;5277:1;5270:15;5308:4;5305:1;5298:15;5179:144;5332:25;;;5021:342;:::o;5368:186::-;5427:6;5480:2;5468:9;5459:7;5455:23;5451:32;5448:52;;;5496:1;5493;5486:12;5448:52;5519:29;5538:9;5519:29;:::i;5559:248::-;5627:6;5635;5688:2;5676:9;5667:7;5663:23;5659:32;5656:52;;;5704:1;5701;5694:12;5656:52;-1:-1:-1;;5727:23:1;;;5797:2;5782:18;;;5769:32;;-1:-1:-1;5559:248:1:o;5812:254::-;5877:6;5885;5938:2;5926:9;5917:7;5913:23;5909:32;5906:52;;;5954:1;5951;5944:12;5906:52;5977:29;5996:9;5977:29;:::i;:::-;5967:39;;6025:35;6056:2;6045:9;6041:18;6025:35;:::i;6071:808::-;6168:6;6176;6184;6192;6200;6253:3;6241:9;6232:7;6228:23;6224:33;6221:53;;;6270:1;6267;6260:12;6221:53;6293:29;6312:9;6293:29;:::i;:::-;6283:39;;6341:38;6375:2;6364:9;6360:18;6341:38;:::i;:::-;6331:48;;6426:2;6415:9;6411:18;6398:32;6388:42;;6481:2;6470:9;6466:18;6453:32;6504:18;6545:2;6537:6;6534:14;6531:34;;;6561:1;6558;6551:12;6531:34;6599:6;6588:9;6584:22;6574:32;;6644:7;6637:4;6633:2;6629:13;6625:27;6615:55;;6666:1;6663;6656:12;6615:55;6706:2;6693:16;6732:2;6724:6;6721:14;6718:34;;;6748:1;6745;6738:12;6718:34;6793:7;6788:2;6779:6;6775:2;6771:15;6767:24;6764:37;6761:57;;;6814:1;6811;6804:12;6761:57;6071:808;;;;-1:-1:-1;6071:808:1;;-1:-1:-1;6845:2:1;6837:11;;6867:6;6071:808;-1:-1:-1;;;6071:808:1:o;6884:437::-;6970:6;6978;7031:2;7019:9;7010:7;7006:23;7002:32;6999:52;;;7047:1;7044;7037:12;6999:52;7087:9;7074:23;7120:18;7112:6;7109:30;7106:50;;;7152:1;7149;7142:12;7106:50;7191:70;7253:7;7244:6;7233:9;7229:22;7191:70;:::i;:::-;7280:8;;7165:96;;-1:-1:-1;6884:437:1;-1:-1:-1;;;;6884:437:1:o;7326:260::-;7394:6;7402;7455:2;7443:9;7434:7;7430:23;7426:32;7423:52;;;7471:1;7468;7461:12;7423:52;7494:29;7513:9;7494:29;:::i;:::-;7484:39;;7542:38;7576:2;7565:9;7561:18;7542:38;:::i;7591:380::-;7670:1;7666:12;;;;7713;;;7734:61;;7788:4;7780:6;7776:17;7766:27;;7734:61;7841:2;7833:6;7830:14;7810:18;7807:38;7804:161;;;7887:10;7882:3;7878:20;7875:1;7868:31;7922:4;7919:1;7912:15;7950:4;7947:1;7940:15;7804:161;;7591:380;;;:::o;11024:127::-;11085:10;11080:3;11076:20;11073:1;11066:31;11116:4;11113:1;11106:15;11140:4;11137:1;11130:15;11156:128;11196:3;11227:1;11223:6;11220:1;11217:13;11214:39;;;11233:18;;:::i;:::-;-1:-1:-1;11269:9:1;;11156:128::o;11647:125::-;11687:4;11715:1;11712;11709:8;11706:34;;;11720:18;;:::i;:::-;-1:-1:-1;11757:9:1;;11647:125::o;11777:135::-;11816:3;-1:-1:-1;;11837:17:1;;11834:43;;;11857:18;;:::i;:::-;-1:-1:-1;11904:1:1;11893:13;;11777:135::o;11917:168::-;11957:7;12023:1;12019;12015:6;12011:14;12008:1;12005:21;12000:1;11993:9;11986:17;11982:45;11979:71;;;12030:18;;:::i;:::-;-1:-1:-1;12070:9:1;;11917:168::o;12707:343::-;12909:2;12891:21;;;12948:2;12928:18;;;12921:30;-1:-1:-1;;;12982:2:1;12967:18;;12960:49;13041:2;13026:18;;12707:343::o;14575:127::-;14636:10;14631:3;14627:20;14624:1;14617:31;14667:4;14664:1;14657:15;14691:4;14688:1;14681:15;16937:664;17164:3;17202:6;17196:13;17218:53;17264:6;17259:3;17252:4;17244:6;17240:17;17218:53;:::i;:::-;17334:13;;17293:16;;;;17356:57;17334:13;17293:16;17390:4;17378:17;;17356:57;:::i;:::-;17480:13;;17435:20;;;17502:57;17480:13;17435:20;17536:4;17524:17;;17502:57;:::i;:::-;17575:20;;16937:664;-1:-1:-1;;;;;16937:664:1:o;19835:413::-;20037:2;20019:21;;;20076:2;20056:18;;;20049:30;20115:34;20110:2;20095:18;;20088:62;-1:-1:-1;;;20181:2:1;20166:18;;20159:47;20238:3;20223:19;;19835:413::o;21023:127::-;21084:10;21079:3;21075:20;21072:1;21065:31;21115:4;21112:1;21105:15;21139:4;21136:1;21129:15;21155:120;21195:1;21221;21211:35;;21226:18;;:::i;:::-;-1:-1:-1;21260:9:1;;21155:120::o;21280:127::-;21341:10;21336:3;21332:20;21329:1;21322:31;21372:4;21369:1;21362:15;21396:4;21393:1;21386:15;21412:112;21444:1;21470;21460:35;;21475:18;;:::i;:::-;-1:-1:-1;21509:9:1;;21412:112::o;23009:786::-;23420:25;23415:3;23408:38;23390:3;23475:6;23469:13;23491:62;23546:6;23541:2;23536:3;23532:12;23525:4;23517:6;23513:17;23491:62;:::i;:::-;-1:-1:-1;;;23612:2:1;23572:16;;;23604:11;;;23597:40;23662:13;;23684:63;23662:13;23733:2;23725:11;;23718:4;23706:17;;23684:63;:::i;:::-;23767:17;23786:2;23763:26;;23009:786;-1:-1:-1;;;;23009:786:1:o;23800:127::-;23861:10;23856:3;23852:20;23849:1;23842:31;23892:4;23889:1;23882:15;23916:4;23913:1;23906:15;23932:414;24134:2;24116:21;;;24173:2;24153:18;;;24146:30;24212:34;24207:2;24192:18;;24185:62;-1:-1:-1;;;24278:2:1;24263:18;;24256:48;24336:3;24321:19;;23932:414::o;24351:136::-;24390:3;24418:5;24408:39;;24427:18;;:::i;:::-;-1:-1:-1;;;24463:18:1;;24351:136::o;24853:489::-;-1:-1:-1;;;;;25122:15:1;;;25104:34;;25174:15;;25169:2;25154:18;;25147:43;25221:2;25206:18;;25199:34;;;25269:3;25264:2;25249:18;;25242:31;;;25047:4;;25290:46;;25316:19;;25308:6;25290:46;:::i;:::-;25282:54;24853:489;-1:-1:-1;;;;;;24853:489:1:o;25347:249::-;25416:6;25469:2;25457:9;25448:7;25444:23;25440:32;25437:52;;;25485:1;25482;25475:12;25437:52;25517:9;25511:16;25536:30;25560:5;25536:30;:::i
Swarm Source
ipfs://4d60d5f75760c7cc38e6ebd45f64a01e752c8240ffc937a79e53733b16d10d4b
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.