Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
6 DADBOT
Holders
5
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DADBOTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DADBOT
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-11-02 */ // 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 DADBOT is ERC721, Ownable, ReentrancyGuard { using SafeMath for uint256; uint256 public nftPrice = 2 ether; uint public maxNftPurchase = 1; uint public maxNftWallet = 1; uint256 public maxNfts; bool public saleIsActive = false; mapping (address => bool) private _isWhitelisted; mapping (address => bool) private _isTokenAdmin; constructor() ERC721("DADBOT", "DADBOT") { maxNfts = 1000; setBaseURI("ipfs://QmaNCyGiAwg24QrtbiMTW8J2JUktbgE326xaizpGZjQFUc/"); } 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 OnlyTokenAdmin { uint supply = totalSupply(); for (uint i = 0; 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(); } 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 1 per wallet"); require(numberOfTokens <= maxNftPurchase, "Can only mint 1 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(); 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"}]
Contract Creation Code
6080604052671bc16d674ec80000600c556001600d819055600e556010805460ff191690553480156200003157600080fd5b506040805180820182526006808252651110511093d560d21b602080840182905284518086019095529184529083015290620000746301ffc9a760e01b62000143565b6006620000828382620002e9565b506007620000918282620002e9565b50620000a46380ac58cd60e01b62000143565b620000b6635b5e139f60e01b62000143565b620000c863780e9d6360e01b62000143565b5050600a80546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600b556103e8600f55604080516060810190915260368082526200013d919062002db56020830139620001c8565b620003b5565b6001600160e01b03198082169003620001a35760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e746572666163652069640000000060448201526064015b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600a546001600160a01b03163314620002245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200019a565b6200022f8162000232565b50565b6009620002408282620002e9565b5050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200026f57607f821691505b6020821081036200029057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002e457600081815260208120601f850160051c81016020861015620002bf5750805b601f850160051c820191505b81811015620002e057828155600101620002cb565b5050505b505050565b81516001600160401b0381111562000305576200030562000244565b6200031d816200031684546200025a565b8462000296565b602080601f8311600181146200035557600084156200033c5750858301515b600019600386901b1c1916600185901b178555620002e0565b600085815260208120601f198616915b82811015620003865788860151825594840194600190910190840162000365565b5085821015620003a55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6129f080620003c56000396000f3fe6080604052600436106102305760003560e01c80636352211e1161012e57806395d89b41116100ab578063bde708f41161006f578063bde708f414610678578063c87b56dd1461068e578063e985e9c5146106ae578063eb8d2444146106f7578063f2fde38b1461071157600080fd5b806395d89b41146105f0578063a0712d6814610605578063a22cb46514610618578063a2bdde3d14610638578063b88d4fde1461065857600080fd5b8063715018a6116100f2578063715018a6146105675780637d9a7a4c1461057c5780637f6497831461059c5780638da5cb5b146105bc57806393f344c1146105da57600080fd5b80636352211e146104b95780636c0360eb146104d95780636f9170f6146104ee57806370a0823114610527578063711897421461054757600080fd5b80632f745c59116101bc57806342842e0e1161018057806342842e0e146104195780634f6ccce714610439578063548db1741461045957806355f804b3146104795780635d0044ca1461049957600080fd5b80632f745c591461039957806334918dfd146103b95780633492d7a7146103ce5780633789f8d1146103e45780633ccfd60b1461040457600080fd5b80630d39fc81116102035780630d39fc811461030057806318160ddd146103245780631b7cfa09146103395780631fe9eabc1461035957806323b872dd1461037957600080fd5b806301ffc9a71461023557806306fdde0314610284578063081812fc146102a6578063095ea7b3146102de575b600080fd5b34801561024157600080fd5b5061026f61025036600461221c565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561029057600080fd5b50610299610731565b60405161027b9190612289565b3480156102b257600080fd5b506102c66102c136600461229c565b6107c3565b6040516001600160a01b03909116815260200161027b565b3480156102ea57600080fd5b506102fe6102f93660046122d1565b610850565b005b34801561030c57600080fd5b50610316600c5481565b60405190815260200161027b565b34801561033057600080fd5b50610316610965565b34801561034557600080fd5b506102fe61035436600461229c565b610976565b34801561036557600080fd5b506102fe61037436600461229c565b6109f6565b34801561038557600080fd5b506102fe6103943660046122fb565b610a25565b3480156103a557600080fd5b506103166103b43660046122d1565b610a56565b3480156103c557600080fd5b506102fe610a81565b3480156103da57600080fd5b50610316600e5481565b3480156103f057600080fd5b506102fe6103ff366004612337565b610ad9565b34801561041057600080fd5b506102fe610b2e565b34801561042557600080fd5b506102fe6104343660046122fb565b610ba7565b34801561044557600080fd5b5061031661045436600461229c565b610bc2565b34801561046557600080fd5b506102fe610474366004612373565b610bd8565b34801561048557600080fd5b506102fe610494366004612474565b610c8e565b3480156104a557600080fd5b506102fe6104b436600461229c565b610cc4565b3480156104c557600080fd5b506102c66104d436600461229c565b610cf3565b3480156104e557600080fd5b50610299610d1b565b3480156104fa57600080fd5b5061026f6105093660046124bd565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561053357600080fd5b506103166105423660046124bd565b610d2a565b34801561055357600080fd5b506102fe61056236600461229c565b610db6565b34801561057357600080fd5b506102fe610de5565b34801561058857600080fd5b506102fe61059736600461229c565b610e59565b3480156105a857600080fd5b506102fe6105b7366004612373565b610e88565b3480156105c857600080fd5b50600a546001600160a01b03166102c6565b3480156105e657600080fd5b50610316600f5481565b3480156105fc57600080fd5b50610299610f3e565b6102fe61061336600461229c565b610f4d565b34801561062457600080fd5b506102fe610633366004612337565b611230565b34801561064457600080fd5b5061026f6106533660046124bd565b6112f4565b34801561066457600080fd5b506102fe6106733660046124d8565b61132a565b34801561068457600080fd5b50610316600d5481565b34801561069a57600080fd5b506102996106a936600461229c565b611362565b3480156106ba57600080fd5b5061026f6106c9366004612554565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561070357600080fd5b5060105461026f9060ff1681565b34801561071d57600080fd5b506102fe61072c3660046124bd565b6114d3565b60606006805461074090612587565b80601f016020809104026020016040519081016040528092919081815260200182805461076c90612587565b80156107b95780601f1061078e576101008083540402835291602001916107b9565b820191906000526020600020905b81548152906001019060200180831161079c57829003601f168201915b5050505050905090565b60006107ce826115be565b6108345760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061085b82610cf3565b9050806001600160a01b0316836001600160a01b0316036108c85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161082b565b336001600160a01b03821614806108e457506108e481336106c9565b6109565760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161082b565b61096083836115cb565b505050565b60006109716002611639565b905090565b3360009081526012602052604090205460ff168061099e5750600a546001600160a01b031633145b6109ba5760405162461bcd60e51b815260040161082b906125c1565b60006109c4610965565b905060005b82811015610960576109e4336109df838561260c565b611643565b806109ee8161261f565b9150506109c9565b600a546001600160a01b03163314610a205760405162461bcd60e51b815260040161082b90612638565b600f55565b610a2f338261165d565b610a4b5760405162461bcd60e51b815260040161082b9061266d565b610960838383611747565b6001600160a01b0382166000908152600160205260408120610a7890836118c8565b90505b92915050565b3360009081526012602052604090205460ff1680610aa95750600a546001600160a01b031633145b610ac55760405162461bcd60e51b815260040161082b906125c1565b6010805460ff19811660ff90911615179055565b600a546001600160a01b03163314610b035760405162461bcd60e51b815260040161082b90612638565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b600a546001600160a01b03163314610b585760405162461bcd60e51b815260040161082b90612638565b47610b6b600a546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015610ba3573d6000803e3d6000fd5b5050565b6109608383836040518060200160405280600081525061132a565b600080610bd06002846118d4565b509392505050565b3360009081526012602052604090205460ff1680610c005750600a546001600160a01b031633145b610c1c5760405162461bcd60e51b815260040161082b906125c1565b60005b8181101561096057600060116000858585818110610c3f57610c3f6126be565b9050602002016020810190610c5491906124bd565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c868161261f565b915050610c1f565b600a546001600160a01b03163314610cb85760405162461bcd60e51b815260040161082b90612638565b610cc1816118f0565b50565b600a546001600160a01b03163314610cee5760405162461bcd60e51b815260040161082b90612638565b600e55565b6000610a7b8260405180606001604052806029815260200161299260299139600291906118fc565b60606009805461074090612587565b60006001600160a01b038216610d955760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161082b565b6001600160a01b0382166000908152600160205260409020610a7b90611639565b600a546001600160a01b03163314610de05760405162461bcd60e51b815260040161082b90612638565b600d55565b600a546001600160a01b03163314610e0f5760405162461bcd60e51b815260040161082b90612638565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600a546001600160a01b03163314610e835760405162461bcd60e51b815260040161082b90612638565b600c55565b3360009081526012602052604090205460ff1680610eb05750600a546001600160a01b031633145b610ecc5760405162461bcd60e51b815260040161082b906125c1565b60005b8181101561096057600160116000858585818110610eef57610eef6126be565b9050602002016020810190610f0491906124bd565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610f368161261f565b915050610ecf565b60606007805461074090612587565b323314610f905760405162461bcd60e51b8152602060048201526011602482015270736f7272792068756d616e73206f6e6c7960781b604482015260640161082b565b6002600b5403610fe25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161082b565b6002600b5560105460ff168061100757503360009081526011602052604090205460ff165b6110725760405162461bcd60e51b815260206004820152603660248201527f53616c65206d75737420626520616374697665206f7220796f75206d757374206044820152751899481dda1a5d195b1a5cdd1959081d1bc81b5a5b9d60521b606482015260840161082b565b600e546110888261108233610d2a565b90611913565b11156110d65760405162461bcd60e51b815260206004820152601a60248201527f43616e206f6e6c79206d696e742031207065722077616c6c6574000000000000604482015260640161082b565b600d548111156111285760405162461bcd60e51b815260206004820152601960248201527f43616e206f6e6c79206d696e74203120617420612074696d6500000000000000604482015260640161082b565b600f5461113782611082610965565b11156111855760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c79604482015260640161082b565b600c5434906111949083611972565b11156111e25760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161082b565b60005b818110156112275760006111f7610965565b9050600f54611204610965565b1015611214576112143382611643565b508061121f8161261f565b9150506111e5565b50506001600b55565b336001600160a01b038316036112885760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161082b565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6001600160a01b03811660009081526012602052604081205460ff1680610a7b575050600a546001600160a01b03163314919050565b611334338361165d565b6113505760405162461bcd60e51b815260040161082b9061266d565b61135c848484846119f4565b50505050565b606061136d826115be565b6113d15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161082b565b600082815260086020526040812080546113ea90612587565b80601f016020809104026020016040519081016040528092919081815260200182805461141690612587565b80156114635780601f1061143857610100808354040283529160200191611463565b820191906000526020600020905b81548152906001019060200180831161144657829003601f168201915b505050505090506000611474610d1b565b90508051600003611486575092915050565b8151156114b85780826040516020016114a09291906126d4565b60405160208183030381529060405292505050919050565b806114c285611a27565b6040516020016114a09291906126d4565b600a546001600160a01b031633146114fd5760405162461bcd60e51b815260040161082b90612638565b6001600160a01b0381166115625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161082b565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610a7b600283611b28565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061160082610cf3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610a7b825490565b610ba3828260405180602001604052806000815250611b40565b6000611668826115be565b6116c95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161082b565b60006116d483610cf3565b9050806001600160a01b0316846001600160a01b0316148061170f5750836001600160a01b0316611704846107c3565b6001600160a01b0316145b8061173f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661175a82610cf3565b6001600160a01b0316146117c25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161082b565b6001600160a01b0382166118245760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161082b565b61182f6000826115cb565b6001600160a01b03831660009081526001602052604090206118519082611b73565b506001600160a01b03821660009081526001602052604090206118749082611b7f565b5061188160028284611b8b565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610a788383611ba1565b60008080806118e38686611c27565b9097909650945050505050565b6009610ba38282612751565b6000611909848484611cc4565b90505b9392505050565b600080611920838561260c565b905083811015610a785760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161082b565b60008260000361198457506000610a7b565b60006119908385612811565b90508261199d8583612846565b14610a785760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161082b565b6119ff848484611747565b611a0b84848484611d2d565b61135c5760405162461bcd60e51b815260040161082b9061285a565b606081600003611a4e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a785780611a628161261f565b9150611a719050600a83612846565b9150611a52565b60008167ffffffffffffffff811115611a9357611a936123e8565b6040519080825280601f01601f191660200182016040528015611abd576020820181803683370190505b5090505b841561173f57611ad26001836128ac565b9150611adf600a866128bf565b611aea90603061260c565b60f81b818381518110611aff57611aff6126be565b60200101906001600160f81b031916908160001a905350611b21600a86612846565b9450611ac1565b60008181526001830160205260408120541515610a78565b611b4a8383611dfe565b611b576000848484611d2d565b6109605760405162461bcd60e51b815260040161082b9061285a565b6000610a788383611f16565b6000610a788383612009565b600061190984846001600160a01b038516612058565b81546000908210611bff5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161082b565b826000018281548110611c1457611c146126be565b9060005260206000200154905092915050565b815460009081908310611c875760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161082b565b6000846000018481548110611c9e57611c9e6126be565b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611cf45760405162461bcd60e51b815260040161082b9190612289565b5084611d016001836128ac565b81548110611d1157611d116126be565b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b611d465750600161173f565b6000611dc7630a85bd0160e11b33888787604051602401611d6a94939291906128d3565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612960603291396001600160a01b03881691906120fb565b9050600081806020019051810190611ddf9190612910565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6001600160a01b038216611e545760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161082b565b611e5d816115be565b15611eaa5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161082b565b6001600160a01b0382166000908152600160205260409020611ecc9082611b7f565b50611ed960028284611b8b565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008181526001830160205260408120548015611fff576000611f3a6001836128ac565b8554909150600090611f4e906001906128ac565b90506000866000018281548110611f6757611f676126be565b9060005260206000200154905080876000018481548110611f8a57611f8a6126be565b600091825260209091200155611fa183600161260c565b60008281526001890160205260409020558654879080611fc357611fc361292d565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a7b565b6000915050610a7b565b600081815260018301602052604081205461205057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a7b565b506000610a7b565b60008281526001840160205260408120548082036120bf57505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205561190c565b82856120cc6001846128ac565b815481106120dc576120dc6126be565b906000526020600020906002020160010181905550600091505061190c565b6060611909848460008585843b6121545760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161082b565b600080866001600160a01b031685876040516121709190612943565b60006040518083038185875af1925050503d80600081146121ad576040519150601f19603f3d011682016040523d82523d6000602084013e6121b2565b606091505b50915091506121c28282866121cd565b979650505050505050565b606083156121dc57508161190c565b8251156121ec5782518084602001fd5b8160405162461bcd60e51b815260040161082b9190612289565b6001600160e01b031981168114610cc157600080fd5b60006020828403121561222e57600080fd5b8135610a7881612206565b60005b8381101561225457818101518382015260200161223c565b50506000910152565b60008151808452612275816020860160208601612239565b601f01601f19169290920160200192915050565b602081526000610a78602083018461225d565b6000602082840312156122ae57600080fd5b5035919050565b80356001600160a01b03811681146122cc57600080fd5b919050565b600080604083850312156122e457600080fd5b6122ed836122b5565b946020939093013593505050565b60008060006060848603121561231057600080fd5b612319846122b5565b9250612327602085016122b5565b9150604084013590509250925092565b6000806040838503121561234a57600080fd5b612353836122b5565b91506020830135801515811461236857600080fd5b809150509250929050565b6000806020838503121561238657600080fd5b823567ffffffffffffffff8082111561239e57600080fd5b818501915085601f8301126123b257600080fd5b8135818111156123c157600080fd5b8660208260051b85010111156123d657600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612419576124196123e8565b604051601f8501601f19908116603f01168101908282118183101715612441576124416123e8565b8160405280935085815286868601111561245a57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561248657600080fd5b813567ffffffffffffffff81111561249d57600080fd5b8201601f810184136124ae57600080fd5b61173f848235602084016123fe565b6000602082840312156124cf57600080fd5b610a78826122b5565b600080600080608085870312156124ee57600080fd5b6124f7856122b5565b9350612505602086016122b5565b925060408501359150606085013567ffffffffffffffff81111561252857600080fd5b8501601f8101871361253957600080fd5b612548878235602084016123fe565b91505092959194509250565b6000806040838503121561256757600080fd5b612570836122b5565b915061257e602084016122b5565b90509250929050565b600181811c9082168061259b57607f821691505b6020821081036125bb57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f536f7272793a20596f7520617265206e6f74206120546f6b656e2041646d696e604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a7b57610a7b6125f6565b600060018201612631576126316125f6565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600083516126e6818460208801612239565b8351908301906126fa818360208801612239565b01949350505050565b601f82111561096057600081815260208120601f850160051c8101602086101561272a5750805b601f850160051c820191505b8181101561274957828155600101612736565b505050505050565b815167ffffffffffffffff81111561276b5761276b6123e8565b61277f816127798454612587565b84612703565b602080601f8311600181146127b4576000841561279c5750858301515b600019600386901b1c1916600185901b178555612749565b600085815260208120601f198616915b828110156127e3578886015182559484019460019091019084016127c4565b50858210156128015787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600081600019048311821515161561282b5761282b6125f6565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261285557612855612830565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b81810381811115610a7b57610a7b6125f6565b6000826128ce576128ce612830565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129069083018461225d565b9695505050505050565b60006020828403121561292257600080fd5b8151610a7881612206565b634e487b7160e01b600052603160045260246000fd5b60008251612955818460208701612239565b919091019291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212209bed5e7275bf4698d502f57491d0eff9f373ca2cea650500e4409bf61bde9cf764736f6c63430008100033697066733a2f2f516d614e43794769417767323451727462694d5457384a324a556b746267453332367861697a70475a6a514655632f
Deployed Bytecode
0x6080604052600436106102305760003560e01c80636352211e1161012e57806395d89b41116100ab578063bde708f41161006f578063bde708f414610678578063c87b56dd1461068e578063e985e9c5146106ae578063eb8d2444146106f7578063f2fde38b1461071157600080fd5b806395d89b41146105f0578063a0712d6814610605578063a22cb46514610618578063a2bdde3d14610638578063b88d4fde1461065857600080fd5b8063715018a6116100f2578063715018a6146105675780637d9a7a4c1461057c5780637f6497831461059c5780638da5cb5b146105bc57806393f344c1146105da57600080fd5b80636352211e146104b95780636c0360eb146104d95780636f9170f6146104ee57806370a0823114610527578063711897421461054757600080fd5b80632f745c59116101bc57806342842e0e1161018057806342842e0e146104195780634f6ccce714610439578063548db1741461045957806355f804b3146104795780635d0044ca1461049957600080fd5b80632f745c591461039957806334918dfd146103b95780633492d7a7146103ce5780633789f8d1146103e45780633ccfd60b1461040457600080fd5b80630d39fc81116102035780630d39fc811461030057806318160ddd146103245780631b7cfa09146103395780631fe9eabc1461035957806323b872dd1461037957600080fd5b806301ffc9a71461023557806306fdde0314610284578063081812fc146102a6578063095ea7b3146102de575b600080fd5b34801561024157600080fd5b5061026f61025036600461221c565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561029057600080fd5b50610299610731565b60405161027b9190612289565b3480156102b257600080fd5b506102c66102c136600461229c565b6107c3565b6040516001600160a01b03909116815260200161027b565b3480156102ea57600080fd5b506102fe6102f93660046122d1565b610850565b005b34801561030c57600080fd5b50610316600c5481565b60405190815260200161027b565b34801561033057600080fd5b50610316610965565b34801561034557600080fd5b506102fe61035436600461229c565b610976565b34801561036557600080fd5b506102fe61037436600461229c565b6109f6565b34801561038557600080fd5b506102fe6103943660046122fb565b610a25565b3480156103a557600080fd5b506103166103b43660046122d1565b610a56565b3480156103c557600080fd5b506102fe610a81565b3480156103da57600080fd5b50610316600e5481565b3480156103f057600080fd5b506102fe6103ff366004612337565b610ad9565b34801561041057600080fd5b506102fe610b2e565b34801561042557600080fd5b506102fe6104343660046122fb565b610ba7565b34801561044557600080fd5b5061031661045436600461229c565b610bc2565b34801561046557600080fd5b506102fe610474366004612373565b610bd8565b34801561048557600080fd5b506102fe610494366004612474565b610c8e565b3480156104a557600080fd5b506102fe6104b436600461229c565b610cc4565b3480156104c557600080fd5b506102c66104d436600461229c565b610cf3565b3480156104e557600080fd5b50610299610d1b565b3480156104fa57600080fd5b5061026f6105093660046124bd565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561053357600080fd5b506103166105423660046124bd565b610d2a565b34801561055357600080fd5b506102fe61056236600461229c565b610db6565b34801561057357600080fd5b506102fe610de5565b34801561058857600080fd5b506102fe61059736600461229c565b610e59565b3480156105a857600080fd5b506102fe6105b7366004612373565b610e88565b3480156105c857600080fd5b50600a546001600160a01b03166102c6565b3480156105e657600080fd5b50610316600f5481565b3480156105fc57600080fd5b50610299610f3e565b6102fe61061336600461229c565b610f4d565b34801561062457600080fd5b506102fe610633366004612337565b611230565b34801561064457600080fd5b5061026f6106533660046124bd565b6112f4565b34801561066457600080fd5b506102fe6106733660046124d8565b61132a565b34801561068457600080fd5b50610316600d5481565b34801561069a57600080fd5b506102996106a936600461229c565b611362565b3480156106ba57600080fd5b5061026f6106c9366004612554565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561070357600080fd5b5060105461026f9060ff1681565b34801561071d57600080fd5b506102fe61072c3660046124bd565b6114d3565b60606006805461074090612587565b80601f016020809104026020016040519081016040528092919081815260200182805461076c90612587565b80156107b95780601f1061078e576101008083540402835291602001916107b9565b820191906000526020600020905b81548152906001019060200180831161079c57829003601f168201915b5050505050905090565b60006107ce826115be565b6108345760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061085b82610cf3565b9050806001600160a01b0316836001600160a01b0316036108c85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161082b565b336001600160a01b03821614806108e457506108e481336106c9565b6109565760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161082b565b61096083836115cb565b505050565b60006109716002611639565b905090565b3360009081526012602052604090205460ff168061099e5750600a546001600160a01b031633145b6109ba5760405162461bcd60e51b815260040161082b906125c1565b60006109c4610965565b905060005b82811015610960576109e4336109df838561260c565b611643565b806109ee8161261f565b9150506109c9565b600a546001600160a01b03163314610a205760405162461bcd60e51b815260040161082b90612638565b600f55565b610a2f338261165d565b610a4b5760405162461bcd60e51b815260040161082b9061266d565b610960838383611747565b6001600160a01b0382166000908152600160205260408120610a7890836118c8565b90505b92915050565b3360009081526012602052604090205460ff1680610aa95750600a546001600160a01b031633145b610ac55760405162461bcd60e51b815260040161082b906125c1565b6010805460ff19811660ff90911615179055565b600a546001600160a01b03163314610b035760405162461bcd60e51b815260040161082b90612638565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b600a546001600160a01b03163314610b585760405162461bcd60e51b815260040161082b90612638565b47610b6b600a546001600160a01b031690565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015610ba3573d6000803e3d6000fd5b5050565b6109608383836040518060200160405280600081525061132a565b600080610bd06002846118d4565b509392505050565b3360009081526012602052604090205460ff1680610c005750600a546001600160a01b031633145b610c1c5760405162461bcd60e51b815260040161082b906125c1565b60005b8181101561096057600060116000858585818110610c3f57610c3f6126be565b9050602002016020810190610c5491906124bd565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c868161261f565b915050610c1f565b600a546001600160a01b03163314610cb85760405162461bcd60e51b815260040161082b90612638565b610cc1816118f0565b50565b600a546001600160a01b03163314610cee5760405162461bcd60e51b815260040161082b90612638565b600e55565b6000610a7b8260405180606001604052806029815260200161299260299139600291906118fc565b60606009805461074090612587565b60006001600160a01b038216610d955760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161082b565b6001600160a01b0382166000908152600160205260409020610a7b90611639565b600a546001600160a01b03163314610de05760405162461bcd60e51b815260040161082b90612638565b600d55565b600a546001600160a01b03163314610e0f5760405162461bcd60e51b815260040161082b90612638565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600a546001600160a01b03163314610e835760405162461bcd60e51b815260040161082b90612638565b600c55565b3360009081526012602052604090205460ff1680610eb05750600a546001600160a01b031633145b610ecc5760405162461bcd60e51b815260040161082b906125c1565b60005b8181101561096057600160116000858585818110610eef57610eef6126be565b9050602002016020810190610f0491906124bd565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610f368161261f565b915050610ecf565b60606007805461074090612587565b323314610f905760405162461bcd60e51b8152602060048201526011602482015270736f7272792068756d616e73206f6e6c7960781b604482015260640161082b565b6002600b5403610fe25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161082b565b6002600b5560105460ff168061100757503360009081526011602052604090205460ff165b6110725760405162461bcd60e51b815260206004820152603660248201527f53616c65206d75737420626520616374697665206f7220796f75206d757374206044820152751899481dda1a5d195b1a5cdd1959081d1bc81b5a5b9d60521b606482015260840161082b565b600e546110888261108233610d2a565b90611913565b11156110d65760405162461bcd60e51b815260206004820152601a60248201527f43616e206f6e6c79206d696e742031207065722077616c6c6574000000000000604482015260640161082b565b600d548111156111285760405162461bcd60e51b815260206004820152601960248201527f43616e206f6e6c79206d696e74203120617420612074696d6500000000000000604482015260640161082b565b600f5461113782611082610965565b11156111855760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c79604482015260640161082b565b600c5434906111949083611972565b11156111e25760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161082b565b60005b818110156112275760006111f7610965565b9050600f54611204610965565b1015611214576112143382611643565b508061121f8161261f565b9150506111e5565b50506001600b55565b336001600160a01b038316036112885760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161082b565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6001600160a01b03811660009081526012602052604081205460ff1680610a7b575050600a546001600160a01b03163314919050565b611334338361165d565b6113505760405162461bcd60e51b815260040161082b9061266d565b61135c848484846119f4565b50505050565b606061136d826115be565b6113d15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161082b565b600082815260086020526040812080546113ea90612587565b80601f016020809104026020016040519081016040528092919081815260200182805461141690612587565b80156114635780601f1061143857610100808354040283529160200191611463565b820191906000526020600020905b81548152906001019060200180831161144657829003601f168201915b505050505090506000611474610d1b565b90508051600003611486575092915050565b8151156114b85780826040516020016114a09291906126d4565b60405160208183030381529060405292505050919050565b806114c285611a27565b6040516020016114a09291906126d4565b600a546001600160a01b031633146114fd5760405162461bcd60e51b815260040161082b90612638565b6001600160a01b0381166115625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161082b565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610a7b600283611b28565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061160082610cf3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610a7b825490565b610ba3828260405180602001604052806000815250611b40565b6000611668826115be565b6116c95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161082b565b60006116d483610cf3565b9050806001600160a01b0316846001600160a01b0316148061170f5750836001600160a01b0316611704846107c3565b6001600160a01b0316145b8061173f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661175a82610cf3565b6001600160a01b0316146117c25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161082b565b6001600160a01b0382166118245760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161082b565b61182f6000826115cb565b6001600160a01b03831660009081526001602052604090206118519082611b73565b506001600160a01b03821660009081526001602052604090206118749082611b7f565b5061188160028284611b8b565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610a788383611ba1565b60008080806118e38686611c27565b9097909650945050505050565b6009610ba38282612751565b6000611909848484611cc4565b90505b9392505050565b600080611920838561260c565b905083811015610a785760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161082b565b60008260000361198457506000610a7b565b60006119908385612811565b90508261199d8583612846565b14610a785760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161082b565b6119ff848484611747565b611a0b84848484611d2d565b61135c5760405162461bcd60e51b815260040161082b9061285a565b606081600003611a4e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a785780611a628161261f565b9150611a719050600a83612846565b9150611a52565b60008167ffffffffffffffff811115611a9357611a936123e8565b6040519080825280601f01601f191660200182016040528015611abd576020820181803683370190505b5090505b841561173f57611ad26001836128ac565b9150611adf600a866128bf565b611aea90603061260c565b60f81b818381518110611aff57611aff6126be565b60200101906001600160f81b031916908160001a905350611b21600a86612846565b9450611ac1565b60008181526001830160205260408120541515610a78565b611b4a8383611dfe565b611b576000848484611d2d565b6109605760405162461bcd60e51b815260040161082b9061285a565b6000610a788383611f16565b6000610a788383612009565b600061190984846001600160a01b038516612058565b81546000908210611bff5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161082b565b826000018281548110611c1457611c146126be565b9060005260206000200154905092915050565b815460009081908310611c875760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161082b565b6000846000018481548110611c9e57611c9e6126be565b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611cf45760405162461bcd60e51b815260040161082b9190612289565b5084611d016001836128ac565b81548110611d1157611d116126be565b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b611d465750600161173f565b6000611dc7630a85bd0160e11b33888787604051602401611d6a94939291906128d3565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612960603291396001600160a01b03881691906120fb565b9050600081806020019051810190611ddf9190612910565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6001600160a01b038216611e545760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161082b565b611e5d816115be565b15611eaa5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161082b565b6001600160a01b0382166000908152600160205260409020611ecc9082611b7f565b50611ed960028284611b8b565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008181526001830160205260408120548015611fff576000611f3a6001836128ac565b8554909150600090611f4e906001906128ac565b90506000866000018281548110611f6757611f676126be565b9060005260206000200154905080876000018481548110611f8a57611f8a6126be565b600091825260209091200155611fa183600161260c565b60008281526001890160205260409020558654879080611fc357611fc361292d565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a7b565b6000915050610a7b565b600081815260018301602052604081205461205057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a7b565b506000610a7b565b60008281526001840160205260408120548082036120bf57505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205561190c565b82856120cc6001846128ac565b815481106120dc576120dc6126be565b906000526020600020906002020160010181905550600091505061190c565b6060611909848460008585843b6121545760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161082b565b600080866001600160a01b031685876040516121709190612943565b60006040518083038185875af1925050503d80600081146121ad576040519150601f19603f3d011682016040523d82523d6000602084013e6121b2565b606091505b50915091506121c28282866121cd565b979650505050505050565b606083156121dc57508161190c565b8251156121ec5782518084602001fd5b8160405162461bcd60e51b815260040161082b9190612289565b6001600160e01b031981168114610cc157600080fd5b60006020828403121561222e57600080fd5b8135610a7881612206565b60005b8381101561225457818101518382015260200161223c565b50506000910152565b60008151808452612275816020860160208601612239565b601f01601f19169290920160200192915050565b602081526000610a78602083018461225d565b6000602082840312156122ae57600080fd5b5035919050565b80356001600160a01b03811681146122cc57600080fd5b919050565b600080604083850312156122e457600080fd5b6122ed836122b5565b946020939093013593505050565b60008060006060848603121561231057600080fd5b612319846122b5565b9250612327602085016122b5565b9150604084013590509250925092565b6000806040838503121561234a57600080fd5b612353836122b5565b91506020830135801515811461236857600080fd5b809150509250929050565b6000806020838503121561238657600080fd5b823567ffffffffffffffff8082111561239e57600080fd5b818501915085601f8301126123b257600080fd5b8135818111156123c157600080fd5b8660208260051b85010111156123d657600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612419576124196123e8565b604051601f8501601f19908116603f01168101908282118183101715612441576124416123e8565b8160405280935085815286868601111561245a57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561248657600080fd5b813567ffffffffffffffff81111561249d57600080fd5b8201601f810184136124ae57600080fd5b61173f848235602084016123fe565b6000602082840312156124cf57600080fd5b610a78826122b5565b600080600080608085870312156124ee57600080fd5b6124f7856122b5565b9350612505602086016122b5565b925060408501359150606085013567ffffffffffffffff81111561252857600080fd5b8501601f8101871361253957600080fd5b612548878235602084016123fe565b91505092959194509250565b6000806040838503121561256757600080fd5b612570836122b5565b915061257e602084016122b5565b90509250929050565b600181811c9082168061259b57607f821691505b6020821081036125bb57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f536f7272793a20596f7520617265206e6f74206120546f6b656e2041646d696e604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a7b57610a7b6125f6565b600060018201612631576126316125f6565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600083516126e6818460208801612239565b8351908301906126fa818360208801612239565b01949350505050565b601f82111561096057600081815260208120601f850160051c8101602086101561272a5750805b601f850160051c820191505b8181101561274957828155600101612736565b505050505050565b815167ffffffffffffffff81111561276b5761276b6123e8565b61277f816127798454612587565b84612703565b602080601f8311600181146127b4576000841561279c5750858301515b600019600386901b1c1916600185901b178555612749565b600085815260208120601f198616915b828110156127e3578886015182559484019460019091019084016127c4565b50858210156128015787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600081600019048311821515161561282b5761282b6125f6565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261285557612855612830565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b81810381811115610a7b57610a7b6125f6565b6000826128ce576128ce612830565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129069083018461225d565b9695505050505050565b60006020828403121561292257600080fd5b8151610a7881612206565b634e487b7160e01b600052603160045260246000fd5b60008251612955818460208701612239565b919091019291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212209bed5e7275bf4698d502f57491d0eff9f373ca2cea650500e4409bf61bde9cf764736f6c63430008100033
Deployed Bytecode Sourcemap
68540:3347: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:33;;;;;;;;;;;;;;;;;;;2324:25:1;;;2312:2;2297:18;68632:33:0;2178:177:1;53131:211:0;;;;;;;;;;;;;:::i;69928:217::-;;;;;;;;;;-1:-1:-1;69928:217:0;;;;;:::i;:::-;;:::i;69346:80::-;;;;;;;;;;-1:-1:-1;69346:80:0;;;;;:::i;:::-;;:::i;55013:305::-;;;;;;;;;;-1:-1:-1;55013:305:0;;;;;:::i;:::-;;:::i;52893:162::-;;;;;;;;;;-1:-1:-1;52893:162:0;;;;;:::i;:::-;;:::i;70260:94::-;;;;;;;;;;;;;:::i;68709:28::-;;;;;;;;;;;;;;;;69798:122;;;;;;;;;;-1:-1:-1;69798:122:0;;;;;:::i;:::-;;:::i;69648:142::-;;;;;;;;;;;;;:::i;55389:151::-;;;;;;;;;;-1:-1:-1;55389:151:0;;;;;:::i;:::-;;:::i;53419:172::-;;;;;;;;;;-1:-1:-1;53419:172:0;;;;;:::i;:::-;;:::i;70575:211::-;;;;;;;;;;-1:-1:-1;70575:211:0;;;;;:::i;:::-;;:::i;70153:99::-;;;;;;;;;;-1:-1:-1;70153:99:0;;;;;:::i;:::-;;:::i;69543:97::-;;;;;;;;;;-1:-1:-1;69543:97:0;;;;;:::i;:::-;;:::i;51093:177::-;;;;;;;;;;-1:-1:-1;51093:177:0;;;;;:::i;:::-;;:::i;52712:97::-;;;;;;;;;;;;;:::i;70794:116::-;;;;;;;;;;-1:-1:-1;70794:116:0;;;;;:::i;:::-;-1:-1:-1;;;;;70879:23:0;70855:4;70879:23;;;:14;:23;;;;;;;;;70794:116;50810:221;;;;;;;;;;-1:-1:-1;50810:221:0;;;;;:::i;:::-;;:::i;69434:101::-;;;;;;;;;;-1:-1:-1;69434:101:0;;;;;:::i;:::-;;:::i;65945:148::-;;;;;;;;;;;;;:::i;69248:90::-;;;;;;;;;;-1:-1:-1;69248:90:0;;;;;:::i;:::-;;:::i;70362:205::-;;;;;;;;;;-1:-1:-1;70362:205:0;;;;;:::i;:::-;;:::i;65294:87::-;;;;;;;;;;-1:-1:-1;65367:6:0;;-1:-1:-1;;;;;65367:6:0;65294:87;;68744:22;;;;;;;;;;;;;;;;51506:104;;;;;;;;;;;;;:::i;71067:817::-;;;;;;:::i;:::-;;:::i;54416:295::-;;;;;;;;;;-1:-1:-1;54416:295:0;;;;;:::i;:::-;;:::i;70918:141::-;;;;;;;;;;-1:-1:-1;70918:141:0;;;;;:::i;:::-;;:::i;55611:285::-;;;;;;;;;;-1:-1:-1;55611:285:0;;;;;:::i;:::-;;:::i;68672:30::-;;;;;;;;;;;;;;;;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;68773:32;;;;;;;;;;-1:-1:-1;68773: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;69928:217::-;687:10;69129:27;;;;:13;:27;;;;;;;;;:54;;-1:-1:-1;65367:6:0;;-1:-1:-1;;;;;65367:6:0;687:10;69160:23;69129:54;69121:99;;;;-1:-1:-1;;;69121:99:0;;;;;;;:::i;:::-;70006:11:::1;70020:13;:11;:13::i;:::-;70006:27;;70049:6;70044:94;70065:6;70061:1;:10;70044:94;;;70093:33;70103:10;70115;70124:1:::0;70115:6;:10:::1;:::i;:::-;70093:9;:33::i;:::-;70073:3:::0;::::1;::::0;::::1;:::i;:::-;;;;70044:94;;69346:80:::0;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;69405:7:::1;:13:::0;69346: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;70260:94::-;687:10;69129:27;;;;:13;:27;;;;;;;;;:54;;-1:-1:-1;65367:6:0;;-1:-1:-1;;;;;65367:6:0;687:10;69160:23;69129:54;69121:99;;;;-1:-1:-1;;;69121:99:0;;;;;;;:::i;:::-;70334:12:::1;::::0;;-1:-1:-1;;70318:28:0;::::1;70334:12;::::0;;::::1;70333:13;70318:28;::::0;;70260:94::o;69798: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;;;;;69880:22:0;;;::::1;;::::0;;;:13:::1;:22;::::0;;;;:32;;-1:-1:-1;;69880:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;69798:122::o;69648:142::-;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;69716:21:::1;69756:7;65367:6:::0;;-1:-1:-1;;;;;65367:6:0;;65294:87;69756:7:::1;-1:-1:-1::0;;;;;69748:25:0::1;:34;69774:7;69748:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;69687:103;69648: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;70575:211::-;687:10;69129:27;;;;:13;:27;;;;;;;;;:54;;-1:-1:-1;65367:6:0;;-1:-1:-1;;;;;65367:6:0;687:10;69160:23;69129:54;69121:99;;;;-1:-1:-1;;;69121:99:0;;;;;;;:::i;:::-;70674:9:::1;70669:110;70689:20:::0;;::::1;70669:110;;;70762:5;70731:14;:28;70746:9;;70756:1;70746:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;70731:28:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;70731:28:0;:36;;-1:-1:-1;;70731:36:0::1;::::0;::::1;;::::0;;;::::1;::::0;;70711:3;::::1;::::0;::::1;:::i;:::-;;;;70669:110;;70153:99:::0;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;70224:20:::1;70236:7;70224:11;:20::i;:::-;70153:99:::0;:::o;69543:97::-;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;69611:12:::1;:21:::0;69543: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;69434:101::-;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;69504:14:::1;:23:::0;69434: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;69248:90::-;65367:6;;-1:-1:-1;;;;;65367:6:0;687:10;65514:23;65506:68;;;;-1:-1:-1;;;65506:68:0;;;;;;;:::i;:::-;69314:8:::1;:16:::0;69248:90::o;70362:205::-;687:10;69129:27;;;;:13;:27;;;;;;;;;:54;;-1:-1:-1;65367:6:0;;-1:-1:-1;;;;;65367:6:0;687:10;69160:23;69129:54;69121:99;;;;-1:-1:-1;;;69121:99:0;;;;;;;:::i;:::-;70456:9:::1;70451:109;70471:20:::0;;::::1;70451:109;;;70544:4;70513:14;:28;70528:9;;70538:1;70528:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;70513:28:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;70513:28:0;:35;;-1:-1:-1;;70513:35:0::1;::::0;::::1;;::::0;;;::::1;::::0;;70493:3;::::1;::::0;::::1;:::i;:::-;;;;70451:109;;51506:104:::0;51562:13;51595:7;51588:14;;;;;:::i;71067:817::-;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;71159:12:::2;::::0;::::2;;::::0;:44:::2;;-1:-1:-1::0;687:10:0;71175:28:::2;::::0;;;:14:::2;:28;::::0;;;;;::::2;;71159:44;71151:111;;;::::0;-1:-1:-1;;;71151:111:0;;10636:2:1;71151: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;;71151:111:0::2;10434:418:1::0;71151:111:0::2;71328:12;::::0;71281:43:::2;71309:14:::0;71281:23:::2;687:10:::0;50810:221;:::i;71281:23::-:2;:27:::0;::::2;:43::i;:::-;:59;;71273:98;;;::::0;-1:-1:-1;;;71273:98:0;;11059:2:1;71273:98:0::2;::::0;::::2;11041:21:1::0;11098:2;11078:18;;;11071:30;11137:28;11117:18;;;11110:56;11183:18;;71273:98:0::2;10857:350:1::0;71273:98:0::2;71408:14;;71390;:32;;71382:70;;;::::0;-1:-1:-1;;;71382:70:0;;11414:2:1;71382:70:0::2;::::0;::::2;11396:21:1::0;11453:2;11433:18;;;11426:30;11492:27;11472:18;;;11465:55;11537:18;;71382:70:0::2;11212:349:1::0;71382:70:0::2;71508:7;;71471:33;71489:14;71471:13;:11;:13::i;:33::-;:44;;71463:89;;;::::0;-1:-1:-1;;;71463:89:0;;11768:2:1;71463:89:0::2;::::0;::::2;11750:21:1::0;;;11787:18;;;11780:30;11846:34;11826:18;;;11819:62;11898:18;;71463:89:0::2;11566:356:1::0;71463:89:0::2;71571:8;::::0;71603:9:::2;::::0;71571:28:::2;::::0;71584:14;71571:12:::2;:28::i;:::-;:41;;71563:85;;;::::0;-1:-1:-1;;;71563:85:0;;12129:2:1;71563:85:0::2;::::0;::::2;12111:21:1::0;12168:2;12148:18;;;12141:30;12207:33;12187:18;;;12180:61;12258:18;;71563:85:0::2;11927:355:1::0;71563:85:0::2;71673:6;71669:208;71689:14;71685:1;:18;71669:208;;;71725:14;71742:13;:11;:13::i;:::-;71725:30;;71790:7;;71774:13;:11;:13::i;:::-;:23;71770:96;;;71818:32;71828:10;71840:9;71818;:32::i;:::-;-1:-1:-1::0;71705:3:0;::::2;::::0;::::2;:::i;:::-;;;;71669:208;;;-1:-1:-1::0;;67339:1:0::1;68310:7;:22:::0;71067:817::o;54416:295::-;687:10;-1:-1:-1;;;;;54519:24:0;;;54511:62;;;;-1:-1:-1;;;54511:62:0;;12489:2:1;54511:62:0;;;12471:21:1;12528:2;12508:18;;;12501:30;12567:27;12547:18;;;12540:55;12612:18;;54511:62:0;12287: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;70918:141::-;-1:-1:-1;;;;;71002:22:0;;70978:4;71002:22;;;:13;:22;;;;;;;;;:49;;-1:-1:-1;;65367:6:0;;-1:-1:-1;;;;;65367:6:0;687:10;71028:23;;;-1:-1:-1;70918: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;;12843:2:1;51780:76:0;;;12825:21:1;12882:2;12862:18;;;12855:30;12921:34;12901:18;;;12894:62;-1:-1:-1;;;12972:18:1;;;12965:45;13027:19;;51780:76:0;12641: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;;13760:2:1;66329:73:0::1;::::0;::::1;13742:21:1::0;13799:2;13779:18;;;13772:30;13838:34;13818:18;;;13811:62;-1:-1:-1;;;13889:18:1;;;13882:36;13935:19;;66329:73:0::1;13558: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;;14167:2:1;57767:73:0;;;14149:21:1;14206:2;14186:18;;;14179:30;14245:34;14225:18;;;14218:62;-1:-1:-1;;;14296:18:1;;;14289:42;14348:19;;57767:73:0;13965: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;;14580:2:1;60883:85:0;;;14562:21:1;14619:2;14599:18;;;14592:30;14658:34;14638:18;;;14631:62;-1:-1:-1;;;14709:18:1;;;14702:39;14758:19;;60883:85:0;14378:405:1;60883:85:0;-1:-1:-1;;;;;61005:16:0;;60997:65;;;;-1:-1:-1;;;60997:65:0;;14990:2:1;60997:65:0;;;14972:21:1;15029:2;15009:18;;;15002:30;15068:34;15048:18;;;15041:62;-1:-1:-1;;;15119:18:1;;;15112:34;15163:19;;60997:65:0;14788: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;;17599:2:1;13106:46:0;;;17581:21:1;17638:2;17618:18;;;17611:30;17677:29;17657:18;;;17650:57;17724:18;;13106:46:0;17397: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;;18385:2:1;14016:56:0;;;18367:21:1;18424:2;18404:18;;;18397:30;18463:34;18443:18;;;18436:62;-1:-1:-1;;;18514:18:1;;;18507:31;18555:19;;14016:56:0;18183: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;;19456:2:1;30236:73:0;;;19438:21:1;19495:2;19475:18;;;19468:30;19534:34;19514:18;;;19507:62;-1:-1:-1;;;19585:18:1;;;19578:32;19627:19;;30236:73:0;19254: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;;19859:2:1;40361:74:0;;;19841:21:1;19898:2;19878:18;;;19871:30;19937:34;19917:18;;;19910:62;-1:-1:-1;;;19988:18:1;;;19981:32;20030:19;;40361:74:0;19657: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;;21010:2:1;59350:61:0;;;20992:21:1;;;21029:18;;;21022:30;21088:34;21068:18;;;21061:62;21140:18;;59350:61:0;20808:356:1;59350:61:0;59431:16;59439:7;59431;:16::i;:::-;59430:17;59422:58;;;;-1:-1:-1;;;59422:58:0;;21371:2:1;59422:58:0;;;21353:21:1;21410:2;21390:18;;;21383:30;21449;21429:18;;;21422:58;21497:18;;59422:58:0;21169: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;;22267:2:1;22593:60:0;;;22249:21:1;22306:2;22286:18;;;22279:30;22345:31;22325:18;;;22318:59;22394:18;;22593:60:0;22065: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:356::-;8608:2;8590:21;;;8627:18;;;8620:30;8686:34;8681:2;8666:18;;8659:62;8753:2;8738:18;;8406:356::o;8767:413::-;8969:2;8951:21;;;9008:2;8988:18;;;8981:30;9047:34;9042:2;9027:18;;9020:62;-1:-1:-1;;;9113:2:1;9098:18;;9091:47;9170:3;9155:19;;8767:413::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;13057:496;13236:3;13274:6;13268:13;13290:66;13349:6;13344:3;13337:4;13329:6;13325:17;13290:66;:::i;:::-;13419:13;;13378:16;;;;13441:70;13419:13;13378:16;13488:4;13476:17;;13441:70;:::i;:::-;13527:20;;13057:496;-1:-1:-1;;;;13057:496:1:o;15319:545::-;15421:2;15416:3;15413:11;15410:448;;;15457:1;15482:5;15478:2;15471:17;15527:4;15523:2;15513:19;15597:2;15585:10;15581:19;15578:1;15574:27;15568:4;15564:38;15633:4;15621:10;15618:20;15615:47;;;-1:-1:-1;15656:4:1;15615:47;15711:2;15706:3;15702:12;15699:1;15695:20;15689:4;15685:31;15675:41;;15766:82;15784:2;15777:5;15774:13;15766:82;;;15829:17;;;15810:1;15799:13;15766:82;;;15770:3;;;15319:545;;;:::o;16040:1352::-;16166:3;16160:10;16193:18;16185:6;16182:30;16179:56;;;16215:18;;:::i;:::-;16244:97;16334:6;16294:38;16326:4;16320:11;16294:38;:::i;:::-;16288:4;16244:97;:::i;:::-;16396:4;;16460:2;16449:14;;16477:1;16472:663;;;;17179:1;17196:6;17193:89;;;-1:-1:-1;17248:19:1;;;17242:26;17193:89;-1:-1:-1;;15997:1:1;15993:11;;;15989:24;15985:29;15975:40;16021:1;16017:11;;;15972:57;17295:81;;16442:944;;16472:663;15266:1;15259:14;;;15303:4;15290:18;;-1:-1:-1;;16508:20:1;;;16626:236;16640:7;16637:1;16634:14;16626:236;;;16729:19;;;16723:26;16708:42;;16821:27;;;;16789:1;16777:14;;;;16656:19;;16626:236;;;16630:3;16890:6;16881:7;16878:19;16875:201;;;16951:19;;;16945:26;-1:-1:-1;;17034:1:1;17030:14;;;17046:3;17026:24;17022:37;17018:42;17003:58;16988:74;;16875:201;-1:-1:-1;;;;;17122:1:1;17106:14;;;17102:22;17089:36;;-1:-1:-1;16040:1352:1:o;17753:168::-;17793:7;17859:1;17855;17851:6;17847:14;17844:1;17841:21;17836:1;17829:9;17822:17;17818:45;17815:71;;;17866:18;;:::i;:::-;-1:-1:-1;17906:9:1;;17753:168::o;17926:127::-;17987:10;17982:3;17978:20;17975:1;17968:31;18018:4;18015:1;18008:15;18042:4;18039:1;18032:15;18058:120;18098:1;18124;18114:35;;18129:18;;:::i;:::-;-1:-1:-1;18163:9:1;;18058:120::o;18585:414::-;18787:2;18769:21;;;18826:2;18806:18;;;18799:30;18865:34;18860:2;18845:18;;18838:62;-1:-1:-1;;;18931:2:1;18916:18;;18909:48;18989:3;18974:19;;18585:414::o;19004:128::-;19071:9;;;19092:11;;;19089:37;;;19106:18;;:::i;19137:112::-;19169:1;19195;19185:35;;19200:18;;:::i;:::-;-1:-1:-1;19234:9:1;;19137:112::o;20060:489::-;-1:-1:-1;;;;;20329:15:1;;;20311:34;;20381:15;;20376:2;20361:18;;20354:43;20428:2;20413:18;;20406:34;;;20476:3;20471:2;20456:18;;20449:31;;;20254:4;;20497:46;;20523:19;;20515:6;20497:46;:::i;:::-;20489:54;20060:489;-1:-1:-1;;;;;;20060:489:1:o;20554:249::-;20623:6;20676:2;20664:9;20655:7;20651:23;20647:32;20644:52;;;20692:1;20689;20682:12;20644:52;20724:9;20718:16;20743:30;20767:5;20743:30;:::i;21526:127::-;21587:10;21582:3;21578:20;21575:1;21568:31;21618:4;21615:1;21608:15;21642:4;21639:1;21632:15;22423:287;22552:3;22590:6;22584:13;22606:66;22665:6;22660:3;22653:4;22645:6;22641:17;22606:66;:::i;:::-;22688:16;;;;;22423:287;-1:-1:-1;;22423:287:1:o
Swarm Source
ipfs://9bed5e7275bf4698d502f57491d0eff9f373ca2cea650500e4409bf61bde9cf7
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.