Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
777 Kabosu Inu
Holders
189
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 Kabosu InuLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
kabosu
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-25 */ // SPDX-License-Identifier: MIT pragma solidity = 0.8.16; /* * @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) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @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); } /** * @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; } /** * @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); } /** * @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); } /** * @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); } /** * @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 () { // 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; } } /** * @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; } } /** * @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 Solipragma solidity >=0.6.0 <0.8.0;dity 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); } } } } /** * @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)); } } /** * @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)))); } } /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } /** * @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_) { _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 { } } /** * @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 () { 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; } } 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; } /**voucherPresaleNfts * @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; } modifier isHuman() { require(tx.origin == msg.sender, "sorry humans only"); _; } } /** * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract kabosu is ERC721, Ownable, ReentrancyGuard { using SafeMath for uint256; uint256 public nftPrice = .075 ether; uint public maxNftPurchase = 10; uint public maxNftWallet = 10; uint256 public maxNfts; bool public saleIsActive = false; mapping (address => bool) private _isWhitelisted; mapping (address => bool) private _isTokenAdmin; constructor() ERC721("Kabosu Inu", "Kabosu Inu") { maxNfts = 777; } modifier OnlyTokenAdmin() { require(_isTokenAdmin[_msgSender()] || _msgSender() == owner(), "Sorry: You are not a Token Admin"); _; } function setNftPrice(uint256 price) external onlyOwner { nftPrice = price; } function setMax(uint256 qty) external onlyOwner { maxNfts = qty; } function setMaxPurchase(uint256 amount) external onlyOwner { maxNftPurchase = amount; } function setMaxWallet(uint256 amount) external onlyOwner { maxNftWallet = amount; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(owner()).transfer(balance); } function setTokenAdmin(address account, bool enabled) public onlyOwner { _isTokenAdmin[account] = enabled; } function reserveNfts(uint256 _count) public onlyOwner { uint supply = totalSupply(); for (uint i = 1; i <= _count; i++) { _safeMint(msg.sender, supply + i); } } function setBaseURI(string memory baseURI) public onlyOwner { _setBaseURI(baseURI); } function flipSaleState() public OnlyTokenAdmin { saleIsActive = !saleIsActive; } function addToWhitelist(address[] calldata addresses) external OnlyTokenAdmin { for (uint256 i = 0; i < addresses.length; i++) { _isWhitelisted[addresses[i]] = true; } } function removeFromWhitelist(address[] calldata addresses) external OnlyTokenAdmin { for (uint256 i = 0; i < addresses.length; i++) { _isWhitelisted[addresses[i]] = false; } } function isWhiteListed(address account) public view returns (bool) { return _isWhitelisted[account]; } function isTokenAdmin(address account) public view returns (bool) { return _isTokenAdmin[account] || _msgSender() == owner(); } receive() external payable { } function mint(uint numberOfTokens) isHuman nonReentrant external payable { require(saleIsActive || _isWhitelisted[_msgSender()], "Sale must be active or you must be whitelisted to mint"); require(balanceOf(_msgSender()).add(numberOfTokens) <= maxNftWallet, "Can only mint 10 per wallet"); require(numberOfTokens <= maxNftPurchase, "Can only mint 10 at a time"); require(totalSupply().add(numberOfTokens) <= maxNfts, "Purchase would exceed max supply"); require(nftPrice.mul(numberOfTokens) <= msg.value, "Ether value sent is not correct"); for(uint i = 0; i < numberOfTokens; i++) { uint mintIndex = totalSupply() + 1; if (totalSupply() < maxNfts) { _safeMint(msg.sender, mintIndex); } } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"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":"account","type":"address"}],"name":"isTokenAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isWhiteListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNftPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNftWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNfts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"reserveNfts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"setMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxPurchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setNftPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setTokenAdmin","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405267010a741a46278000600c55600a600d819055600e556010805460ff191690553480156200003157600080fd5b50604080518082018252600a808252694b61626f737520496e7560b01b602080840182905284518086019095529184529083015290620000786301ffc9a760e01b62000122565b60066200008683826200024b565b5060076200009582826200024b565b50620000a86380ac58cd60e01b62000122565b620000ba635b5e139f60e01b62000122565b620000cc63780e9d6360e01b62000122565b5050600a80546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600b55610309600f5562000317565b6001600160e01b03198082169003620001815760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015260640160405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001d157607f821691505b602082108103620001f257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200024657600081815260208120601f850160051c81016020861015620002215750805b601f850160051c820191505b8181101562000242578281556001016200022d565b5050505b505050565b81516001600160401b03811115620002675762000267620001a6565b6200027f81620002788454620001bc565b84620001f8565b602080601f831160018114620002b757600084156200029e5750858301515b600019600386901b1c1916600185901b17855562000242565b600085815260208120601f198616915b82811015620002e857888601518255948401946001909101908401620002c7565b5085821015620003075787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6129eb80620003276000396000f3fe6080604052600436106102345760003560e01c80636352211e1161012e57806395d89b41116100ab578063bde708f41161006f578063bde708f414610683578063c87b56dd14610699578063e985e9c5146106b9578063eb8d244414610702578063f2fde38b1461071c57600080fd5b806395d89b41146105fb578063a0712d6814610610578063a22cb46514610623578063a2bdde3d14610643578063b88d4fde1461066357600080fd5b8063715018a6116100f2578063715018a6146105725780637d9a7a4c146105875780637f649783146105a75780638da5cb5b146105c757806393f344c1146105e557600080fd5b80636352211e146104c45780636c0360eb146104e45780636f9170f6146104f957806370a0823114610532578063711897421461055257600080fd5b80632f745c59116101bc57806342842e0e1161018057806342842e0e146104245780634f6ccce714610444578063548db1741461046457806355f804b3146104845780635d0044ca146104a457600080fd5b80632f745c59146103a457806334918dfd146103c45780633492d7a7146103d95780633789f8d1146103ef5780633ccfd60b1461040f57600080fd5b80630d39fc81116102035780630d39fc811461030b57806318160ddd1461032f5780631b7cfa09146103445780631fe9eabc1461036457806323b872dd1461038457600080fd5b806301ffc9a71461024057806306fdde031461028f578063081812fc146102b1578063095ea7b3146102e957600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b5061027a61025b366004612217565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561029b57600080fd5b506102a461073c565b6040516102869190612284565b3480156102bd57600080fd5b506102d16102cc366004612297565b6107ce565b6040516001600160a01b039091168152602001610286565b3480156102f557600080fd5b506103096103043660046122cc565b61085b565b005b34801561031757600080fd5b50610321600c5481565b604051908152602001610286565b34801561033b57600080fd5b50610321610970565b34801561035057600080fd5b5061030961035f366004612297565b610981565b34801561037057600080fd5b5061030961037f366004612297565b6109e6565b34801561039057600080fd5b5061030961039f3660046122f6565b610a15565b3480156103b057600080fd5b506103216103bf3660046122cc565b610a46565b3480156103d057600080fd5b50610309610a71565b3480156103e557600080fd5b50610321600e5481565b3480156103fb57600080fd5b5061030961040a366004612332565b610ac9565b34801561041b57600080fd5b50610309610b1e565b34801561043057600080fd5b5061030961043f3660046122f6565b610b97565b34801561045057600080fd5b5061032161045f366004612297565b610bb2565b34801561047057600080fd5b5061030961047f36600461236e565b610bc8565b34801561049057600080fd5b5061030961049f36600461246f565b610c7e565b3480156104b057600080fd5b506103096104bf366004612297565b610cb4565b3480156104d057600080fd5b506102d16104df366004612297565b610ce3565b3480156104f057600080fd5b506102a4610d0b565b34801561050557600080fd5b5061027a6105143660046124b8565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561053e57600080fd5b5061032161054d3660046124b8565b610d1a565b34801561055e57600080fd5b5061030961056d366004612297565b610da6565b34801561057e57600080fd5b50610309610dd5565b34801561059357600080fd5b506103096105a2366004612297565b610e49565b3480156105b357600080fd5b506103096105c236600461236e565b610e78565b3480156105d357600080fd5b50600a546001600160a01b03166102d1565b3480156105f157600080fd5b50610321600f5481565b34801561060757600080fd5b506102a4610f2e565b61030961061e366004612297565b610f3d565b34801561062f57600080fd5b5061030961063e366004612332565b61122b565b34801561064f57600080fd5b5061027a61065e3660046124b8565b6112ef565b34801561066f57600080fd5b5061030961067e3660046124d3565b611325565b34801561068f57600080fd5b50610321600d5481565b3480156106a557600080fd5b506102a46106b4366004612297565b61135d565b3480156106c557600080fd5b5061027a6106d436600461254f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561070e57600080fd5b5060105461027a9060ff1681565b34801561072857600080fd5b506103096107373660046124b8565b6114ce565b60606006805461074b90612582565b80601f016020809104026020016040519081016040528092919081815260200182805461077790612582565b80156107c45780601f10610799576101008083540402835291602001916107c4565b820191906000526020600020905b8154815290600101906020018083116107a757829003601f168201915b5050505050905090565b60006107d9826115b9565b61083f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061086682610ce3565b9050806001600160a01b0316836001600160a01b0316036108d35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610836565b336001600160a01b03821614806108ef57506108ef81336106d4565b6109615760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610836565b61096b83836115c6565b505050565b600061097c6002611634565b905090565b600a546001600160a01b031633146109ab5760405162461bcd60e51b8152600401610836906125bc565b60006109b5610970565b905060015b82811161096b576109d4336109cf8385612607565b61163e565b806109de8161261a565b9150506109ba565b600a546001600160a01b03163314610a105760405162461bcd60e51b8152600401610836906125bc565b600f55565b610a1f3382611658565b610a3b5760405162461bcd60e51b815260040161083690612633565b61096b838383611742565b6001600160a01b0382166000908152600160205260408120610a6890836118c3565b90505b92915050565b3360009081526012602052604090205460ff1680610a995750600a546001600160a01b031633145b610ab55760405162461bcd60e51b815260040161083690612684565b6010805460ff19811660ff90911615179055565b600a546001600160a01b03163314610af35760405162461bcd60e51b8152600401610836906125bc565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b600a546001600160a01b03163314610b485760405162461bcd60e51b8152600401610836906125bc565b47610b5b600a546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015610b93573d6000803e3d6000fd5b5050565b61096b83838360405180602001604052806000815250611325565b600080610bc06002846118cf565b509392505050565b3360009081526012602052604090205460ff1680610bf05750600a546001600160a01b031633145b610c0c5760405162461bcd60e51b815260040161083690612684565b60005b8181101561096b57600060116000858585818110610c2f57610c2f6126b9565b9050602002016020810190610c4491906124b8565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c768161261a565b915050610c0f565b600a546001600160a01b03163314610ca85760405162461bcd60e51b8152600401610836906125bc565b610cb1816118eb565b50565b600a546001600160a01b03163314610cde5760405162461bcd60e51b8152600401610836906125bc565b600e55565b6000610a6b8260405180606001604052806029815260200161298d60299139600291906118f7565b60606009805461074b90612582565b60006001600160a01b038216610d855760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610836565b6001600160a01b0382166000908152600160205260409020610a6b90611634565b600a546001600160a01b03163314610dd05760405162461bcd60e51b8152600401610836906125bc565b600d55565b600a546001600160a01b03163314610dff5760405162461bcd60e51b8152600401610836906125bc565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600a546001600160a01b03163314610e735760405162461bcd60e51b8152600401610836906125bc565b600c55565b3360009081526012602052604090205460ff1680610ea05750600a546001600160a01b031633145b610ebc5760405162461bcd60e51b815260040161083690612684565b60005b8181101561096b57600160116000858585818110610edf57610edf6126b9565b9050602002016020810190610ef491906124b8565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610f268161261a565b915050610ebf565b60606007805461074b90612582565b323314610f805760405162461bcd60e51b8152602060048201526011602482015270736f7272792068756d616e73206f6e6c7960781b6044820152606401610836565b6002600b5403610fd25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610836565b6002600b5560105460ff1680610ff757503360009081526011602052604090205460ff165b6110625760405162461bcd60e51b815260206004820152603660248201527f53616c65206d75737420626520616374697665206f7220796f75206d757374206044820152751899481dda1a5d195b1a5cdd1959081d1bc81b5a5b9d60521b6064820152608401610836565b600e546110788261107233610d1a565b9061190e565b11156110c65760405162461bcd60e51b815260206004820152601b60248201527f43616e206f6e6c79206d696e74203130207065722077616c6c657400000000006044820152606401610836565b600d548111156111185760405162461bcd60e51b815260206004820152601a60248201527f43616e206f6e6c79206d696e7420313020617420612074696d650000000000006044820152606401610836565b600f5461112782611072610970565b11156111755760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c796044820152606401610836565b600c543490611184908361196d565b11156111d25760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610836565b60005b818110156112225760006111e7610970565b6111f2906001612607565b9050600f546111ff610970565b101561120f5761120f338261163e565b508061121a8161261a565b9150506111d5565b50506001600b55565b336001600160a01b038316036112835760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610836565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6001600160a01b03811660009081526012602052604081205460ff1680610a6b575050600a546001600160a01b03163314919050565b61132f3383611658565b61134b5760405162461bcd60e51b815260040161083690612633565b611357848484846119ef565b50505050565b6060611368826115b9565b6113cc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610836565b600082815260086020526040812080546113e590612582565b80601f016020809104026020016040519081016040528092919081815260200182805461141190612582565b801561145e5780601f106114335761010080835404028352916020019161145e565b820191906000526020600020905b81548152906001019060200180831161144157829003601f168201915b50505050509050600061146f610d0b565b90508051600003611481575092915050565b8151156114b357808260405160200161149b9291906126cf565b60405160208183030381529060405292505050919050565b806114bd85611a22565b60405160200161149b9291906126cf565b600a546001600160a01b031633146114f85760405162461bcd60e51b8152600401610836906125bc565b6001600160a01b03811661155d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610836565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610a6b600283611b23565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115fb82610ce3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610a6b825490565b610b93828260405180602001604052806000815250611b3b565b6000611663826115b9565b6116c45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610836565b60006116cf83610ce3565b9050806001600160a01b0316846001600160a01b0316148061170a5750836001600160a01b03166116ff846107ce565b6001600160a01b0316145b8061173a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661175582610ce3565b6001600160a01b0316146117bd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610836565b6001600160a01b03821661181f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610836565b61182a6000826115c6565b6001600160a01b038316600090815260016020526040902061184c9082611b6e565b506001600160a01b038216600090815260016020526040902061186f9082611b7a565b5061187c60028284611b86565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610a688383611b9c565b60008080806118de8686611c22565b9097909650945050505050565b6009610b93828261274c565b6000611904848484611cbf565b90505b9392505050565b60008061191b8385612607565b905083811015610a685760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610836565b60008260000361197f57506000610a6b565b600061198b838561280c565b9050826119988583612841565b14610a685760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610836565b6119fa848484611742565b611a0684848484611d28565b6113575760405162461bcd60e51b815260040161083690612855565b606081600003611a495750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a735780611a5d8161261a565b9150611a6c9050600a83612841565b9150611a4d565b60008167ffffffffffffffff811115611a8e57611a8e6123e3565b6040519080825280601f01601f191660200182016040528015611ab8576020820181803683370190505b5090505b841561173a57611acd6001836128a7565b9150611ada600a866128ba565b611ae5906030612607565b60f81b818381518110611afa57611afa6126b9565b60200101906001600160f81b031916908160001a905350611b1c600a86612841565b9450611abc565b60008181526001830160205260408120541515610a68565b611b458383611df9565b611b526000848484611d28565b61096b5760405162461bcd60e51b815260040161083690612855565b6000610a688383611f11565b6000610a688383612004565b600061190484846001600160a01b038516612053565b81546000908210611bfa5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610836565b826000018281548110611c0f57611c0f6126b9565b9060005260206000200154905092915050565b815460009081908310611c825760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610836565b6000846000018481548110611c9957611c996126b9565b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611cef5760405162461bcd60e51b81526004016108369190612284565b5084611cfc6001836128a7565b81548110611d0c57611d0c6126b9565b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b611d415750600161173a565b6000611dc2630a85bd0160e11b33888787604051602401611d6594939291906128ce565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161295b603291396001600160a01b03881691906120f6565b9050600081806020019051810190611dda919061290b565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6001600160a01b038216611e4f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610836565b611e58816115b9565b15611ea55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610836565b6001600160a01b0382166000908152600160205260409020611ec79082611b7a565b50611ed460028284611b86565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008181526001830160205260408120548015611ffa576000611f356001836128a7565b8554909150600090611f49906001906128a7565b90506000866000018281548110611f6257611f626126b9565b9060005260206000200154905080876000018481548110611f8557611f856126b9565b600091825260209091200155611f9c836001612607565b60008281526001890160205260409020558654879080611fbe57611fbe612928565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a6b565b6000915050610a6b565b600081815260018301602052604081205461204b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a6b565b506000610a6b565b60008281526001840160205260408120548082036120ba575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611907565b82856120c76001846128a7565b815481106120d7576120d76126b9565b9060005260206000209060020201600101819055506000915050611907565b6060611904848460008585843b61214f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610836565b600080866001600160a01b0316858760405161216b919061293e565b60006040518083038185875af1925050503d80600081146121a8576040519150601f19603f3d011682016040523d82523d6000602084013e6121ad565b606091505b50915091506121bd8282866121c8565b979650505050505050565b606083156121d7575081611907565b8251156121e75782518084602001fd5b8160405162461bcd60e51b81526004016108369190612284565b6001600160e01b031981168114610cb157600080fd5b60006020828403121561222957600080fd5b8135610a6881612201565b60005b8381101561224f578181015183820152602001612237565b50506000910152565b60008151808452612270816020860160208601612234565b601f01601f19169290920160200192915050565b602081526000610a686020830184612258565b6000602082840312156122a957600080fd5b5035919050565b80356001600160a01b03811681146122c757600080fd5b919050565b600080604083850312156122df57600080fd5b6122e8836122b0565b946020939093013593505050565b60008060006060848603121561230b57600080fd5b612314846122b0565b9250612322602085016122b0565b9150604084013590509250925092565b6000806040838503121561234557600080fd5b61234e836122b0565b91506020830135801515811461236357600080fd5b809150509250929050565b6000806020838503121561238157600080fd5b823567ffffffffffffffff8082111561239957600080fd5b818501915085601f8301126123ad57600080fd5b8135818111156123bc57600080fd5b8660208260051b85010111156123d157600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612414576124146123e3565b604051601f8501601f19908116603f0116810190828211818310171561243c5761243c6123e3565b8160405280935085815286868601111561245557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561248157600080fd5b813567ffffffffffffffff81111561249857600080fd5b8201601f810184136124a957600080fd5b61173a848235602084016123f9565b6000602082840312156124ca57600080fd5b610a68826122b0565b600080600080608085870312156124e957600080fd5b6124f2856122b0565b9350612500602086016122b0565b925060408501359150606085013567ffffffffffffffff81111561252357600080fd5b8501601f8101871361253457600080fd5b612543878235602084016123f9565b91505092959194509250565b6000806040838503121561256257600080fd5b61256b836122b0565b9150612579602084016122b0565b90509250929050565b600181811c9082168061259657607f821691505b6020821081036125b657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a6b57610a6b6125f1565b60006001820161262c5761262c6125f1565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f536f7272793a20596f7520617265206e6f74206120546f6b656e2041646d696e604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600083516126e1818460208801612234565b8351908301906126f5818360208801612234565b01949350505050565b601f82111561096b57600081815260208120601f850160051c810160208610156127255750805b601f850160051c820191505b8181101561274457828155600101612731565b505050505050565b815167ffffffffffffffff811115612766576127666123e3565b61277a816127748454612582565b846126fe565b602080601f8311600181146127af57600084156127975750858301515b600019600386901b1c1916600185901b178555612744565b600085815260208120601f198616915b828110156127de578886015182559484019460019091019084016127bf565b50858210156127fc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000816000190483118215151615612826576128266125f1565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826128505761285061282b565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b81810381811115610a6b57610a6b6125f1565b6000826128c9576128c961282b565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061290190830184612258565b9695505050505050565b60006020828403121561291d57600080fd5b8151610a6881612201565b634e487b7160e01b600052603160045260246000fd5b60008251612950818460208701612234565b919091019291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea264697066735822122064237f6610c173520a7230c51cdf41a2d123931dccf5bc83c39a5661e31b616c64736f6c63430008100033
Deployed Bytecode
0x6080604052600436106102345760003560e01c80636352211e1161012e57806395d89b41116100ab578063bde708f41161006f578063bde708f414610683578063c87b56dd14610699578063e985e9c5146106b9578063eb8d244414610702578063f2fde38b1461071c57600080fd5b806395d89b41146105fb578063a0712d6814610610578063a22cb46514610623578063a2bdde3d14610643578063b88d4fde1461066357600080fd5b8063715018a6116100f2578063715018a6146105725780637d9a7a4c146105875780637f649783146105a75780638da5cb5b146105c757806393f344c1146105e557600080fd5b80636352211e146104c45780636c0360eb146104e45780636f9170f6146104f957806370a0823114610532578063711897421461055257600080fd5b80632f745c59116101bc57806342842e0e1161018057806342842e0e146104245780634f6ccce714610444578063548db1741461046457806355f804b3146104845780635d0044ca146104a457600080fd5b80632f745c59146103a457806334918dfd146103c45780633492d7a7146103d95780633789f8d1146103ef5780633ccfd60b1461040f57600080fd5b80630d39fc81116102035780630d39fc811461030b57806318160ddd1461032f5780631b7cfa09146103445780631fe9eabc1461036457806323b872dd1461038457600080fd5b806301ffc9a71461024057806306fdde031461028f578063081812fc146102b1578063095ea7b3146102e957600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b5061027a61025b366004612217565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561029b57600080fd5b506102a461073c565b6040516102869190612284565b3480156102bd57600080fd5b506102d16102cc366004612297565b6107ce565b6040516001600160a01b039091168152602001610286565b3480156102f557600080fd5b506103096103043660046122cc565b61085b565b005b34801561031757600080fd5b50610321600c5481565b604051908152602001610286565b34801561033b57600080fd5b50610321610970565b34801561035057600080fd5b5061030961035f366004612297565b610981565b34801561037057600080fd5b5061030961037f366004612297565b6109e6565b34801561039057600080fd5b5061030961039f3660046122f6565b610a15565b3480156103b057600080fd5b506103216103bf3660046122cc565b610a46565b3480156103d057600080fd5b50610309610a71565b3480156103e557600080fd5b50610321600e5481565b3480156103fb57600080fd5b5061030961040a366004612332565b610ac9565b34801561041b57600080fd5b50610309610b1e565b34801561043057600080fd5b5061030961043f3660046122f6565b610b97565b34801561045057600080fd5b5061032161045f366004612297565b610bb2565b34801561047057600080fd5b5061030961047f36600461236e565b610bc8565b34801561049057600080fd5b5061030961049f36600461246f565b610c7e565b3480156104b057600080fd5b506103096104bf366004612297565b610cb4565b3480156104d057600080fd5b506102d16104df366004612297565b610ce3565b3480156104f057600080fd5b506102a4610d0b565b34801561050557600080fd5b5061027a6105143660046124b8565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561053e57600080fd5b5061032161054d3660046124b8565b610d1a565b34801561055e57600080fd5b5061030961056d366004612297565b610da6565b34801561057e57600080fd5b50610309610dd5565b34801561059357600080fd5b506103096105a2366004612297565b610e49565b3480156105b357600080fd5b506103096105c236600461236e565b610e78565b3480156105d357600080fd5b50600a546001600160a01b03166102d1565b3480156105f157600080fd5b50610321600f5481565b34801561060757600080fd5b506102a4610f2e565b61030961061e366004612297565b610f3d565b34801561062f57600080fd5b5061030961063e366004612332565b61122b565b34801561064f57600080fd5b5061027a61065e3660046124b8565b6112ef565b34801561066f57600080fd5b5061030961067e3660046124d3565b611325565b34801561068f57600080fd5b50610321600d5481565b3480156106a557600080fd5b506102a46106b4366004612297565b61135d565b3480156106c557600080fd5b5061027a6106d436600461254f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561070e57600080fd5b5060105461027a9060ff1681565b34801561072857600080fd5b506103096107373660046124b8565b6114ce565b60606006805461074b90612582565b80601f016020809104026020016040519081016040528092919081815260200182805461077790612582565b80156107c45780601f10610799576101008083540402835291602001916107c4565b820191906000526020600020905b8154815290600101906020018083116107a757829003601f168201915b5050505050905090565b60006107d9826115b9565b61083f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061086682610ce3565b9050806001600160a01b0316836001600160a01b0316036108d35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610836565b336001600160a01b03821614806108ef57506108ef81336106d4565b6109615760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610836565b61096b83836115c6565b505050565b600061097c6002611634565b905090565b600a546001600160a01b031633146109ab5760405162461bcd60e51b8152600401610836906125bc565b60006109b5610970565b905060015b82811161096b576109d4336109cf8385612607565b61163e565b806109de8161261a565b9150506109ba565b600a546001600160a01b03163314610a105760405162461bcd60e51b8152600401610836906125bc565b600f55565b610a1f3382611658565b610a3b5760405162461bcd60e51b815260040161083690612633565b61096b838383611742565b6001600160a01b0382166000908152600160205260408120610a6890836118c3565b90505b92915050565b3360009081526012602052604090205460ff1680610a995750600a546001600160a01b031633145b610ab55760405162461bcd60e51b815260040161083690612684565b6010805460ff19811660ff90911615179055565b600a546001600160a01b03163314610af35760405162461bcd60e51b8152600401610836906125bc565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b600a546001600160a01b03163314610b485760405162461bcd60e51b8152600401610836906125bc565b47610b5b600a546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015610b93573d6000803e3d6000fd5b5050565b61096b83838360405180602001604052806000815250611325565b600080610bc06002846118cf565b509392505050565b3360009081526012602052604090205460ff1680610bf05750600a546001600160a01b031633145b610c0c5760405162461bcd60e51b815260040161083690612684565b60005b8181101561096b57600060116000858585818110610c2f57610c2f6126b9565b9050602002016020810190610c4491906124b8565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c768161261a565b915050610c0f565b600a546001600160a01b03163314610ca85760405162461bcd60e51b8152600401610836906125bc565b610cb1816118eb565b50565b600a546001600160a01b03163314610cde5760405162461bcd60e51b8152600401610836906125bc565b600e55565b6000610a6b8260405180606001604052806029815260200161298d60299139600291906118f7565b60606009805461074b90612582565b60006001600160a01b038216610d855760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610836565b6001600160a01b0382166000908152600160205260409020610a6b90611634565b600a546001600160a01b03163314610dd05760405162461bcd60e51b8152600401610836906125bc565b600d55565b600a546001600160a01b03163314610dff5760405162461bcd60e51b8152600401610836906125bc565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600a546001600160a01b03163314610e735760405162461bcd60e51b8152600401610836906125bc565b600c55565b3360009081526012602052604090205460ff1680610ea05750600a546001600160a01b031633145b610ebc5760405162461bcd60e51b815260040161083690612684565b60005b8181101561096b57600160116000858585818110610edf57610edf6126b9565b9050602002016020810190610ef491906124b8565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610f268161261a565b915050610ebf565b60606007805461074b90612582565b323314610f805760405162461bcd60e51b8152602060048201526011602482015270736f7272792068756d616e73206f6e6c7960781b6044820152606401610836565b6002600b5403610fd25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610836565b6002600b5560105460ff1680610ff757503360009081526011602052604090205460ff165b6110625760405162461bcd60e51b815260206004820152603660248201527f53616c65206d75737420626520616374697665206f7220796f75206d757374206044820152751899481dda1a5d195b1a5cdd1959081d1bc81b5a5b9d60521b6064820152608401610836565b600e546110788261107233610d1a565b9061190e565b11156110c65760405162461bcd60e51b815260206004820152601b60248201527f43616e206f6e6c79206d696e74203130207065722077616c6c657400000000006044820152606401610836565b600d548111156111185760405162461bcd60e51b815260206004820152601a60248201527f43616e206f6e6c79206d696e7420313020617420612074696d650000000000006044820152606401610836565b600f5461112782611072610970565b11156111755760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c796044820152606401610836565b600c543490611184908361196d565b11156111d25760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610836565b60005b818110156112225760006111e7610970565b6111f2906001612607565b9050600f546111ff610970565b101561120f5761120f338261163e565b508061121a8161261a565b9150506111d5565b50506001600b55565b336001600160a01b038316036112835760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610836565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6001600160a01b03811660009081526012602052604081205460ff1680610a6b575050600a546001600160a01b03163314919050565b61132f3383611658565b61134b5760405162461bcd60e51b815260040161083690612633565b611357848484846119ef565b50505050565b6060611368826115b9565b6113cc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610836565b600082815260086020526040812080546113e590612582565b80601f016020809104026020016040519081016040528092919081815260200182805461141190612582565b801561145e5780601f106114335761010080835404028352916020019161145e565b820191906000526020600020905b81548152906001019060200180831161144157829003601f168201915b50505050509050600061146f610d0b565b90508051600003611481575092915050565b8151156114b357808260405160200161149b9291906126cf565b60405160208183030381529060405292505050919050565b806114bd85611a22565b60405160200161149b9291906126cf565b600a546001600160a01b031633146114f85760405162461bcd60e51b8152600401610836906125bc565b6001600160a01b03811661155d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610836565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610a6b600283611b23565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115fb82610ce3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610a6b825490565b610b93828260405180602001604052806000815250611b3b565b6000611663826115b9565b6116c45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610836565b60006116cf83610ce3565b9050806001600160a01b0316846001600160a01b0316148061170a5750836001600160a01b03166116ff846107ce565b6001600160a01b0316145b8061173a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661175582610ce3565b6001600160a01b0316146117bd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610836565b6001600160a01b03821661181f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610836565b61182a6000826115c6565b6001600160a01b038316600090815260016020526040902061184c9082611b6e565b506001600160a01b038216600090815260016020526040902061186f9082611b7a565b5061187c60028284611b86565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610a688383611b9c565b60008080806118de8686611c22565b9097909650945050505050565b6009610b93828261274c565b6000611904848484611cbf565b90505b9392505050565b60008061191b8385612607565b905083811015610a685760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610836565b60008260000361197f57506000610a6b565b600061198b838561280c565b9050826119988583612841565b14610a685760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610836565b6119fa848484611742565b611a0684848484611d28565b6113575760405162461bcd60e51b815260040161083690612855565b606081600003611a495750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a735780611a5d8161261a565b9150611a6c9050600a83612841565b9150611a4d565b60008167ffffffffffffffff811115611a8e57611a8e6123e3565b6040519080825280601f01601f191660200182016040528015611ab8576020820181803683370190505b5090505b841561173a57611acd6001836128a7565b9150611ada600a866128ba565b611ae5906030612607565b60f81b818381518110611afa57611afa6126b9565b60200101906001600160f81b031916908160001a905350611b1c600a86612841565b9450611abc565b60008181526001830160205260408120541515610a68565b611b458383611df9565b611b526000848484611d28565b61096b5760405162461bcd60e51b815260040161083690612855565b6000610a688383611f11565b6000610a688383612004565b600061190484846001600160a01b038516612053565b81546000908210611bfa5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610836565b826000018281548110611c0f57611c0f6126b9565b9060005260206000200154905092915050565b815460009081908310611c825760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610836565b6000846000018481548110611c9957611c996126b9565b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611cef5760405162461bcd60e51b81526004016108369190612284565b5084611cfc6001836128a7565b81548110611d0c57611d0c6126b9565b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b611d415750600161173a565b6000611dc2630a85bd0160e11b33888787604051602401611d6594939291906128ce565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161295b603291396001600160a01b03881691906120f6565b9050600081806020019051810190611dda919061290b565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6001600160a01b038216611e4f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610836565b611e58816115b9565b15611ea55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610836565b6001600160a01b0382166000908152600160205260409020611ec79082611b7a565b50611ed460028284611b86565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008181526001830160205260408120548015611ffa576000611f356001836128a7565b8554909150600090611f49906001906128a7565b90506000866000018281548110611f6257611f626126b9565b9060005260206000200154905080876000018481548110611f8557611f856126b9565b600091825260209091200155611f9c836001612607565b60008281526001890160205260409020558654879080611fbe57611fbe612928565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a6b565b6000915050610a6b565b600081815260018301602052604081205461204b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a6b565b506000610a6b565b60008281526001840160205260408120548082036120ba575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611907565b82856120c76001846128a7565b815481106120d7576120d76126b9565b9060005260206000209060020201600101819055506000915050611907565b6060611904848460008585843b61214f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610836565b600080866001600160a01b0316858760405161216b919061293e565b60006040518083038185875af1925050503d80600081146121a8576040519150601f19603f3d011682016040523d82523d6000602084013e6121ad565b606091505b50915091506121bd8282866121c8565b979650505050505050565b606083156121d7575081611907565b8251156121e75782518084602001fd5b8160405162461bcd60e51b81526004016108369190612284565b6001600160e01b031981168114610cb157600080fd5b60006020828403121561222957600080fd5b8135610a6881612201565b60005b8381101561224f578181015183820152602001612237565b50506000910152565b60008151808452612270816020860160208601612234565b601f01601f19169290920160200192915050565b602081526000610a686020830184612258565b6000602082840312156122a957600080fd5b5035919050565b80356001600160a01b03811681146122c757600080fd5b919050565b600080604083850312156122df57600080fd5b6122e8836122b0565b946020939093013593505050565b60008060006060848603121561230b57600080fd5b612314846122b0565b9250612322602085016122b0565b9150604084013590509250925092565b6000806040838503121561234557600080fd5b61234e836122b0565b91506020830135801515811461236357600080fd5b809150509250929050565b6000806020838503121561238157600080fd5b823567ffffffffffffffff8082111561239957600080fd5b818501915085601f8301126123ad57600080fd5b8135818111156123bc57600080fd5b8660208260051b85010111156123d157600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612414576124146123e3565b604051601f8501601f19908116603f0116810190828211818310171561243c5761243c6123e3565b8160405280935085815286868601111561245557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561248157600080fd5b813567ffffffffffffffff81111561249857600080fd5b8201601f810184136124a957600080fd5b61173a848235602084016123f9565b6000602082840312156124ca57600080fd5b610a68826122b0565b600080600080608085870312156124e957600080fd5b6124f2856122b0565b9350612500602086016122b0565b925060408501359150606085013567ffffffffffffffff81111561252357600080fd5b8501601f8101871361253457600080fd5b612543878235602084016123f9565b91505092959194509250565b6000806040838503121561256257600080fd5b61256b836122b0565b9150612579602084016122b0565b90509250929050565b600181811c9082168061259657607f821691505b6020821081036125b657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a6b57610a6b6125f1565b60006001820161262c5761262c6125f1565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f536f7272793a20596f7520617265206e6f74206120546f6b656e2041646d696e604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600083516126e1818460208801612234565b8351908301906126f5818360208801612234565b01949350505050565b601f82111561096b57600081815260208120601f850160051c810160208610156127255750805b601f850160051c820191505b8181101561274457828155600101612731565b505050505050565b815167ffffffffffffffff811115612766576127666123e3565b61277a816127748454612582565b846126fe565b602080601f8311600181146127af57600084156127975750858301515b600019600386901b1c1916600185901b178555612744565b600085815260208120601f198616915b828110156127de578886015182559484019460019091019084016127bf565b50858210156127fc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000816000190483118215151615612826576128266125f1565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826128505761285061282b565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b81810381811115610a6b57610a6b6125f1565b6000826128c9576128c961282b565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061290190830184612258565b9695505050505050565b60006020828403121561291d57600080fd5b8151610a6881612201565b634e487b7160e01b600052603160045260246000fd5b60008251612950818460208701612234565b919091019291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea264697066735822122064237f6610c173520a7230c51cdf41a2d123931dccf5bc83c39a5661e31b616c64736f6c63430008100033
Deployed Bytecode Sourcemap
68540:3320:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9531:150;;;;;;;;;;-1:-1:-1;9531:150:0;;;;;:::i;:::-;-1:-1:-1;;;;;;9640:33:0;9616:4;9640:33;;;;;;;;;;;;;;9531:150;;;;565:14:1;;558:22;540:41;;528:2;513:18;9531:150:0;;;;;;;;51337:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54123:221::-;;;;;;;;;;-1:-1:-1;54123:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;54123:221:0;1533:203:1;53653:404:0;;;;;;;;;;-1:-1:-1;53653:404:0;;;;;:::i;:::-;;:::i;:::-;;68632:36;;;;;;;;;;;;;;;;;;;2324:25:1;;;2312:2;2297:18;68632:36:0;2178:177:1;53131:211:0;;;;;;;;;;;;;:::i;69861:213::-;;;;;;;;;;-1:-1:-1;69861:213:0;;;;;:::i;:::-;;:::i;69279:80::-;;;;;;;;;;-1:-1:-1;69279:80:0;;;;;:::i;:::-;;:::i;55013:305::-;;;;;;;;;;-1:-1:-1;55013:305:0;;;;;:::i;:::-;;:::i;52893:162::-;;;;;;;;;;-1:-1:-1;52893:162:0;;;;;:::i;:::-;;:::i;70189:94::-;;;;;;;;;;;;;:::i;68713:29::-;;;;;;;;;;;;;;;;69731:122;;;;;;;;;;-1:-1:-1;69731:122:0;;;;;:::i;:::-;;:::i;69581:142::-;;;;;;;;;;;;;:::i;55389:151::-;;;;;;;;;;-1:-1:-1;55389:151:0;;;;;:::i;:::-;;:::i;53419:172::-;;;;;;;;;;-1:-1:-1;53419:172:0;;;;;:::i;:::-;;:::i;70504:211::-;;;;;;;;;;-1:-1:-1;70504:211:0;;;;;:::i;:::-;;:::i;70082:99::-;;;;;;;;;;-1:-1:-1;70082:99:0;;;;;:::i;:::-;;:::i;69476:97::-;;;;;;;;;;-1:-1:-1;69476:97:0;;;;;:::i;:::-;;:::i;51093:177::-;;;;;;;;;;-1:-1:-1;51093:177:0;;;;;:::i;:::-;;:::i;52712:97::-;;;;;;;;;;;;;:::i;70723:116::-;;;;;;;;;;-1:-1:-1;70723:116:0;;;;;:::i;:::-;-1:-1:-1;;;;;70808:23:0;70784:4;70808:23;;;:14;:23;;;;;;;;;70723:116;50810:221;;;;;;;;;;-1:-1:-1;50810:221:0;;;;;:::i;:::-;;:::i;69367:101::-;;;;;;;;;;-1:-1:-1;69367:101:0;;;;;:::i;:::-;;:::i;65945:148::-;;;;;;;;;;;;;:::i;69181:90::-;;;;;;;;;;-1:-1:-1;69181:90:0;;;;;:::i;:::-;;:::i;70291:205::-;;;;;;;;;;-1:-1:-1;70291:205:0;;;;;:::i;:::-;;:::i;65294:87::-;;;;;;;;;;-1:-1:-1;65367:6:0;;-1:-1:-1;;;;;65367:6:0;65294:87;;68749:22;;;;;;;;;;;;;;;;51506:104;;;;;;;;;;;;;:::i;71034:823::-;;;;;;:::i;:::-;;:::i;54416:295::-;;;;;;;;;;-1:-1:-1;54416:295:0;;;;;:::i;:::-;;:::i;70847:141::-;;;;;;;;;;-1:-1:-1;70847:141:0;;;;;:::i;:::-;;:::i;55611:285::-;;;;;;;;;;-1:-1:-1;55611:285:0;;;;;:::i;:::-;;:::i;68675:31::-;;;;;;;;;;;;;;;;51681:792;;;;;;;;;;-1:-1:-1;51681:792:0;;;;;:::i;:::-;;:::i;54782:164::-;;;;;;;;;;-1:-1:-1;54782:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;54903:25:0;;;54879:4;54903:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;54782:164;68778:32;;;;;;;;;;-1:-1:-1;68778:32:0;;;;;;;;66248:244;;;;;;;;;;-1:-1:-1;66248:244:0;;;;;:::i;:::-;;:::i;51337:100::-;51391:13;51424:5;51417:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51337:100;:::o;54123:221::-;54199:7;54227:16;54235:7;54227;:16::i;:::-;54219:73;;;;-1:-1:-1;;;54219:73:0;;6605:2:1;54219:73:0;;;6587:21:1;6644:2;6624:18;;;6617:30;6683:34;6663:18;;;6656:62;-1:-1:-1;;;6734:18:1;;;6727:42;6786:19;;54219:73:0;;;;;;;;;-1:-1:-1;54312:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;54312:24:0;;54123:221::o;53653:404::-;53734:13;53750:23;53765:7;53750:14;:23::i;:::-;53734:39;;53798:5;-1:-1:-1;;;;;53792:11:0;:2;-1:-1:-1;;;;;53792:11:0;;53784:57;;;;-1:-1:-1;;;53784:57:0;;7018:2:1;53784:57:0;;;7000:21:1;7057:2;7037:18;;;7030:30;7096:34;7076:18;;;7069:62;-1:-1:-1;;;7147:18:1;;;7140:31;7188:19;;53784:57:0;6816:397:1;53784:57:0;687:10;-1:-1:-1;;;;;53862:21:0;;;;:69;;-1:-1:-1;53887:44:0;53911:5;687:10;54782:164;:::i;53887:44::-;53854:161;;;;-1:-1:-1;;;53854:161:0;;7420:2:1;53854:161:0;;;7402:21:1;7459:2;7439:18;;;7432:30;7498:34;7478:18;;;7471:62;7569:26;7549:18;;;7542:54;7613:19;;53854:161:0;7218:420:1;53854:161:0;54028:21;54037:2;54041:7;54028:8;:21::i;:::-;53723:334;53653:404;;:::o;53131:211::-;53192:7;53313:21;:12;:19;:21::i;:::-;53306:28;;53131:211;:::o;69861:213::-;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;69934:11:::1;69948:13;:11;:13::i;:::-;69934:27:::0;-1:-1:-1;69986:1:0::1;69972:95;69994:6;69989:1;:11;69972:95;;70022:33;70032:10;70044;70053:1:::0;70044:6;:10:::1;:::i;:::-;70022:9;:33::i;:::-;70002:3:::0;::::1;::::0;::::1;:::i;:::-;;;;69972:95;;69279:80:::0;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;69338:7:::1;:13:::0;69279:80::o;55013:305::-;55174:41;687:10;55207:7;55174:18;:41::i;:::-;55166:103;;;;-1:-1:-1;;;55166:103:0;;;;;;;:::i;:::-;55282:28;55292:4;55298:2;55302:7;55282:9;:28::i;52893:162::-;-1:-1:-1;;;;;53017:20:0;;52990:7;53017:20;;;:13;:20;;;;;:30;;53041:5;53017:23;:30::i;:::-;53010:37;;52893:162;;;;;:::o;70189:94::-;687:10;69062:27;;;;:13;:27;;;;;;;;;:54;;-1:-1:-1;65367:6:0;;-1:-1:-1;;;;;65367:6:0;687:10;69093:23;69062:54;69054:99;;;;-1:-1:-1;;;69054:99:0;;;;;;;:::i;:::-;70263:12:::1;::::0;;-1:-1:-1;;70247:28:0;::::1;70263:12;::::0;;::::1;70262:13;70247:28;::::0;;70189:94::o;69731:122::-;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;69813:22:0;;;::::1;;::::0;;;:13:::1;:22;::::0;;;;:32;;-1:-1:-1;;69813:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;69731:122::o;69581:142::-;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;69649:21:::1;69689:7;65367:6:::0;;-1:-1:-1;;;;;65367:6:0;;65294:87;69689:7:::1;-1:-1:-1::0;;;;;69681:25:0::1;:34;69707:7;69681:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;69620:103;69581:142::o:0;55389:151::-;55493:39;55510:4;55516:2;55520:7;55493:39;;;;;;;;;;;;:16;:39::i;53419:172::-;53494:7;;53536:22;:12;53552:5;53536:15;:22::i;:::-;-1:-1:-1;53514:44:0;53419:172;-1:-1:-1;;;53419:172:0:o;70504:211::-;687:10;69062:27;;;;:13;:27;;;;;;;;;:54;;-1:-1:-1;65367:6:0;;-1:-1:-1;;;;;65367:6:0;687:10;69093:23;69062:54;69054:99;;;;-1:-1:-1;;;69054:99:0;;;;;;;:::i;:::-;70603:9:::1;70598:110;70618:20:::0;;::::1;70598:110;;;70691:5;70660:14;:28;70675:9;;70685:1;70675:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;70660:28:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;70660:28:0;:36;;-1:-1:-1;;70660:36:0::1;::::0;::::1;;::::0;;;::::1;::::0;;70640:3;::::1;::::0;::::1;:::i;:::-;;;;70598:110;;70082:99:::0;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;70153:20:::1;70165:7;70153:11;:20::i;:::-;70082:99:::0;:::o;69476:97::-;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;69544:12:::1;:21:::0;69476:97::o;51093:177::-;51165:7;51192:70;51209:7;51192:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;52712:97::-;52760:13;52793:8;52786:15;;;;;:::i;50810:221::-;50882:7;-1:-1:-1;;;;;50910:19:0;;50902:74;;;;-1:-1:-1;;;50902:74:0;;9519:2:1;50902:74:0;;;9501:21:1;9558:2;9538:18;;;9531:30;9597:34;9577:18;;;9570:62;-1:-1:-1;;;9648:18:1;;;9641:40;9698:19;;50902:74:0;9317:406:1;50902:74:0;-1:-1:-1;;;;;50994:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;69367:101::-;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;69437:14:::1;:23:::0;69367:101::o;65945:148::-;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;66036:6:::1;::::0;66015:40:::1;::::0;66052:1:::1;::::0;-1:-1:-1;;;;;66036:6:0::1;::::0;66015:40:::1;::::0;66052:1;;66015:40:::1;66066:6;:19:::0;;-1:-1:-1;;;;;;66066:19:0::1;::::0;;65945:148::o;69181:90::-;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;69247:8:::1;:16:::0;69181:90::o;70291:205::-;687:10;69062:27;;;;:13;:27;;;;;;;;;:54;;-1:-1:-1;65367:6:0;;-1:-1:-1;;;;;65367:6:0;687:10;69093:23;69062:54;69054:99;;;;-1:-1:-1;;;69054:99:0;;;;;;;:::i;:::-;70385:9:::1;70380:109;70400:20:::0;;::::1;70380:109;;;70473:4;70442:14;:28;70457:9;;70467:1;70457:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;70442:28:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;70442:28:0;:35;;-1:-1:-1;;70442:35:0::1;::::0;::::1;;::::0;;;::::1;::::0;;70422:3;::::1;::::0;::::1;:::i;:::-;;;;70380:109;;51506:104:::0;51562:13;51595:7;51588:14;;;;;:::i;71034:823::-;68386:9;68399:10;68386:23;68378:53;;;;-1:-1:-1;;;68378:53:0;;9930:2:1;68378:53:0;;;9912:21:1;9969:2;9949:18;;;9942:30;-1:-1:-1;;;9988:18:1;;;9981:47;10045:18;;68378:53:0;9728:341:1;68378:53:0;67383:1:::1;67998:7;;:19:::0;67990:63:::1;;;::::0;-1:-1:-1;;;67990:63:0;;10276:2:1;67990:63:0::1;::::0;::::1;10258:21:1::0;10315:2;10295:18;;;10288:30;10354:33;10334:18;;;10327:61;10405:18;;67990:63:0::1;10074:355:1::0;67990:63:0::1;67383:1;68131:7;:18:::0;71126:12:::2;::::0;::::2;;::::0;:44:::2;;-1:-1:-1::0;687:10:0;71142:28:::2;::::0;;;:14:::2;:28;::::0;;;;;::::2;;71126:44;71118:111;;;::::0;-1:-1:-1;;;71118:111:0;;10636:2:1;71118:111:0::2;::::0;::::2;10618:21:1::0;10675:2;10655:18;;;10648:30;10714:34;10694:18;;;10687:62;-1:-1:-1;;;10765:18:1;;;10758:52;10827:19;;71118:111:0::2;10434:418:1::0;71118:111:0::2;71295:12;::::0;71248:43:::2;71276:14:::0;71248:23:::2;687:10:::0;50810:221;:::i;71248:23::-:2;:27:::0;::::2;:43::i;:::-;:59;;71240:99;;;::::0;-1:-1:-1;;;71240:99:0;;11059:2:1;71240:99:0::2;::::0;::::2;11041:21:1::0;11098:2;11078:18;;;11071:30;11137:29;11117:18;;;11110:57;11184:18;;71240:99:0::2;10857:351:1::0;71240:99:0::2;71376:14;;71358;:32;;71350:71;;;::::0;-1:-1:-1;;;71350:71:0;;11415:2:1;71350:71:0::2;::::0;::::2;11397:21:1::0;11454:2;11434:18;;;11427:30;11493:28;11473:18;;;11466:56;11539:18;;71350:71:0::2;11213:350:1::0;71350:71:0::2;71477:7;;71440:33;71458:14;71440:13;:11;:13::i;:33::-;:44;;71432:89;;;::::0;-1:-1:-1;;;71432:89:0;;11770:2:1;71432:89:0::2;::::0;::::2;11752:21:1::0;;;11789:18;;;11782:30;11848:34;11828:18;;;11821:62;11900:18;;71432:89:0::2;11568:356:1::0;71432:89:0::2;71540:8;::::0;71572:9:::2;::::0;71540:28:::2;::::0;71553:14;71540:12:::2;:28::i;:::-;:41;;71532:85;;;::::0;-1:-1:-1;;;71532:85:0;;12131:2:1;71532:85:0::2;::::0;::::2;12113:21:1::0;12170:2;12150:18;;;12143:30;12209:33;12189:18;;;12182:61;12260:18;;71532:85:0::2;11929:355:1::0;71532:85:0::2;71642:6;71638:212;71658:14;71654:1;:18;71638:212;;;71694:14;71711:13;:11;:13::i;:::-;:17;::::0;71727:1:::2;71711:17;:::i;:::-;71694:34;;71763:7;;71747:13;:11;:13::i;:::-;:23;71743:96;;;71791:32;71801:10;71813:9;71791;:32::i;:::-;-1:-1:-1::0;71674:3:0;::::2;::::0;::::2;:::i;:::-;;;;71638:212;;;-1:-1:-1::0;;67339:1:0::1;68310:7;:22:::0;71034:823::o;54416:295::-;687:10;-1:-1:-1;;;;;54519:24:0;;;54511:62;;;;-1:-1:-1;;;54511:62:0;;12491:2:1;54511:62:0;;;12473:21:1;12530:2;12510:18;;;12503:30;12569:27;12549:18;;;12542:55;12614:18;;54511:62:0;12289:349:1;54511:62:0;687:10;54586:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;54586:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;54586:53:0;;;;;;;;;;54655:48;;540:41:1;;;54586:42:0;;687:10;54655:48;;513:18:1;54655:48:0;;;;;;;54416:295;;:::o;70847:141::-;-1:-1:-1;;;;;70931:22:0;;70907:4;70931:22;;;:13;:22;;;;;;;;;:49;;-1:-1:-1;;65367:6:0;;-1:-1:-1;;;;;65367:6:0;687:10;70957:23;;;-1:-1:-1;70847:141:0:o;55611:285::-;55743:41;687:10;55776:7;55743:18;:41::i;:::-;55735:103;;;;-1:-1:-1;;;55735:103:0;;;;;;;:::i;:::-;55849:39;55863:4;55869:2;55873:7;55882:5;55849:13;:39::i;:::-;55611:285;;;;:::o;51681:792::-;51754:13;51788:16;51796:7;51788;:16::i;:::-;51780:76;;;;-1:-1:-1;;;51780:76:0;;12845:2:1;51780:76:0;;;12827:21:1;12884:2;12864:18;;;12857:30;12923:34;12903:18;;;12896:62;-1:-1:-1;;;12974:18:1;;;12967:45;13029:19;;51780:76:0;12643:411:1;51780:76:0;51869:23;51895:19;;;:10;:19;;;;;51869:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51925:18;51946:9;:7;:9::i;:::-;51925:30;;52037:4;52031:18;52053:1;52031:23;52027:72;;-1:-1:-1;52078:9:0;51681:792;-1:-1:-1;;51681:792:0:o;52027:72::-;52203:23;;:27;52199:108;;52278:4;52284:9;52261:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;52247:48;;;;51681:792;;;:::o;52199:108::-;52439:4;52445:18;:7;:16;:18::i;:::-;52422:42;;;;;;;;;:::i;66248:244::-;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;66337:22:0;::::1;66329:73;;;::::0;-1:-1:-1;;;66329:73:0;;13762:2:1;66329:73:0::1;::::0;::::1;13744:21:1::0;13801:2;13781:18;;;13774:30;13840:34;13820:18;;;13813:62;-1:-1:-1;;;13891:18:1;;;13884:36;13937:19;;66329:73:0::1;13560:402:1::0;66329:73:0::1;66439:6;::::0;66418:38:::1;::::0;-1:-1:-1;;;;;66418:38:0;;::::1;::::0;66439:6:::1;::::0;66418:38:::1;::::0;66439:6:::1;::::0;66418:38:::1;66467:6;:17:::0;;-1:-1:-1;;;;;;66467:17:0::1;-1:-1:-1::0;;;;;66467:17:0;;;::::1;::::0;;;::::1;::::0;;66248:244::o;57363:127::-;57428:4;57452:30;:12;57474:7;57452:21;:30::i;63381:192::-;63456:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;63456:29:0;-1:-1:-1;;;;;63456:29:0;;;;;;;;:24;;63510:23;63456:24;63510:14;:23::i;:::-;-1:-1:-1;;;;;63501:46:0;;;;;;;;;;;63381:192;;:::o;43221:123::-;43290:7;43317:19;43325:3;39883:19;;39800:110;58355;58431:26;58441:2;58445:7;58431:26;;;;;;;;;;;;:9;:26::i;57657:355::-;57750:4;57775:16;57783:7;57775;:16::i;:::-;57767:73;;;;-1:-1:-1;;;57767:73:0;;14169:2:1;57767:73:0;;;14151:21:1;14208:2;14188:18;;;14181:30;14247:34;14227:18;;;14220:62;-1:-1:-1;;;14298:18:1;;;14291:42;14350:19;;57767:73:0;13967:408:1;57767:73:0;57851:13;57867:23;57882:7;57867:14;:23::i;:::-;57851:39;;57920:5;-1:-1:-1;;;;;57909:16:0;:7;-1:-1:-1;;;;;57909:16:0;;:51;;;;57953:7;-1:-1:-1;;;;;57929:31:0;:20;57941:7;57929:11;:20::i;:::-;-1:-1:-1;;;;;57929:31:0;;57909:51;:94;;;-1:-1:-1;;;;;;54903:25:0;;;54879:4;54903:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;57964:39;57901:103;57657:355;-1:-1:-1;;;;57657:355:0:o;60793:599::-;60918:4;-1:-1:-1;;;;;60891:31:0;:23;60906:7;60891:14;:23::i;:::-;-1:-1:-1;;;;;60891:31:0;;60883:85;;;;-1:-1:-1;;;60883:85:0;;14582:2:1;60883:85:0;;;14564:21:1;14621:2;14601:18;;;14594:30;14660:34;14640:18;;;14633:62;-1:-1:-1;;;14711:18:1;;;14704:39;14760:19;;60883:85:0;14380:405:1;60883:85:0;-1:-1:-1;;;;;61005:16:0;;60997:65;;;;-1:-1:-1;;;60997:65:0;;14992:2:1;60997:65:0;;;14974:21:1;15031:2;15011:18;;;15004:30;15070:34;15050:18;;;15043:62;-1:-1:-1;;;15121:18:1;;;15114:34;15165:19;;60997:65:0;14790:400:1;60997:65:0;61179:29;61196:1;61200:7;61179:8;:29::i;:::-;-1:-1:-1;;;;;61221:19:0;;;;;;:13;:19;;;;;:35;;61248:7;61221:26;:35::i;:::-;-1:-1:-1;;;;;;61267:17:0;;;;;;:13;:17;;;;;:30;;61289:7;61267:21;:30::i;:::-;-1:-1:-1;61310:29:0;:12;61327:7;61336:2;61310:16;:29::i;:::-;;61376:7;61372:2;-1:-1:-1;;;;;61357:27:0;61366:4;-1:-1:-1;;;;;61357:27:0;;;;;;;;;;;60793:599;;;:::o;35111:137::-;35182:7;35217:22;35221:3;35233:5;35217:3;:22::i;43683:236::-;43763:7;;;;43823:22;43827:3;43839:5;43823:3;:22::i;:::-;43792:53;;;;-1:-1:-1;43683:236:0;-1:-1:-1;;;;;43683:236:0:o;61993:100::-;62066:8;:19;62077:8;62066;:19;:::i;44969:213::-;45076:7;45127:44;45132:3;45152;45158:12;45127:4;:44::i;:::-;45119:53;-1:-1:-1;44969:213:0;;;;;;:::o;13000:179::-;13058:7;;13090:5;13094:1;13090;:5;:::i;:::-;13078:17;;13119:1;13114;:6;;13106:46;;;;-1:-1:-1;;;13106:46:0;;17601:2:1;13106:46:0;;;17583:21:1;17640:2;17620:18;;;17613:30;17679:29;17659:18;;;17652:57;17726:18;;13106:46:0;17399:351:1;13879:220:0;13937:7;13961:1;13966;13961:6;13957:20;;-1:-1:-1;13976:1:0;13969:8;;13957:20;13988:9;14000:5;14004:1;14000;:5;:::i;:::-;13988:17;-1:-1:-1;14033:1:0;14024:5;14028:1;13988:17;14024:5;:::i;:::-;:10;14016:56;;;;-1:-1:-1;;;14016:56:0;;18387:2:1;14016:56:0;;;18369:21:1;18426:2;18406:18;;;18399:30;18465:34;18445:18;;;18438:62;-1:-1:-1;;;18516:18:1;;;18509:31;18557:19;;14016:56:0;18185:397:1;56778:272:0;56892:28;56902:4;56908:2;56912:7;56892:9;:28::i;:::-;56939:48;56962:4;56968:2;56972:7;56981:5;56939:22;:48::i;:::-;56931:111;;;;-1:-1:-1;;;56931:111:0;;;;;;;:::i;45411:723::-;45467:13;45688:5;45697:1;45688:10;45684:53;;-1:-1:-1;;45715:10:0;;;;;;;;;;;;-1:-1:-1;;;45715:10:0;;;;;45411:723::o;45684:53::-;45762:5;45747:12;45803:78;45810:9;;45803:78;;45836:8;;;;:::i;:::-;;-1:-1:-1;45859:10:0;;-1:-1:-1;45867:2:0;45859:10;;:::i;:::-;;;45803:78;;;45891:19;45923:6;45913:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45913:17:0;;45891:39;;45941:154;45948:10;;45941:154;;45975:11;45985:1;45975:11;;:::i;:::-;;-1:-1:-1;46044:10:0;46052:2;46044:5;:10;:::i;:::-;46031:24;;:2;:24;:::i;:::-;46018:39;;46001:6;46008;46001:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;46001:56:0;;;;;;;;-1:-1:-1;46072:11:0;46081:2;46072:11;;:::i;:::-;;;45941:154;;42982:151;43066:4;39675:17;;;:12;;;:17;;;;;;:22;;43090:35;39580:125;58692:250;58788:18;58794:2;58798:7;58788:5;:18::i;:::-;58825:54;58856:1;58860:2;58864:7;58873:5;58825:22;:54::i;:::-;58817:117;;;;-1:-1:-1;;;58817:117:0;;;;;;;:::i;34198:137::-;34268:4;34292:35;34300:3;34320:5;34292:7;:35::i;33891:131::-;33958:4;33982:32;33987:3;34007:5;33982:4;:32::i;42405:185::-;42494:4;42518:64;42523:3;42543;-1:-1:-1;;;;;42557:23:0;;42518:4;:64::i;30149:204::-;30244:18;;30216:7;;30244:26;-1:-1:-1;30236:73:0;;;;-1:-1:-1;;;30236:73:0;;19458:2:1;30236:73:0;;;19440:21:1;19497:2;19477:18;;;19470:30;19536:34;19516:18;;;19509:62;-1:-1:-1;;;19587:18:1;;;19580:32;19629:19;;30236:73:0;19256:398:1;30236:73:0;30327:3;:11;;30339:5;30327:18;;;;;;;;:::i;:::-;;;;;;;;;30320:25;;30149:204;;;;:::o;40265:279::-;40369:19;;40332:7;;;;40369:27;-1:-1:-1;40361:74:0;;;;-1:-1:-1;;;40361:74:0;;19861:2:1;40361:74:0;;;19843:21:1;19900:2;19880:18;;;19873:30;19939:34;19919:18;;;19912:62;-1:-1:-1;;;19990:18:1;;;19983:32;20032:19;;40361:74:0;19659:398:1;40361:74:0;40448:22;40473:3;:12;;40486:5;40473:19;;;;;;;;:::i;:::-;;;;;;;;;;;40448:44;;40511:5;:10;;;40523:5;:12;;;40503:33;;;;;40265:279;;;;;:::o;41762:319::-;41856:7;41895:17;;;:12;;;:17;;;;;;41946:12;41931:13;41923:36;;;;-1:-1:-1;;;41923:36:0;;;;;;;;:::i;:::-;-1:-1:-1;42013:3:0;42026:12;42037:1;42026:8;:12;:::i;:::-;42013:26;;;;;;;;:::i;:::-;;;;;;;;;;;:33;;;42006:40;;;41762:319;;;;;:::o;62658:604::-;62779:4;-1:-1:-1;;;;;62806:13:0;;18715:20;62801:60;;-1:-1:-1;62845:4:0;62838:11;;62801:60;62871:23;62897:252;-1:-1:-1;;;687:10:0;63037:4;63056:7;63078:5;62913:181;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;62913:181:0;;;;;;;-1:-1:-1;;;;;62913:181:0;;;;;;;;;;;62897:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62897:15:0;;;:252;:15;:252::i;:::-;62871:278;;63160:13;63187:10;63176:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;63227:26:0;-1:-1:-1;;;63227:26:0;;-1:-1:-1;;;62658:604:0;;;;;;:::o;59278:404::-;-1:-1:-1;;;;;59358:16:0;;59350:61;;;;-1:-1:-1;;;59350:61:0;;21012:2:1;59350:61:0;;;20994:21:1;;;21031:18;;;21024:30;21090:34;21070:18;;;21063:62;21142:18;;59350:61:0;20810:356:1;59350:61:0;59431:16;59439:7;59431;:16::i;:::-;59430:17;59422:58;;;;-1:-1:-1;;;59422:58:0;;21373:2:1;59422:58:0;;;21355:21:1;21412:2;21392:18;;;21385:30;21451;21431:18;;;21424:58;21499:18;;59422:58:0;21171:352:1;59422:58:0;-1:-1:-1;;;;;59551:17:0;;;;;;:13;:17;;;;;:30;;59573:7;59551:21;:30::i;:::-;-1:-1:-1;59594:29:0;:12;59611:7;59620:2;59594:16;:29::i;:::-;-1:-1:-1;59641:33:0;;59666:7;;-1:-1:-1;;;;;59641:33:0;;;59658:1;;59641:33;;59658:1;;59641:33;59278:404;;:::o;27851:1544::-;27917:4;28056:19;;;:12;;;:19;;;;;;28092:15;;28088:1300;;28454:21;28478:14;28491:1;28478:10;:14;:::i;:::-;28527:18;;28454:38;;-1:-1:-1;28507:17:0;;28527:22;;28548:1;;28527:22;:::i;:::-;28507:42;;28794:17;28814:3;:11;;28826:9;28814:22;;;;;;;;:::i;:::-;;;;;;;;;28794:42;;28960:9;28931:3;:11;;28943:13;28931:26;;;;;;;;:::i;:::-;;;;;;;;;;:38;29063:17;:13;29079:1;29063:17;:::i;:::-;29037:23;;;;:12;;;:23;;;;;:43;29189:17;;29037:3;;29189:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;29284:3;:12;;:19;29297:5;29284:19;;;;;;;;;;;29277:26;;;29327:4;29320:11;;;;;;;;28088:1300;29371:5;29364:12;;;;;27261:414;27324:4;39675:17;;;:12;;;:17;;;;;;27341:327;;-1:-1:-1;27384:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;27567:18;;27545:19;;;:12;;;:19;;;;;;:40;;;;27600:11;;27341:327;-1:-1:-1;27651:5:0;27644:12;;37080:692;37156:4;37291:17;;;:12;;;:17;;;;;;37325:13;;;37321:444;;-1:-1:-1;;37410:38:0;;;;;;;;;;;;;;;;;;37392:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;37607:19;;37587:17;;;:12;;;:17;;;;;;;:39;37641:11;;37321:444;37721:5;37685:3;37698:12;37709:1;37698:8;:12;:::i;:::-;37685:26;;;;;;;;:::i;:::-;;;;;;;;;;;:33;;:41;;;;37748:5;37741:12;;;;;21297:195;21400:12;21432:52;21454:6;21462:4;21468:1;21471:12;21400;18715:20;;22593:60;;;;-1:-1:-1;;;22593:60:0;;22269:2:1;22593:60:0;;;22251:21:1;22308:2;22288:18;;;22281:30;22347:31;22327:18;;;22320:59;22396:18;;22593:60:0;22067:353:1;22593:60:0;22727:12;22741:23;22768:6;-1:-1:-1;;;;;22768:11:0;22788:5;22796:4;22768:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22726:75;;;;22819:52;22837:7;22846:10;22858:12;22819:17;:52::i;:::-;22812:59;22349:530;-1:-1:-1;;;;;;;22349:530:0:o;24889:742::-;25004:12;25033:7;25029:595;;;-1:-1:-1;25064:10:0;25057:17;;25029:595;25178:17;;:21;25174:439;;25441:10;25435:17;25502:15;25489:10;25485:2;25481:19;25474:44;25174:439;25584:12;25577:20;;-1:-1:-1;;;25577:20:0;;;;;;;;:::i;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:347::-;2758:6;2766;2819:2;2807:9;2798:7;2794:23;2790:32;2787:52;;;2835:1;2832;2825:12;2787:52;2858:29;2877:9;2858:29;:::i;:::-;2848:39;;2937:2;2926:9;2922:18;2909:32;2984:5;2977:13;2970:21;2963:5;2960:32;2950:60;;3006:1;3003;2996:12;2950:60;3029:5;3019:15;;;2693:347;;;;;:::o;3045:615::-;3131:6;3139;3192:2;3180:9;3171:7;3167:23;3163:32;3160:52;;;3208:1;3205;3198:12;3160:52;3248:9;3235:23;3277:18;3318:2;3310:6;3307:14;3304:34;;;3334:1;3331;3324:12;3304:34;3372:6;3361:9;3357:22;3347:32;;3417:7;3410:4;3406:2;3402:13;3398:27;3388:55;;3439:1;3436;3429:12;3388:55;3479:2;3466:16;3505:2;3497:6;3494:14;3491:34;;;3521:1;3518;3511:12;3491:34;3574:7;3569:2;3559:6;3556:1;3552:14;3548:2;3544:23;3540:32;3537:45;3534:65;;;3595:1;3592;3585:12;3534:65;3626:2;3618:11;;;;;3648:6;;-1:-1:-1;3045:615:1;;-1:-1:-1;;;;3045:615:1:o;3665:127::-;3726:10;3721:3;3717:20;3714:1;3707:31;3757:4;3754:1;3747:15;3781:4;3778:1;3771:15;3797:632;3862:5;3892:18;3933:2;3925:6;3922:14;3919:40;;;3939:18;;:::i;:::-;4014:2;4008:9;3982:2;4068:15;;-1:-1:-1;;4064:24:1;;;4090:2;4060:33;4056:42;4044:55;;;4114:18;;;4134:22;;;4111:46;4108:72;;;4160:18;;:::i;:::-;4200:10;4196:2;4189:22;4229:6;4220:15;;4259:6;4251;4244:22;4299:3;4290:6;4285:3;4281:16;4278:25;4275:45;;;4316:1;4313;4306:12;4275:45;4366:6;4361:3;4354:4;4346:6;4342:17;4329:44;4421:1;4414:4;4405:6;4397;4393:19;4389:30;4382:41;;;;3797:632;;;;;:::o;4434:451::-;4503:6;4556:2;4544:9;4535:7;4531:23;4527:32;4524:52;;;4572:1;4569;4562:12;4524:52;4612:9;4599:23;4645:18;4637:6;4634:30;4631:50;;;4677:1;4674;4667:12;4631:50;4700:22;;4753:4;4745:13;;4741:27;-1:-1:-1;4731:55:1;;4782:1;4779;4772:12;4731:55;4805:74;4871:7;4866:2;4853:16;4848:2;4844;4840:11;4805:74;:::i;4890:186::-;4949:6;5002:2;4990:9;4981:7;4977:23;4973:32;4970:52;;;5018:1;5015;5008:12;4970:52;5041:29;5060:9;5041:29;:::i;5081:667::-;5176:6;5184;5192;5200;5253:3;5241:9;5232:7;5228:23;5224:33;5221:53;;;5270:1;5267;5260:12;5221:53;5293:29;5312:9;5293:29;:::i;:::-;5283:39;;5341:38;5375:2;5364:9;5360:18;5341:38;:::i;:::-;5331:48;;5426:2;5415:9;5411:18;5398:32;5388:42;;5481:2;5470:9;5466:18;5453:32;5508:18;5500:6;5497:30;5494:50;;;5540:1;5537;5530:12;5494:50;5563:22;;5616:4;5608:13;;5604:27;-1:-1:-1;5594:55:1;;5645:1;5642;5635:12;5594:55;5668:74;5734:7;5729:2;5716:16;5711:2;5707;5703:11;5668:74;:::i;:::-;5658:84;;;5081:667;;;;;;;:::o;5753:260::-;5821:6;5829;5882:2;5870:9;5861:7;5857:23;5853:32;5850:52;;;5898:1;5895;5888:12;5850:52;5921:29;5940:9;5921:29;:::i;:::-;5911:39;;5969:38;6003:2;5992:9;5988:18;5969:38;:::i;:::-;5959:48;;5753:260;;;;;:::o;6018:380::-;6097:1;6093:12;;;;6140;;;6161:61;;6215:4;6207:6;6203:17;6193:27;;6161:61;6268:2;6260:6;6257:14;6237:18;6234:38;6231:161;;6314:10;6309:3;6305:20;6302:1;6295:31;6349:4;6346:1;6339:15;6377:4;6374:1;6367:15;6231:161;;6018:380;;;:::o;7643:356::-;7845:2;7827:21;;;7864:18;;;7857:30;7923:34;7918:2;7903:18;;7896:62;7990:2;7975:18;;7643:356::o;8004:127::-;8065:10;8060:3;8056:20;8053:1;8046:31;8096:4;8093:1;8086:15;8120:4;8117:1;8110:15;8136:125;8201:9;;;8222:10;;;8219:36;;;8235:18;;:::i;8266:135::-;8305:3;8326:17;;;8323:43;;8346:18;;:::i;:::-;-1:-1:-1;8393:1:1;8382:13;;8266:135::o;8406:413::-;8608:2;8590:21;;;8647:2;8627:18;;;8620:30;8686:34;8681:2;8666:18;;8659:62;-1:-1:-1;;;8752:2:1;8737:18;;8730:47;8809:3;8794:19;;8406:413::o;8824:356::-;9026:2;9008:21;;;9045:18;;;9038:30;9104:34;9099:2;9084:18;;9077:62;9171:2;9156:18;;8824:356::o;9185:127::-;9246:10;9241:3;9237:20;9234:1;9227:31;9277:4;9274:1;9267:15;9301:4;9298:1;9291:15;13059:496;13238:3;13276:6;13270:13;13292:66;13351:6;13346:3;13339:4;13331:6;13327:17;13292:66;:::i;:::-;13421:13;;13380:16;;;;13443:70;13421:13;13380:16;13490:4;13478:17;;13443:70;:::i;:::-;13529:20;;13059:496;-1:-1:-1;;;;13059:496:1:o;15321:545::-;15423:2;15418:3;15415:11;15412:448;;;15459:1;15484:5;15480:2;15473:17;15529:4;15525:2;15515:19;15599:2;15587:10;15583:19;15580:1;15576:27;15570:4;15566:38;15635:4;15623:10;15620:20;15617:47;;;-1:-1:-1;15658:4:1;15617:47;15713:2;15708:3;15704:12;15701:1;15697:20;15691:4;15687:31;15677:41;;15768:82;15786:2;15779:5;15776:13;15768:82;;;15831:17;;;15812:1;15801:13;15768:82;;;15772:3;;;15321:545;;;:::o;16042:1352::-;16168:3;16162:10;16195:18;16187:6;16184:30;16181:56;;;16217:18;;:::i;:::-;16246:97;16336:6;16296:38;16328:4;16322:11;16296:38;:::i;:::-;16290:4;16246:97;:::i;:::-;16398:4;;16462:2;16451:14;;16479:1;16474:663;;;;17181:1;17198:6;17195:89;;;-1:-1:-1;17250:19:1;;;17244:26;17195:89;-1:-1:-1;;15999:1:1;15995:11;;;15991:24;15987:29;15977:40;16023:1;16019:11;;;15974:57;17297:81;;16444:944;;16474:663;15268:1;15261:14;;;15305:4;15292:18;;-1:-1:-1;;16510:20:1;;;16628:236;16642:7;16639:1;16636:14;16628:236;;;16731:19;;;16725:26;16710:42;;16823:27;;;;16791:1;16779:14;;;;16658:19;;16628:236;;;16632:3;16892:6;16883:7;16880:19;16877:201;;;16953:19;;;16947:26;-1:-1:-1;;17036:1:1;17032:14;;;17048:3;17028:24;17024:37;17020:42;17005:58;16990:74;;16877:201;-1:-1:-1;;;;;17124:1:1;17108:14;;;17104:22;17091:36;;-1:-1:-1;16042:1352:1:o;17755:168::-;17795:7;17861:1;17857;17853:6;17849:14;17846:1;17843:21;17838:1;17831:9;17824:17;17820:45;17817:71;;;17868:18;;:::i;:::-;-1:-1:-1;17908:9:1;;17755:168::o;17928:127::-;17989:10;17984:3;17980:20;17977:1;17970:31;18020:4;18017:1;18010:15;18044:4;18041:1;18034:15;18060:120;18100:1;18126;18116:35;;18131:18;;:::i;:::-;-1:-1:-1;18165:9:1;;18060:120::o;18587:414::-;18789:2;18771:21;;;18828:2;18808:18;;;18801:30;18867:34;18862:2;18847:18;;18840:62;-1:-1:-1;;;18933:2:1;18918:18;;18911:48;18991:3;18976:19;;18587:414::o;19006:128::-;19073:9;;;19094:11;;;19091:37;;;19108:18;;:::i;19139:112::-;19171:1;19197;19187:35;;19202:18;;:::i;:::-;-1:-1:-1;19236:9:1;;19139:112::o;20062:489::-;-1:-1:-1;;;;;20331:15:1;;;20313:34;;20383:15;;20378:2;20363:18;;20356:43;20430:2;20415:18;;20408:34;;;20478:3;20473:2;20458:18;;20451:31;;;20256:4;;20499:46;;20525:19;;20517:6;20499:46;:::i;:::-;20491:54;20062:489;-1:-1:-1;;;;;;20062:489:1:o;20556:249::-;20625:6;20678:2;20666:9;20657:7;20653:23;20649:32;20646:52;;;20694:1;20691;20684:12;20646:52;20726:9;20720:16;20745:30;20769:5;20745:30;:::i;21528:127::-;21589:10;21584:3;21580:20;21577:1;21570:31;21620:4;21617:1;21610:15;21644:4;21641:1;21634:15;22425:287;22554:3;22592:6;22586:13;22608:66;22667:6;22662:3;22655:4;22647:6;22643:17;22608:66;:::i;:::-;22690:16;;;;;22425:287;-1:-1:-1;;22425:287:1:o
Swarm Source
ipfs://64237f6610c173520a7230c51cdf41a2d123931dccf5bc83c39a5661e31b616c
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.