Token MadMeerkatTreehouse
Overview CRC721
Total Supply:
10,000 MMT
Holders:
1,052 addresses
Contract:
Balance
3 MMT
[ Download CSV Export ]
[ Download CSV Export ]
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MadMeerkatTreehouse
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2022-03-07 */ // File @openzeppelin/contracts/security/[email protected] // SPDX-License-Identifier: MIT 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 make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File contracts/MadMeerkatTreehouse.sol // File: @openzeppelin/contracts/utils/Context.sol /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN 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 payable) { return payable(msg.sender); } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/introspection/IERC165.sol /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; } // File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); } // File: @openzeppelin/contracts/introspection/ERC165.sol /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: @openzeppelin/contracts/math/SafeMath.sol /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ 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) { 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) { 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) { // 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) { 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) { 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) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); 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) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @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. 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) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); 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) { require(b > 0, "SafeMath: modulo by zero"); 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) { 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. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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) { 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) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. 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] = toDeleteIndex + 1; // All indexes are 1-based // 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) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // 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); } // 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)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts/utils/EnumerableMap.sol /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping (bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({ _key: key, _value: value })); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require(map._entries.length > index, "EnumerableMap: index out of bounds"); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key) return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element 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(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } } // File: @openzeppelin/contracts/utils/Strings.sol /** * @dev String operations. */ library Strings { /** * @dev Converts a `uint256` to its ASCII `string` representation. */ function toString(uint256 _i) 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 (_i == 0) { return "0"; } uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len; while (_i != 0) { k = k-1; uint8 temp = (48 + uint8(_i - _i / 10 * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping (address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // 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; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(base, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view virtual returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _tokenOwners.contains(tokenId); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); // internal owner _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(tokenId); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); // internal owner require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (!to.isContract()) { return true; } bytes memory returndata = to.functionCall(abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer"); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } } // File: @openzeppelin/contracts/access/Ownable.sol /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } interface IERC20 { function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); } interface IERC1155 { function balanceOf(address account, uint id) external view returns (uint256); } contract MadMeerkatTreehouse is ERC721, Ownable, ReentrancyGuard { using SafeMath for uint256; uint256 public constant MAX_TREEHOUSE_PURCHASE = 5; // max purchase per txn uint256 public constant MAX_TREEHOUSE = 10000; // max of 10,000 string public MMT_PROVENANCE = ""; uint public treehousePrice = 845 ether; uint public treehousePricePresale1 = 599 ether; uint public treehousePricePresale2 = 685 ether; uint public reservedTreehouses = 2200; // Airdrop + Dev uint public presale1reservedTreehouses = 550; // ETH whitelist uint public presale2reservedTreehouses = 2750; // CRO whitelist bool public saleIsActive = false; // determines whether sales is active bool public presale1Active = false; // determines whether presale 1 is active bool public presale2Active = false; // determines whether presale 2 is active address public EBISUS_VIP = 0x8d9232Ebc4f06B7b8005CCff0ca401675ceb25F5; address public SNAPSHOT_PROXY = 0xBe77EF48CD29Be12CDE4b69eb19aE659F8ca0be1; mapping(address => bool) public whitelist1; // ETH whitelist event AssetMinted(address account, uint256 tokenId); constructor() ERC721("MadMeerkatTreehouse", "MMT") {} /* ========== Public view functions ========== */ function isEBMember(address _address) public view returns (bool) { return IERC1155(EBISUS_VIP).balanceOf(_address, 1) > 0 || IERC1155(EBISUS_VIP).balanceOf(_address, 2) > 0; } function isWhitelist1(address _address) public view returns (bool) { return whitelist1[_address]; } function isWhitelist2(address _address) public view returns (bool) { return IERC20(SNAPSHOT_PROXY).balanceOf(_address) > 0; } /* ========== External public sales functions ========== */ // @dev mints meerkat for the general public function mintTreehouse(uint numberOfTokens) external payable nonReentrant { require(saleIsActive); // Sale must be active require(numberOfTokens <= MAX_TREEHOUSE_PURCHASE); // Max mint of 20 require(totalSupply().add(numberOfTokens) <= MAX_TREEHOUSE.sub(reservedTreehouses)); // Max supply exceeded uint truePrice = isEBMember(msg.sender) ? treehousePrice.mul(95).div(100) : treehousePrice; require(truePrice.mul(numberOfTokens) <= msg.value); // Value sent is not correct for (uint i = 0; i < numberOfTokens; i++) { if (totalSupply() < MAX_TREEHOUSE) { emit AssetMinted(msg.sender, totalSupply() + 1); _mint(msg.sender, totalSupply() + 1); } } } function presalemintTreehouse1(uint256 numberOfTokens) public payable nonReentrant { require(presale1Active); require(numberOfTokens <= MAX_TREEHOUSE_PURCHASE); // max of 20 can be bought in one txn require(numberOfTokens.mul(treehousePricePresale1) <= msg.value); require(totalSupply().add(numberOfTokens) <= MAX_TREEHOUSE.sub(reservedTreehouses)); // Max supply exceeded require(isWhitelist1(msg.sender), "ETH whitelist"); presale1reservedTreehouses = presale1reservedTreehouses.sub(numberOfTokens); for (uint256 i = 0; i < numberOfTokens; i++) { emit AssetMinted(msg.sender, totalSupply() + 1); _mint(msg.sender, totalSupply() + 1); } } function presalemintTreehouse2(uint256 numberOfTokens) public payable nonReentrant { require(presale2Active); require(numberOfTokens <= MAX_TREEHOUSE_PURCHASE); // max of 20 can be bought in one txn require(numberOfTokens.mul(treehousePricePresale2) <= msg.value); require(totalSupply().add(numberOfTokens) <= MAX_TREEHOUSE.sub(reservedTreehouses)); // Max supply exceeded require(isWhitelist2(msg.sender), "CRO whitelist"); presale2reservedTreehouses = presale2reservedTreehouses.sub(numberOfTokens); for (uint256 i = 0; i < numberOfTokens; i++) { emit AssetMinted(msg.sender, totalSupply() + 1); _mint(msg.sender, totalSupply() + 1); } } /* ========== External owner functions ========== */ // @dev mints houses as giveaways function giveAway(address to, uint numberOfTokens) external nonReentrant onlyOwner { require(numberOfTokens <= reservedTreehouses); // Max supply exceeded for (uint i = 0; i < numberOfTokens; i++) { if (totalSupply() < MAX_TREEHOUSE) { emit AssetMinted(to, totalSupply() + 1); _mint(to, totalSupply() + 1); } } reservedTreehouses = reservedTreehouses.sub(numberOfTokens); } // @dev sets base URI function setBaseURI(string memory baseURI) external onlyOwner { _setBaseURI(baseURI); } // @dev withdraw funds function withdraw() external onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } // @dev withdraw funds function withdrawERC20(address token) external onlyOwner { uint balance = IERC20(token).balanceOf(address(this)); IERC20(token).transfer(msg.sender, balance); } // @dev flips the state for sales function flipSaleState() external onlyOwner { saleIsActive = !saleIsActive; } // @dev flips the state for presale 1 function flipPreSale1State() public onlyOwner { presale1Active = !presale1Active; } // @dev flips the state for presale 2 function flipPreSale2State() public onlyOwner { presale2Active = !presale2Active; } // @dev sets price of treehouse function setTreehousePrice(uint256 _price) external onlyOwner { treehousePrice = _price; } // @dev sets price of treehouse function setTreehousePresalePrice1(uint256 _price) external onlyOwner { treehousePricePresale1 = _price; } // @dev sets price of treehouse function setTreehousePresalePrice2(uint256 _price) external onlyOwner { treehousePricePresale2 = _price; } function setWhitelist1(address[] calldata _account, bool[] calldata _activate) external onlyOwner { for (uint i = 0; i < _account.length; i++) { whitelist1[_account[i]] = _activate[i]; } } // @dev set snapshot proxy calculator function setSnapshotProxy(address _proxy) public onlyOwner { SNAPSHOT_PROXY = _proxy; } // @dev set Ebisus's VIP contract address function setEbisusVIP(address _contract) public onlyOwner { EBISUS_VIP = _contract; } // @dev set provenance once it's calculated function setProvenanceHash(string memory provenanceHash) public onlyOwner { MMT_PROVENANCE = provenanceHash; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"AssetMinted","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":"EBISUS_VIP","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TREEHOUSE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TREEHOUSE_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MMT_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNAPSHOT_PROXY","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"flipPreSale1State","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPreSale2State","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isEBMember","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isWhitelist1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isWhitelist2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintTreehouse","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale1Active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale1reservedTreehouses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale2Active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale2reservedTreehouses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"presalemintTreehouse1","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"presalemintTreehouse2","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedTreehouses","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setEbisusVIP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxy","type":"address"}],"name":"setSnapshotProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setTreehousePresalePrice1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setTreehousePresalePrice2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setTreehousePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_account","type":"address[]"},{"internalType":"bool[]","name":"_activate","type":"bool[]"}],"name":"setWhitelist1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treehousePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treehousePricePresale1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treehousePricePresale2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b91600c916200023e565b50682dcebb0eff85140000600d55682078cb7e5caafc0000600e5568252248deb6e6940000600f55610898601055610226601155610abe60125560138054768d9232ebc4f06b7b8005ccff0ca401675ceb25f50000006001600160b81b0319909116179055601480546001600160a01b03191673be77ef48cd29be12cde4b69eb19ae659f8ca0be1179055348015620000b357600080fd5b50604080518082018252601381527f4d61644d6565726b617454726565686f757365000000000000000000000000006020808301919091528251808401909352600383526213535560ea1b9083015290620001156301ffc9a760e01b620001df565b81516200012a9060069060208501906200023e565b508051620001409060079060208401906200023e565b50620001536380ac58cd60e01b620001df565b62000165635b5e139f60e01b620001df565b6200017763780e9d6360e01b620001df565b5060009050620001866200023a565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600b5562000358565b6001600160e01b03198082161415620002155760405162461bcd60e51b81526004016200020c90620002e4565b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b8280546200024c906200031b565b90600052602060002090601f016020900481019282620002705760008555620002bb565b82601f106200028b57805160ff1916838001178555620002bb565b82800160010185558215620002bb579182015b82811115620002bb5782518255916020019190600101906200029e565b50620002c9929150620002cd565b5090565b5b80821115620002c95760008155600101620002ce565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b6002810460018216806200033057607f821691505b602082108114156200035257634e487b7160e01b600052602260045260246000fd5b50919050565b61357580620003686000396000f3fe6080604052600436106103505760003560e01c806385b5b27e116101c6578063c87b56dd116100f7578063e985e9c511610095578063f23f65701161006f578063f23f6570146108d2578063f2fde38b146108e5578063f4f3b20014610905578063fcdf3ae21461092557610350565b8063e985e9c514610888578063eaae09e0146108a8578063eb8d2444146108bd57610350565b8063cefde53c116100d1578063cefde53c14610829578063cf2c933b1461083e578063d6d6a3fe14610853578063e760aa241461086857610350565b8063c87b56dd146107c9578063ca800144146107e9578063cb4ed1761461080957610350565b8063a02fc28811610164578063b05642bf1161013e578063b05642bf1461076a578063b08b5cb41461077f578063b88d4fde14610794578063c4170a8c146107b457610350565b8063a02fc28814610722578063a1a135d714610735578063a22cb4651461074a57610350565b8063907c10fb116101a0578063907c10fb146106ad578063908f0e01146106cd5780639376ab9b146106ed57806395d89b411461070d57610350565b806385b5b27e1461066e5780638b2fe001146106835780638da5cb5b1461069857610350565b80633f5aef12116102a057806363dc912a1161023e57806370a082311161021857806370a0823114610604578063715018a614610624578063768f8ac1146106395780637d4030381461065957610350565b806363dc912a146105c75780636c0360eb146105da5780636e8c0a28146105ef57610350565b80634f6ccce71161027a5780634f6ccce71461054757806355f804b31461056757806356070e79146105875780636352211e146105a757610350565b80633f5aef12146104f257806340bf3d601461051257806342842e0e1461052757610350565b806318160ddd1161030d57806334918dfd116102e757806334918dfd146104935780633593d8bf146104a857806337419a81146104c85780633ccfd60b146104dd57610350565b806318160ddd1461043157806323b872dd146104535780632f745c591461047357610350565b806301ffc9a7146103555780630256edeb1461038b57806306fdde03146103a0578063081812fc146103c2578063095ea7b3146103ef5780631096952314610411575b600080fd5b34801561036157600080fd5b50610375610370366004612b66565b610945565b6040516103829190612cf5565b60405180910390f35b34801561039757600080fd5b50610375610968565b3480156103ac57600080fd5b506103b5610977565b6040516103829190612d00565b3480156103ce57600080fd5b506103e26103dd366004612be4565b610a09565b6040516103829190612c8b565b3480156103fb57600080fd5b5061040f61040a366004612a9c565b610a55565b005b34801561041d57600080fd5b5061040f61042c366004612b9e565b610aed565b34801561043d57600080fd5b50610446610b43565b6040516103829190613356565b34801561045f57600080fd5b5061040f61046e3660046129b2565b610b54565b34801561047f57600080fd5b5061044661048e366004612a9c565b610b8c565b34801561049f57600080fd5b5061040f610bb7565b3480156104b457600080fd5b5061040f6104c3366004612966565b610c0a565b3480156104d457600080fd5b50610375610c75565b3480156104e957600080fd5b5061040f610c83565b3480156104fe57600080fd5b5061037561050d366004612966565b610cf1565b34801561051e57600080fd5b506103e2610d0f565b34801561053357600080fd5b5061040f6105423660046129b2565b610d1e565b34801561055357600080fd5b50610446610562366004612be4565b610d39565b34801561057357600080fd5b5061040f610582366004612b9e565b610d4f565b34801561059357600080fd5b506103756105a2366004612966565b610d9a565b3480156105b357600080fd5b506103e26105c2366004612be4565b610e26565b61040f6105d5366004612be4565b610e4e565b3480156105e657600080fd5b506103b5610f9d565b3480156105fb57600080fd5b506103b5610fac565b34801561061057600080fd5b5061044661061f366004612966565b61103a565b34801561063057600080fd5b5061040f611083565b34801561064557600080fd5b5061040f610654366004612966565b61110c565b34801561066557600080fd5b5061044661116d565b34801561067a57600080fd5b50610446611173565b34801561068f57600080fd5b5061040f611179565b3480156106a457600080fd5b506103e26111d7565b3480156106b957600080fd5b5061040f6106c8366004612ac5565b6111e6565b3480156106d957600080fd5b5061040f6106e8366004612be4565b6112df565b3480156106f957600080fd5b5061040f610708366004612be4565b611323565b34801561071957600080fd5b506103b5611367565b61040f610730366004612be4565b611376565b34801561074157600080fd5b506104466114a9565b34801561075657600080fd5b5061040f610765366004612a66565b6114af565b34801561077657600080fd5b5061044661157d565b34801561078b57600080fd5b50610446611583565b3480156107a057600080fd5b5061040f6107af3660046129ed565b611588565b3480156107c057600080fd5b506104466115c7565b3480156107d557600080fd5b506103b56107e4366004612be4565b6115cd565b3480156107f557600080fd5b5061040f610804366004612a9c565b611710565b34801561081557600080fd5b50610375610824366004612966565b611813565b34801561083557600080fd5b506104466118df565b34801561084a57600080fd5b506103e26118e5565b34801561085f57600080fd5b506104466118fb565b34801561087457600080fd5b5061040f610883366004612be4565b611901565b34801561089457600080fd5b506103756108a3366004612980565b611945565b3480156108b457600080fd5b5061040f611973565b3480156108c957600080fd5b506103756119cf565b61040f6108e0366004612be4565b6119d8565b3480156108f157600080fd5b5061040f610900366004612966565b611b01565b34801561091157600080fd5b5061040f610920366004612966565b611bc2565b34801561093157600080fd5b50610375610940366004612966565b611d03565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60135462010000900460ff1681565b6060600680546109869061341e565b80601f01602080910402602001604051908101604052809291908181526020018280546109b29061341e565b80156109ff5780601f106109d4576101008083540402835291602001916109ff565b820191906000526020600020905b8154815290600101906020018083116109e257829003601f168201915b5050505050905090565b6000610a1482611d18565b610a395760405162461bcd60e51b8152600401610a3090613116565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a6082610e26565b9050806001600160a01b0316836001600160a01b03161415610a945760405162461bcd60e51b8152600401610a309061322f565b806001600160a01b0316610aa6611d25565b6001600160a01b03161480610ac25750610ac2816108a3611d25565b610ade5760405162461bcd60e51b8152600401610a3090612f90565b610ae88383611d29565b505050565b610af5611d25565b6001600160a01b0316610b066111d7565b6001600160a01b031614610b2c5760405162461bcd60e51b8152600401610a3090613162565b8051610b3f90600c906020840190612804565b5050565b6000610b4f6002611d97565b905090565b610b65610b5f611d25565b82611da2565b610b815760405162461bcd60e51b8152600401610a3090613297565b610ae8838383611e27565b6001600160a01b0382166000908152600160205260408120610bae9083611f35565b90505b92915050565b610bbf611d25565b6001600160a01b0316610bd06111d7565b6001600160a01b031614610bf65760405162461bcd60e51b8152600401610a3090613162565b6013805460ff19811660ff90911615179055565b610c12611d25565b6001600160a01b0316610c236111d7565b6001600160a01b031614610c495760405162461bcd60e51b8152600401610a3090613162565b601380546001600160a01b039092166301000000026301000000600160b81b0319909216919091179055565b601354610100900460ff1681565b610c8b611d25565b6001600160a01b0316610c9c6111d7565b6001600160a01b031614610cc25760405162461bcd60e51b8152600401610a3090613162565b6040514790339082156108fc029083906000818181858888f19350505050158015610b3f573d6000803e3d6000fd5b6001600160a01b031660009081526015602052604090205460ff1690565b6014546001600160a01b031681565b610ae883838360405180602001604052806000815250611588565b600080610d47600284611f41565b509392505050565b610d57611d25565b6001600160a01b0316610d686111d7565b6001600160a01b031614610d8e5760405162461bcd60e51b8152600401610a3090613162565b610d9781611f5f565b50565b6014546040516370a0823160e01b815260009182916001600160a01b03909116906370a0823190610dcf908690600401612c8b565b60206040518083038186803b158015610de757600080fd5b505afa158015610dfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1f9190612bfc565b1192915050565b6000610bb1826040518060600160405280602981526020016135176029913960029190611f72565b6002600b541415610e715760405162461bcd60e51b8152600401610a309061331f565b6002600b5560135460ff16610e8557600080fd5b6005811115610e9357600080fd5b601054610ea39061271090611f89565b610eb582610eaf610b43565b90611fb5565b1115610ec057600080fd5b6000610ecb33611813565b610ed757600d54610ef8565b610ef86064610ef2605f600d54611fe490919063ffffffff16565b90612029565b905034610f058284611fe4565b1115610f1057600080fd5b60005b82811015610f9357612710610f26610b43565b1015610f81576000805160206134f783398151915233610f44610b43565b610f4f90600161335f565b604051610f5d929190612cdc565b60405180910390a1610f8133610f71610b43565b610f7c90600161335f565b612054565b80610f8b81613459565b915050610f13565b50506001600b5550565b6060600980546109869061341e565b600c8054610fb99061341e565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe59061341e565b80156110325780601f1061100757610100808354040283529160200191611032565b820191906000526020600020905b81548152906001019060200180831161101557829003601f168201915b505050505081565b60006001600160a01b0382166110625760405162461bcd60e51b8152600401610a3090612fed565b6001600160a01b0382166000908152600160205260409020610bb190611d97565b61108b611d25565b6001600160a01b031661109c6111d7565b6001600160a01b0316146110c25760405162461bcd60e51b8152600401610a3090613162565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b611114611d25565b6001600160a01b03166111256111d7565b6001600160a01b03161461114b5760405162461bcd60e51b8152600401610a3090613162565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b600d5481565b60115481565b611181611d25565b6001600160a01b03166111926111d7565b6001600160a01b0316146111b85760405162461bcd60e51b8152600401610a3090613162565b6013805462ff0000198116620100009182900460ff1615909102179055565b600a546001600160a01b031690565b6111ee611d25565b6001600160a01b03166111ff6111d7565b6001600160a01b0316146112255760405162461bcd60e51b8152600401610a3090613162565b60005b838110156112d85782828281811061125057634e487b7160e01b600052603260045260246000fd5b90506020020160208101906112659190612b2e565b6015600087878581811061128957634e487b7160e01b600052603260045260246000fd5b905060200201602081019061129e9190612966565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806112d081613459565b915050611228565b5050505050565b6112e7611d25565b6001600160a01b03166112f86111d7565b6001600160a01b03161461131e5760405162461bcd60e51b8152600401610a3090613162565b600d55565b61132b611d25565b6001600160a01b031661133c6111d7565b6001600160a01b0316146113625760405162461bcd60e51b8152600401610a3090613162565b600f55565b6060600780546109869061341e565b6002600b5414156113995760405162461bcd60e51b8152600401610a309061331f565b6002600b5560135462010000900460ff166113b357600080fd5b60058111156113c157600080fd5b346113d7600f5483611fe490919063ffffffff16565b11156113e257600080fd5b6010546113f29061271090611f89565b6113fe82610eaf610b43565b111561140957600080fd5b61141233610d9a565b61142e5760405162461bcd60e51b8152600401610a3090613270565b60125461143b9082611f89565b60125560005b818110156114a0576000805160206134f783398151915233611461610b43565b61146c90600161335f565b60405161147a929190612cdc565b60405180910390a161148e33610f71610b43565b8061149881613459565b915050611441565b50506001600b55565b61271081565b6114b7611d25565b6001600160a01b0316826001600160a01b031614156114e85760405162461bcd60e51b8152600401610a3090612e9f565b80600560006114f5611d25565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611539611d25565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115719190612cf5565b60405180910390a35050565b600e5481565b600581565b611599611593611d25565b83611da2565b6115b55760405162461bcd60e51b8152600401610a3090613297565b6115c184848484612118565b50505050565b60105481565b60606115d882611d18565b6115f45760405162461bcd60e51b8152600401610a30906131e0565b6000828152600860205260408120805461160d9061341e565b80601f01602080910402602001604051908101604052809291908181526020018280546116399061341e565b80156116865780601f1061165b57610100808354040283529160200191611686565b820191906000526020600020905b81548152906001019060200180831161166957829003601f168201915b505050505090506000611697610f9d565b90508051600014156116ab57509050610963565b8151156116dd5780826040516020016116c5929190612c5c565b60405160208183030381529060405292505050610963565b806116e78561214b565b6040516020016116f8929190612c5c565b60405160208183030381529060405292505050919050565b6002600b5414156117335760405162461bcd60e51b8152600401610a309061331f565b6002600b55611740611d25565b6001600160a01b03166117516111d7565b6001600160a01b0316146117775760405162461bcd60e51b8152600401610a3090613162565b60105481111561178657600080fd5b60005b818110156117f95761271061179c610b43565b10156117e7576000805160206134f7833981519152836117ba610b43565b6117c590600161335f565b6040516117d3929190612cdc565b60405180910390a16117e783610f71610b43565b806117f181613459565b915050611789565b506010546118079082611f89565b60105550506001600b55565b601354604051627eeac760e11b8152600091829163010000009091046001600160a01b03169062fdd58e9061184f908690600190600401612cdc565b60206040518083038186803b15801561186757600080fd5b505afa15801561187b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189f9190612bfc565b1180610bb15750601354604051627eeac760e11b8152600091630100000090046001600160a01b03169062fdd58e90610dcf908690600290600401612cdc565b60125481565b601354630100000090046001600160a01b031681565b600f5481565b611909611d25565b6001600160a01b031661191a6111d7565b6001600160a01b0316146119405760405162461bcd60e51b8152600401610a3090613162565b600e55565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61197b611d25565b6001600160a01b031661198c6111d7565b6001600160a01b0316146119b25760405162461bcd60e51b8152600401610a3090613162565b6013805461ff001981166101009182900460ff1615909102179055565b60135460ff1681565b6002600b5414156119fb5760405162461bcd60e51b8152600401610a309061331f565b6002600b55601354610100900460ff16611a1457600080fd5b6005811115611a2257600080fd5b34611a38600e5483611fe490919063ffffffff16565b1115611a4357600080fd5b601054611a539061271090611f89565b611a5f82610eaf610b43565b1115611a6a57600080fd5b611a7333610cf1565b611a8f5760405162461bcd60e51b8152600401610a3090613037565b601154611a9c9082611f89565b60115560005b818110156114a0576000805160206134f783398151915233611ac2610b43565b611acd90600161335f565b604051611adb929190612cdc565b60405180910390a1611aef33610f71610b43565b80611af981613459565b915050611aa2565b611b09611d25565b6001600160a01b0316611b1a6111d7565b6001600160a01b031614611b405760405162461bcd60e51b8152600401610a3090613162565b6001600160a01b038116611b665760405162461bcd60e51b8152600401610a3090612da7565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b611bca611d25565b6001600160a01b0316611bdb6111d7565b6001600160a01b031614611c015760405162461bcd60e51b8152600401610a3090613162565b6040516370a0823160e01b81526000906001600160a01b038316906370a0823190611c30903090600401612c8b565b60206040518083038186803b158015611c4857600080fd5b505afa158015611c5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c809190612bfc565b60405163a9059cbb60e01b81529091506001600160a01b0383169063a9059cbb90611cb19033908590600401612cdc565b602060405180830381600087803b158015611ccb57600080fd5b505af1158015611cdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae89190612b4a565b60156020526000908152604090205460ff1681565b6000610bb1600283612291565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d5e82610e26565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610bb18261229d565b6000611dad82611d18565b611dc95760405162461bcd60e51b8152600401610a3090612f0d565b6000611dd483610e26565b9050806001600160a01b0316846001600160a01b03161480611e0f5750836001600160a01b0316611e0484610a09565b6001600160a01b0316145b80611e1f5750611e1f8185611945565b949350505050565b826001600160a01b0316611e3a82610e26565b6001600160a01b031614611e605760405162461bcd60e51b8152600401610a3090613197565b6001600160a01b038216611e865760405162461bcd60e51b8152600401610a3090612e5b565b611e91838383610ae8565b611e9c600082611d29565b6001600160a01b0383166000908152600160205260409020611ebe90826122a1565b506001600160a01b0382166000908152600160205260409020611ee190826122ad565b50611eee600282846122b9565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610bae83836122cf565b6000808080611f508686612328565b909450925050505b9250929050565b8051610b3f906009906020840190612804565b6000611f7f848484612398565b90505b9392505050565b600082821115611fab5760405162461bcd60e51b8152600401610a3090612ed6565b610bae82846133db565b600080611fc2838561335f565b905083811015610bae5760405162461bcd60e51b8152600401610a3090612e24565b600082611ff357506000610bb1565b6000611fff83856133bc565b90508261200c858361339c565b14610bae5760405162461bcd60e51b8152600401610a30906130d5565b600080821161204a5760405162461bcd60e51b8152600401610a3090612f59565b610bae828461339c565b6001600160a01b03821661207a5760405162461bcd60e51b8152600401610a30906130a0565b61208381611d18565b156120a05760405162461bcd60e51b8152600401610a3090612ded565b6120ac60008383610ae8565b6001600160a01b03821660009081526001602052604090206120ce90826122ad565b506120db600282846122b9565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b612123848484611e27565b61212f8484848461240f565b6115c15760405162461bcd60e51b8152600401610a3090612d55565b60608161217057506040805180820190915260018152600360fc1b6020820152610963565b8160005b811561219a578061218481613459565b91506121939050600a8361339c565b9150612174565b60008167ffffffffffffffff8111156121c357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121ed576020820181803683370190505b509050815b8515612288576122036001826133db565b90506000612212600a8861339c565b61221d90600a6133bc565b61222790886133db565b612232906030613377565b905060008160f81b90508084848151811061225d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061227f600a8961339c565b975050506121f2565b50949350505050565b6000610bae83836124ee565b5490565b6000610bae8383612506565b6000610bae8383612623565b6000611f7f84846001600160a01b03851661266d565b815460009082106122f25760405162461bcd60e51b8152600401610a3090612d13565b82600001828154811061231557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b81546000908190831061234d5760405162461bcd60e51b8152600401610a309061305e565b600084600001848154811061237257634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816123c85760405162461bcd60e51b8152600401610a309190612d00565b50846123d56001836133db565b815481106123f357634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101549150509392505050565b6000612423846001600160a01b031661271c565b61242f57506001611e1f565b60006124b7630a85bd0160e11b612444611d25565b88878760405160240161245a9493929190612c9f565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016134c5603291396001600160a01b0388169190612722565b90506000818060200190518101906124cf9190612b82565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b6000818152600183016020526040812054801561261957600061252a6001836133db565b855490915060009061253e906001906133db565b9050600086600001828154811061256557634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061259657634e487b7160e01b600052603260045260246000fd5b6000918252602090912001556125ad83600161335f565b600082815260018901602052604090205586548790806125dd57634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610bb1565b6000915050610bb1565b600061262f83836124ee565b61266557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610bb1565b506000610bb1565b6000828152600184016020526040812054806126d2575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611f82565b82856126df6001846133db565b815481106126fd57634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101819055506000915050611f82565b3b151590565b6060611f7f8484600085856127368561271c565b6127525760405162461bcd60e51b8152600401610a30906132e8565b600080866001600160a01b0316858760405161276e9190612c40565b60006040518083038185875af1925050503d80600081146127ab576040519150601f19603f3d011682016040523d82523d6000602084013e6127b0565b606091505b50915091506127c08282866127cb565b979650505050505050565b606083156127da575081611f82565b8251156127ea5782518084602001fd5b8160405162461bcd60e51b8152600401610a309190612d00565b8280546128109061341e565b90600052602060002090601f0160209004810192826128325760008555612878565b82601f1061284b57805160ff1916838001178555612878565b82800160010185558215612878579182015b8281111561287857825182559160200191906001019061285d565b50612884929150612888565b5090565b5b808211156128845760008155600101612889565b600067ffffffffffffffff808411156128b8576128b861348a565b604051601f8501601f1916810160200182811182821017156128dc576128dc61348a565b6040528481529150818385018610156128f457600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461096357600080fd5b60008083601f840112612935578081fd5b50813567ffffffffffffffff81111561294c578182fd5b6020830191508360208083028501011115611f5857600080fd5b600060208284031215612977578081fd5b610bae8261290d565b60008060408385031215612992578081fd5b61299b8361290d565b91506129a96020840161290d565b90509250929050565b6000806000606084860312156129c6578081fd5b6129cf8461290d565b92506129dd6020850161290d565b9150604084013590509250925092565b60008060008060808587031215612a02578081fd5b612a0b8561290d565b9350612a196020860161290d565b925060408501359150606085013567ffffffffffffffff811115612a3b578182fd5b8501601f81018713612a4b578182fd5b612a5a8782356020840161289d565b91505092959194509250565b60008060408385031215612a78578182fd5b612a818361290d565b91506020830135612a91816134a0565b809150509250929050565b60008060408385031215612aae578182fd5b612ab78361290d565b946020939093013593505050565b60008060008060408587031215612ada578384fd5b843567ffffffffffffffff80821115612af1578586fd5b612afd88838901612924565b90965094506020870135915080821115612b15578384fd5b50612b2287828801612924565b95989497509550505050565b600060208284031215612b3f578081fd5b8135610bae816134a0565b600060208284031215612b5b578081fd5b8151610bae816134a0565b600060208284031215612b77578081fd5b8135610bae816134ae565b600060208284031215612b93578081fd5b8151610bae816134ae565b600060208284031215612baf578081fd5b813567ffffffffffffffff811115612bc5578182fd5b8201601f81018413612bd5578182fd5b611e1f8482356020840161289d565b600060208284031215612bf5578081fd5b5035919050565b600060208284031215612c0d578081fd5b5051919050565b60008151808452612c2c8160208601602086016133f2565b601f01601f19169290920160200192915050565b60008251612c528184602087016133f2565b9190910192915050565b60008351612c6e8184602088016133f2565b835190830190612c828183602088016133f2565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cd290830184612c14565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b600060208252610bae6020830184612c14565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b6020808252600d908201526c115512081dda1a5d195b1a5cdd609a1b604082015260600190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252600d908201526c10d493c81dda1a5d195b1a5cdd609a1b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b90815260200190565b6000821982111561337257613372613474565b500190565b600060ff821660ff84168060ff0382111561339457613394613474565b019392505050565b6000826133b757634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156133d6576133d6613474565b500290565b6000828210156133ed576133ed613474565b500390565b60005b8381101561340d5781810151838201526020016133f5565b838111156115c15750506000910152565b60028104600182168061343257607f821691505b6020821081141561345357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561346d5761346d613474565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610d9757600080fd5b6001600160e01b031981168114610d9757600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465728d1457c1d60a6987eabbac898a50d8d7c81ba604c563663d2807027a4b0790544552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220e2a1a20a7ec6b19b3ff3ba8f4157cd5464a39dfccde248e6075287e8dffe453264736f6c63430008000033
Deployed Bytecode
0x6080604052600436106103505760003560e01c806385b5b27e116101c6578063c87b56dd116100f7578063e985e9c511610095578063f23f65701161006f578063f23f6570146108d2578063f2fde38b146108e5578063f4f3b20014610905578063fcdf3ae21461092557610350565b8063e985e9c514610888578063eaae09e0146108a8578063eb8d2444146108bd57610350565b8063cefde53c116100d1578063cefde53c14610829578063cf2c933b1461083e578063d6d6a3fe14610853578063e760aa241461086857610350565b8063c87b56dd146107c9578063ca800144146107e9578063cb4ed1761461080957610350565b8063a02fc28811610164578063b05642bf1161013e578063b05642bf1461076a578063b08b5cb41461077f578063b88d4fde14610794578063c4170a8c146107b457610350565b8063a02fc28814610722578063a1a135d714610735578063a22cb4651461074a57610350565b8063907c10fb116101a0578063907c10fb146106ad578063908f0e01146106cd5780639376ab9b146106ed57806395d89b411461070d57610350565b806385b5b27e1461066e5780638b2fe001146106835780638da5cb5b1461069857610350565b80633f5aef12116102a057806363dc912a1161023e57806370a082311161021857806370a0823114610604578063715018a614610624578063768f8ac1146106395780637d4030381461065957610350565b806363dc912a146105c75780636c0360eb146105da5780636e8c0a28146105ef57610350565b80634f6ccce71161027a5780634f6ccce71461054757806355f804b31461056757806356070e79146105875780636352211e146105a757610350565b80633f5aef12146104f257806340bf3d601461051257806342842e0e1461052757610350565b806318160ddd1161030d57806334918dfd116102e757806334918dfd146104935780633593d8bf146104a857806337419a81146104c85780633ccfd60b146104dd57610350565b806318160ddd1461043157806323b872dd146104535780632f745c591461047357610350565b806301ffc9a7146103555780630256edeb1461038b57806306fdde03146103a0578063081812fc146103c2578063095ea7b3146103ef5780631096952314610411575b600080fd5b34801561036157600080fd5b50610375610370366004612b66565b610945565b6040516103829190612cf5565b60405180910390f35b34801561039757600080fd5b50610375610968565b3480156103ac57600080fd5b506103b5610977565b6040516103829190612d00565b3480156103ce57600080fd5b506103e26103dd366004612be4565b610a09565b6040516103829190612c8b565b3480156103fb57600080fd5b5061040f61040a366004612a9c565b610a55565b005b34801561041d57600080fd5b5061040f61042c366004612b9e565b610aed565b34801561043d57600080fd5b50610446610b43565b6040516103829190613356565b34801561045f57600080fd5b5061040f61046e3660046129b2565b610b54565b34801561047f57600080fd5b5061044661048e366004612a9c565b610b8c565b34801561049f57600080fd5b5061040f610bb7565b3480156104b457600080fd5b5061040f6104c3366004612966565b610c0a565b3480156104d457600080fd5b50610375610c75565b3480156104e957600080fd5b5061040f610c83565b3480156104fe57600080fd5b5061037561050d366004612966565b610cf1565b34801561051e57600080fd5b506103e2610d0f565b34801561053357600080fd5b5061040f6105423660046129b2565b610d1e565b34801561055357600080fd5b50610446610562366004612be4565b610d39565b34801561057357600080fd5b5061040f610582366004612b9e565b610d4f565b34801561059357600080fd5b506103756105a2366004612966565b610d9a565b3480156105b357600080fd5b506103e26105c2366004612be4565b610e26565b61040f6105d5366004612be4565b610e4e565b3480156105e657600080fd5b506103b5610f9d565b3480156105fb57600080fd5b506103b5610fac565b34801561061057600080fd5b5061044661061f366004612966565b61103a565b34801561063057600080fd5b5061040f611083565b34801561064557600080fd5b5061040f610654366004612966565b61110c565b34801561066557600080fd5b5061044661116d565b34801561067a57600080fd5b50610446611173565b34801561068f57600080fd5b5061040f611179565b3480156106a457600080fd5b506103e26111d7565b3480156106b957600080fd5b5061040f6106c8366004612ac5565b6111e6565b3480156106d957600080fd5b5061040f6106e8366004612be4565b6112df565b3480156106f957600080fd5b5061040f610708366004612be4565b611323565b34801561071957600080fd5b506103b5611367565b61040f610730366004612be4565b611376565b34801561074157600080fd5b506104466114a9565b34801561075657600080fd5b5061040f610765366004612a66565b6114af565b34801561077657600080fd5b5061044661157d565b34801561078b57600080fd5b50610446611583565b3480156107a057600080fd5b5061040f6107af3660046129ed565b611588565b3480156107c057600080fd5b506104466115c7565b3480156107d557600080fd5b506103b56107e4366004612be4565b6115cd565b3480156107f557600080fd5b5061040f610804366004612a9c565b611710565b34801561081557600080fd5b50610375610824366004612966565b611813565b34801561083557600080fd5b506104466118df565b34801561084a57600080fd5b506103e26118e5565b34801561085f57600080fd5b506104466118fb565b34801561087457600080fd5b5061040f610883366004612be4565b611901565b34801561089457600080fd5b506103756108a3366004612980565b611945565b3480156108b457600080fd5b5061040f611973565b3480156108c957600080fd5b506103756119cf565b61040f6108e0366004612be4565b6119d8565b3480156108f157600080fd5b5061040f610900366004612966565b611b01565b34801561091157600080fd5b5061040f610920366004612966565b611bc2565b34801561093157600080fd5b50610375610940366004612966565b611d03565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60135462010000900460ff1681565b6060600680546109869061341e565b80601f01602080910402602001604051908101604052809291908181526020018280546109b29061341e565b80156109ff5780601f106109d4576101008083540402835291602001916109ff565b820191906000526020600020905b8154815290600101906020018083116109e257829003601f168201915b5050505050905090565b6000610a1482611d18565b610a395760405162461bcd60e51b8152600401610a3090613116565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a6082610e26565b9050806001600160a01b0316836001600160a01b03161415610a945760405162461bcd60e51b8152600401610a309061322f565b806001600160a01b0316610aa6611d25565b6001600160a01b03161480610ac25750610ac2816108a3611d25565b610ade5760405162461bcd60e51b8152600401610a3090612f90565b610ae88383611d29565b505050565b610af5611d25565b6001600160a01b0316610b066111d7565b6001600160a01b031614610b2c5760405162461bcd60e51b8152600401610a3090613162565b8051610b3f90600c906020840190612804565b5050565b6000610b4f6002611d97565b905090565b610b65610b5f611d25565b82611da2565b610b815760405162461bcd60e51b8152600401610a3090613297565b610ae8838383611e27565b6001600160a01b0382166000908152600160205260408120610bae9083611f35565b90505b92915050565b610bbf611d25565b6001600160a01b0316610bd06111d7565b6001600160a01b031614610bf65760405162461bcd60e51b8152600401610a3090613162565b6013805460ff19811660ff90911615179055565b610c12611d25565b6001600160a01b0316610c236111d7565b6001600160a01b031614610c495760405162461bcd60e51b8152600401610a3090613162565b601380546001600160a01b039092166301000000026301000000600160b81b0319909216919091179055565b601354610100900460ff1681565b610c8b611d25565b6001600160a01b0316610c9c6111d7565b6001600160a01b031614610cc25760405162461bcd60e51b8152600401610a3090613162565b6040514790339082156108fc029083906000818181858888f19350505050158015610b3f573d6000803e3d6000fd5b6001600160a01b031660009081526015602052604090205460ff1690565b6014546001600160a01b031681565b610ae883838360405180602001604052806000815250611588565b600080610d47600284611f41565b509392505050565b610d57611d25565b6001600160a01b0316610d686111d7565b6001600160a01b031614610d8e5760405162461bcd60e51b8152600401610a3090613162565b610d9781611f5f565b50565b6014546040516370a0823160e01b815260009182916001600160a01b03909116906370a0823190610dcf908690600401612c8b565b60206040518083038186803b158015610de757600080fd5b505afa158015610dfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1f9190612bfc565b1192915050565b6000610bb1826040518060600160405280602981526020016135176029913960029190611f72565b6002600b541415610e715760405162461bcd60e51b8152600401610a309061331f565b6002600b5560135460ff16610e8557600080fd5b6005811115610e9357600080fd5b601054610ea39061271090611f89565b610eb582610eaf610b43565b90611fb5565b1115610ec057600080fd5b6000610ecb33611813565b610ed757600d54610ef8565b610ef86064610ef2605f600d54611fe490919063ffffffff16565b90612029565b905034610f058284611fe4565b1115610f1057600080fd5b60005b82811015610f9357612710610f26610b43565b1015610f81576000805160206134f783398151915233610f44610b43565b610f4f90600161335f565b604051610f5d929190612cdc565b60405180910390a1610f8133610f71610b43565b610f7c90600161335f565b612054565b80610f8b81613459565b915050610f13565b50506001600b5550565b6060600980546109869061341e565b600c8054610fb99061341e565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe59061341e565b80156110325780601f1061100757610100808354040283529160200191611032565b820191906000526020600020905b81548152906001019060200180831161101557829003601f168201915b505050505081565b60006001600160a01b0382166110625760405162461bcd60e51b8152600401610a3090612fed565b6001600160a01b0382166000908152600160205260409020610bb190611d97565b61108b611d25565b6001600160a01b031661109c6111d7565b6001600160a01b0316146110c25760405162461bcd60e51b8152600401610a3090613162565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b611114611d25565b6001600160a01b03166111256111d7565b6001600160a01b03161461114b5760405162461bcd60e51b8152600401610a3090613162565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b600d5481565b60115481565b611181611d25565b6001600160a01b03166111926111d7565b6001600160a01b0316146111b85760405162461bcd60e51b8152600401610a3090613162565b6013805462ff0000198116620100009182900460ff1615909102179055565b600a546001600160a01b031690565b6111ee611d25565b6001600160a01b03166111ff6111d7565b6001600160a01b0316146112255760405162461bcd60e51b8152600401610a3090613162565b60005b838110156112d85782828281811061125057634e487b7160e01b600052603260045260246000fd5b90506020020160208101906112659190612b2e565b6015600087878581811061128957634e487b7160e01b600052603260045260246000fd5b905060200201602081019061129e9190612966565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806112d081613459565b915050611228565b5050505050565b6112e7611d25565b6001600160a01b03166112f86111d7565b6001600160a01b03161461131e5760405162461bcd60e51b8152600401610a3090613162565b600d55565b61132b611d25565b6001600160a01b031661133c6111d7565b6001600160a01b0316146113625760405162461bcd60e51b8152600401610a3090613162565b600f55565b6060600780546109869061341e565b6002600b5414156113995760405162461bcd60e51b8152600401610a309061331f565b6002600b5560135462010000900460ff166113b357600080fd5b60058111156113c157600080fd5b346113d7600f5483611fe490919063ffffffff16565b11156113e257600080fd5b6010546113f29061271090611f89565b6113fe82610eaf610b43565b111561140957600080fd5b61141233610d9a565b61142e5760405162461bcd60e51b8152600401610a3090613270565b60125461143b9082611f89565b60125560005b818110156114a0576000805160206134f783398151915233611461610b43565b61146c90600161335f565b60405161147a929190612cdc565b60405180910390a161148e33610f71610b43565b8061149881613459565b915050611441565b50506001600b55565b61271081565b6114b7611d25565b6001600160a01b0316826001600160a01b031614156114e85760405162461bcd60e51b8152600401610a3090612e9f565b80600560006114f5611d25565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611539611d25565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115719190612cf5565b60405180910390a35050565b600e5481565b600581565b611599611593611d25565b83611da2565b6115b55760405162461bcd60e51b8152600401610a3090613297565b6115c184848484612118565b50505050565b60105481565b60606115d882611d18565b6115f45760405162461bcd60e51b8152600401610a30906131e0565b6000828152600860205260408120805461160d9061341e565b80601f01602080910402602001604051908101604052809291908181526020018280546116399061341e565b80156116865780601f1061165b57610100808354040283529160200191611686565b820191906000526020600020905b81548152906001019060200180831161166957829003601f168201915b505050505090506000611697610f9d565b90508051600014156116ab57509050610963565b8151156116dd5780826040516020016116c5929190612c5c565b60405160208183030381529060405292505050610963565b806116e78561214b565b6040516020016116f8929190612c5c565b60405160208183030381529060405292505050919050565b6002600b5414156117335760405162461bcd60e51b8152600401610a309061331f565b6002600b55611740611d25565b6001600160a01b03166117516111d7565b6001600160a01b0316146117775760405162461bcd60e51b8152600401610a3090613162565b60105481111561178657600080fd5b60005b818110156117f95761271061179c610b43565b10156117e7576000805160206134f7833981519152836117ba610b43565b6117c590600161335f565b6040516117d3929190612cdc565b60405180910390a16117e783610f71610b43565b806117f181613459565b915050611789565b506010546118079082611f89565b60105550506001600b55565b601354604051627eeac760e11b8152600091829163010000009091046001600160a01b03169062fdd58e9061184f908690600190600401612cdc565b60206040518083038186803b15801561186757600080fd5b505afa15801561187b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189f9190612bfc565b1180610bb15750601354604051627eeac760e11b8152600091630100000090046001600160a01b03169062fdd58e90610dcf908690600290600401612cdc565b60125481565b601354630100000090046001600160a01b031681565b600f5481565b611909611d25565b6001600160a01b031661191a6111d7565b6001600160a01b0316146119405760405162461bcd60e51b8152600401610a3090613162565b600e55565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61197b611d25565b6001600160a01b031661198c6111d7565b6001600160a01b0316146119b25760405162461bcd60e51b8152600401610a3090613162565b6013805461ff001981166101009182900460ff1615909102179055565b60135460ff1681565b6002600b5414156119fb5760405162461bcd60e51b8152600401610a309061331f565b6002600b55601354610100900460ff16611a1457600080fd5b6005811115611a2257600080fd5b34611a38600e5483611fe490919063ffffffff16565b1115611a4357600080fd5b601054611a539061271090611f89565b611a5f82610eaf610b43565b1115611a6a57600080fd5b611a7333610cf1565b611a8f5760405162461bcd60e51b8152600401610a3090613037565b601154611a9c9082611f89565b60115560005b818110156114a0576000805160206134f783398151915233611ac2610b43565b611acd90600161335f565b604051611adb929190612cdc565b60405180910390a1611aef33610f71610b43565b80611af981613459565b915050611aa2565b611b09611d25565b6001600160a01b0316611b1a6111d7565b6001600160a01b031614611b405760405162461bcd60e51b8152600401610a3090613162565b6001600160a01b038116611b665760405162461bcd60e51b8152600401610a3090612da7565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b611bca611d25565b6001600160a01b0316611bdb6111d7565b6001600160a01b031614611c015760405162461bcd60e51b8152600401610a3090613162565b6040516370a0823160e01b81526000906001600160a01b038316906370a0823190611c30903090600401612c8b565b60206040518083038186803b158015611c4857600080fd5b505afa158015611c5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c809190612bfc565b60405163a9059cbb60e01b81529091506001600160a01b0383169063a9059cbb90611cb19033908590600401612cdc565b602060405180830381600087803b158015611ccb57600080fd5b505af1158015611cdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae89190612b4a565b60156020526000908152604090205460ff1681565b6000610bb1600283612291565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d5e82610e26565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610bb18261229d565b6000611dad82611d18565b611dc95760405162461bcd60e51b8152600401610a3090612f0d565b6000611dd483610e26565b9050806001600160a01b0316846001600160a01b03161480611e0f5750836001600160a01b0316611e0484610a09565b6001600160a01b0316145b80611e1f5750611e1f8185611945565b949350505050565b826001600160a01b0316611e3a82610e26565b6001600160a01b031614611e605760405162461bcd60e51b8152600401610a3090613197565b6001600160a01b038216611e865760405162461bcd60e51b8152600401610a3090612e5b565b611e91838383610ae8565b611e9c600082611d29565b6001600160a01b0383166000908152600160205260409020611ebe90826122a1565b506001600160a01b0382166000908152600160205260409020611ee190826122ad565b50611eee600282846122b9565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610bae83836122cf565b6000808080611f508686612328565b909450925050505b9250929050565b8051610b3f906009906020840190612804565b6000611f7f848484612398565b90505b9392505050565b600082821115611fab5760405162461bcd60e51b8152600401610a3090612ed6565b610bae82846133db565b600080611fc2838561335f565b905083811015610bae5760405162461bcd60e51b8152600401610a3090612e24565b600082611ff357506000610bb1565b6000611fff83856133bc565b90508261200c858361339c565b14610bae5760405162461bcd60e51b8152600401610a30906130d5565b600080821161204a5760405162461bcd60e51b8152600401610a3090612f59565b610bae828461339c565b6001600160a01b03821661207a5760405162461bcd60e51b8152600401610a30906130a0565b61208381611d18565b156120a05760405162461bcd60e51b8152600401610a3090612ded565b6120ac60008383610ae8565b6001600160a01b03821660009081526001602052604090206120ce90826122ad565b506120db600282846122b9565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b612123848484611e27565b61212f8484848461240f565b6115c15760405162461bcd60e51b8152600401610a3090612d55565b60608161217057506040805180820190915260018152600360fc1b6020820152610963565b8160005b811561219a578061218481613459565b91506121939050600a8361339c565b9150612174565b60008167ffffffffffffffff8111156121c357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121ed576020820181803683370190505b509050815b8515612288576122036001826133db565b90506000612212600a8861339c565b61221d90600a6133bc565b61222790886133db565b612232906030613377565b905060008160f81b90508084848151811061225d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061227f600a8961339c565b975050506121f2565b50949350505050565b6000610bae83836124ee565b5490565b6000610bae8383612506565b6000610bae8383612623565b6000611f7f84846001600160a01b03851661266d565b815460009082106122f25760405162461bcd60e51b8152600401610a3090612d13565b82600001828154811061231557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b81546000908190831061234d5760405162461bcd60e51b8152600401610a309061305e565b600084600001848154811061237257634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816123c85760405162461bcd60e51b8152600401610a309190612d00565b50846123d56001836133db565b815481106123f357634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101549150509392505050565b6000612423846001600160a01b031661271c565b61242f57506001611e1f565b60006124b7630a85bd0160e11b612444611d25565b88878760405160240161245a9493929190612c9f565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016134c5603291396001600160a01b0388169190612722565b90506000818060200190518101906124cf9190612b82565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b6000818152600183016020526040812054801561261957600061252a6001836133db565b855490915060009061253e906001906133db565b9050600086600001828154811061256557634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061259657634e487b7160e01b600052603260045260246000fd5b6000918252602090912001556125ad83600161335f565b600082815260018901602052604090205586548790806125dd57634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610bb1565b6000915050610bb1565b600061262f83836124ee565b61266557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610bb1565b506000610bb1565b6000828152600184016020526040812054806126d2575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611f82565b82856126df6001846133db565b815481106126fd57634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101819055506000915050611f82565b3b151590565b6060611f7f8484600085856127368561271c565b6127525760405162461bcd60e51b8152600401610a30906132e8565b600080866001600160a01b0316858760405161276e9190612c40565b60006040518083038185875af1925050503d80600081146127ab576040519150601f19603f3d011682016040523d82523d6000602084013e6127b0565b606091505b50915091506127c08282866127cb565b979650505050505050565b606083156127da575081611f82565b8251156127ea5782518084602001fd5b8160405162461bcd60e51b8152600401610a309190612d00565b8280546128109061341e565b90600052602060002090601f0160209004810192826128325760008555612878565b82601f1061284b57805160ff1916838001178555612878565b82800160010185558215612878579182015b8281111561287857825182559160200191906001019061285d565b50612884929150612888565b5090565b5b808211156128845760008155600101612889565b600067ffffffffffffffff808411156128b8576128b861348a565b604051601f8501601f1916810160200182811182821017156128dc576128dc61348a565b6040528481529150818385018610156128f457600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461096357600080fd5b60008083601f840112612935578081fd5b50813567ffffffffffffffff81111561294c578182fd5b6020830191508360208083028501011115611f5857600080fd5b600060208284031215612977578081fd5b610bae8261290d565b60008060408385031215612992578081fd5b61299b8361290d565b91506129a96020840161290d565b90509250929050565b6000806000606084860312156129c6578081fd5b6129cf8461290d565b92506129dd6020850161290d565b9150604084013590509250925092565b60008060008060808587031215612a02578081fd5b612a0b8561290d565b9350612a196020860161290d565b925060408501359150606085013567ffffffffffffffff811115612a3b578182fd5b8501601f81018713612a4b578182fd5b612a5a8782356020840161289d565b91505092959194509250565b60008060408385031215612a78578182fd5b612a818361290d565b91506020830135612a91816134a0565b809150509250929050565b60008060408385031215612aae578182fd5b612ab78361290d565b946020939093013593505050565b60008060008060408587031215612ada578384fd5b843567ffffffffffffffff80821115612af1578586fd5b612afd88838901612924565b90965094506020870135915080821115612b15578384fd5b50612b2287828801612924565b95989497509550505050565b600060208284031215612b3f578081fd5b8135610bae816134a0565b600060208284031215612b5b578081fd5b8151610bae816134a0565b600060208284031215612b77578081fd5b8135610bae816134ae565b600060208284031215612b93578081fd5b8151610bae816134ae565b600060208284031215612baf578081fd5b813567ffffffffffffffff811115612bc5578182fd5b8201601f81018413612bd5578182fd5b611e1f8482356020840161289d565b600060208284031215612bf5578081fd5b5035919050565b600060208284031215612c0d578081fd5b5051919050565b60008151808452612c2c8160208601602086016133f2565b601f01601f19169290920160200192915050565b60008251612c528184602087016133f2565b9190910192915050565b60008351612c6e8184602088016133f2565b835190830190612c828183602088016133f2565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cd290830184612c14565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b600060208252610bae6020830184612c14565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b6020808252600d908201526c115512081dda1a5d195b1a5cdd609a1b604082015260600190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252600d908201526c10d493c81dda1a5d195b1a5cdd609a1b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b90815260200190565b6000821982111561337257613372613474565b500190565b600060ff821660ff84168060ff0382111561339457613394613474565b019392505050565b6000826133b757634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156133d6576133d6613474565b500290565b6000828210156133ed576133ed613474565b500390565b60005b8381101561340d5781810151838201526020016133f5565b838111156115c15750506000910152565b60028104600182168061343257607f821691505b6020821081141561345357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561346d5761346d613474565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610d9757600080fd5b6001600160e01b031981168114610d9757600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465728d1457c1d60a6987eabbac898a50d8d7c81ba604c563663d2807027a4b0790544552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220e2a1a20a7ec6b19b3ff3ba8f4157cd5464a39dfccde248e6075287e8dffe453264736f6c63430008000033
Deployed ByteCode Sourcemap
69540:6978:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12752:150;;;;;;;;;;-1:-1:-1;12752:150:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;70360:34;;;;;;;;;;;;;:::i;53877:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;56663:221::-;;;;;;;;;;-1:-1:-1;56663:221:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;56193:404::-;;;;;;;;;;-1:-1:-1;56193:404:0;;;;;:::i;:::-;;:::i;:::-;;76391:124;;;;;;;;;;-1:-1:-1;76391:124:0;;;;;:::i;:::-;;:::i;55671:211::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;57553:305::-;;;;;;;;;;-1:-1:-1;57553:305:0;;;;;:::i;:::-;;:::i;55433:162::-;;;;;;;;;;-1:-1:-1;55433:162:0;;;;;:::i;:::-;;:::i;74906:91::-;;;;;;;;;;;;;:::i;76235:99::-;;;;;;;;;;-1:-1:-1;76235:99:0;;;;;:::i;:::-;;:::i;70277:34::-;;;;;;;;;;;;;:::i;74498:142::-;;;;;;;;;;;;;:::i;71058:114::-;;;;;;;;;;-1:-1:-1;71058:114:0;;;;;:::i;:::-;;:::i;70522:74::-;;;;;;;;;;;;;:::i;57929:151::-;;;;;;;;;;-1:-1:-1;57929:151:0;;;;;:::i;:::-;;:::i;55959:172::-;;;;;;;;;;-1:-1:-1;55959:172:0;;;;;:::i;:::-;;:::i;74361:101::-;;;;;;;;;;-1:-1:-1;74361:101:0;;;;;:::i;:::-;;:::i;71184:140::-;;;;;;;;;;-1:-1:-1;71184:140:0;;;;;:::i;:::-;;:::i;53633:177::-;;;;;;;;;;-1:-1:-1;53633:177:0;;;;;:::i;:::-;;:::i;71449:778::-;;;;;;:::i;:::-;;:::i;55252:97::-;;;;;;;;;;;;;:::i;69803:33::-;;;;;;;;;;;;;:::i;53350:221::-;;;;;;;;;;-1:-1:-1;53350:221:0;;;;;:::i;:::-;;:::i;68557:148::-;;;;;;;;;;;;;:::i;76075:101::-;;;;;;;;;;-1:-1:-1;76075:101:0;;;;;:::i;:::-;;:::i;69843:38::-;;;;;;;;;;;;;:::i;70061:44::-;;;;;;;;;;;;;:::i;75200:97::-;;;;;;;;;;;;;:::i;67906:87::-;;;;;;;;;;;;;:::i;75796:224::-;;;;;;;;;;-1:-1:-1;75796:224:0;;;;;:::i;:::-;;:::i;75342:104::-;;;;;;;;;;-1:-1:-1;75342:104:0;;;;;:::i;:::-;;:::i;75664:120::-;;;;;;;;;;-1:-1:-1;75664:120:0;;;;;:::i;:::-;;:::i;54046:104::-;;;;;;;;;;;;;:::i;72989:746::-;;;;;;:::i;:::-;;:::i;69732:45::-;;;;;;;;;;;;;:::i;56956:295::-;;;;;;;;;;-1:-1:-1;56956:295:0;;;;;:::i;:::-;;:::i;69888:46::-;;;;;;;;;;;;;:::i;69651:50::-;;;;;;;;;;;;;:::i;58151:285::-;;;;;;;;;;-1:-1:-1;58151:285:0;;;;;:::i;:::-;;:::i;70000:37::-;;;;;;;;;;;;;:::i;54221:792::-;;;;;;;;;;-1:-1:-1;54221:792:0;;;;;:::i;:::-;;:::i;73842:480::-;;;;;;;;;;-1:-1:-1;73842:480:0;;;;;:::i;:::-;;:::i;70855:191::-;;;;;;;;;;-1:-1:-1;70855:191:0;;;;;:::i;:::-;;:::i;70129:45::-;;;;;;;;;;;;;:::i;70445:70::-;;;;;;;;;;;;;:::i;69941:46::-;;;;;;;;;;;;;:::i;75495:120::-;;;;;;;;;;-1:-1:-1;75495:120:0;;;;;:::i;:::-;;:::i;57322:164::-;;;;;;;;;;-1:-1:-1;57322:164:0;;;;;:::i;:::-;;:::i;75048:97::-;;;;;;;;;;;;;:::i;70200:32::-;;;;;;;;;;;;;:::i;72235:746::-;;;;;;:::i;:::-;;:::i;68860:244::-;;;;;;;;;;-1:-1:-1;68860:244:0;;;;;:::i;:::-;;:::i;74676:183::-;;;;;;;;;;-1:-1:-1;74676:183:0;;;;;:::i;:::-;;:::i;70605:42::-;;;;;;;;;;-1:-1:-1;70605:42:0;;;;;:::i;:::-;;:::i;12752:150::-;-1:-1:-1;;;;;;12861:33:0;;12837:4;12861:33;;;;;;;;;;;;;12752:150;;;;:::o;70360:34::-;;;;;;;;;:::o;53877:100::-;53931:13;53964:5;53957:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53877:100;:::o;56663:221::-;56739:7;56767:16;56775:7;56767;:16::i;:::-;56759:73;;;;-1:-1:-1;;;56759:73:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;56852:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;56852:24:0;;56663:221::o;56193:404::-;56274:13;56290:23;56305:7;56290:14;:23::i;:::-;56274:39;;56338:5;-1:-1:-1;;;;;56332:11:0;:2;-1:-1:-1;;;;;56332:11:0;;;56324:57;;;;-1:-1:-1;;;56324:57:0;;;;;;;:::i;:::-;56418:5;-1:-1:-1;;;;;56402:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;56402:21:0;;:69;;;;56427:44;56451:5;56458:12;:10;:12::i;56427:44::-;56394:161;;;;-1:-1:-1;;;56394:161:0;;;;;;;:::i;:::-;56568:21;56577:2;56581:7;56568:8;:21::i;:::-;56193:404;;;:::o;76391:124::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;76476:31;;::::1;::::0;:14:::1;::::0;:31:::1;::::0;::::1;::::0;::::1;:::i;:::-;;76391:124:::0;:::o;55671:211::-;55732:7;55853:21;:12;:19;:21::i;:::-;55846:28;;55671:211;:::o;57553:305::-;57714:41;57733:12;:10;:12::i;:::-;57747:7;57714:18;:41::i;:::-;57706:103;;;;-1:-1:-1;;;57706:103:0;;;;;;;:::i;:::-;57822:28;57832:4;57838:2;57842:7;57822:9;:28::i;55433:162::-;-1:-1:-1;;;;;55557:20:0;;55530:7;55557:20;;;:13;:20;;;;;:30;;55581:5;55557:23;:30::i;:::-;55550:37;;55433:162;;;;;:::o;74906:91::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;74977:12:::1;::::0;;-1:-1:-1;;74961:28:0;::::1;74977:12;::::0;;::::1;74976:13;74961:28;::::0;;74906:91::o;76235:99::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;76304:10:::1;:22:::0;;-1:-1:-1;;;;;76304:22:0;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;76304:22:0;;::::1;::::0;;;::::1;::::0;;76235:99::o;70277:34::-;;;;;;;;;:::o;74498:142::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;74595:37:::1;::::0;74563:21:::1;::::0;74603:10:::1;::::0;74595:37;::::1;;;::::0;74563:21;;74548:12:::1;74595:37:::0;74548:12;74595:37;74563:21;74603:10;74595:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;71058:114:::0;-1:-1:-1;;;;;71144:20:0;71119:4;71144:20;;;:10;:20;;;;;;;;;71058:114::o;70522:74::-;;;-1:-1:-1;;;;;70522:74:0;;:::o;57929:151::-;58033:39;58050:4;58056:2;58060:7;58033:39;;;;;;;;;;;;:16;:39::i;55959:172::-;56034:7;;56076:22;:12;56092:5;56076:15;:22::i;:::-;-1:-1:-1;56054:44:0;55959:172;-1:-1:-1;;;55959:172:0:o;74361:101::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;74434:20:::1;74446:7;74434:11;:20::i;:::-;74361:101:::0;:::o;71184:140::-;71277:14;;71270:42;;-1:-1:-1;;;71270:42:0;;71245:4;;;;-1:-1:-1;;;;;71277:14:0;;;;71270:32;;:42;;71303:8;;71270:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;;71184:140;-1:-1:-1;;71184:140:0:o;53633:177::-;53705:7;53732:70;53749:7;53732:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;71449:778::-;1784:1;2380:7;;:19;;2372:63;;;;-1:-1:-1;;;2372:63:0;;;;;;;:::i;:::-;1784:1;2513:7;:18;71542:12:::1;::::0;::::1;;71534:21;;;::::0;::::1;;69700:1;71597:14;:40;;71589:49;;;::::0;::::1;;71730:18;::::0;71712:37:::1;::::0;69772:5:::1;::::0;71712:17:::1;:37::i;:::-;71675:33;71693:14;71675:13;:11;:13::i;:::-;:17:::0;::::1;:33::i;:::-;:74;;71667:83;;;::::0;::::1;;71784:14;71801:22;71812:10;71801;:22::i;:::-;:73;;71860:14;;71801:73;;;71826:31;71853:3;71826:22;71845:2;71826:14;;:18;;:22;;;;:::i;:::-;:26:::0;::::1;:31::i;:::-;71784:90:::0;-1:-1:-1;71926:9:0::1;71893:29;71784:90:::0;71907:14;71893:13:::1;:29::i;:::-;:42;;71885:51;;;::::0;::::1;;71983:6;71978:242;71999:14;71995:1;:18;71978:242;;;69772:5;72039:13;:11;:13::i;:::-;:29;72035:174;;;-1:-1:-1::0;;;;;;;;;;;72106:10:0::1;72118:13;:11;:13::i;:::-;:17;::::0;72134:1:::1;72118:17;:::i;:::-;72094:42;;;;;;;:::i;:::-;;;;;;;;72157:36;72163:10;72175:13;:11;:13::i;:::-;:17;::::0;72191:1:::1;72175:17;:::i;:::-;72157:5;:36::i;:::-;72015:3:::0;::::1;::::0;::::1;:::i;:::-;;;;71978:242;;;-1:-1:-1::0;;1740:1:0;2692:7;:22;-1:-1:-1;71449:778:0:o;55252:97::-;55300:13;55333:8;55326:15;;;;;:::i;69803:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53350:221::-;53422:7;-1:-1:-1;;;;;53450:19:0;;53442:74;;;;-1:-1:-1;;;53442:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;53534:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;68557:148::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;68648:6:::1;::::0;68627:40:::1;::::0;68664:1:::1;::::0;-1:-1:-1;;;;;68648:6:0::1;::::0;68627:40:::1;::::0;68664:1;;68627:40:::1;68678:6;:19:::0;;-1:-1:-1;;;;;;68678:19:0::1;::::0;;68557:148::o;76075:101::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;76145:14:::1;:23:::0;;-1:-1:-1;;;;;;76145:23:0::1;-1:-1:-1::0;;;;;76145:23:0;;;::::1;::::0;;;::::1;::::0;;76075:101::o;69843:38::-;;;;:::o;70061:44::-;;;;:::o;75200:97::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;75275:14:::1;::::0;;-1:-1:-1;;75257:32:0;::::1;75275:14:::0;;;;::::1;;;75274:15;75257:32:::0;;::::1;;::::0;;75200:97::o;67906:87::-;67979:6;;-1:-1:-1;;;;;67979:6:0;67906:87;:::o;75796:224::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;75910:6:::1;75905:108;75922:19:::0;;::::1;75905:108;;;75989:9;;75999:1;75989:12;;;;;-1:-1:-1::0;;;75989:12:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;75963:10;:23;75974:8;;75983:1;75974:11;;;;;-1:-1:-1::0;;;75974:11:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;75963:23:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;75963:23:0;:38;;-1:-1:-1;;75963:38:0::1;::::0;::::1;;::::0;;;::::1;::::0;;75943:3;::::1;::::0;::::1;:::i;:::-;;;;75905:108;;;;75796:224:::0;;;;:::o;75342:104::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;75415:14:::1;:23:::0;75342:104::o;75664:120::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;75745:22:::1;:31:::0;75664:120::o;54046:104::-;54102:13;54135:7;54128:14;;;;;:::i;72989:746::-;1784:1;2380:7;;:19;;2372:63;;;;-1:-1:-1;;;2372:63:0;;;;;;;:::i;:::-;1784:1;2513:7;:18;73091:14:::1;::::0;;;::::1;;;73083:23;;;::::0;::::1;;69700:1;73125:14;:40;;73117:49;;;::::0;::::1;;73269:9;73223:42;73242:22;;73223:14;:18;;:42;;;;:::i;:::-;:55;;73215:64;;;::::0;::::1;;73353:18;::::0;73335:37:::1;::::0;69772:5:::1;::::0;73335:17:::1;:37::i;:::-;73298:33;73316:14;73298:13;:11;:13::i;:33::-;:74;;73290:83;;;::::0;::::1;;73415:24;73428:10;73415:12;:24::i;:::-;73407:50;;;;-1:-1:-1::0;;;73407:50:0::1;;;;;;;:::i;:::-;73497:26;::::0;:46:::1;::::0;73528:14;73497:30:::1;:46::i;:::-;73468:26;:75:::0;73561:9:::1;73556:172;73580:14;73576:1;:18;73556:172;;;-1:-1:-1::0;;;;;;;;;;;73633:10:0::1;73645:13;:11;:13::i;:::-;:17;::::0;73661:1:::1;73645:17;:::i;:::-;73621:42;;;;;;;:::i;:::-;;;;;;;;73680:36;73686:10;73698:13;:11;:13::i;73680:36::-;73596:3:::0;::::1;::::0;::::1;:::i;:::-;;;;73556:172;;;-1:-1:-1::0;;1740:1:0;2692:7;:22;72989:746::o;69732:45::-;69772:5;69732:45;:::o;56956:295::-;57071:12;:10;:12::i;:::-;-1:-1:-1;;;;;57059:24:0;:8;-1:-1:-1;;;;;57059:24:0;;;57051:62;;;;-1:-1:-1;;;57051:62:0;;;;;;;:::i;:::-;57171:8;57126:18;:32;57145:12;:10;:12::i;:::-;-1:-1:-1;;;;;57126:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;57126:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;57126:53:0;;;;;;;;;;;57210:12;:10;:12::i;:::-;-1:-1:-1;;;;;57195:48:0;;57234:8;57195:48;;;;;;:::i;:::-;;;;;;;;56956:295;;:::o;69888:46::-;;;;:::o;69651:50::-;69700:1;69651:50;:::o;58151:285::-;58283:41;58302:12;:10;:12::i;:::-;58316:7;58283:18;:41::i;:::-;58275:103;;;;-1:-1:-1;;;58275:103:0;;;;;;;:::i;:::-;58389:39;58403:4;58409:2;58413:7;58422:5;58389:13;:39::i;:::-;58151:285;;;;:::o;70000:37::-;;;;:::o;54221:792::-;54294:13;54328:16;54336:7;54328;:16::i;:::-;54320:76;;;;-1:-1:-1;;;54320:76:0;;;;;;;:::i;:::-;54409:23;54435:19;;;:10;:19;;;;;54409:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54465:18;54486:9;:7;:9::i;:::-;54465:30;;54577:4;54571:18;54593:1;54571:23;54567:72;;;-1:-1:-1;54618:9:0;-1:-1:-1;54611:16:0;;54567:72;54743:23;;:27;54739:108;;54818:4;54824:9;54801:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54787:48;;;;;;54739:108;54979:4;54985:18;:7;:16;:18::i;:::-;54962:42;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54948:57;;;;54221:792;;;:::o;73842:480::-;1784:1;2380:7;;:19;;2372:63;;;;-1:-1:-1;;;2372:63:0;;;;;;;:::i;:::-;1784:1;2513:7;:18;68137:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;68126:23:0::1;:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;68126:23:0::1;;68118:68;;;;-1:-1:-1::0;;;68118:68:0::1;;;;;;;:::i;:::-;73962:18:::2;;73944:14;:36;;73936:45;;;::::0;::::2;;74022:6;74017:226;74038:14;74034:1;:18;74017:226;;;69772:5;74078:13;:11;:13::i;:::-;:29;74074:158;;;-1:-1:-1::0;;;;;;;;;;;74145:2:0::2;74149:13;:11;:13::i;:::-;:17;::::0;74165:1:::2;74149:17;:::i;:::-;74133:34;;;;;;;:::i;:::-;;;;;;;;74188:28;74194:2;74198:13;:11;:13::i;74188:28::-;74054:3:::0;::::2;::::0;::::2;:::i;:::-;;;;74017:226;;;-1:-1:-1::0;74276:18:0::2;::::0;:38:::2;::::0;74299:14;74276:22:::2;:38::i;:::-;74255:18;:59:::0;-1:-1:-1;;1740:1:0;2692:7;:22;73842:480::o;70855:191::-;70948:10;;70939:43;;-1:-1:-1;;;70939:43:0;;70914:4;;;;70948:10;;;;-1:-1:-1;;;;;70948:10:0;;70939:30;;:43;;70970:8;;70980:1;;70939:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47;:98;;;-1:-1:-1;70999:10:0;;70990:43;;-1:-1:-1;;;70990:43:0;;71036:1;;70999:10;;;-1:-1:-1;;;;;70999:10:0;;70990:30;;:43;;71021:8;;71031:1;;70990:43;;;:::i;70129:45::-;;;;:::o;70445:70::-;;;;;;-1:-1:-1;;;;;70445:70:0;;:::o;69941:46::-;;;;:::o;75495:120::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;75576:22:::1;:31:::0;75495:120::o;57322:164::-;-1:-1:-1;;;;;57443:25:0;;;57419:4;57443:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;57322:164::o;75048:97::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;75123:14:::1;::::0;;-1:-1:-1;;75105:32:0;::::1;75123:14;::::0;;;::::1;;;75122:15;75105:32:::0;;::::1;;::::0;;75048:97::o;70200:32::-;;;;;;:::o;72235:746::-;1784:1;2380:7;;:19;;2372:63;;;;-1:-1:-1;;;2372:63:0;;;;;;;:::i;:::-;1784:1;2513:7;:18;72337:14:::1;::::0;::::1;::::0;::::1;;;72329:23;;;::::0;::::1;;69700:1;72371:14;:40;;72363:49;;;::::0;::::1;;72515:9;72469:42;72488:22;;72469:14;:18;;:42;;;;:::i;:::-;:55;;72461:64;;;::::0;::::1;;72599:18;::::0;72581:37:::1;::::0;69772:5:::1;::::0;72581:17:::1;:37::i;:::-;72544:33;72562:14;72544:13;:11;:13::i;:33::-;:74;;72536:83;;;::::0;::::1;;72661:24;72674:10;72661:12;:24::i;:::-;72653:50;;;;-1:-1:-1::0;;;72653:50:0::1;;;;;;;:::i;:::-;72743:26;::::0;:46:::1;::::0;72774:14;72743:30:::1;:46::i;:::-;72714:26;:75:::0;72807:9:::1;72802:172;72826:14;72822:1;:18;72802:172;;;-1:-1:-1::0;;;;;;;;;;;72879:10:0::1;72891:13;:11;:13::i;:::-;:17;::::0;72907:1:::1;72891:17;:::i;:::-;72867:42;;;;;;;:::i;:::-;;;;;;;;72926:36;72932:10;72944:13;:11;:13::i;72926:36::-;72842:3:::0;::::1;::::0;::::1;:::i;:::-;;;;72802:172;;68860:244:::0;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;68949:22:0;::::1;68941:73;;;;-1:-1:-1::0;;;68941:73:0::1;;;;;;;:::i;:::-;69051:6;::::0;69030:38:::1;::::0;-1:-1:-1;;;;;69030:38:0;;::::1;::::0;69051:6:::1;::::0;69030:38:::1;::::0;69051:6:::1;::::0;69030:38:::1;69079:6;:17:::0;;-1:-1:-1;;;;;;69079:17:0::1;-1:-1:-1::0;;;;;69079:17:0;;;::::1;::::0;;;::::1;::::0;;68860:244::o;74676:183::-;68137:12;:10;:12::i;:::-;-1:-1:-1;;;;;68126:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;68126:23:0;;68118:68;;;;-1:-1:-1;;;68118:68:0;;;;;;;:::i;:::-;74759:38:::1;::::0;-1:-1:-1;;;74759:38:0;;74744:12:::1;::::0;-1:-1:-1;;;;;74759:23:0;::::1;::::0;::::1;::::0;:38:::1;::::0;74791:4:::1;::::0;74759:38:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74808:43;::::0;-1:-1:-1;;;74808:43:0;;74744:53;;-1:-1:-1;;;;;;74808:22:0;::::1;::::0;::::1;::::0;:43:::1;::::0;74831:10:::1;::::0;74744:53;;74808:43:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;70605:42::-:0;;;;;;;;;;;;;;;:::o;59903:127::-;59968:4;59992:30;:12;60014:7;59992:21;:30::i;3375:115::-;3471:10;3375:115;:::o;65921:192::-;65996:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;65996:29:0;-1:-1:-1;;;;;65996:29:0;;;;;;;;:24;;66050:23;65996:24;66050:14;:23::i;:::-;-1:-1:-1;;;;;66041:46:0;;;;;;;;;;;65921:192;;:::o;46671:123::-;46740:7;46767:19;46775:3;46767:7;:19::i;60197:355::-;60290:4;60315:16;60323:7;60315;:16::i;:::-;60307:73;;;;-1:-1:-1;;;60307:73:0;;;;;;;:::i;:::-;60391:13;60407:23;60422:7;60407:14;:23::i;:::-;60391:39;;60460:5;-1:-1:-1;;;;;60449:16:0;:7;-1:-1:-1;;;;;60449:16:0;;:51;;;;60493:7;-1:-1:-1;;;;;60469:31:0;:20;60481:7;60469:11;:20::i;:::-;-1:-1:-1;;;;;60469:31:0;;60449:51;:94;;;;60504:39;60528:5;60535:7;60504:23;:39::i;:::-;60441:103;60197:355;-1:-1:-1;;;;60197:355:0:o;63333:599::-;63458:4;-1:-1:-1;;;;;63431:31:0;:23;63446:7;63431:14;:23::i;:::-;-1:-1:-1;;;;;63431:31:0;;63423:85;;;;-1:-1:-1;;;63423:85:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;63545:16:0;;63537:65;;;;-1:-1:-1;;;63537:65:0;;;;;;;:::i;:::-;63615:39;63636:4;63642:2;63646:7;63615:20;:39::i;:::-;63719:29;63736:1;63740:7;63719:8;:29::i;:::-;-1:-1:-1;;;;;63761:19:0;;;;;;:13;:19;;;;;:35;;63788:7;63761:26;:35::i;:::-;-1:-1:-1;;;;;;63807:17:0;;;;;;:13;:17;;;;;:30;;63829:7;63807:21;:30::i;:::-;-1:-1:-1;63850:29:0;:12;63867:7;63876:2;63850:16;:29::i;:::-;;63916:7;63912:2;-1:-1:-1;;;;;63897:27:0;63906:4;-1:-1:-1;;;;;63897:27:0;;;;;;;;;;;63333:599;;;:::o;38493:137::-;38564:7;38599:22;38603:3;38615:5;38599:3;:22::i;47133:236::-;47213:7;;;;47273:22;47277:3;47289:5;47273:3;:22::i;:::-;47242:53;;-1:-1:-1;47242:53:0;-1:-1:-1;;;47133:236:0;;;;;;:::o;64533:100::-;64606:19;;;;:8;;:19;;;;;:::i;48419:213::-;48526:7;48577:44;48582:3;48602;48608:12;48577:4;:44::i;:::-;48569:53;-1:-1:-1;48419:213:0;;;;;;:::o;16745:158::-;16803:7;16836:1;16831;:6;;16823:49;;;;-1:-1:-1;;;16823:49:0;;;;;;;:::i;:::-;16890:5;16894:1;16890;:5;:::i;16283:179::-;16341:7;;16373:5;16377:1;16373;:5;:::i;:::-;16361:17;;16402:1;16397;:6;;16389:46;;;;-1:-1:-1;;;16389:46:0;;;;;;;:::i;17162:220::-;17220:7;17244:6;17240:20;;-1:-1:-1;17259:1:0;17252:8;;17240:20;17271:9;17283:5;17287:1;17283;:5;:::i;:::-;17271:17;-1:-1:-1;17316:1:0;17307:5;17311:1;17271:17;17307:5;:::i;:::-;:10;17299:56;;;;-1:-1:-1;;;17299:56:0;;;;;;;:::i;17860:153::-;17918:7;17950:1;17946;:5;17938:44;;;;-1:-1:-1;;;17938:44:0;;;;;;;:::i;:::-;18000:5;18004:1;18000;:5;:::i;61818:404::-;-1:-1:-1;;;;;61898:16:0;;61890:61;;;;-1:-1:-1;;;61890:61:0;;;;;;;:::i;:::-;61971:16;61979:7;61971;:16::i;:::-;61970:17;61962:58;;;;-1:-1:-1;;;61962:58:0;;;;;;;:::i;:::-;62033:45;62062:1;62066:2;62070:7;62033:20;:45::i;:::-;-1:-1:-1;;;;;62091:17:0;;;;;;:13;:17;;;;;:30;;62113:7;62091:21;:30::i;:::-;-1:-1:-1;62134:29:0;:12;62151:7;62160:2;62134:16;:29::i;:::-;-1:-1:-1;62181:33:0;;62206:7;;-1:-1:-1;;;;;62181:33:0;;;62198:1;;62181:33;;62198:1;;62181:33;61818:404;;:::o;59318:272::-;59432:28;59442:4;59448:2;59452:7;59432:9;:28::i;:::-;59479:48;59502:4;59508:2;59512:7;59521:5;59479:22;:48::i;:::-;59471:111;;;;-1:-1:-1;;;59471:111:0;;;;;;;:::i;48852:753::-;48905:13;49126:7;49122:50;;-1:-1:-1;49150:10:0;;;;;;;;;;;;-1:-1:-1;;;49150:10:0;;;;;;49122:50;49191:2;49182:6;49223:69;49230:6;;49223:69;;49253:5;;;;:::i;:::-;;-1:-1:-1;49273:7:0;;-1:-1:-1;49278:2:0;49273:7;;:::i;:::-;;;49223:69;;;49302:17;49332:3;49322:14;;;;;;-1:-1:-1;;;49322:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49322:14:0;-1:-1:-1;49302:34:0;-1:-1:-1;49356:3:0;49370:198;49377:7;;49370:198;;49405:3;49407:1;49405;:3;:::i;:::-;49401:7;-1:-1:-1;49423:10:0;49453:7;49458:2;49453;:7;:::i;:::-;:12;;49463:2;49453:12;:::i;:::-;49448:17;;:2;:17;:::i;:::-;49437:29;;:2;:29;:::i;:::-;49423:44;;49482:9;49501:4;49494:12;;49482:24;;49531:2;49521:4;49526:1;49521:7;;;;;;-1:-1:-1;;;49521:7:0;;;;;;;;;;;;:12;-1:-1:-1;;;;;49521:12:0;;;;;;;;-1:-1:-1;49548:8:0;49554:2;49548:8;;:::i;:::-;;;49370:198;;;;;-1:-1:-1;49592:4:0;48852:753;-1:-1:-1;;;;48852:753:0:o;46432:151::-;46516:4;46540:35;46550:3;46570;46540:9;:35::i;43250:110::-;43333:19;;43250:110::o;37580:137::-;37650:4;37674:35;37682:3;37702:5;37674:7;:35::i;37273:131::-;37340:4;37364:32;37369:3;37389:5;37364:4;:32::i;45855:185::-;45944:4;45968:64;45973:3;45993;-1:-1:-1;;;;;46007:23:0;;45968:4;:64::i;33531:204::-;33626:18;;33598:7;;33626:26;-1:-1:-1;33618:73:0;;;;-1:-1:-1;;;33618:73:0;;;;;;;:::i;:::-;33709:3;:11;;33721:5;33709:18;;;;;;-1:-1:-1;;;33709:18:0;;;;;;;;;;;;;;;;;33702:25;;33531:204;;;;:::o;43715:279::-;43819:19;;43782:7;;;;43819:27;-1:-1:-1;43811:74:0;;;;-1:-1:-1;;;43811:74:0;;;;;;;:::i;:::-;43898:22;43923:3;:12;;43936:5;43923:19;;;;;;-1:-1:-1;;;43923:19:0;;;;;;;;;;;;;;;;;;;43898:44;;43961:5;:10;;;43973:5;:12;;;43953:33;;;;;43715:279;;;;;:::o;45212:319::-;45306:7;45345:17;;;:12;;;:17;;;;;;45396:12;45381:13;45373:36;;;;-1:-1:-1;;;45373:36:0;;;;;;;;:::i;:::-;-1:-1:-1;45463:3:0;45476:12;45487:1;45476:8;:12;:::i;:::-;45463:26;;;;;;-1:-1:-1;;;45463:26:0;;;;;;;;;;;;;;;;;;;:33;;;45456:40;;;45212:319;;;;;:::o;65198:604::-;65319:4;65346:15;:2;-1:-1:-1;;;;;65346:13:0;;:15::i;:::-;65341:60;;-1:-1:-1;65385:4:0;65378:11;;65341:60;65411:23;65437:252;-1:-1:-1;;;65550:12:0;:10;:12::i;:::-;65577:4;65596:7;65618:5;65453:181;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;65453:181:0;;;;;;;-1:-1:-1;;;;;65453:181:0;;;;;;;;;;;65437:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;65437:15:0;;;:252;:15;:252::i;:::-;65411:278;;65700:13;65727:10;65716:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;65767:26:0;-1:-1:-1;;;65767:26:0;;-1:-1:-1;;;65198:604:0;;;;;;:::o;43030:125::-;43101:4;43125:17;;;:12;;;;;:17;;;;;;:22;;;43030:125::o;31233:1544::-;31299:4;31438:19;;;:12;;;:19;;;;;;31474:15;;31470:1300;;31836:21;31860:14;31873:1;31860:10;:14;:::i;:::-;31909:18;;31836:38;;-1:-1:-1;31889:17:0;;31909:22;;31930:1;;31909:22;:::i;:::-;31889:42;;32176:17;32196:3;:11;;32208:9;32196:22;;;;;;-1:-1:-1;;;32196:22:0;;;;;;;;;;;;;;;;;32176:42;;32342:9;32313:3;:11;;32325:13;32313:26;;;;;;-1:-1:-1;;;32313:26:0;;;;;;;;;;;;;;;;;;:38;32445:17;:13;32461:1;32445:17;:::i;:::-;32419:23;;;;:12;;;:23;;;;;:43;32571:17;;32419:3;;32571:17;;;-1:-1:-1;;;32571:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;32666:3;:12;;:19;32679:5;32666:19;;;;;;;;;;;32659:26;;;32709:4;32702:11;;;;;;;;31470:1300;32753:5;32746:12;;;;;30643:414;30706:4;30728:21;30738:3;30743:5;30728:9;:21::i;:::-;30723:327;;-1:-1:-1;30766:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;30949:18;;30927:19;;;:12;;;:19;;;;;;:40;;;;30982:11;;30723:327;-1:-1:-1;31033:5:0;31026:12;;40530:692;40606:4;40741:17;;;:12;;;:17;;;;;;40775:13;40771:444;;-1:-1:-1;;40860:38:0;;;;;;;;;;;;;;;;;;40842:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;41057:19;;41037:17;;;:12;;;:17;;;;;;;:39;41091:11;;40771:444;41171:5;41135:3;41148:12;41159:1;41148:8;:12;:::i;:::-;41135:26;;;;;;-1:-1:-1;;;41135:26:0;;;;;;;;;;;;;;;;;;;:33;;:41;;;;41198:5;41191:12;;;;;21693:422;22060:20;22099:8;;;21693:422::o;24611:195::-;24714:12;24746:52;24768:6;24776:4;24782:1;24785:12;24714;25915:18;25926:6;25915:10;:18::i;:::-;25907:60;;;;-1:-1:-1;;;25907:60:0;;;;;;;:::i;:::-;26041:12;26055:23;26082:6;-1:-1:-1;;;;;26082:11:0;26102:5;26110:4;26082:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26040:75;;;;26133:52;26151:7;26160:10;26172:12;26133:17;:52::i;:::-;26126:59;25663:530;-1:-1:-1;;;;;;;25663:530:0:o;28203:742::-;28318:12;28347:7;28343:595;;;-1:-1:-1;28378:10:0;28371:17;;28343:595;28492:17;;:21;28488:439;;28755:10;28749:17;28816:15;28803:10;28799:2;28795:19;28788:44;28703:148;28898:12;28891:20;;-1:-1:-1;;;28891:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:607:1;;110:18;151:2;143:6;140:14;137:2;;;157:18;;:::i;:::-;206:2;200:9;279:2;256:17;;-1:-1:-1;;252:31:1;240:44;;286:4;236:55;306:18;;;326:22;;;303:46;300:2;;;352:18;;:::i;:::-;388:2;381:22;436;;;421:6;-1:-1:-1;421:6:1;473:16;;;470:25;-1:-1:-1;467:2:1;;;508:1;505;498:12;467:2;558:6;553:3;546:4;538:6;534:17;521:44;613:1;606:4;597:6;589;585:19;581:30;574:41;;;90:531;;;;;:::o;626:175::-;696:20;;-1:-1:-1;;;;;745:31:1;;735:42;;725:2;;791:1;788;781:12;806:400;;;939:3;932:4;924:6;920:17;916:27;906:2;;962:6;954;947:22;906:2;-1:-1:-1;990:20:1;;1033:18;1022:30;;1019:2;;;1072:8;1062;1055:26;1019:2;1116:4;1108:6;1104:17;1092:29;;1179:3;1172:4;1164;1156:6;1152:17;1144:6;1140:30;1136:41;1133:50;1130:2;;;1196:1;1193;1186:12;1211:198;;1323:2;1311:9;1302:7;1298:23;1294:32;1291:2;;;1344:6;1336;1329:22;1291:2;1372:31;1393:9;1372:31;:::i;1414:274::-;;;1543:2;1531:9;1522:7;1518:23;1514:32;1511:2;;;1564:6;1556;1549:22;1511:2;1592:31;1613:9;1592:31;:::i;:::-;1582:41;;1642:40;1678:2;1667:9;1663:18;1642:40;:::i;:::-;1632:50;;1501:187;;;;;:::o;1693:342::-;;;;1839:2;1827:9;1818:7;1814:23;1810:32;1807:2;;;1860:6;1852;1845:22;1807:2;1888:31;1909:9;1888:31;:::i;:::-;1878:41;;1938:40;1974:2;1963:9;1959:18;1938:40;:::i;:::-;1928:50;;2025:2;2014:9;2010:18;1997:32;1987:42;;1797:238;;;;;:::o;2040:702::-;;;;;2212:3;2200:9;2191:7;2187:23;2183:33;2180:2;;;2234:6;2226;2219:22;2180:2;2262:31;2283:9;2262:31;:::i;:::-;2252:41;;2312:40;2348:2;2337:9;2333:18;2312:40;:::i;:::-;2302:50;;2399:2;2388:9;2384:18;2371:32;2361:42;;2454:2;2443:9;2439:18;2426:32;2481:18;2473:6;2470:30;2467:2;;;2518:6;2510;2503:22;2467:2;2546:22;;2599:4;2591:13;;2587:27;-1:-1:-1;2577:2:1;;2633:6;2625;2618:22;2577:2;2661:75;2728:7;2723:2;2710:16;2705:2;2701;2697:11;2661:75;:::i;:::-;2651:85;;;2170:572;;;;;;;:::o;2747:329::-;;;2873:2;2861:9;2852:7;2848:23;2844:32;2841:2;;;2894:6;2886;2879:22;2841:2;2922:31;2943:9;2922:31;:::i;:::-;2912:41;;3003:2;2992:9;2988:18;2975:32;3016:30;3040:5;3016:30;:::i;:::-;3065:5;3055:15;;;2831:245;;;;;:::o;3081:266::-;;;3210:2;3198:9;3189:7;3185:23;3181:32;3178:2;;;3231:6;3223;3216:22;3178:2;3259:31;3280:9;3259:31;:::i;:::-;3249:41;3337:2;3322:18;;;;3309:32;;-1:-1:-1;;;3168:179:1:o;3352:812::-;;;;;3548:2;3536:9;3527:7;3523:23;3519:32;3516:2;;;3569:6;3561;3554:22;3516:2;3614:9;3601:23;3643:18;3684:2;3676:6;3673:14;3670:2;;;3705:6;3697;3690:22;3670:2;3749:76;3817:7;3808:6;3797:9;3793:22;3749:76;:::i;:::-;3844:8;;-1:-1:-1;3723:102:1;-1:-1:-1;3932:2:1;3917:18;;3904:32;;-1:-1:-1;3948:16:1;;;3945:2;;;3982:6;3974;3967:22;3945:2;;4026:78;4096:7;4085:8;4074:9;4070:24;4026:78;:::i;:::-;3506:658;;;;-1:-1:-1;4123:8:1;-1:-1:-1;;;;3506:658:1:o;4169:253::-;;4278:2;4266:9;4257:7;4253:23;4249:32;4246:2;;;4299:6;4291;4284:22;4246:2;4343:9;4330:23;4362:30;4386:5;4362:30;:::i;4427:257::-;;4547:2;4535:9;4526:7;4522:23;4518:32;4515:2;;;4568:6;4560;4553:22;4515:2;4605:9;4599:16;4624:30;4648:5;4624:30;:::i;4689:257::-;;4800:2;4788:9;4779:7;4775:23;4771:32;4768:2;;;4821:6;4813;4806:22;4768:2;4865:9;4852:23;4884:32;4910:5;4884:32;:::i;4951:261::-;;5073:2;5061:9;5052:7;5048:23;5044:32;5041:2;;;5094:6;5086;5079:22;5041:2;5131:9;5125:16;5150:32;5176:5;5150:32;:::i;5217:482::-;;5339:2;5327:9;5318:7;5314:23;5310:32;5307:2;;;5360:6;5352;5345:22;5307:2;5405:9;5392:23;5438:18;5430:6;5427:30;5424:2;;;5475:6;5467;5460:22;5424:2;5503:22;;5556:4;5548:13;;5544:27;-1:-1:-1;5534:2:1;;5590:6;5582;5575:22;5534:2;5618:75;5685:7;5680:2;5667:16;5662:2;5658;5654:11;5618:75;:::i;5704:190::-;;5816:2;5804:9;5795:7;5791:23;5787:32;5784:2;;;5837:6;5829;5822:22;5784:2;-1:-1:-1;5865:23:1;;5774:120;-1:-1:-1;5774:120:1:o;5899:194::-;;6022:2;6010:9;6001:7;5997:23;5993:32;5990:2;;;6043:6;6035;6028:22;5990:2;-1:-1:-1;6071:16:1;;5980:113;-1:-1:-1;5980:113:1:o;6098:259::-;;6179:5;6173:12;6206:6;6201:3;6194:19;6222:63;6278:6;6271:4;6266:3;6262:14;6255:4;6248:5;6244:16;6222:63;:::i;:::-;6339:2;6318:15;-1:-1:-1;;6314:29:1;6305:39;;;;6346:4;6301:50;;6149:208;-1:-1:-1;;6149:208:1:o;6362:274::-;;6529:6;6523:13;6545:53;6591:6;6586:3;6579:4;6571:6;6567:17;6545:53;:::i;:::-;6614:16;;;;;6499:137;-1:-1:-1;;6499:137:1:o;6641:470::-;;6858:6;6852:13;6874:53;6920:6;6915:3;6908:4;6900:6;6896:17;6874:53;:::i;:::-;6990:13;;6949:16;;;;7012:57;6990:13;6949:16;7046:4;7034:17;;7012:57;:::i;:::-;7085:20;;6828:283;-1:-1:-1;;;;6828:283:1:o;7116:203::-;-1:-1:-1;;;;;7280:32:1;;;;7262:51;;7250:2;7235:18;;7217:102::o;7324:506::-;-1:-1:-1;;;;;7609:15:1;;;7591:34;;7661:15;;7656:2;7641:18;;7634:43;7708:2;7693:18;;7686:34;;;7756:3;7751:2;7736:18;;7729:31;;;7324:506;;7777:47;;7804:19;;7796:6;7777:47;:::i;:::-;7769:55;7543:287;-1:-1:-1;;;;;;7543:287:1:o;7835:282::-;-1:-1:-1;;;;;8035:32:1;;;;8017:51;;8099:2;8084:18;;8077:34;8005:2;7990:18;;7972:145::o;8688:187::-;8853:14;;8846:22;8828:41;;8816:2;8801:18;;8783:92::o;8880:221::-;;9029:2;9018:9;9011:21;9049:46;9091:2;9080:9;9076:18;9068:6;9049:46;:::i;9106:398::-;9308:2;9290:21;;;9347:2;9327:18;;;9320:30;9386:34;9381:2;9366:18;;9359:62;-1:-1:-1;;;9452:2:1;9437:18;;9430:32;9494:3;9479:19;;9280:224::o;9509:414::-;9711:2;9693:21;;;9750:2;9730:18;;;9723:30;9789:34;9784:2;9769:18;;9762:62;-1:-1:-1;;;9855:2:1;9840:18;;9833:48;9913:3;9898:19;;9683:240::o;9928:402::-;10130:2;10112:21;;;10169:2;10149:18;;;10142:30;10208:34;10203:2;10188:18;;10181:62;-1:-1:-1;;;10274:2:1;10259:18;;10252:36;10320:3;10305:19;;10102:228::o;10335:352::-;10537:2;10519:21;;;10576:2;10556:18;;;10549:30;10615;10610:2;10595:18;;10588:58;10678:2;10663:18;;10509:178::o;10692:351::-;10894:2;10876:21;;;10933:2;10913:18;;;10906:30;10972:29;10967:2;10952:18;;10945:57;11034:2;11019:18;;10866:177::o;11048:400::-;11250:2;11232:21;;;11289:2;11269:18;;;11262:30;11328:34;11323:2;11308:18;;11301:62;-1:-1:-1;;;11394:2:1;11379:18;;11372:34;11438:3;11423:19;;11222:226::o;11453:349::-;11655:2;11637:21;;;11694:2;11674:18;;;11667:30;11733:27;11728:2;11713:18;;11706:55;11793:2;11778:18;;11627:175::o;11807:354::-;12009:2;11991:21;;;12048:2;12028:18;;;12021:30;12087:32;12082:2;12067:18;;12060:60;12152:2;12137:18;;11981:180::o;12573:408::-;12775:2;12757:21;;;12814:2;12794:18;;;12787:30;12853:34;12848:2;12833:18;;12826:62;-1:-1:-1;;;12919:2:1;12904:18;;12897:42;12971:3;12956:19;;12747:234::o;12986:350::-;13188:2;13170:21;;;13227:2;13207:18;;;13200:30;13266:28;13261:2;13246:18;;13239:56;13327:2;13312:18;;13160:176::o;13341:420::-;13543:2;13525:21;;;13582:2;13562:18;;;13555:30;13621:34;13616:2;13601:18;;13594:62;13692:26;13687:2;13672:18;;13665:54;13751:3;13736:19;;13515:246::o;13766:406::-;13968:2;13950:21;;;14007:2;13987:18;;;13980:30;14046:34;14041:2;14026:18;;14019:62;-1:-1:-1;;;14112:2:1;14097:18;;14090:40;14162:3;14147:19;;13940:232::o;14177:337::-;14379:2;14361:21;;;14418:2;14398:18;;;14391:30;-1:-1:-1;;;14452:2:1;14437:18;;14430:43;14505:2;14490:18;;14351:163::o;14519:398::-;14721:2;14703:21;;;14760:2;14740:18;;;14733:30;14799:34;14794:2;14779:18;;14772:62;-1:-1:-1;;;14865:2:1;14850:18;;14843:32;14907:3;14892:19;;14693:224::o;14922:356::-;15124:2;15106:21;;;15143:18;;;15136:30;15202:34;15197:2;15182:18;;15175:62;15269:2;15254:18;;15096:182::o;15283:397::-;15485:2;15467:21;;;15524:2;15504:18;;;15497:30;15563:34;15558:2;15543:18;;15536:62;-1:-1:-1;;;15629:2:1;15614:18;;15607:31;15670:3;15655:19;;15457:223::o;15685:408::-;15887:2;15869:21;;;15926:2;15906:18;;;15899:30;15965:34;15960:2;15945:18;;15938:62;-1:-1:-1;;;16031:2:1;16016:18;;16009:42;16083:3;16068:19;;15859:234::o;16098:356::-;16300:2;16282:21;;;16319:18;;;16312:30;16378:34;16373:2;16358:18;;16351:62;16445:2;16430:18;;16272:182::o;16459:405::-;16661:2;16643:21;;;16700:2;16680:18;;;16673:30;16739:34;16734:2;16719:18;;16712:62;-1:-1:-1;;;16805:2:1;16790:18;;16783:39;16854:3;16839:19;;16633:231::o;16869:411::-;17071:2;17053:21;;;17110:2;17090:18;;;17083:30;17149:34;17144:2;17129:18;;17122:62;-1:-1:-1;;;17215:2:1;17200:18;;17193:45;17270:3;17255:19;;17043:237::o;17285:397::-;17487:2;17469:21;;;17526:2;17506:18;;;17499:30;17565:34;17560:2;17545:18;;17538:62;-1:-1:-1;;;17631:2:1;17616:18;;17609:31;17672:3;17657:19;;17459:223::o;17687:337::-;17889:2;17871:21;;;17928:2;17908:18;;;17901:30;-1:-1:-1;;;17962:2:1;17947:18;;17940:43;18015:2;18000:18;;17861:163::o;18029:413::-;18231:2;18213:21;;;18270:2;18250:18;;;18243:30;18309:34;18304:2;18289:18;;18282:62;-1:-1:-1;;;18375:2:1;18360:18;;18353:47;18432:3;18417:19;;18203:239::o;18447:353::-;18649:2;18631:21;;;18688:2;18668:18;;;18661:30;18727:31;18722:2;18707:18;;18700:59;18791:2;18776:18;;18621:179::o;18805:355::-;19007:2;18989:21;;;19046:2;19026:18;;;19019:30;19085:33;19080:2;19065:18;;19058:61;19151:2;19136:18;;18979:181::o;19165:177::-;19311:25;;;19299:2;19284:18;;19266:76::o;19347:128::-;;19418:1;19414:6;19411:1;19408:13;19405:2;;;19424:18;;:::i;:::-;-1:-1:-1;19460:9:1;;19395:80::o;19480:204::-;;19554:4;19551:1;19547:12;19586:4;19583:1;19579:12;19621:3;19615:4;19611:14;19606:3;19603:23;19600:2;;;19629:18;;:::i;:::-;19665:13;;19526:158;-1:-1:-1;;;19526:158:1:o;19689:217::-;;19755:1;19745:2;;-1:-1:-1;;;19780:31:1;;19834:4;19831:1;19824:15;19862:4;19787:1;19852:15;19745:2;-1:-1:-1;19891:9:1;;19735:171::o;19911:168::-;;20017:1;20013;20009:6;20005:14;20002:1;19999:21;19994:1;19987:9;19980:17;19976:45;19973:2;;;20024:18;;:::i;:::-;-1:-1:-1;20064:9:1;;19963:116::o;20084:125::-;;20152:1;20149;20146:8;20143:2;;;20157:18;;:::i;:::-;-1:-1:-1;20194:9:1;;20133:76::o;20214:258::-;20286:1;20296:113;20310:6;20307:1;20304:13;20296:113;;;20386:11;;;20380:18;20367:11;;;20360:39;20332:2;20325:10;20296:113;;;20427:6;20424:1;20421:13;20418:2;;;-1:-1:-1;;20462:1:1;20444:16;;20437:27;20267:205::o;20477:380::-;20562:1;20552:12;;20609:1;20599:12;;;20620:2;;20674:4;20666:6;20662:17;20652:27;;20620:2;20727;20719:6;20716:14;20696:18;20693:38;20690:2;;;20773:10;20768:3;20764:20;20761:1;20754:31;20808:4;20805:1;20798:15;20836:4;20833:1;20826:15;20690:2;;20532:325;;;:::o;20862:135::-;;-1:-1:-1;;20922:17:1;;20919:2;;;20942:18;;:::i;:::-;-1:-1:-1;20989:1:1;20978:13;;20909:88::o;21002:127::-;21063:10;21058:3;21054:20;21051:1;21044:31;21094:4;21091:1;21084:15;21118:4;21115:1;21108:15;21134:127;21195:10;21190:3;21186:20;21183:1;21176:31;21226:4;21223:1;21216:15;21250:4;21247:1;21240:15;21266:120;21354:5;21347:13;21340:21;21333:5;21330:32;21320:2;;21376:1;21373;21366:12;21391:133;-1:-1:-1;;;;;;21467:32:1;;21457:43;;21447:2;;21514:1;21511;21504:12
Swarm Source
ipfs://e2a1a20a7ec6b19b3ff3ba8f4157cd5464a39dfccde248e6075287e8dffe4532