ERC-721
Overview
Max Total Supply
4,249 DICKPIG
Holders
225
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
20 DICKPIGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DickPigz
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT /* ████████▄ ▄█ ▄████████ ▄█ ▄█▄ ▄███████▄ ▄█ ▄██████▄ ▄███████▄ ███ ▀███ ███ ███ ███ ███ ▄███▀ ███ ███ ███ ███ ███ ██▀ ▄██ ███ ███ ███▌ ███ █▀ ███▐██▀ ███ ███ ███▌ ███ █▀ ▄███▀ ███ ███ ███▌ ███ ▄█████▀ ███ ███ ███▌ ▄███ ▀█▀▄███▀▄▄ ███ ███ ███▌ ███ ▀▀█████▄ ▀█████████▀ ███▌ ▀▀███ ████▄ ▄███▀ ▀ ███ ███ ███ ███ █▄ ███▐██▄ ███ ███ ███ ███ ▄███▀ ███ ▄███ ███ ███ ███ ███ ▀███▄ ███ ███ ███ ███ ███▄ ▄█ ████████▀ █▀ ████████▀ ███ ▀█▀ ▄████▀ █▀ ████████▀ ▀████████▀ ▀ */ pragma solidity >=0.7.0 <0.9.0; import "./ERC721A.sol"; import "./Ownable.sol"; import "./SafeMath.sol"; import "./Strings.sol"; import "./DefaultOperatorFilterer.sol"; contract DickPigz is ERC721A, Ownable, DefaultOperatorFilterer { using SafeMath for uint256; using Strings for uint256; uint256 public MAX_MINTS = 3; uint256 public PRICE = 0 ether; uint256 public TOTAL_SUPPLY = 4200; bool public SaleStarted = false; bool public revealed = false; mapping(address => uint256) private _mintedClaim; string public notRevealedUri = "ipfs://QmZVnUP2XktTg3pM2SPJ7eMfjwkgZwfB5PDqcdax28Jcp1/hidden.json"; // /baseURI will be changed before reveal string public baseURI = "revealeduri"; constructor() ERC721A("DickPigz", "DICKPIG") { } function toggleSale() external onlyOwner { SaleStarted = !SaleStarted; } function setBaseURI(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; revealed = true; } function setnotRevealedUri(string memory _newnotRevealedURI) external onlyOwner { notRevealedUri = _newnotRevealedURI; } function setPrice(uint256 _newPrice) external onlyOwner { PRICE = _newPrice * (1 ether); } function setmaxMints(uint256 _newmaxMints) external onlyOwner { MAX_MINTS = _newmaxMints; } function settotalSupply(uint256 _newTotalSupply) public onlyOwner { TOTAL_SUPPLY = _newTotalSupply; } function _baseURI() internal view override returns (string memory) { return baseURI; } /// TokenURI Function function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if(revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, (tokenId).toString(), ".json")) : ""; } /// Reveal Function function reveal() public onlyOwner { revealed = !revealed; } /// Normal Mint Functions function mint(uint256 tokens) external payable { require(SaleStarted, "Public sale has not started"); require(totalSupply() + tokens <= (TOTAL_SUPPLY), "Minting would exceed max supply"); require(tokens > 0, "Must mint at least one token"); require(PRICE * tokens <= msg.value, "ETH amount is incorrect"); require(tokens <= MAX_MINTS, "Too Many Mints"); _safeMint(_msgSender(), tokens); _mintedClaim[msg.sender]+=tokens; } function howManyMintedClaim(address account) public view returns (uint256) { return _mintedClaim[account]; } /// Owner only mint function function ownerMint(address to, uint256 tokens) external onlyOwner { require(tokens > 0, "Must at least one token"); _safeMint(to, tokens); } /// Withdraw function function withdrawAll() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "Insufficent balance"); _withdraw(_msgSender(), address(this).balance); } function _withdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{value: _amount}(""); require(success, "Failed to withdraw Ether"); } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator { super.safeTransferFrom(from, to, tokenId, data); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.0; /** * @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. * * ```solidity * 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. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ 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) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // 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; /// @solidity memory-safe-assembly 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 in 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; /// @solidity memory-safe-assembly assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.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; } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./IERC721Enumerable.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.sol"; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if ( to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data) ) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if ( !_checkContractOnERC721Received( address(0), to, updatedIndex++, _data ) ) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership .startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership .startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./IERC165.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 Resturns 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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "./IERC721.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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {EnumerableSet} from "./EnumerableSet.sol"; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @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 = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator() virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).code.length > 0) { if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; import {Ownable} from "./Ownable.sol"; import {EnumerableSet} from "./EnumerableSet.sol"; import {OperatorFilterRegistryErrorsAndEvents} from "./OperatorFilterRegistryErrorsAndEvents.sol"; /** * @title OperatorFilterRegistry * @notice Borrows heavily from the QQL BlacklistOperatorFilter contract: * https://github.com/qql-art/contracts/blob/main/contracts/BlacklistOperatorFilter.sol * @notice This contracts allows tokens or token owners to register specific addresses or codeHashes that may be * * restricted according to the isOperatorAllowed function. */ contract OperatorFilterRegistry is IOperatorFilterRegistry, OperatorFilterRegistryErrorsAndEvents { using EnumerableSet for EnumerableSet.AddressSet; using EnumerableSet for EnumerableSet.Bytes32Set; /// @dev initialized accounts have a nonzero codehash (see https://eips.ethereum.org/EIPS/eip-1052) /// Note that this will also be a smart contract's codehash when making calls from its constructor. bytes32 constant EOA_CODEHASH = keccak256(""); mapping(address => EnumerableSet.AddressSet) private _filteredOperators; mapping(address => EnumerableSet.Bytes32Set) private _filteredCodeHashes; mapping(address => address) private _registrations; mapping(address => EnumerableSet.AddressSet) private _subscribers; /** * @notice restricts method caller to the address or EIP-173 "owner()" */ modifier onlyAddressOrOwner(address addr) { if (msg.sender != addr) { try Ownable(addr).owner() returns (address owner) { if (msg.sender != owner) { revert OnlyAddressOrOwner(); } } catch (bytes memory reason) { if (reason.length == 0) { revert NotOwnable(); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } _; } /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool) { address registration = _registrations[registrant]; if (registration != address(0)) { EnumerableSet.AddressSet storage filteredOperatorsRef; EnumerableSet.Bytes32Set storage filteredCodeHashesRef; filteredOperatorsRef = _filteredOperators[registration]; filteredCodeHashesRef = _filteredCodeHashes[registration]; if (filteredOperatorsRef.contains(operator)) { revert AddressFiltered(operator); } if (operator.code.length > 0) { bytes32 codeHash = operator.codehash; if (filteredCodeHashesRef.contains(codeHash)) { revert CodeHashFiltered(operator, codeHash); } } } return true; } ////////////////// // AUTH METHODS // ////////////////// /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external onlyAddressOrOwner(registrant) { if (_registrations[registrant] != address(0)) { revert AlreadyRegistered(); } _registrations[registrant] = registrant; emit RegistrationUpdated(registrant, true); } /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address registrant) external onlyAddressOrOwner(registrant) { address registration = _registrations[registrant]; if (registration == address(0)) { revert NotRegistered(registrant); } if (registration != registrant) { _subscribers[registration].remove(registrant); emit SubscriptionUpdated(registrant, registration, false); } _registrations[registrant] = address(0); emit RegistrationUpdated(registrant, false); } /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external onlyAddressOrOwner(registrant) { address registration = _registrations[registrant]; if (registration != address(0)) { revert AlreadyRegistered(); } if (registrant == subscription) { revert CannotSubscribeToSelf(); } address subscriptionRegistration = _registrations[subscription]; if (subscriptionRegistration == address(0)) { revert NotRegistered(subscription); } if (subscriptionRegistration != subscription) { revert CannotSubscribeToRegistrantWithSubscription(subscription); } _registrations[registrant] = subscription; _subscribers[subscription].add(registrant); emit RegistrationUpdated(registrant, true); emit SubscriptionUpdated(registrant, subscription, true); } /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external onlyAddressOrOwner(registrant) { if (registrantToCopy == registrant) { revert CannotCopyFromSelf(); } address registration = _registrations[registrant]; if (registration != address(0)) { revert AlreadyRegistered(); } address registrantRegistration = _registrations[registrantToCopy]; if (registrantRegistration == address(0)) { revert NotRegistered(registrantToCopy); } _registrations[registrant] = registrant; emit RegistrationUpdated(registrant, true); _copyEntries(registrant, registrantToCopy); } /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external onlyAddressOrOwner(registrant) { address registration = _registrations[registrant]; if (registration == address(0)) { revert NotRegistered(registrant); } if (registration != registrant) { revert CannotUpdateWhileSubscribed(registration); } EnumerableSet.AddressSet storage filteredOperatorsRef = _filteredOperators[registrant]; if (!filtered) { bool removed = filteredOperatorsRef.remove(operator); if (!removed) { revert AddressNotFiltered(operator); } } else { bool added = filteredOperatorsRef.add(operator); if (!added) { revert AddressAlreadyFiltered(operator); } } emit OperatorUpdated(registrant, operator, filtered); } /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codeHash, bool filtered) external onlyAddressOrOwner(registrant) { if (codeHash == EOA_CODEHASH) { revert CannotFilterEOAs(); } address registration = _registrations[registrant]; if (registration == address(0)) { revert NotRegistered(registrant); } if (registration != registrant) { revert CannotUpdateWhileSubscribed(registration); } EnumerableSet.Bytes32Set storage filteredCodeHashesRef = _filteredCodeHashes[registrant]; if (!filtered) { bool removed = filteredCodeHashesRef.remove(codeHash); if (!removed) { revert CodeHashNotFiltered(codeHash); } } else { bool added = filteredCodeHashesRef.add(codeHash); if (!added) { revert CodeHashAlreadyFiltered(codeHash); } } emit CodeHashUpdated(registrant, codeHash, filtered); } /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external onlyAddressOrOwner(registrant) { address registration = _registrations[registrant]; if (registration == address(0)) { revert NotRegistered(registrant); } if (registration != registrant) { revert CannotUpdateWhileSubscribed(registration); } EnumerableSet.AddressSet storage filteredOperatorsRef = _filteredOperators[registrant]; uint256 operatorsLength = operators.length; unchecked { if (!filtered) { for (uint256 i = 0; i < operatorsLength; ++i) { address operator = operators[i]; bool removed = filteredOperatorsRef.remove(operator); if (!removed) { revert AddressNotFiltered(operator); } } } else { for (uint256 i = 0; i < operatorsLength; ++i) { address operator = operators[i]; bool added = filteredOperatorsRef.add(operator); if (!added) { revert AddressAlreadyFiltered(operator); } } } } emit OperatorsUpdated(registrant, operators, filtered); } /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external onlyAddressOrOwner(registrant) { address registration = _registrations[registrant]; if (registration == address(0)) { revert NotRegistered(registrant); } if (registration != registrant) { revert CannotUpdateWhileSubscribed(registration); } EnumerableSet.Bytes32Set storage filteredCodeHashesRef = _filteredCodeHashes[registrant]; uint256 codeHashesLength = codeHashes.length; unchecked { if (!filtered) { for (uint256 i = 0; i < codeHashesLength; ++i) { bytes32 codeHash = codeHashes[i]; bool removed = filteredCodeHashesRef.remove(codeHash); if (!removed) { revert CodeHashNotFiltered(codeHash); } } } else { for (uint256 i = 0; i < codeHashesLength; ++i) { bytes32 codeHash = codeHashes[i]; if (codeHash == EOA_CODEHASH) { revert CannotFilterEOAs(); } bool added = filteredCodeHashesRef.add(codeHash); if (!added) { revert CodeHashAlreadyFiltered(codeHash); } } } } emit CodeHashesUpdated(registrant, codeHashes, filtered); } /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address newSubscription) external onlyAddressOrOwner(registrant) { if (registrant == newSubscription) { revert CannotSubscribeToSelf(); } if (newSubscription == address(0)) { revert CannotSubscribeToZeroAddress(); } address registration = _registrations[registrant]; if (registration == address(0)) { revert NotRegistered(registrant); } if (registration == newSubscription) { revert AlreadySubscribed(newSubscription); } address newSubscriptionRegistration = _registrations[newSubscription]; if (newSubscriptionRegistration == address(0)) { revert NotRegistered(newSubscription); } if (newSubscriptionRegistration != newSubscription) { revert CannotSubscribeToRegistrantWithSubscription(newSubscription); } if (registration != registrant) { _subscribers[registration].remove(registrant); emit SubscriptionUpdated(registrant, registration, false); } _registrations[registrant] = newSubscription; _subscribers[newSubscription].add(registrant); emit SubscriptionUpdated(registrant, newSubscription, true); } /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external onlyAddressOrOwner(registrant) { address registration = _registrations[registrant]; if (registration == address(0)) { revert NotRegistered(registrant); } if (registration == registrant) { revert NotSubscribed(); } _subscribers[registration].remove(registrant); _registrations[registrant] = registrant; emit SubscriptionUpdated(registrant, registration, false); if (copyExistingEntries) { _copyEntries(registrant, registration); } } /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external onlyAddressOrOwner(registrant) { if (registrant == registrantToCopy) { revert CannotCopyFromSelf(); } address registration = _registrations[registrant]; if (registration == address(0)) { revert NotRegistered(registrant); } if (registration != registrant) { revert CannotUpdateWhileSubscribed(registration); } address registrantRegistration = _registrations[registrantToCopy]; if (registrantRegistration == address(0)) { revert NotRegistered(registrantToCopy); } _copyEntries(registrant, registrantToCopy); } /// @dev helper to copy entries from registrantToCopy to registrant and emit events function _copyEntries(address registrant, address registrantToCopy) private { EnumerableSet.AddressSet storage filteredOperatorsRef = _filteredOperators[registrantToCopy]; EnumerableSet.Bytes32Set storage filteredCodeHashesRef = _filteredCodeHashes[registrantToCopy]; uint256 filteredOperatorsLength = filteredOperatorsRef.length(); uint256 filteredCodeHashesLength = filteredCodeHashesRef.length(); unchecked { for (uint256 i = 0; i < filteredOperatorsLength; ++i) { address operator = filteredOperatorsRef.at(i); bool added = _filteredOperators[registrant].add(operator); if (added) { emit OperatorUpdated(registrant, operator, true); } } for (uint256 i = 0; i < filteredCodeHashesLength; ++i) { bytes32 codehash = filteredCodeHashesRef.at(i); bool added = _filteredCodeHashes[registrant].add(codehash); if (added) { emit CodeHashUpdated(registrant, codehash, true); } } } } ////////////////// // VIEW METHODS // ////////////////// /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address registrant) external view returns (address subscription) { subscription = _registrations[registrant]; if (subscription == address(0)) { revert NotRegistered(registrant); } else if (subscription == registrant) { subscription = address(0); } } /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external view returns (address[] memory) { return _subscribers[registrant].values(); } /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external view returns (address) { return _subscribers[registrant].at(index); } /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external view returns (bool) { address registration = _registrations[registrant]; if (registration != registrant) { return _filteredOperators[registration].contains(operator); } return _filteredOperators[registrant].contains(operator); } /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external view returns (bool) { address registration = _registrations[registrant]; if (registration != registrant) { return _filteredCodeHashes[registration].contains(codeHash); } return _filteredCodeHashes[registrant].contains(codeHash); } /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external view returns (bool) { bytes32 codeHash = operatorWithCode.codehash; address registration = _registrations[registrant]; if (registration != registrant) { return _filteredCodeHashes[registration].contains(codeHash); } return _filteredCodeHashes[registrant].contains(codeHash); } /** * @notice Returns true if an address has registered */ function isRegistered(address registrant) external view returns (bool) { return _registrations[registrant] != address(0); } /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address registrant) external view returns (address[] memory) { address registration = _registrations[registrant]; if (registration != registrant) { return _filteredOperators[registration].values(); } return _filteredOperators[registrant].values(); } /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address registrant) external view returns (bytes32[] memory) { address registration = _registrations[registrant]; if (registration != registrant) { return _filteredCodeHashes[registration].values(); } return _filteredCodeHashes[registrant].values(); } /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external view returns (address) { address registration = _registrations[registrant]; if (registration != registrant) { return _filteredOperators[registration].at(index); } return _filteredOperators[registrant].at(index); } /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external view returns (bytes32) { address registration = _registrations[registrant]; if (registration != registrant) { return _filteredCodeHashes[registration].at(index); } return _filteredCodeHashes[registrant].at(index); } /// @dev Convenience method to compute the code hash of an arbitrary contract function codeHashOf(address a) external view returns (bytes32) { return a.codehash; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; contract OperatorFilterRegistryErrorsAndEvents { error CannotFilterEOAs(); error AddressAlreadyFiltered(address operator); error AddressNotFiltered(address operator); error CodeHashAlreadyFiltered(bytes32 codeHash); error CodeHashNotFiltered(bytes32 codeHash); error OnlyAddressOrOwner(); error NotRegistered(address registrant); error AlreadyRegistered(); error AlreadySubscribed(address subscription); error NotSubscribed(); error CannotUpdateWhileSubscribed(address subscription); error CannotSubscribeToSelf(); error CannotSubscribeToZeroAddress(); error NotOwnable(); error AddressFiltered(address filtered); error CodeHashFiltered(address account, bytes32 codeHash); error CannotSubscribeToRegistrantWithSubscription(address registrant); error CannotCopyFromSelf(); event RegistrationUpdated(address indexed registrant, bool indexed registered); event OperatorUpdated(address indexed registrant, address indexed operator, bool indexed filtered); event OperatorsUpdated(address indexed registrant, address[] operators, bool indexed filtered); event CodeHashUpdated(address indexed registrant, bytes32 indexed codeHash, bool indexed filtered); event CodeHashesUpdated(address indexed registrant, bytes32[] codeHashes, bool indexed filtered); event SubscriptionUpdated(address indexed registrant, address indexed subscription, bool indexed subscribed); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (access/Ownable2Step.sol) pragma solidity ^0.8.0; import "./Ownable.sol"; /** * @dev Contract module which provides 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} and {acceptOwnership}. * * This module is used through inheritance. It will make available all functions * from parent (Ownable). */ abstract contract Ownable2Step is Ownable { address private _pendingOwner; event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner); /** * @dev Returns the address of the pending owner. */ function pendingOwner() public view virtual returns (address) { return _pendingOwner; } /** * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual override onlyOwner { _pendingOwner = newOwner; emit OwnershipTransferStarted(owner(), newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner. * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual override { delete _pendingOwner; super._transferOwnership(newOwner); } /** * @dev The new owner accepts the ownership transfer. */ function acceptOwnership() public virtual { address sender = _msgSender(); require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner"); _transferOwnership(sender); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; import {Ownable2Step} from "./Ownable2Step.sol"; /** * @title OwnedRegistrant * @notice Ownable contract that registers itself with the OperatorFilterRegistry and administers its own entries, * to facilitate a subscription whose ownership can be transferred. */ contract OwnedRegistrant is Ownable2Step { address constant registry = 0x000000000000AAeB6D7670E522A718067333cd4E; constructor(address _owner) { IOperatorFilterRegistry(registry).register(address(this)); transferOwnership(_owner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @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); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"howManyMintedClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMints","type":"uint256"}],"name":"setmaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newnotRevealedURI","type":"string"}],"name":"setnotRevealedUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTotalSupply","type":"uint256"}],"name":"settotalSupply","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":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260036009556000600a55611068600b556000600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff0219169083151502179055506040518060800160405280604181526020016200486060419139600e90805190602001906200007b92919062000499565b506040518060400160405280600b81526020017f72657665616c6564757269000000000000000000000000000000000000000000815250600f9080519060200190620000c992919062000499565b50348015620000d757600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600881526020017f4469636b5069677a0000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f4449434b5049470000000000000000000000000000000000000000000000000081525081600290805190602001906200017392919062000499565b5080600390805190602001906200018c92919062000499565b506200019d620003c260201b60201c565b6000819055505050620001c5620001b9620003cb60201b60201c565b620003d360201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620003ba57801562000280576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620002469291906200058e565b600060405180830381600087803b1580156200026157600080fd5b505af115801562000276573d6000803e3d6000fd5b50505050620003b9565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200033a576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620003009291906200058e565b600060405180830381600087803b1580156200031b57600080fd5b505af115801562000330573d6000803e3d6000fd5b50505050620003b8565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620003839190620005bb565b600060405180830381600087803b1580156200039e57600080fd5b505af1158015620003b3573d6000803e3d6000fd5b505050505b5b5b50506200063c565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620004a79062000607565b90600052602060002090601f016020900481019282620004cb576000855562000517565b82601f10620004e657805160ff191683800117855562000517565b8280016001018555821562000517579182015b8281111562000516578251825591602001919060010190620004f9565b5b5090506200052691906200052a565b5090565b5b80821115620005455760008160009055506001016200052b565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005768262000549565b9050919050565b620005888162000569565b82525050565b6000604082019050620005a560008301856200057d565b620005b460208301846200057d565b9392505050565b6000602082019050620005d260008301846200057d565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200062057607f821691505b602082108103620006365762000635620005d8565b5b50919050565b614214806200064c6000396000f3fe6080604052600436106102045760003560e01c8063853828b611610118578063a22cb465116100a0578063cce132d11161006f578063cce132d1146106fa578063e9048ff414610725578063e985e9c514610762578063ed53753a1461079f578063f2fde38b146107c857610204565b8063a22cb46514610654578063a475b5dd1461067d578063b88d4fde14610694578063c87b56dd146106bd57610204565b8063912ee23d116100e7578063912ee23d1461059057806391b7f5ed146105bb57806395d89b41146105e45780639a1520771461060f578063a0712d681461063857610204565b8063853828b6146104f85780638d859f3e1461050f5780638da5cb5b1461053a578063902d55a51461056557610204565b806342842e0e1161019b5780636352211e1161016a5780636352211e146104255780636c0360eb1461046257806370a082311461048d578063715018a6146104ca5780637d8966e4146104e157610204565b806342842e0e1461037f578063484b973c146103a857806351830227146103d157806355f804b3146103fc57610204565b8063081c8c44116101d7578063081c8c44146102d7578063095ea7b31461030257806318160ddd1461032b57806323b872dd1461035657610204565b80630188541d1461020957806301ffc9a71461023257806306fdde031461026f578063081812fc1461029a575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b91906132d5565b6107f1565b005b34801561023e57600080fd5b5061025960048036038101906102549190613376565b610887565b60405161026691906133be565b60405180910390f35b34801561027b57600080fd5b50610284610969565b6040516102919190613461565b60405180910390f35b3480156102a657600080fd5b506102c160048036038101906102bc91906134b9565b6109fb565b6040516102ce9190613527565b60405180910390f35b3480156102e357600080fd5b506102ec610a77565b6040516102f99190613461565b60405180910390f35b34801561030e57600080fd5b506103296004803603810190610324919061356e565b610b05565b005b34801561033757600080fd5b50610340610c0f565b60405161034d91906135bd565b60405180910390f35b34801561036257600080fd5b5061037d600480360381019061037891906135d8565b610c26565b005b34801561038b57600080fd5b506103a660048036038101906103a191906135d8565b610d32565b005b3480156103b457600080fd5b506103cf60048036038101906103ca919061356e565b610e3e565b005b3480156103dd57600080fd5b506103e6610f0b565b6040516103f391906133be565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e91906132d5565b610f1e565b005b34801561043157600080fd5b5061044c600480360381019061044791906134b9565b610fcf565b6040516104599190613527565b60405180910390f35b34801561046e57600080fd5b50610477610fe5565b6040516104849190613461565b60405180910390f35b34801561049957600080fd5b506104b460048036038101906104af919061362b565b611073565b6040516104c191906135bd565b60405180910390f35b3480156104d657600080fd5b506104df611142565b005b3480156104ed57600080fd5b506104f66111ca565b005b34801561050457600080fd5b5061050d611272565b005b34801561051b57600080fd5b5061052461134a565b60405161053191906135bd565b60405180910390f35b34801561054657600080fd5b5061054f611350565b60405161055c9190613527565b60405180910390f35b34801561057157600080fd5b5061057a61137a565b60405161058791906135bd565b60405180910390f35b34801561059c57600080fd5b506105a5611380565b6040516105b291906133be565b60405180910390f35b3480156105c757600080fd5b506105e260048036038101906105dd91906134b9565b611393565b005b3480156105f057600080fd5b506105f961142c565b6040516106069190613461565b60405180910390f35b34801561061b57600080fd5b50610636600480360381019061063191906134b9565b6114be565b005b610652600480360381019061064d91906134b9565b611544565b005b34801561066057600080fd5b5061067b60048036038101906106769190613684565b61172c565b005b34801561068957600080fd5b506106926118a3565b005b3480156106a057600080fd5b506106bb60048036038101906106b69190613765565b61194b565b005b3480156106c957600080fd5b506106e460048036038101906106df91906134b9565b611a59565b6040516106f19190613461565b60405180910390f35b34801561070657600080fd5b5061070f611bae565b60405161071c91906135bd565b60405180910390f35b34801561073157600080fd5b5061074c6004803603810190610747919061362b565b611bb4565b60405161075991906135bd565b60405180910390f35b34801561076e57600080fd5b50610789600480360381019061078491906137e8565b611bfd565b60405161079691906133be565b60405180910390f35b3480156107ab57600080fd5b506107c660048036038101906107c191906134b9565b611c91565b005b3480156107d457600080fd5b506107ef60048036038101906107ea919061362b565b611d17565b005b6107f9611e0e565b73ffffffffffffffffffffffffffffffffffffffff16610817611350565b73ffffffffffffffffffffffffffffffffffffffff161461086d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086490613874565b60405180910390fd5b80600e9080519060200190610883929190613095565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061095257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610962575061096182611e16565b5b9050919050565b606060028054610978906138c3565b80601f01602080910402602001604051908101604052809291908181526020018280546109a4906138c3565b80156109f15780601f106109c6576101008083540402835291602001916109f1565b820191906000526020600020905b8154815290600101906020018083116109d457829003601f168201915b5050505050905090565b6000610a0682611e80565b610a3c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e8054610a84906138c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab0906138c3565b8015610afd5780601f10610ad257610100808354040283529160200191610afd565b820191906000526020600020905b815481529060010190602001808311610ae057829003601f168201915b505050505081565b6000610b1082610fcf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b77576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b96611e0e565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bc85750610bc681610bc1611e0e565b611bfd565b155b15610bff576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c0a838383611ece565b505050565b6000610c19611f80565b6001546000540303905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610d22576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610c9d9291906138f4565b6020604051808303816000875af1158015610cbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce09190613932565b610d2157336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610d189190613527565b60405180910390fd5b5b610d2d838383611f89565b505050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610e2e576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610da99291906138f4565b6020604051808303816000875af1158015610dc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dec9190613932565b610e2d57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610e249190613527565b60405180910390fd5b5b610e39838383611f99565b505050565b610e46611e0e565b73ffffffffffffffffffffffffffffffffffffffff16610e64611350565b73ffffffffffffffffffffffffffffffffffffffff1614610eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb190613874565b60405180910390fd5b60008111610efd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef4906139ab565b60405180910390fd5b610f078282611fb9565b5050565b600c60019054906101000a900460ff1681565b610f26611e0e565b73ffffffffffffffffffffffffffffffffffffffff16610f44611350565b73ffffffffffffffffffffffffffffffffffffffff1614610f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9190613874565b60405180910390fd5b80600f9080519060200190610fb0929190613095565b506001600c60016101000a81548160ff02191690831515021790555050565b6000610fda82611fd7565b600001519050919050565b600f8054610ff2906138c3565b80601f016020809104026020016040519081016040528092919081815260200182805461101e906138c3565b801561106b5780601f106110405761010080835404028352916020019161106b565b820191906000526020600020905b81548152906001019060200180831161104e57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110da576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61114a611e0e565b73ffffffffffffffffffffffffffffffffffffffff16611168611350565b73ffffffffffffffffffffffffffffffffffffffff16146111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b590613874565b60405180910390fd5b6111c86000612266565b565b6111d2611e0e565b73ffffffffffffffffffffffffffffffffffffffff166111f0611350565b73ffffffffffffffffffffffffffffffffffffffff1614611246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123d90613874565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b61127a611e0e565b73ffffffffffffffffffffffffffffffffffffffff16611298611350565b73ffffffffffffffffffffffffffffffffffffffff16146112ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e590613874565b60405180910390fd5b600047905060008111611336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132d90613a17565b60405180910390fd5b611347611341611e0e565b4761232c565b50565b600a5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b5481565b600c60009054906101000a900460ff1681565b61139b611e0e565b73ffffffffffffffffffffffffffffffffffffffff166113b9611350565b73ffffffffffffffffffffffffffffffffffffffff161461140f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140690613874565b60405180910390fd5b670de0b6b3a7640000816114239190613a66565b600a8190555050565b60606003805461143b906138c3565b80601f0160208091040260200160405190810160405280929190818152602001828054611467906138c3565b80156114b45780601f10611489576101008083540402835291602001916114b4565b820191906000526020600020905b81548152906001019060200180831161149757829003601f168201915b5050505050905090565b6114c6611e0e565b73ffffffffffffffffffffffffffffffffffffffff166114e4611350565b73ffffffffffffffffffffffffffffffffffffffff161461153a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153190613874565b60405180910390fd5b8060098190555050565b600c60009054906101000a900460ff16611593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158a90613b0c565b60405180910390fd5b600b548161159f610c0f565b6115a99190613b2c565b11156115ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e190613bce565b60405180910390fd5b6000811161162d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162490613c3a565b60405180910390fd5b3481600a5461163c9190613a66565b111561167d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167490613ca6565b60405180910390fd5b6009548111156116c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b990613d12565b60405180910390fd5b6116d36116cd611e0e565b82611fb9565b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117229190613b2c565b9250508190555050565b611734611e0e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611798576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006117a5611e0e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611852611e0e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161189791906133be565b60405180910390a35050565b6118ab611e0e565b73ffffffffffffffffffffffffffffffffffffffff166118c9611350565b73ffffffffffffffffffffffffffffffffffffffff161461191f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191690613874565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611a47576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016119c29291906138f4565b6020604051808303816000875af11580156119e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a059190613932565b611a4657336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611a3d9190613527565b60405180910390fd5b5b611a53848484846123dd565b50505050565b6060611a6482611e80565b611aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9a90613da4565b60405180910390fd5b60001515600c60019054906101000a900460ff16151503611b5057600e8054611acb906138c3565b80601f0160208091040260200160405190810160405280929190818152602001828054611af7906138c3565b8015611b445780601f10611b1957610100808354040283529160200191611b44565b820191906000526020600020905b815481529060010190602001808311611b2757829003601f168201915b50505050509050611ba9565b6000611b5a612459565b90506000815111611b7a5760405180602001604052806000815250611ba5565b80611b84846124eb565b604051602001611b95929190613e4c565b6040516020818303038152906040525b9150505b919050565b60095481565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c99611e0e565b73ffffffffffffffffffffffffffffffffffffffff16611cb7611350565b73ffffffffffffffffffffffffffffffffffffffff1614611d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0490613874565b60405180910390fd5b80600b8190555050565b611d1f611e0e565b73ffffffffffffffffffffffffffffffffffffffff16611d3d611350565b73ffffffffffffffffffffffffffffffffffffffff1614611d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8a90613874565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df990613eed565b60405180910390fd5b611e0b81612266565b50565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611e8b611f80565b11158015611e9a575060005482105b8015611ec7575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b611f9483838361264b565b505050565b611fb48383836040518060200160405280600081525061194b565b505050565b611fd3828260405180602001604052806000815250612b3a565b5050565b611fdf61311b565b600082905080611fed611f80565b11158015611ffc575060005481105b1561222f576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161222d57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612111578092505050612261565b5b60011561222c57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612227578092505050612261565b612112565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161235290613f3e565b60006040518083038185875af1925050503d806000811461238f576040519150601f19603f3d011682016040523d82523d6000602084013e612394565b606091505b50509050806123d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cf90613f9f565b60405180910390fd5b505050565b6123e884848461264b565b6124078373ffffffffffffffffffffffffffffffffffffffff16612b4c565b801561241c575061241a84848484612b6f565b155b15612453576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060600f8054612468906138c3565b80601f0160208091040260200160405190810160405280929190818152602001828054612494906138c3565b80156124e15780601f106124b6576101008083540402835291602001916124e1565b820191906000526020600020905b8154815290600101906020018083116124c457829003601f168201915b5050505050905090565b606060008203612532576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612646565b600082905060005b6000821461256457808061254d90613fbf565b915050600a8261255d9190614036565b915061253a565b60008167ffffffffffffffff8111156125805761257f6131aa565b5b6040519080825280601f01601f1916602001820160405280156125b25781602001600182028036833780820191505090505b5090505b6000851461263f576001826125cb9190614067565b9150600a856125da919061409b565b60306125e69190613b2c565b60f81b8183815181106125fc576125fb6140cc565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126389190614036565b94506125b6565b8093505050505b919050565b600061265682611fd7565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661267d611e0e565b73ffffffffffffffffffffffffffffffffffffffff1614806126b057506126af82600001516126aa611e0e565b611bfd565b5b806126f557506126be611e0e565b73ffffffffffffffffffffffffffffffffffffffff166126dd846109fb565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061272e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612797576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036127fd576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61280a8585856001612cbf565b61281a6000848460000151611ece565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612aca57600054811015612ac95782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b338585856001612cc5565b5050505050565b612b478383836001612ccb565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b95611e0e565b8786866040518563ffffffff1660e01b8152600401612bb79493929190614150565b6020604051808303816000875af1925050508015612bf357506040513d601f19601f82011682018060405250810190612bf091906141b1565b60015b612c6c573d8060008114612c23576040519150601f19603f3d011682016040523d82523d6000602084013e612c28565b606091505b506000815103612c64576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612d37576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403612d71576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d7e6000868387612cbf565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612f485750612f478773ffffffffffffffffffffffffffffffffffffffff16612b4c565b5b1561300d575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fbd6000888480600101955088612b6f565b612ff3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808203612f4e57826000541461300857600080fd5b613078565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480820361300e575b81600081905550505061308e6000868387612cc5565b5050505050565b8280546130a1906138c3565b90600052602060002090601f0160209004810192826130c3576000855561310a565b82601f106130dc57805160ff191683800117855561310a565b8280016001018555821561310a579182015b828111156131095782518255916020019190600101906130ee565b5b509050613117919061315e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561317757600081600090555060010161315f565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131e282613199565b810181811067ffffffffffffffff82111715613201576132006131aa565b5b80604052505050565b600061321461317b565b905061322082826131d9565b919050565b600067ffffffffffffffff8211156132405761323f6131aa565b5b61324982613199565b9050602081019050919050565b82818337600083830152505050565b600061327861327384613225565b61320a565b90508281526020810184848401111561329457613293613194565b5b61329f848285613256565b509392505050565b600082601f8301126132bc576132bb61318f565b5b81356132cc848260208601613265565b91505092915050565b6000602082840312156132eb576132ea613185565b5b600082013567ffffffffffffffff8111156133095761330861318a565b5b613315848285016132a7565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133538161331e565b811461335e57600080fd5b50565b6000813590506133708161334a565b92915050565b60006020828403121561338c5761338b613185565b5b600061339a84828501613361565b91505092915050565b60008115159050919050565b6133b8816133a3565b82525050565b60006020820190506133d360008301846133af565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134135780820151818401526020810190506133f8565b83811115613422576000848401525b50505050565b6000613433826133d9565b61343d81856133e4565b935061344d8185602086016133f5565b61345681613199565b840191505092915050565b6000602082019050818103600083015261347b8184613428565b905092915050565b6000819050919050565b61349681613483565b81146134a157600080fd5b50565b6000813590506134b38161348d565b92915050565b6000602082840312156134cf576134ce613185565b5b60006134dd848285016134a4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613511826134e6565b9050919050565b61352181613506565b82525050565b600060208201905061353c6000830184613518565b92915050565b61354b81613506565b811461355657600080fd5b50565b60008135905061356881613542565b92915050565b6000806040838503121561358557613584613185565b5b600061359385828601613559565b92505060206135a4858286016134a4565b9150509250929050565b6135b781613483565b82525050565b60006020820190506135d260008301846135ae565b92915050565b6000806000606084860312156135f1576135f0613185565b5b60006135ff86828701613559565b935050602061361086828701613559565b9250506040613621868287016134a4565b9150509250925092565b60006020828403121561364157613640613185565b5b600061364f84828501613559565b91505092915050565b613661816133a3565b811461366c57600080fd5b50565b60008135905061367e81613658565b92915050565b6000806040838503121561369b5761369a613185565b5b60006136a985828601613559565b92505060206136ba8582860161366f565b9150509250929050565b600067ffffffffffffffff8211156136df576136de6131aa565b5b6136e882613199565b9050602081019050919050565b6000613708613703846136c4565b61320a565b90508281526020810184848401111561372457613723613194565b5b61372f848285613256565b509392505050565b600082601f83011261374c5761374b61318f565b5b813561375c8482602086016136f5565b91505092915050565b6000806000806080858703121561377f5761377e613185565b5b600061378d87828801613559565b945050602061379e87828801613559565b93505060406137af878288016134a4565b925050606085013567ffffffffffffffff8111156137d0576137cf61318a565b5b6137dc87828801613737565b91505092959194509250565b600080604083850312156137ff576137fe613185565b5b600061380d85828601613559565b925050602061381e85828601613559565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061385e6020836133e4565b915061386982613828565b602082019050919050565b6000602082019050818103600083015261388d81613851565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806138db57607f821691505b6020821081036138ee576138ed613894565b5b50919050565b60006040820190506139096000830185613518565b6139166020830184613518565b9392505050565b60008151905061392c81613658565b92915050565b60006020828403121561394857613947613185565b5b60006139568482850161391d565b91505092915050565b7f4d757374206174206c65617374206f6e6520746f6b656e000000000000000000600082015250565b60006139956017836133e4565b91506139a08261395f565b602082019050919050565b600060208201905081810360008301526139c481613988565b9050919050565b7f496e737566666963656e742062616c616e636500000000000000000000000000600082015250565b6000613a016013836133e4565b9150613a0c826139cb565b602082019050919050565b60006020820190508181036000830152613a30816139f4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a7182613483565b9150613a7c83613483565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ab557613ab4613a37565b5b828202905092915050565b7f5075626c69632073616c6520686173206e6f7420737461727465640000000000600082015250565b6000613af6601b836133e4565b9150613b0182613ac0565b602082019050919050565b60006020820190508181036000830152613b2581613ae9565b9050919050565b6000613b3782613483565b9150613b4283613483565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b7757613b76613a37565b5b828201905092915050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b6000613bb8601f836133e4565b9150613bc382613b82565b602082019050919050565b60006020820190508181036000830152613be781613bab565b9050919050565b7f4d757374206d696e74206174206c65617374206f6e6520746f6b656e00000000600082015250565b6000613c24601c836133e4565b9150613c2f82613bee565b602082019050919050565b60006020820190508181036000830152613c5381613c17565b9050919050565b7f45544820616d6f756e7420697320696e636f7272656374000000000000000000600082015250565b6000613c906017836133e4565b9150613c9b82613c5a565b602082019050919050565b60006020820190508181036000830152613cbf81613c83565b9050919050565b7f546f6f204d616e79204d696e7473000000000000000000000000000000000000600082015250565b6000613cfc600e836133e4565b9150613d0782613cc6565b602082019050919050565b60006020820190508181036000830152613d2b81613cef565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613d8e602f836133e4565b9150613d9982613d32565b604082019050919050565b60006020820190508181036000830152613dbd81613d81565b9050919050565b600081905092915050565b6000613dda826133d9565b613de48185613dc4565b9350613df48185602086016133f5565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613e36600583613dc4565b9150613e4182613e00565b600582019050919050565b6000613e588285613dcf565b9150613e648284613dcf565b9150613e6f82613e29565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613ed76026836133e4565b9150613ee282613e7b565b604082019050919050565b60006020820190508181036000830152613f0681613eca565b9050919050565b600081905092915050565b50565b6000613f28600083613f0d565b9150613f3382613f18565b600082019050919050565b6000613f4982613f1b565b9150819050919050565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b6000613f896018836133e4565b9150613f9482613f53565b602082019050919050565b60006020820190508181036000830152613fb881613f7c565b9050919050565b6000613fca82613483565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ffc57613ffb613a37565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061404182613483565b915061404c83613483565b92508261405c5761405b614007565b5b828204905092915050565b600061407282613483565b915061407d83613483565b9250828210156140905761408f613a37565b5b828203905092915050565b60006140a682613483565b91506140b183613483565b9250826140c1576140c0614007565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614122826140fb565b61412c8185614106565b935061413c8185602086016133f5565b61414581613199565b840191505092915050565b60006080820190506141656000830187613518565b6141726020830186613518565b61417f60408301856135ae565b81810360608301526141918184614117565b905095945050505050565b6000815190506141ab8161334a565b92915050565b6000602082840312156141c7576141c6613185565b5b60006141d58482850161419c565b9150509291505056fea2646970667358221220395c22a31fee59af12cbd12f2345c20675b80e8126f94d146f3a7e5f1b63784764736f6c634300080d0033697066733a2f2f516d5a566e555032586b74546733704d3253504a37654d666a776b675a776642355044716364617832384a6370312f68696464656e2e6a736f6e
Deployed Bytecode
0x6080604052600436106102045760003560e01c8063853828b611610118578063a22cb465116100a0578063cce132d11161006f578063cce132d1146106fa578063e9048ff414610725578063e985e9c514610762578063ed53753a1461079f578063f2fde38b146107c857610204565b8063a22cb46514610654578063a475b5dd1461067d578063b88d4fde14610694578063c87b56dd146106bd57610204565b8063912ee23d116100e7578063912ee23d1461059057806391b7f5ed146105bb57806395d89b41146105e45780639a1520771461060f578063a0712d681461063857610204565b8063853828b6146104f85780638d859f3e1461050f5780638da5cb5b1461053a578063902d55a51461056557610204565b806342842e0e1161019b5780636352211e1161016a5780636352211e146104255780636c0360eb1461046257806370a082311461048d578063715018a6146104ca5780637d8966e4146104e157610204565b806342842e0e1461037f578063484b973c146103a857806351830227146103d157806355f804b3146103fc57610204565b8063081c8c44116101d7578063081c8c44146102d7578063095ea7b31461030257806318160ddd1461032b57806323b872dd1461035657610204565b80630188541d1461020957806301ffc9a71461023257806306fdde031461026f578063081812fc1461029a575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b91906132d5565b6107f1565b005b34801561023e57600080fd5b5061025960048036038101906102549190613376565b610887565b60405161026691906133be565b60405180910390f35b34801561027b57600080fd5b50610284610969565b6040516102919190613461565b60405180910390f35b3480156102a657600080fd5b506102c160048036038101906102bc91906134b9565b6109fb565b6040516102ce9190613527565b60405180910390f35b3480156102e357600080fd5b506102ec610a77565b6040516102f99190613461565b60405180910390f35b34801561030e57600080fd5b506103296004803603810190610324919061356e565b610b05565b005b34801561033757600080fd5b50610340610c0f565b60405161034d91906135bd565b60405180910390f35b34801561036257600080fd5b5061037d600480360381019061037891906135d8565b610c26565b005b34801561038b57600080fd5b506103a660048036038101906103a191906135d8565b610d32565b005b3480156103b457600080fd5b506103cf60048036038101906103ca919061356e565b610e3e565b005b3480156103dd57600080fd5b506103e6610f0b565b6040516103f391906133be565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e91906132d5565b610f1e565b005b34801561043157600080fd5b5061044c600480360381019061044791906134b9565b610fcf565b6040516104599190613527565b60405180910390f35b34801561046e57600080fd5b50610477610fe5565b6040516104849190613461565b60405180910390f35b34801561049957600080fd5b506104b460048036038101906104af919061362b565b611073565b6040516104c191906135bd565b60405180910390f35b3480156104d657600080fd5b506104df611142565b005b3480156104ed57600080fd5b506104f66111ca565b005b34801561050457600080fd5b5061050d611272565b005b34801561051b57600080fd5b5061052461134a565b60405161053191906135bd565b60405180910390f35b34801561054657600080fd5b5061054f611350565b60405161055c9190613527565b60405180910390f35b34801561057157600080fd5b5061057a61137a565b60405161058791906135bd565b60405180910390f35b34801561059c57600080fd5b506105a5611380565b6040516105b291906133be565b60405180910390f35b3480156105c757600080fd5b506105e260048036038101906105dd91906134b9565b611393565b005b3480156105f057600080fd5b506105f961142c565b6040516106069190613461565b60405180910390f35b34801561061b57600080fd5b50610636600480360381019061063191906134b9565b6114be565b005b610652600480360381019061064d91906134b9565b611544565b005b34801561066057600080fd5b5061067b60048036038101906106769190613684565b61172c565b005b34801561068957600080fd5b506106926118a3565b005b3480156106a057600080fd5b506106bb60048036038101906106b69190613765565b61194b565b005b3480156106c957600080fd5b506106e460048036038101906106df91906134b9565b611a59565b6040516106f19190613461565b60405180910390f35b34801561070657600080fd5b5061070f611bae565b60405161071c91906135bd565b60405180910390f35b34801561073157600080fd5b5061074c6004803603810190610747919061362b565b611bb4565b60405161075991906135bd565b60405180910390f35b34801561076e57600080fd5b50610789600480360381019061078491906137e8565b611bfd565b60405161079691906133be565b60405180910390f35b3480156107ab57600080fd5b506107c660048036038101906107c191906134b9565b611c91565b005b3480156107d457600080fd5b506107ef60048036038101906107ea919061362b565b611d17565b005b6107f9611e0e565b73ffffffffffffffffffffffffffffffffffffffff16610817611350565b73ffffffffffffffffffffffffffffffffffffffff161461086d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086490613874565b60405180910390fd5b80600e9080519060200190610883929190613095565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061095257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610962575061096182611e16565b5b9050919050565b606060028054610978906138c3565b80601f01602080910402602001604051908101604052809291908181526020018280546109a4906138c3565b80156109f15780601f106109c6576101008083540402835291602001916109f1565b820191906000526020600020905b8154815290600101906020018083116109d457829003601f168201915b5050505050905090565b6000610a0682611e80565b610a3c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e8054610a84906138c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab0906138c3565b8015610afd5780601f10610ad257610100808354040283529160200191610afd565b820191906000526020600020905b815481529060010190602001808311610ae057829003601f168201915b505050505081565b6000610b1082610fcf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b77576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b96611e0e565b73ffffffffffffffffffffffffffffffffffffffff1614158015610bc85750610bc681610bc1611e0e565b611bfd565b155b15610bff576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c0a838383611ece565b505050565b6000610c19611f80565b6001546000540303905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610d22576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610c9d9291906138f4565b6020604051808303816000875af1158015610cbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce09190613932565b610d2157336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610d189190613527565b60405180910390fd5b5b610d2d838383611f89565b505050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610e2e576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610da99291906138f4565b6020604051808303816000875af1158015610dc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dec9190613932565b610e2d57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610e249190613527565b60405180910390fd5b5b610e39838383611f99565b505050565b610e46611e0e565b73ffffffffffffffffffffffffffffffffffffffff16610e64611350565b73ffffffffffffffffffffffffffffffffffffffff1614610eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb190613874565b60405180910390fd5b60008111610efd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef4906139ab565b60405180910390fd5b610f078282611fb9565b5050565b600c60019054906101000a900460ff1681565b610f26611e0e565b73ffffffffffffffffffffffffffffffffffffffff16610f44611350565b73ffffffffffffffffffffffffffffffffffffffff1614610f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9190613874565b60405180910390fd5b80600f9080519060200190610fb0929190613095565b506001600c60016101000a81548160ff02191690831515021790555050565b6000610fda82611fd7565b600001519050919050565b600f8054610ff2906138c3565b80601f016020809104026020016040519081016040528092919081815260200182805461101e906138c3565b801561106b5780601f106110405761010080835404028352916020019161106b565b820191906000526020600020905b81548152906001019060200180831161104e57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110da576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61114a611e0e565b73ffffffffffffffffffffffffffffffffffffffff16611168611350565b73ffffffffffffffffffffffffffffffffffffffff16146111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b590613874565b60405180910390fd5b6111c86000612266565b565b6111d2611e0e565b73ffffffffffffffffffffffffffffffffffffffff166111f0611350565b73ffffffffffffffffffffffffffffffffffffffff1614611246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123d90613874565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b61127a611e0e565b73ffffffffffffffffffffffffffffffffffffffff16611298611350565b73ffffffffffffffffffffffffffffffffffffffff16146112ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e590613874565b60405180910390fd5b600047905060008111611336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132d90613a17565b60405180910390fd5b611347611341611e0e565b4761232c565b50565b600a5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b5481565b600c60009054906101000a900460ff1681565b61139b611e0e565b73ffffffffffffffffffffffffffffffffffffffff166113b9611350565b73ffffffffffffffffffffffffffffffffffffffff161461140f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140690613874565b60405180910390fd5b670de0b6b3a7640000816114239190613a66565b600a8190555050565b60606003805461143b906138c3565b80601f0160208091040260200160405190810160405280929190818152602001828054611467906138c3565b80156114b45780601f10611489576101008083540402835291602001916114b4565b820191906000526020600020905b81548152906001019060200180831161149757829003601f168201915b5050505050905090565b6114c6611e0e565b73ffffffffffffffffffffffffffffffffffffffff166114e4611350565b73ffffffffffffffffffffffffffffffffffffffff161461153a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153190613874565b60405180910390fd5b8060098190555050565b600c60009054906101000a900460ff16611593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158a90613b0c565b60405180910390fd5b600b548161159f610c0f565b6115a99190613b2c565b11156115ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e190613bce565b60405180910390fd5b6000811161162d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162490613c3a565b60405180910390fd5b3481600a5461163c9190613a66565b111561167d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167490613ca6565b60405180910390fd5b6009548111156116c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b990613d12565b60405180910390fd5b6116d36116cd611e0e565b82611fb9565b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117229190613b2c565b9250508190555050565b611734611e0e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611798576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006117a5611e0e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611852611e0e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161189791906133be565b60405180910390a35050565b6118ab611e0e565b73ffffffffffffffffffffffffffffffffffffffff166118c9611350565b73ffffffffffffffffffffffffffffffffffffffff161461191f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191690613874565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611a47576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016119c29291906138f4565b6020604051808303816000875af11580156119e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a059190613932565b611a4657336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611a3d9190613527565b60405180910390fd5b5b611a53848484846123dd565b50505050565b6060611a6482611e80565b611aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9a90613da4565b60405180910390fd5b60001515600c60019054906101000a900460ff16151503611b5057600e8054611acb906138c3565b80601f0160208091040260200160405190810160405280929190818152602001828054611af7906138c3565b8015611b445780601f10611b1957610100808354040283529160200191611b44565b820191906000526020600020905b815481529060010190602001808311611b2757829003601f168201915b50505050509050611ba9565b6000611b5a612459565b90506000815111611b7a5760405180602001604052806000815250611ba5565b80611b84846124eb565b604051602001611b95929190613e4c565b6040516020818303038152906040525b9150505b919050565b60095481565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c99611e0e565b73ffffffffffffffffffffffffffffffffffffffff16611cb7611350565b73ffffffffffffffffffffffffffffffffffffffff1614611d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0490613874565b60405180910390fd5b80600b8190555050565b611d1f611e0e565b73ffffffffffffffffffffffffffffffffffffffff16611d3d611350565b73ffffffffffffffffffffffffffffffffffffffff1614611d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8a90613874565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df990613eed565b60405180910390fd5b611e0b81612266565b50565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611e8b611f80565b11158015611e9a575060005482105b8015611ec7575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b611f9483838361264b565b505050565b611fb48383836040518060200160405280600081525061194b565b505050565b611fd3828260405180602001604052806000815250612b3a565b5050565b611fdf61311b565b600082905080611fed611f80565b11158015611ffc575060005481105b1561222f576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161222d57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612111578092505050612261565b5b60011561222c57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612227578092505050612261565b612112565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161235290613f3e565b60006040518083038185875af1925050503d806000811461238f576040519150601f19603f3d011682016040523d82523d6000602084013e612394565b606091505b50509050806123d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cf90613f9f565b60405180910390fd5b505050565b6123e884848461264b565b6124078373ffffffffffffffffffffffffffffffffffffffff16612b4c565b801561241c575061241a84848484612b6f565b155b15612453576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060600f8054612468906138c3565b80601f0160208091040260200160405190810160405280929190818152602001828054612494906138c3565b80156124e15780601f106124b6576101008083540402835291602001916124e1565b820191906000526020600020905b8154815290600101906020018083116124c457829003601f168201915b5050505050905090565b606060008203612532576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612646565b600082905060005b6000821461256457808061254d90613fbf565b915050600a8261255d9190614036565b915061253a565b60008167ffffffffffffffff8111156125805761257f6131aa565b5b6040519080825280601f01601f1916602001820160405280156125b25781602001600182028036833780820191505090505b5090505b6000851461263f576001826125cb9190614067565b9150600a856125da919061409b565b60306125e69190613b2c565b60f81b8183815181106125fc576125fb6140cc565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126389190614036565b94506125b6565b8093505050505b919050565b600061265682611fd7565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661267d611e0e565b73ffffffffffffffffffffffffffffffffffffffff1614806126b057506126af82600001516126aa611e0e565b611bfd565b5b806126f557506126be611e0e565b73ffffffffffffffffffffffffffffffffffffffff166126dd846109fb565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061272e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612797576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036127fd576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61280a8585856001612cbf565b61281a6000848460000151611ece565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612aca57600054811015612ac95782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b338585856001612cc5565b5050505050565b612b478383836001612ccb565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b95611e0e565b8786866040518563ffffffff1660e01b8152600401612bb79493929190614150565b6020604051808303816000875af1925050508015612bf357506040513d601f19601f82011682018060405250810190612bf091906141b1565b60015b612c6c573d8060008114612c23576040519150601f19603f3d011682016040523d82523d6000602084013e612c28565b606091505b506000815103612c64576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612d37576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403612d71576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d7e6000868387612cbf565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612f485750612f478773ffffffffffffffffffffffffffffffffffffffff16612b4c565b5b1561300d575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fbd6000888480600101955088612b6f565b612ff3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808203612f4e57826000541461300857600080fd5b613078565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480820361300e575b81600081905550505061308e6000868387612cc5565b5050505050565b8280546130a1906138c3565b90600052602060002090601f0160209004810192826130c3576000855561310a565b82601f106130dc57805160ff191683800117855561310a565b8280016001018555821561310a579182015b828111156131095782518255916020019190600101906130ee565b5b509050613117919061315e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561317757600081600090555060010161315f565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131e282613199565b810181811067ffffffffffffffff82111715613201576132006131aa565b5b80604052505050565b600061321461317b565b905061322082826131d9565b919050565b600067ffffffffffffffff8211156132405761323f6131aa565b5b61324982613199565b9050602081019050919050565b82818337600083830152505050565b600061327861327384613225565b61320a565b90508281526020810184848401111561329457613293613194565b5b61329f848285613256565b509392505050565b600082601f8301126132bc576132bb61318f565b5b81356132cc848260208601613265565b91505092915050565b6000602082840312156132eb576132ea613185565b5b600082013567ffffffffffffffff8111156133095761330861318a565b5b613315848285016132a7565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133538161331e565b811461335e57600080fd5b50565b6000813590506133708161334a565b92915050565b60006020828403121561338c5761338b613185565b5b600061339a84828501613361565b91505092915050565b60008115159050919050565b6133b8816133a3565b82525050565b60006020820190506133d360008301846133af565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134135780820151818401526020810190506133f8565b83811115613422576000848401525b50505050565b6000613433826133d9565b61343d81856133e4565b935061344d8185602086016133f5565b61345681613199565b840191505092915050565b6000602082019050818103600083015261347b8184613428565b905092915050565b6000819050919050565b61349681613483565b81146134a157600080fd5b50565b6000813590506134b38161348d565b92915050565b6000602082840312156134cf576134ce613185565b5b60006134dd848285016134a4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613511826134e6565b9050919050565b61352181613506565b82525050565b600060208201905061353c6000830184613518565b92915050565b61354b81613506565b811461355657600080fd5b50565b60008135905061356881613542565b92915050565b6000806040838503121561358557613584613185565b5b600061359385828601613559565b92505060206135a4858286016134a4565b9150509250929050565b6135b781613483565b82525050565b60006020820190506135d260008301846135ae565b92915050565b6000806000606084860312156135f1576135f0613185565b5b60006135ff86828701613559565b935050602061361086828701613559565b9250506040613621868287016134a4565b9150509250925092565b60006020828403121561364157613640613185565b5b600061364f84828501613559565b91505092915050565b613661816133a3565b811461366c57600080fd5b50565b60008135905061367e81613658565b92915050565b6000806040838503121561369b5761369a613185565b5b60006136a985828601613559565b92505060206136ba8582860161366f565b9150509250929050565b600067ffffffffffffffff8211156136df576136de6131aa565b5b6136e882613199565b9050602081019050919050565b6000613708613703846136c4565b61320a565b90508281526020810184848401111561372457613723613194565b5b61372f848285613256565b509392505050565b600082601f83011261374c5761374b61318f565b5b813561375c8482602086016136f5565b91505092915050565b6000806000806080858703121561377f5761377e613185565b5b600061378d87828801613559565b945050602061379e87828801613559565b93505060406137af878288016134a4565b925050606085013567ffffffffffffffff8111156137d0576137cf61318a565b5b6137dc87828801613737565b91505092959194509250565b600080604083850312156137ff576137fe613185565b5b600061380d85828601613559565b925050602061381e85828601613559565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061385e6020836133e4565b915061386982613828565b602082019050919050565b6000602082019050818103600083015261388d81613851565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806138db57607f821691505b6020821081036138ee576138ed613894565b5b50919050565b60006040820190506139096000830185613518565b6139166020830184613518565b9392505050565b60008151905061392c81613658565b92915050565b60006020828403121561394857613947613185565b5b60006139568482850161391d565b91505092915050565b7f4d757374206174206c65617374206f6e6520746f6b656e000000000000000000600082015250565b60006139956017836133e4565b91506139a08261395f565b602082019050919050565b600060208201905081810360008301526139c481613988565b9050919050565b7f496e737566666963656e742062616c616e636500000000000000000000000000600082015250565b6000613a016013836133e4565b9150613a0c826139cb565b602082019050919050565b60006020820190508181036000830152613a30816139f4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a7182613483565b9150613a7c83613483565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ab557613ab4613a37565b5b828202905092915050565b7f5075626c69632073616c6520686173206e6f7420737461727465640000000000600082015250565b6000613af6601b836133e4565b9150613b0182613ac0565b602082019050919050565b60006020820190508181036000830152613b2581613ae9565b9050919050565b6000613b3782613483565b9150613b4283613483565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b7757613b76613a37565b5b828201905092915050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b6000613bb8601f836133e4565b9150613bc382613b82565b602082019050919050565b60006020820190508181036000830152613be781613bab565b9050919050565b7f4d757374206d696e74206174206c65617374206f6e6520746f6b656e00000000600082015250565b6000613c24601c836133e4565b9150613c2f82613bee565b602082019050919050565b60006020820190508181036000830152613c5381613c17565b9050919050565b7f45544820616d6f756e7420697320696e636f7272656374000000000000000000600082015250565b6000613c906017836133e4565b9150613c9b82613c5a565b602082019050919050565b60006020820190508181036000830152613cbf81613c83565b9050919050565b7f546f6f204d616e79204d696e7473000000000000000000000000000000000000600082015250565b6000613cfc600e836133e4565b9150613d0782613cc6565b602082019050919050565b60006020820190508181036000830152613d2b81613cef565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613d8e602f836133e4565b9150613d9982613d32565b604082019050919050565b60006020820190508181036000830152613dbd81613d81565b9050919050565b600081905092915050565b6000613dda826133d9565b613de48185613dc4565b9350613df48185602086016133f5565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613e36600583613dc4565b9150613e4182613e00565b600582019050919050565b6000613e588285613dcf565b9150613e648284613dcf565b9150613e6f82613e29565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613ed76026836133e4565b9150613ee282613e7b565b604082019050919050565b60006020820190508181036000830152613f0681613eca565b9050919050565b600081905092915050565b50565b6000613f28600083613f0d565b9150613f3382613f18565b600082019050919050565b6000613f4982613f1b565b9150819050919050565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b6000613f896018836133e4565b9150613f9482613f53565b602082019050919050565b60006020820190508181036000830152613fb881613f7c565b9050919050565b6000613fca82613483565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ffc57613ffb613a37565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061404182613483565b915061404c83613483565b92508261405c5761405b614007565b5b828204905092915050565b600061407282613483565b915061407d83613483565b9250828210156140905761408f613a37565b5b828203905092915050565b60006140a682613483565b91506140b183613483565b9250826140c1576140c0614007565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614122826140fb565b61412c8185614106565b935061413c8185602086016133f5565b61414581613199565b840191505092915050565b60006080820190506141656000830187613518565b6141726020830186613518565b61417f60408301856135ae565b81810360608301526141918184614117565b905095945050505050565b6000815190506141ab8161334a565b92915050565b6000602082840312156141c7576141c6613185565b5b60006141d58482850161419c565b9150509291505056fea2646970667358221220395c22a31fee59af12cbd12f2345c20675b80e8126f94d146f3a7e5f1b63784764736f6c634300080d0033
Deployed Bytecode Sourcemap
1838:3998:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2733:134;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4690:355:5;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8157:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9757:245;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2232:98:3;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9320:371:5;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3939:303;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5273:157:3;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;5438:165;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4662:163;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2134:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2593:132;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;7966:124:5;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2386:37:3;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5109:206:5;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1714:103:17;;;;;;;;;;;;;:::i;:::-;;2497:88:3;;;;;;;;;;;;;:::i;:::-;;4860:209;;;;;;;;;;;;;:::i;:::-;;2012:30;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1063:87:17;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2051:34:3;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2094:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2875:104;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;8326::5;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2989:105:3;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3996:492;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;10074:302:5;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3887:70:3;;;;;;;;;;;;;:::i;:::-;;5611:222;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3365:493;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1975:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4498:122;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10447:214:5;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3102:109:3;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1972:201:17;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2733:134:3;1294:12:17;:10;:12::i;:::-;1283:23;;:7;:5;:7::i;:::-;:23;;;1275:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2841:18:3::1;2824:14;:35;;;;;;;;;;;;:::i;:::-;;2733:134:::0;:::o;4690:355:5:-;4837:4;4894:25;4879:40;;;:11;:40;;;;:105;;;;4951:33;4936:48;;;:11;:48;;;;4879:105;:158;;;;5001:36;5025:11;5001:23;:36::i;:::-;4879:158;4859:178;;4690:355;;;:::o;8157:100::-;8211:13;8244:5;8237:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8157:100;:::o;9757:245::-;9861:7;9891:16;9899:7;9891;:16::i;:::-;9886:64;;9916:34;;;;;;;;;;;;;;9886:64;9970:15;:24;9986:7;9970:24;;;;;;;;;;;;;;;;;;;;;9963:31;;9757:245;;;:::o;2232:98:3:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;9320:371:5:-;9393:13;9409:24;9425:7;9409:15;:24::i;:::-;9393:40;;9454:5;9448:11;;:2;:11;;;9444:48;;9468:24;;;;;;;;;;;;;;9444:48;9525:5;9509:21;;:12;:10;:12::i;:::-;:21;;;;:63;;;;;9535:37;9552:5;9559:12;:10;:12::i;:::-;9535:16;:37::i;:::-;9534:38;9509:63;9505:138;;;9596:35;;;;;;;;;;;;;;9505:138;9655:28;9664:2;9668:7;9677:5;9655:8;:28::i;:::-;9382:309;9320:371;;:::o;3939:303::-;3983:7;4208:15;:13;:15::i;:::-;4193:12;;4177:13;;:28;:46;4170:53;;3939:303;:::o;5273:157:3:-;1454:1:16;301:42;1408:43;;;:47;1404:221;;;301:42;1476:40;;;1525:4;1532:10;1476:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1471:144;;1589:10;1570:30;;;;;;;;;;;:::i;:::-;;;;;;;;1471:144;1404:221;5385:37:3::1;5404:4;5410:2;5414:7;5385:18;:37::i;:::-;5273:157:::0;;;:::o;5438:165::-;1454:1:16;301:42;1408:43;;;:47;1404:221;;;301:42;1476:40;;;1525:4;1532:10;1476:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1471:144;;1589:10;1570:30;;;;;;;;;;;:::i;:::-;;;;;;;;1471:144;1404:221;5554:41:3::1;5577:4;5583:2;5587:7;5554:22;:41::i;:::-;5438:165:::0;;;:::o;4662:163::-;1294:12:17;:10;:12::i;:::-;1283:23;;:7;:5;:7::i;:::-;:23;;;1275:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;4756:1:3::1;4747:6;:10;4739:46;;;;;;;;;;;;:::i;:::-;;;;;;;;;4796:21;4806:2;4810:6;4796:9;:21::i;:::-;4662:163:::0;;:::o;2134:28::-;;;;;;;;;;;;;:::o;2593:132::-;1294:12:17;:10;:12::i;:::-;1283:23;;:7;:5;:7::i;:::-;:23;;;1275:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2680:11:3::1;2670:7;:21;;;;;;;;;;;;:::i;:::-;;2713:4;2702:8;;:15;;;;;;;;;;;;;;;;;;2593:132:::0;:::o;7966:124:5:-;8030:7;8057:20;8069:7;8057:11;:20::i;:::-;:25;;;8050:32;;7966:124;;;:::o;2386:37:3:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5109:206:5:-;5173:7;5214:1;5197:19;;:5;:19;;;5193:60;;5225:28;;;;;;;;;;;;;;5193:60;5279:12;:19;5292:5;5279:19;;;;;;;;;;;;;;;:27;;;;;;;;;;;;5271:36;;5264:43;;5109:206;;;:::o;1714:103:17:-;1294:12;:10;:12::i;:::-;1283:23;;:7;:5;:7::i;:::-;:23;;;1275:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1779:30:::1;1806:1;1779:18;:30::i;:::-;1714:103::o:0;2497:88:3:-;1294:12:17;:10;:12::i;:::-;1283:23;;:7;:5;:7::i;:::-;:23;;;1275:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2564:11:3::1;;;;;;;;;;;2563:12;2549:11;;:26;;;;;;;;;;;;;;;;;;2497:88::o:0;4860:209::-;1294:12:17;:10;:12::i;:::-;1283:23;;:7;:5;:7::i;:::-;:23;;;1275:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;4911:15:3::1;4929:21;4911:39;;4979:1;4969:7;:11;4961:43;;;;;;;;;;;;:::i;:::-;;;;;;;;;5015:46;5025:12;:10;:12::i;:::-;5039:21;5015:9;:46::i;:::-;4900:169;4860:209::o:0;2012:30::-;;;;:::o;1063:87:17:-;1109:7;1136:6;;;;;;;;;;;1129:13;;1063:87;:::o;2051:34:3:-;;;;:::o;2094:31::-;;;;;;;;;;;;;:::o;2875:104::-;1294:12:17;:10;:12::i;:::-;1283:23;;:7;:5;:7::i;:::-;:23;;;1275:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2963:7:3::1;2950:9;:21;;;;:::i;:::-;2942:5;:29;;;;2875:104:::0;:::o;8326::5:-;8382:13;8415:7;8408:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8326:104;:::o;2989:105:3:-;1294:12:17;:10;:12::i;:::-;1283:23;;:7;:5;:7::i;:::-;:23;;;1275:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;3074:12:3::1;3062:9;:24;;;;2989:105:::0;:::o;3996:492::-;4062:11;;;;;;;;;;;4054:51;;;;;;;;;;;;:::i;:::-;;;;;;;;;4151:12;;4140:6;4124:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:40;;4116:84;;;;;;;;;;;;:::i;:::-;;;;;;;;;4228:1;4219:6;:10;4211:51;;;;;;;;;;;;:::i;:::-;;;;;;;;;4299:9;4289:6;4281:5;;:14;;;;:::i;:::-;:27;;4273:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;4365:9;;4355:6;:19;;4347:46;;;;;;;;;;;;:::i;:::-;;;;;;;;;4404:31;4414:12;:10;:12::i;:::-;4428:6;4404:9;:31::i;:::-;4472:6;4446:12;:24;4459:10;4446:24;;;;;;;;;;;;;;;;:32;;;;;;;:::i;:::-;;;;;;;;3996:492;:::o;10074:302:5:-;10200:12;:10;:12::i;:::-;10188:24;;:8;:24;;;10184:54;;10221:17;;;;;;;;;;;;;;10184:54;10296:8;10251:18;:32;10270:12;:10;:12::i;:::-;10251:32;;;;;;;;;;;;;;;:42;10284:8;10251:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;10349:8;10320:48;;10335:12;:10;:12::i;:::-;10320:48;;;10359:8;10320:48;;;;;;:::i;:::-;;;;;;;;10074:302;;:::o;3887:70:3:-;1294:12:17;:10;:12::i;:::-;1283:23;;:7;:5;:7::i;:::-;:23;;;1275:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;3943:8:3::1;;;;;;;;;;;3942:9;3931:8;;:20;;;;;;;;;;;;;;;;;;3887:70::o:0;5611:222::-;1454:1:16;301:42;1408:43;;;:47;1404:221;;;301:42;1476:40;;;1525:4;1532:10;1476:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1471:144;;1589:10;1570:30;;;;;;;;;;;:::i;:::-;;;;;;;;1471:144;1404:221;5778:47:3::1;5801:4;5807:2;5811:7;5820:4;5778:22;:47::i;:::-;5611:222:::0;;;;:::o;3365:493::-;3463:13;3504:16;3512:7;3504;:16::i;:::-;3488:97;;;;;;;;;;;;:::i;:::-;;;;;;;;;3613:5;3601:17;;:8;;;;;;;;;;;:17;;;3598:62;;3638:14;3631:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3598:62;3668:28;3699:10;:8;:10::i;:::-;3668:41;;3754:1;3729:14;3723:28;:32;:129;;;;;;;;;;;;;;;;;3791:14;3807:20;3808:7;3807:18;:20::i;:::-;3774:63;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3723:129;3716:136;;;3365:493;;;;:::o;1975:28::-;;;;:::o;4498:122::-;4564:7;4591:12;:21;4604:7;4591:21;;;;;;;;;;;;;;;;4584:28;;4498:122;;;:::o;10447:214:5:-;10589:4;10618:18;:25;10637:5;10618:25;;;;;;;;;;;;;;;:35;10644:8;10618:35;;;;;;;;;;;;;;;;;;;;;;;;;10611:42;;10447:214;;;;:::o;3102:109:3:-;1294:12:17;:10;:12::i;:::-;1283:23;;:7;:5;:7::i;:::-;:23;;;1275:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;3191:15:3::1;3176:12;:30;;;;3102:109:::0;:::o;1972:201:17:-;1294:12;:10;:12::i;:::-;1283:23;;:7;:5;:7::i;:::-;:23;;;1275:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2081:1:::1;2061:22;;:8;:22;;::::0;2053:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2137:28;2156:8;2137:18;:28::i;:::-;1972:201:::0;:::o;656:98:1:-;709:7;736:10;729:17;;656:98;:::o;854:157:4:-;939:4;978:25;963:40;;;:11;:40;;;;956:47;;854:157;;;:::o;11886:213:5:-;11943:4;11999:7;11980:15;:13;:15::i;:::-;:26;;:66;;;;;12033:13;;12023:7;:23;11980:66;:111;;;;;12064:11;:20;12076:7;12064:20;;;;;;;;;;;:27;;;;;;;;;;;;12063:28;11980:111;11960:131;;11886:213;;;:::o;19766:196::-;19908:2;19881:15;:24;19897:7;19881:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;19946:7;19942:2;19926:28;;19935:5;19926:28;;;;;;;;;;;;19766:196;;;:::o;3663:92::-;3719:7;3746:1;3739:8;;3663:92;:::o;10728:170::-;10862:28;10872:4;10878:2;10882:7;10862:9;:28::i;:::-;10728:170;;;:::o;10969:185::-;11107:39;11124:4;11130:2;11134:7;11107:39;;;;;;;;;;;;:16;:39::i;:::-;10969:185;;;:::o;12107:104::-;12176:27;12186:2;12190:8;12176:27;;;;;;;;;;;;:9;:27::i;:::-;12107:104;;:::o;6764:1140::-;6852:21;;:::i;:::-;6891:12;6906:7;6891:22;;6974:4;6955:15;:13;:15::i;:::-;:23;;:47;;;;;6989:13;;6982:4;:20;6955:47;6951:886;;;7023:31;7057:11;:17;7069:4;7057:17;;;;;;;;;;;7023:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7098:9;:16;;;7093:729;;7169:1;7143:28;;:9;:14;;;:28;;;7139:101;;7207:9;7200:16;;;;;;7139:101;7542:261;7549:4;7542:261;;;7582:6;;;;;;;;7627:11;:17;7639:4;7627:17;;;;;;;;;;;7615:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7701:1;7675:28;;:9;:14;;;:28;;;7671:109;;7743:9;7736:16;;;;;;7671:109;7542:261;;;7093:729;7004:833;6951:886;7865:31;;;;;;;;;;;;;;6764:1140;;;;:::o;2333:191:17:-;2407:16;2426:6;;;;;;;;;;;2407:25;;2452:8;2443:6;;:17;;;;;;;;;;;;;;;;;;2507:8;2476:40;;2497:8;2476:40;;;;;;;;;;;;2396:128;2333:191;:::o;5077:188:3:-;5151:12;5169:8;:13;;5190:7;5169:33;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5150:52;;;5221:7;5213:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;5139:126;5077:188;;:::o;11225:406:5:-;11392:28;11402:4;11408:2;11412:7;11392:9;:28::i;:::-;11449:15;:2;:13;;;:15::i;:::-;:89;;;;;11482:56;11513:4;11519:2;11523:7;11532:5;11482:30;:56::i;:::-;11481:57;11449:89;11431:193;;;11572:40;;;;;;;;;;;;;;11431:193;11225:406;;;;:::o;3224:100:3:-;3276:13;3309:7;3302:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3224:100;:::o;342:723:22:-;398:13;628:1;619:5;:10;615:53;;646:10;;;;;;;;;;;;;;;;;;;;;615:53;678:12;693:5;678:20;;709:14;734:78;749:1;741:4;:9;734:78;;767:8;;;;;:::i;:::-;;;;798:2;790:10;;;;;:::i;:::-;;;734:78;;;822:19;854:6;844:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;822:39;;872:154;888:1;879:5;:10;872:154;;916:1;906:11;;;;;:::i;:::-;;;983:2;975:5;:10;;;;:::i;:::-;962:2;:24;;;;:::i;:::-;949:39;;932:6;939;932:14;;;;;;;;:::i;:::-;;;;;:56;;;;;;;;;;;1012:2;1003:11;;;;;:::i;:::-;;;872:154;;;1050:6;1036:21;;;;;342:723;;;;:::o;15216:2138:5:-;15331:35;15369:20;15381:7;15369:11;:20::i;:::-;15331:58;;15402:22;15444:13;:18;;;15428:34;;:12;:10;:12::i;:::-;:34;;;:101;;;;15479:50;15496:13;:18;;;15516:12;:10;:12::i;:::-;15479:16;:50::i;:::-;15428:101;:154;;;;15570:12;:10;:12::i;:::-;15546:36;;:20;15558:7;15546:11;:20::i;:::-;:36;;;15428:154;15402:181;;15601:17;15596:66;;15627:35;;;;;;;;;;;;;;15596:66;15699:4;15677:26;;:13;:18;;;:26;;;15673:67;;15712:28;;;;;;;;;;;;;;15673:67;15769:1;15755:16;;:2;:16;;;15751:52;;15780:23;;;;;;;;;;;;;;15751:52;15816:43;15838:4;15844:2;15848:7;15857:1;15816:21;:43::i;:::-;15924:49;15941:1;15945:7;15954:13;:18;;;15924:8;:49::i;:::-;16299:1;16269:12;:18;16282:4;16269:18;;;;;;;;;;;;;;;:26;;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16343:1;16315:12;:16;16328:2;16315:16;;;;;;;;;;;;;;;:24;;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16389:2;16361:11;:20;16373:7;16361:20;;;;;;;;;;;:25;;;:30;;;;;;;;;;;;;;;;;;16451:15;16406:11;:20;16418:7;16406:20;;;;;;;;;;;:35;;;:61;;;;;;;;;;;;;;;;;;16719:19;16751:1;16741:7;:11;16719:33;;16812:1;16771:43;;:11;:24;16783:11;16771:24;;;;;;;;;;;:29;;;;;;;;;;;;:43;;;16767:471;;16996:13;;16982:11;:27;16978:245;;;17066:13;:18;;;17034:11;:24;17046:11;17034:24;;;;;;;;;;;:29;;;:50;;;;;;;;;;;;;;;;;;17149:13;:54;;;17107:11;:24;17119:11;17107:24;;;;;;;;;;;:39;;;:96;;;;;;;;;;;;;;;;;;16978:245;16767:471;16244:1005;17285:7;17281:2;17266:27;;17275:4;17266:27;;;;;;;;;;;;17304:42;17325:4;17331:2;17335:7;17344:1;17304:20;:42::i;:::-;15320:2034;;15216:2138;;;:::o;12574:163::-;12697:32;12703:2;12707:8;12717:5;12724:4;12697:5;:32::i;:::-;12574:163;;;:::o;1210:326:0:-;1270:4;1527:1;1505:7;:19;;;:23;1498:30;;1210:326;;;:::o;20454:772:5:-;20617:4;20667:2;20651:36;;;20706:12;:10;:12::i;:::-;20737:4;20760:7;20786:5;20651:155;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;20634:585;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20994:1;20977:6;:13;:18;20973:235;;21023:40;;;;;;;;;;;;;;20973:235;21166:6;21160:13;21151:6;21147:2;21143:15;21136:38;20634:585;20872:45;;;20862:55;;;:6;:55;;;;20855:62;;;20454:772;;;;;;:::o;21874:159::-;;;;;:::o;22692:158::-;;;;;:::o;12996:1966::-;13135:20;13158:13;;13135:36;;13200:1;13186:16;;:2;:16;;;13182:48;;13211:19;;;;;;;;;;;;;;13182:48;13257:1;13245:8;:13;13241:44;;13267:18;;;;;;;;;;;;;;13241:44;13298:61;13328:1;13332:2;13336:12;13350:8;13298:21;:61::i;:::-;13671:8;13636:12;:16;13649:2;13636:16;;;;;;;;;;;;;;;:24;;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13735:8;13695:12;:16;13708:2;13695:16;;;;;;;;;;;;;;;:29;;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13794:2;13761:11;:25;13773:12;13761:25;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;13861:15;13811:11;:25;13823:12;13811:25;;;;;;;;;;;:40;;;:66;;;;;;;;;;;;;;;;;;13894:20;13917:12;13894:35;;13944:11;13973:8;13958:12;:23;13944:37;;14002:4;:23;;;;;14010:15;:2;:13;;;:15::i;:::-;14002:23;13998:832;;;14046:505;14102:12;14098:2;14077:38;;14094:1;14077:38;;;;;;;;;;;;14169:212;14238:1;14271:2;14304:14;;;;;;14349:5;14169:30;:212::i;:::-;14138:365;;14439:40;;;;;;;;;;;;;;14138:365;14546:3;14530:12;:19;14046:505;;14632:12;14615:13;;:29;14611:43;;14646:8;;;14611:43;13998:832;;;14695:120;14751:14;;;;;;14747:2;14726:40;;14743:1;14726:40;;;;;;;;;;;;14810:3;14794:12;:19;14695:120;;13998:832;14860:12;14844:13;:28;;;;13611:1273;;14894:60;14923:1;14927:2;14931:12;14945:8;14894:20;:60::i;:::-;13124:1838;12996:1966;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:75:23:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:117;443:1;440;433:12;457:117;566:1;563;556:12;580:102;621:6;672:2;668:7;663:2;656:5;652:14;648:28;638:38;;580:102;;;:::o;688:180::-;736:77;733:1;726:88;833:4;830:1;823:15;857:4;854:1;847:15;874:281;957:27;979:4;957:27;:::i;:::-;949:6;945:40;1087:6;1075:10;1072:22;1051:18;1039:10;1036:34;1033:62;1030:88;;;1098:18;;:::i;:::-;1030:88;1138:10;1134:2;1127:22;917:238;874:281;;:::o;1161:129::-;1195:6;1222:20;;:::i;:::-;1212:30;;1251:33;1279:4;1271:6;1251:33;:::i;:::-;1161:129;;;:::o;1296:308::-;1358:4;1448:18;1440:6;1437:30;1434:56;;;1470:18;;:::i;:::-;1434:56;1508:29;1530:6;1508:29;:::i;:::-;1500:37;;1592:4;1586;1582:15;1574:23;;1296:308;;;:::o;1610:154::-;1694:6;1689:3;1684;1671:30;1756:1;1747:6;1742:3;1738:16;1731:27;1610:154;;;:::o;1770:412::-;1848:5;1873:66;1889:49;1931:6;1889:49;:::i;:::-;1873:66;:::i;:::-;1864:75;;1962:6;1955:5;1948:21;2000:4;1993:5;1989:16;2038:3;2029:6;2024:3;2020:16;2017:25;2014:112;;;2045:79;;:::i;:::-;2014:112;2135:41;2169:6;2164:3;2159;2135:41;:::i;:::-;1854:328;1770:412;;;;;:::o;2202:340::-;2258:5;2307:3;2300:4;2292:6;2288:17;2284:27;2274:122;;2315:79;;:::i;:::-;2274:122;2432:6;2419:20;2457:79;2532:3;2524:6;2517:4;2509:6;2505:17;2457:79;:::i;:::-;2448:88;;2264:278;2202:340;;;;:::o;2548:509::-;2617:6;2666:2;2654:9;2645:7;2641:23;2637:32;2634:119;;;2672:79;;:::i;:::-;2634:119;2820:1;2809:9;2805:17;2792:31;2850:18;2842:6;2839:30;2836:117;;;2872:79;;:::i;:::-;2836:117;2977:63;3032:7;3023:6;3012:9;3008:22;2977:63;:::i;:::-;2967:73;;2763:287;2548:509;;;;:::o;3063:149::-;3099:7;3139:66;3132:5;3128:78;3117:89;;3063:149;;;:::o;3218:120::-;3290:23;3307:5;3290:23;:::i;:::-;3283:5;3280:34;3270:62;;3328:1;3325;3318:12;3270:62;3218:120;:::o;3344:137::-;3389:5;3427:6;3414:20;3405:29;;3443:32;3469:5;3443:32;:::i;:::-;3344:137;;;;:::o;3487:327::-;3545:6;3594:2;3582:9;3573:7;3569:23;3565:32;3562:119;;;3600:79;;:::i;:::-;3562:119;3720:1;3745:52;3789:7;3780:6;3769:9;3765:22;3745:52;:::i;:::-;3735:62;;3691:116;3487:327;;;;:::o;3820:90::-;3854:7;3897:5;3890:13;3883:21;3872:32;;3820:90;;;:::o;3916:109::-;3997:21;4012:5;3997:21;:::i;:::-;3992:3;3985:34;3916:109;;:::o;4031:210::-;4118:4;4156:2;4145:9;4141:18;4133:26;;4169:65;4231:1;4220:9;4216:17;4207:6;4169:65;:::i;:::-;4031:210;;;;:::o;4247:99::-;4299:6;4333:5;4327:12;4317:22;;4247:99;;;:::o;4352:169::-;4436:11;4470:6;4465:3;4458:19;4510:4;4505:3;4501:14;4486:29;;4352:169;;;;:::o;4527:307::-;4595:1;4605:113;4619:6;4616:1;4613:13;4605:113;;;4704:1;4699:3;4695:11;4689:18;4685:1;4680:3;4676:11;4669:39;4641:2;4638:1;4634:10;4629:15;;4605:113;;;4736:6;4733:1;4730:13;4727:101;;;4816:1;4807:6;4802:3;4798:16;4791:27;4727:101;4576:258;4527:307;;;:::o;4840:364::-;4928:3;4956:39;4989:5;4956:39;:::i;:::-;5011:71;5075:6;5070:3;5011:71;:::i;:::-;5004:78;;5091:52;5136:6;5131:3;5124:4;5117:5;5113:16;5091:52;:::i;:::-;5168:29;5190:6;5168:29;:::i;:::-;5163:3;5159:39;5152:46;;4932:272;4840:364;;;;:::o;5210:313::-;5323:4;5361:2;5350:9;5346:18;5338:26;;5410:9;5404:4;5400:20;5396:1;5385:9;5381:17;5374:47;5438:78;5511:4;5502:6;5438:78;:::i;:::-;5430:86;;5210:313;;;;:::o;5529:77::-;5566:7;5595:5;5584:16;;5529:77;;;:::o;5612:122::-;5685:24;5703:5;5685:24;:::i;:::-;5678:5;5675:35;5665:63;;5724:1;5721;5714:12;5665:63;5612:122;:::o;5740:139::-;5786:5;5824:6;5811:20;5802:29;;5840:33;5867:5;5840:33;:::i;:::-;5740:139;;;;:::o;5885:329::-;5944:6;5993:2;5981:9;5972:7;5968:23;5964:32;5961:119;;;5999:79;;:::i;:::-;5961:119;6119:1;6144:53;6189:7;6180:6;6169:9;6165:22;6144:53;:::i;:::-;6134:63;;6090:117;5885:329;;;;:::o;6220:126::-;6257:7;6297:42;6290:5;6286:54;6275:65;;6220:126;;;:::o;6352:96::-;6389:7;6418:24;6436:5;6418:24;:::i;:::-;6407:35;;6352:96;;;:::o;6454:118::-;6541:24;6559:5;6541:24;:::i;:::-;6536:3;6529:37;6454:118;;:::o;6578:222::-;6671:4;6709:2;6698:9;6694:18;6686:26;;6722:71;6790:1;6779:9;6775:17;6766:6;6722:71;:::i;:::-;6578:222;;;;:::o;6806:122::-;6879:24;6897:5;6879:24;:::i;:::-;6872:5;6869:35;6859:63;;6918:1;6915;6908:12;6859:63;6806:122;:::o;6934:139::-;6980:5;7018:6;7005:20;6996:29;;7034:33;7061:5;7034:33;:::i;:::-;6934:139;;;;:::o;7079:474::-;7147:6;7155;7204:2;7192:9;7183:7;7179:23;7175:32;7172:119;;;7210:79;;:::i;:::-;7172:119;7330:1;7355:53;7400:7;7391:6;7380:9;7376:22;7355:53;:::i;:::-;7345:63;;7301:117;7457:2;7483:53;7528:7;7519:6;7508:9;7504:22;7483:53;:::i;:::-;7473:63;;7428:118;7079:474;;;;;:::o;7559:118::-;7646:24;7664:5;7646:24;:::i;:::-;7641:3;7634:37;7559:118;;:::o;7683:222::-;7776:4;7814:2;7803:9;7799:18;7791:26;;7827:71;7895:1;7884:9;7880:17;7871:6;7827:71;:::i;:::-;7683:222;;;;:::o;7911:619::-;7988:6;7996;8004;8053:2;8041:9;8032:7;8028:23;8024:32;8021:119;;;8059:79;;:::i;:::-;8021:119;8179:1;8204:53;8249:7;8240:6;8229:9;8225:22;8204:53;:::i;:::-;8194:63;;8150:117;8306:2;8332:53;8377:7;8368:6;8357:9;8353:22;8332:53;:::i;:::-;8322:63;;8277:118;8434:2;8460:53;8505:7;8496:6;8485:9;8481:22;8460:53;:::i;:::-;8450:63;;8405:118;7911:619;;;;;:::o;8536:329::-;8595:6;8644:2;8632:9;8623:7;8619:23;8615:32;8612:119;;;8650:79;;:::i;:::-;8612:119;8770:1;8795:53;8840:7;8831:6;8820:9;8816:22;8795:53;:::i;:::-;8785:63;;8741:117;8536:329;;;;:::o;8871:116::-;8941:21;8956:5;8941:21;:::i;:::-;8934:5;8931:32;8921:60;;8977:1;8974;8967:12;8921:60;8871:116;:::o;8993:133::-;9036:5;9074:6;9061:20;9052:29;;9090:30;9114:5;9090:30;:::i;:::-;8993:133;;;;:::o;9132:468::-;9197:6;9205;9254:2;9242:9;9233:7;9229:23;9225:32;9222:119;;;9260:79;;:::i;:::-;9222:119;9380:1;9405:53;9450:7;9441:6;9430:9;9426:22;9405:53;:::i;:::-;9395:63;;9351:117;9507:2;9533:50;9575:7;9566:6;9555:9;9551:22;9533:50;:::i;:::-;9523:60;;9478:115;9132:468;;;;;:::o;9606:307::-;9667:4;9757:18;9749:6;9746:30;9743:56;;;9779:18;;:::i;:::-;9743:56;9817:29;9839:6;9817:29;:::i;:::-;9809:37;;9901:4;9895;9891:15;9883:23;;9606:307;;;:::o;9919:410::-;9996:5;10021:65;10037:48;10078:6;10037:48;:::i;:::-;10021:65;:::i;:::-;10012:74;;10109:6;10102:5;10095:21;10147:4;10140:5;10136:16;10185:3;10176:6;10171:3;10167:16;10164:25;10161:112;;;10192:79;;:::i;:::-;10161:112;10282:41;10316:6;10311:3;10306;10282:41;:::i;:::-;10002:327;9919:410;;;;;:::o;10348:338::-;10403:5;10452:3;10445:4;10437:6;10433:17;10429:27;10419:122;;10460:79;;:::i;:::-;10419:122;10577:6;10564:20;10602:78;10676:3;10668:6;10661:4;10653:6;10649:17;10602:78;:::i;:::-;10593:87;;10409:277;10348:338;;;;:::o;10692:943::-;10787:6;10795;10803;10811;10860:3;10848:9;10839:7;10835:23;10831:33;10828:120;;;10867:79;;:::i;:::-;10828:120;10987:1;11012:53;11057:7;11048:6;11037:9;11033:22;11012:53;:::i;:::-;11002:63;;10958:117;11114:2;11140:53;11185:7;11176:6;11165:9;11161:22;11140:53;:::i;:::-;11130:63;;11085:118;11242:2;11268:53;11313:7;11304:6;11293:9;11289:22;11268:53;:::i;:::-;11258:63;;11213:118;11398:2;11387:9;11383:18;11370:32;11429:18;11421:6;11418:30;11415:117;;;11451:79;;:::i;:::-;11415:117;11556:62;11610:7;11601:6;11590:9;11586:22;11556:62;:::i;:::-;11546:72;;11341:287;10692:943;;;;;;;:::o;11641:474::-;11709:6;11717;11766:2;11754:9;11745:7;11741:23;11737:32;11734:119;;;11772:79;;:::i;:::-;11734:119;11892:1;11917:53;11962:7;11953:6;11942:9;11938:22;11917:53;:::i;:::-;11907:63;;11863:117;12019:2;12045:53;12090:7;12081:6;12070:9;12066:22;12045:53;:::i;:::-;12035:63;;11990:118;11641:474;;;;;:::o;12121:182::-;12261:34;12257:1;12249:6;12245:14;12238:58;12121:182;:::o;12309:366::-;12451:3;12472:67;12536:2;12531:3;12472:67;:::i;:::-;12465:74;;12548:93;12637:3;12548:93;:::i;:::-;12666:2;12661:3;12657:12;12650:19;;12309:366;;;:::o;12681:419::-;12847:4;12885:2;12874:9;12870:18;12862:26;;12934:9;12928:4;12924:20;12920:1;12909:9;12905:17;12898:47;12962:131;13088:4;12962:131;:::i;:::-;12954:139;;12681:419;;;:::o;13106:180::-;13154:77;13151:1;13144:88;13251:4;13248:1;13241:15;13275:4;13272:1;13265:15;13292:320;13336:6;13373:1;13367:4;13363:12;13353:22;;13420:1;13414:4;13410:12;13441:18;13431:81;;13497:4;13489:6;13485:17;13475:27;;13431:81;13559:2;13551:6;13548:14;13528:18;13525:38;13522:84;;13578:18;;:::i;:::-;13522:84;13343:269;13292:320;;;:::o;13618:332::-;13739:4;13777:2;13766:9;13762:18;13754:26;;13790:71;13858:1;13847:9;13843:17;13834:6;13790:71;:::i;:::-;13871:72;13939:2;13928:9;13924:18;13915:6;13871:72;:::i;:::-;13618:332;;;;;:::o;13956:137::-;14010:5;14041:6;14035:13;14026:22;;14057:30;14081:5;14057:30;:::i;:::-;13956:137;;;;:::o;14099:345::-;14166:6;14215:2;14203:9;14194:7;14190:23;14186:32;14183:119;;;14221:79;;:::i;:::-;14183:119;14341:1;14366:61;14419:7;14410:6;14399:9;14395:22;14366:61;:::i;:::-;14356:71;;14312:125;14099:345;;;;:::o;14450:173::-;14590:25;14586:1;14578:6;14574:14;14567:49;14450:173;:::o;14629:366::-;14771:3;14792:67;14856:2;14851:3;14792:67;:::i;:::-;14785:74;;14868:93;14957:3;14868:93;:::i;:::-;14986:2;14981:3;14977:12;14970:19;;14629:366;;;:::o;15001:419::-;15167:4;15205:2;15194:9;15190:18;15182:26;;15254:9;15248:4;15244:20;15240:1;15229:9;15225:17;15218:47;15282:131;15408:4;15282:131;:::i;:::-;15274:139;;15001:419;;;:::o;15426:169::-;15566:21;15562:1;15554:6;15550:14;15543:45;15426:169;:::o;15601:366::-;15743:3;15764:67;15828:2;15823:3;15764:67;:::i;:::-;15757:74;;15840:93;15929:3;15840:93;:::i;:::-;15958:2;15953:3;15949:12;15942:19;;15601:366;;;:::o;15973:419::-;16139:4;16177:2;16166:9;16162:18;16154:26;;16226:9;16220:4;16216:20;16212:1;16201:9;16197:17;16190:47;16254:131;16380:4;16254:131;:::i;:::-;16246:139;;15973:419;;;:::o;16398:180::-;16446:77;16443:1;16436:88;16543:4;16540:1;16533:15;16567:4;16564:1;16557:15;16584:348;16624:7;16647:20;16665:1;16647:20;:::i;:::-;16642:25;;16681:20;16699:1;16681:20;:::i;:::-;16676:25;;16869:1;16801:66;16797:74;16794:1;16791:81;16786:1;16779:9;16772:17;16768:105;16765:131;;;16876:18;;:::i;:::-;16765:131;16924:1;16921;16917:9;16906:20;;16584:348;;;;:::o;16938:177::-;17078:29;17074:1;17066:6;17062:14;17055:53;16938:177;:::o;17121:366::-;17263:3;17284:67;17348:2;17343:3;17284:67;:::i;:::-;17277:74;;17360:93;17449:3;17360:93;:::i;:::-;17478:2;17473:3;17469:12;17462:19;;17121:366;;;:::o;17493:419::-;17659:4;17697:2;17686:9;17682:18;17674:26;;17746:9;17740:4;17736:20;17732:1;17721:9;17717:17;17710:47;17774:131;17900:4;17774:131;:::i;:::-;17766:139;;17493:419;;;:::o;17918:305::-;17958:3;17977:20;17995:1;17977:20;:::i;:::-;17972:25;;18011:20;18029:1;18011:20;:::i;:::-;18006:25;;18165:1;18097:66;18093:74;18090:1;18087:81;18084:107;;;18171:18;;:::i;:::-;18084:107;18215:1;18212;18208:9;18201:16;;17918:305;;;;:::o;18229:181::-;18369:33;18365:1;18357:6;18353:14;18346:57;18229:181;:::o;18416:366::-;18558:3;18579:67;18643:2;18638:3;18579:67;:::i;:::-;18572:74;;18655:93;18744:3;18655:93;:::i;:::-;18773:2;18768:3;18764:12;18757:19;;18416:366;;;:::o;18788:419::-;18954:4;18992:2;18981:9;18977:18;18969:26;;19041:9;19035:4;19031:20;19027:1;19016:9;19012:17;19005:47;19069:131;19195:4;19069:131;:::i;:::-;19061:139;;18788:419;;;:::o;19213:178::-;19353:30;19349:1;19341:6;19337:14;19330:54;19213:178;:::o;19397:366::-;19539:3;19560:67;19624:2;19619:3;19560:67;:::i;:::-;19553:74;;19636:93;19725:3;19636:93;:::i;:::-;19754:2;19749:3;19745:12;19738:19;;19397:366;;;:::o;19769:419::-;19935:4;19973:2;19962:9;19958:18;19950:26;;20022:9;20016:4;20012:20;20008:1;19997:9;19993:17;19986:47;20050:131;20176:4;20050:131;:::i;:::-;20042:139;;19769:419;;;:::o;20194:173::-;20334:25;20330:1;20322:6;20318:14;20311:49;20194:173;:::o;20373:366::-;20515:3;20536:67;20600:2;20595:3;20536:67;:::i;:::-;20529:74;;20612:93;20701:3;20612:93;:::i;:::-;20730:2;20725:3;20721:12;20714:19;;20373:366;;;:::o;20745:419::-;20911:4;20949:2;20938:9;20934:18;20926:26;;20998:9;20992:4;20988:20;20984:1;20973:9;20969:17;20962:47;21026:131;21152:4;21026:131;:::i;:::-;21018:139;;20745:419;;;:::o;21170:164::-;21310:16;21306:1;21298:6;21294:14;21287:40;21170:164;:::o;21340:366::-;21482:3;21503:67;21567:2;21562:3;21503:67;:::i;:::-;21496:74;;21579:93;21668:3;21579:93;:::i;:::-;21697:2;21692:3;21688:12;21681:19;;21340:366;;;:::o;21712:419::-;21878:4;21916:2;21905:9;21901:18;21893:26;;21965:9;21959:4;21955:20;21951:1;21940:9;21936:17;21929:47;21993:131;22119:4;21993:131;:::i;:::-;21985:139;;21712:419;;;:::o;22137:234::-;22277:34;22273:1;22265:6;22261:14;22254:58;22346:17;22341:2;22333:6;22329:15;22322:42;22137:234;:::o;22377:366::-;22519:3;22540:67;22604:2;22599:3;22540:67;:::i;:::-;22533:74;;22616:93;22705:3;22616:93;:::i;:::-;22734:2;22729:3;22725:12;22718:19;;22377:366;;;:::o;22749:419::-;22915:4;22953:2;22942:9;22938:18;22930:26;;23002:9;22996:4;22992:20;22988:1;22977:9;22973:17;22966:47;23030:131;23156:4;23030:131;:::i;:::-;23022:139;;22749:419;;;:::o;23174:148::-;23276:11;23313:3;23298:18;;23174:148;;;;:::o;23328:377::-;23434:3;23462:39;23495:5;23462:39;:::i;:::-;23517:89;23599:6;23594:3;23517:89;:::i;:::-;23510:96;;23615:52;23660:6;23655:3;23648:4;23641:5;23637:16;23615:52;:::i;:::-;23692:6;23687:3;23683:16;23676:23;;23438:267;23328:377;;;;:::o;23711:155::-;23851:7;23847:1;23839:6;23835:14;23828:31;23711:155;:::o;23872:400::-;24032:3;24053:84;24135:1;24130:3;24053:84;:::i;:::-;24046:91;;24146:93;24235:3;24146:93;:::i;:::-;24264:1;24259:3;24255:11;24248:18;;23872:400;;;:::o;24278:701::-;24559:3;24581:95;24672:3;24663:6;24581:95;:::i;:::-;24574:102;;24693:95;24784:3;24775:6;24693:95;:::i;:::-;24686:102;;24805:148;24949:3;24805:148;:::i;:::-;24798:155;;24970:3;24963:10;;24278:701;;;;;:::o;24985:225::-;25125:34;25121:1;25113:6;25109:14;25102:58;25194:8;25189:2;25181:6;25177:15;25170:33;24985:225;:::o;25216:366::-;25358:3;25379:67;25443:2;25438:3;25379:67;:::i;:::-;25372:74;;25455:93;25544:3;25455:93;:::i;:::-;25573:2;25568:3;25564:12;25557:19;;25216:366;;;:::o;25588:419::-;25754:4;25792:2;25781:9;25777:18;25769:26;;25841:9;25835:4;25831:20;25827:1;25816:9;25812:17;25805:47;25869:131;25995:4;25869:131;:::i;:::-;25861:139;;25588:419;;;:::o;26013:147::-;26114:11;26151:3;26136:18;;26013:147;;;;:::o;26166:114::-;;:::o;26286:398::-;26445:3;26466:83;26547:1;26542:3;26466:83;:::i;:::-;26459:90;;26558:93;26647:3;26558:93;:::i;:::-;26676:1;26671:3;26667:11;26660:18;;26286:398;;;:::o;26690:379::-;26874:3;26896:147;27039:3;26896:147;:::i;:::-;26889:154;;27060:3;27053:10;;26690:379;;;:::o;27075:174::-;27215:26;27211:1;27203:6;27199:14;27192:50;27075:174;:::o;27255:366::-;27397:3;27418:67;27482:2;27477:3;27418:67;:::i;:::-;27411:74;;27494:93;27583:3;27494:93;:::i;:::-;27612:2;27607:3;27603:12;27596:19;;27255:366;;;:::o;27627:419::-;27793:4;27831:2;27820:9;27816:18;27808:26;;27880:9;27874:4;27870:20;27866:1;27855:9;27851:17;27844:47;27908:131;28034:4;27908:131;:::i;:::-;27900:139;;27627:419;;;:::o;28052:233::-;28091:3;28114:24;28132:5;28114:24;:::i;:::-;28105:33;;28160:66;28153:5;28150:77;28147:103;;28230:18;;:::i;:::-;28147:103;28277:1;28270:5;28266:13;28259:20;;28052:233;;;:::o;28291:180::-;28339:77;28336:1;28329:88;28436:4;28433:1;28426:15;28460:4;28457:1;28450:15;28477:185;28517:1;28534:20;28552:1;28534:20;:::i;:::-;28529:25;;28568:20;28586:1;28568:20;:::i;:::-;28563:25;;28607:1;28597:35;;28612:18;;:::i;:::-;28597:35;28654:1;28651;28647:9;28642:14;;28477:185;;;;:::o;28668:191::-;28708:4;28728:20;28746:1;28728:20;:::i;:::-;28723:25;;28762:20;28780:1;28762:20;:::i;:::-;28757:25;;28801:1;28798;28795:8;28792:34;;;28806:18;;:::i;:::-;28792:34;28851:1;28848;28844:9;28836:17;;28668:191;;;;:::o;28865:176::-;28897:1;28914:20;28932:1;28914:20;:::i;:::-;28909:25;;28948:20;28966:1;28948:20;:::i;:::-;28943:25;;28987:1;28977:35;;28992:18;;:::i;:::-;28977:35;29033:1;29030;29026:9;29021:14;;28865:176;;;;:::o;29047:180::-;29095:77;29092:1;29085:88;29192:4;29189:1;29182:15;29216:4;29213:1;29206:15;29233:98;29284:6;29318:5;29312:12;29302:22;;29233:98;;;:::o;29337:168::-;29420:11;29454:6;29449:3;29442:19;29494:4;29489:3;29485:14;29470:29;;29337:168;;;;:::o;29511:360::-;29597:3;29625:38;29657:5;29625:38;:::i;:::-;29679:70;29742:6;29737:3;29679:70;:::i;:::-;29672:77;;29758:52;29803:6;29798:3;29791:4;29784:5;29780:16;29758:52;:::i;:::-;29835:29;29857:6;29835:29;:::i;:::-;29830:3;29826:39;29819:46;;29601:270;29511:360;;;;:::o;29877:640::-;30072:4;30110:3;30099:9;30095:19;30087:27;;30124:71;30192:1;30181:9;30177:17;30168:6;30124:71;:::i;:::-;30205:72;30273:2;30262:9;30258:18;30249:6;30205:72;:::i;:::-;30287;30355:2;30344:9;30340:18;30331:6;30287:72;:::i;:::-;30406:9;30400:4;30396:20;30391:2;30380:9;30376:18;30369:48;30434:76;30505:4;30496:6;30434:76;:::i;:::-;30426:84;;29877:640;;;;;;;:::o;30523:141::-;30579:5;30610:6;30604:13;30595:22;;30626:32;30652:5;30626:32;:::i;:::-;30523:141;;;;:::o;30670:349::-;30739:6;30788:2;30776:9;30767:7;30763:23;30759:32;30756:119;;;30794:79;;:::i;:::-;30756:119;30914:1;30939:63;30994:7;30985:6;30974:9;30970:22;30939:63;:::i;:::-;30929:73;;30885:127;30670:349;;;;:::o
Swarm Source
ipfs://395c22a31fee59af12cbd12f2345c20675b80e8126f94d146f3a7e5f1b637847
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.