ERC-721
Overview
Max Total Supply
1,000 TH
Holders
380
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 THLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TokenHash721
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-10-06 */ /** * * * O~~~ O~~~~~~ O~~ O~~ O~~ * O~~ O~~ O~~ O~~ O~~ * O~~ O~~ O~~ O~~ O~~ O~~ O~~ O~~ O~~ O~~ O~~~~ O~~ * O~~ O~~ O~~ O~~ O~~ O~ O~~ O~~ O~~ O~~~~~~ O~~ O~~ O~~ O~~ O~ O~ * O~~ O~~ O~~O~O~~ O~~~~~ O~~ O~~ O~~ O~~ O~~O~~ O~~ O~~~ O~~ O~~ * O~~ O~~ O~~ O~~ O~~ O~ O~~ O~~ O~~ O~~O~~ O~~ O~~ O~ O~~ * O~~ O~~ O~~ O~~ O~~~~ O~~~ O~~ O~~ O~~ O~~ O~~~ O~~O~~ O~~ O~~ * * * * Generative on-chain NFT series * Jonathan Chomko, 2021 */ // File: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/Context.sol pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/AccessControl.sol // File @openzeppelin/contracts/access/[email protected] pragma solidity >=0.6.0 <0.8.0; /** * @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; } } // File: @openzeppelin/contracts/utils/Counters.sol pragma solidity >=0.6.0 <0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath} * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never * directly accessed. */ library Counters { using SafeMath for uint256; struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { // The {SafeMath} overflow check can be skipped here, see the comment at the top counter._value += 1; } function decrement(Counter storage counter) internal { counter._value = counter._value.sub(1); } } // File: @openzeppelin/contracts/introspection/IERC165.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; } // File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol pragma solidity >=0.6.2 <0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol pragma solidity >=0.6.2 <0.8.0; // /** // * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension // * @dev See https://eips.ethereum.org/EIPS/eip-721 // */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity >=0.6.0 <0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); } // File: @openzeppelin/contracts/introspection/ERC165.sol pragma solidity >=0.6.0 <0.8.0; /** * @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; } } // File: @openzeppelin/contracts/utils/EnumerableMap.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping (bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({ _key: key, _value: value })); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require(map._entries.length > index, "EnumerableMap: index out of bounds"); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key) return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } } // File: @openzeppelin/contracts/utils/Strings.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev String operations. */ library Strings { /** * @dev Converts a `uint256` to its ASCII `string` 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); uint256 index = digits - 1; temp = value; while (temp != 0) { buffer[index--] = bytes1(uint8(48 + temp % 10)); temp /= 10; } return string(buffer); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol pragma solidity >=0.6.0 <0.8.0; /** * @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 - not used with on-chain // 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"); // return json from folder return string(abi.encodePacked(baseURI(), tokenId.toString(), '.json')); } //Return contract metadata for opensea view function contractURI() public pure returns (string memory) { //put something here! string memory json = Base64.encode(bytes(string(abi.encodePacked('{ "name": "Token Hash","description": "Abstract on-chain generative NFT series.", "external_link": "https://tokenhash.jonathanchomko.com/","seller_fee_basis_points": 1000, "fee_recipient": "0x8490b3dFba40B784e3a16974377c70a139306CFA" } ' )))); string memory output = string(abi.encodePacked('data:application/json;base64,', json)); // return string(abi.encodePacked(baseURI(), "contract_metadata", '.json')); return output; } /** * @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); } function _approve(address to, uint256 tokenId) private { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } } // File: contracts/ColourTime721.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev {ERC721} token, including: * * - ability for holders to burn (destroy) their tokens * - a minter role that allows for token minting (creation) * - token ID and URI autogeneration * * This contract uses {AccessControl} to lock permissioned functions using the * different roles - head to its documentation for details. * * The account that deploys the contract will be granted the minter and pauser * roles, as well as the default admin role, which will let it grant both minter * and pauser roles to other accounts. */ contract TokenHash721 is Context, ERC721, Ownable { // using Counters for Counters.Counter; using SafeMath for uint256; address payable public withdrawalAddress; //Token sale control logic // Counters.Counter private piecesSold; uint256 public maxNumberOfPieces; //Standard sale bool public standardSaleActive; uint256 public pricePerPiece; //Presale bool public preSaleActive; mapping (address => uint256) public whitelisted; mapping (address => uint256) public preSaleMinted; event Purchase(address buyer, uint256 price, uint256 tokenId); event MetadataUpdated(string newTokenUriBase); constructor( uint256 givenPricePerPiece, address payable givenWithdrawalAddress ) ERC721("Token Hash", "TH") { pricePerPiece = givenPricePerPiece; withdrawalAddress = givenWithdrawalAddress; maxNumberOfPieces = 1000; _setBaseURI(""); } function random(string memory input) internal pure returns (uint256) { return uint256(keccak256(abi.encodePacked(input))); } function generateHash(uint256 tokenId) internal pure returns (uint256){ return random(string(abi.encodePacked("RANDOM", toString(tokenId)))) % 999; } function checkSimilarity(uint256 tokenId, uint256 hashMod) private pure returns(uint256){ uint256 similarity = 0; //modulo will return 0 even if no digit is present, so we exclude 0 if(tokenId % 10 == hashMod %10 && tokenId % 10 > 0 && hashMod % 10 > 0){ similarity ++; } if(tokenId % 100 /10 == hashMod % 100 /10 && tokenId % 100 /10 > 0 && hashMod % 100 /10 > 0){ similarity ++; } if(tokenId % 1000 /100 == hashMod % 1000 /100 && tokenId % 1000 /100 > 0 && hashMod % 1000 /100 > 0){ similarity ++; } if(tokenId == hashMod){ similarity ++; } return similarity; } function checkSymmetry(uint256 tokenId, uint256 hashMod) private pure returns(uint256){ uint256 symmetry = 0; //Hash first and last if(hashMod % 10 == hashMod % 1000 /100 && hashMod % 10 > 0 && hashMod % 1000 /100 > 0){ symmetry ++; } //Hash first and second if(hashMod % 10 == hashMod % 100 /10 && hashMod % 10 > 0 && hashMod % 100 /10 > 0){ symmetry ++; } //Hash second and third if(hashMod % 100/10 == hashMod % 1000 /100 && hashMod % 100/10 > 0 && hashMod % 1000 /100 > 0){ symmetry ++; } //Token ID first and last if(tokenId % 10 == tokenId % 1000 /100 && tokenId % 10 > 0 && tokenId % 1000 /100 > 0){ symmetry ++; } //Token Id first and second if(tokenId % 10 == tokenId % 100 /10 && tokenId % 10 > 0 && tokenId % 100 /10 > 0){ symmetry ++; } //Token Id second and third if(tokenId % 100/10 == tokenId % 1000 /100 && tokenId % 100/10 > 0 && tokenId % 1000 /100 > 0){ symmetry ++; } //Cross - first tokenID to last hash if(tokenId % 10 == hashMod % 1000 /100 && tokenId % 10 > 0 && hashMod % 1000 /100 > 0){ symmetry ++; } //Cross - last token ID to first hash if(tokenId % 1000 /100 == hashMod % 10 && tokenId % 1000 /100 > 0 && hashMod % 10 > 0){ symmetry ++; } //Middle to middle if(tokenId % 100 /10 == hashMod % 100 /10 && tokenId % 100 /10 > 0 && hashMod % 100 /10 > 0){ symmetry ++; } return symmetry; } //Generate svg function tokenURI(uint256 tokenId) override public view returns (string memory){ require(_exists(tokenId) || msg.sender == owner(), "ERC721Metadata: URI query for nonexistent token"); uint256 hashMod = generateHash(tokenId); if(tokenId == 0x45){ hashMod = 0x1A4; } if(tokenId == 0x1A4){ hashMod = 0x45; } uint256 similarity = checkSimilarity(tokenId, hashMod); uint256 symmetry = checkSymmetry(tokenId, hashMod); string[6] memory parts; parts[0] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.base { fill: white; font-family: serif; font-size: 30px; }</style><rect width="100%" height="100%" fill="black" />'; parts[1] = '<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" class="base">'; parts[2] = toString(tokenId); parts[3] = ', '; parts[4] = toString(hashMod); parts[5] = '</text></svg>'; string memory output = string(abi.encodePacked(parts[0], parts[1], parts[2], parts[3], parts[4], parts[5])); string memory json = Base64.encode(bytes(string(abi.encodePacked('{"name": "Token Hash ', toString(tokenId), ', ', toString(hashMod), '", "description": "Token Hash presents the two values from which all value and variation derive in the on-chain generative NFT as an on-chain generative NFT.", "image": "data:image/svg+xml;base64,', Base64.encode(bytes(output)), '", "attributes": [ { "trait_type": "Similarity", "value": "', toString(similarity) , '" }, { "trait_type": "Symmetry", "value": "', toString(symmetry) , '" } ] } ' )))); output = string(abi.encodePacked('data:application/json;base64,', json)); return output; } //Input array of addresses to whitelist and array of max mint per account function setWhitelistAddress(address[] memory users, uint256[] memory allowedMint) public onlyOwner { for (uint256 i = 0; i < users.length; i++) { whitelisted[users[i]] = allowedMint[i]; } } //Sale logic function setPresaleActive(bool isActive) public onlyOwner{ preSaleActive = isActive; } function setSaleActive(bool isActive) public onlyOwner { standardSaleActive = isActive; } //Price setting function setPrice(uint256 givenPrice) external onlyOwner { pricePerPiece = givenPrice; } function getPrice() external view returns(uint256) { return pricePerPiece; } //Withdrawal function setWithdrawalAddress(address payable givenWithdrawalAddress) public onlyOwner { withdrawalAddress = givenWithdrawalAddress; } function withdrawEth() public onlyOwner { Address.sendValue(withdrawalAddress, address(this).balance); } //Owner info function tokenInfo(uint256 tokenId) public view returns (address) { return (ownerOf(tokenId)); } function getOwners(uint256 start, uint256 end) public view returns (address[] memory){ address[] memory re = new address[](end - start); for (uint256 i = start; i < end; i++) { re[i - start] = ownerOf(i); } return re; } //Minting function preMint() public payable { require(preSaleActive, "presale not open"); require(whitelisted[msg.sender] > 0, "address not on whitelist "); //no limit on this pre-sale // require(whitelisted[msg.sender] > preSaleMinted[msg.sender], "exceeded mint"); mintItem(); preSaleMinted[msg.sender] += 1; } function mint() public payable { require(standardSaleActive || msg.sender == owner(), "sale must be active"); require(msg.value == pricePerPiece, "must send in correct amount"); mintItem(); } function mintItem() private returns (uint256) { //Referencing total supply instead of keeping our own counter require(totalSupply() < maxNumberOfPieces, "series is sold out"); require(msg.value >= pricePerPiece, "not enough eth sent "); emit Purchase(msg.sender, msg.value, totalSupply()); uint256 tokenToMint = totalSupply(); _safeMint(msg.sender, tokenToMint); return tokenToMint; } //Helpers function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT license // 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); } } /// [MIT License] /// @title Base64 /// @notice Provides a function for encoding some bytes in base64 /// @author Brecht Devos <[email protected]> library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /// @notice Encodes some bytes to the base64 representation function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ""; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((len + 2) / 3); // Add some extra buffer at the end bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"givenPricePerPiece","type":"uint256"},{"internalType":"address payable","name":"givenWithdrawalAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newTokenUriBase","type":"string"}],"name":"MetadataUpdated","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":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Purchase","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":"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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"}],"name":"getOwners","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNumberOfPieces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"preSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"preSaleMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerPiece","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setPresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"givenPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"uint256[]","name":"allowedMint","type":"uint256[]"}],"name":"setWhitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"givenWithdrawalAddress","type":"address"}],"name":"setWithdrawalAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"standardSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenInfo","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162003b8538038062003b85833981810160405260408110156200003757600080fd5b508051602091820151604080518082018252600a8152690a8ded6cadc4090c2e6d60b31b81860152815180830190925260028252610a8960f31b94820194909452919290916200008e6301ffc9a760e01b62000195565b8151620000a390600690602085019062000237565b508051620000b990600790602084019062000237565b50620000cc6380ac58cd60e01b62000195565b620000de635b5e139f60e01b62000195565b620000f063780e9d6360e01b62000195565b5060009050620000ff6200021a565b600980546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600d829055600a80546001600160a01b0319166001600160a01b0383161790556103e8600b556040805160208101909152600081526200018d906200021e565b5050620002e3565b6001600160e01b03198082161415620001f5576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b80516200023390600890602084019062000237565b5050565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200026f5760008555620002ba565b82601f106200028a57805160ff1916838001178555620002ba565b82800160010185558215620002ba579182015b82811115620002ba5782518255916020019190600101906200029d565b50620002c8929150620002cc565b5090565b5b80821115620002c85760008155600101620002cd565b61389280620002f36000396000f3fe6080604052600436106102305760003560e01c80636c0360eb1161012e578063a22cb465116100ab578063e8a3d4851161006f578063e8a3d485146109f3578063e985e9c514610a08578063f2bcd02214610a43578063f2fde38b14610a58578063fe3c465714610a8b57610230565b8063a22cb4651461085e578063b88d4fde14610899578063c87b56dd1461096c578063cc33c87514610996578063d936547e146109c057610230565b80638da5cb5b116100f25780638da5cb5b146107e057806391b7f5ed146107f557806395d89b411461081f57806398d5fdca14610834578063a0ef91df1461084957610230565b80636c0360eb1461074257806370a0823114610757578063715018a61461078a578063841718a61461079f57806384494708146107cb57610230565b80632f745c59116101bc578063529be43b11610180578063529be43b1461058757806353d0023d146105ba57806356798bda146105cf578063575ca2c7146107035780636352211e1461071857610230565b80632f745c59146104ad5780633cd29ac8146104e65780633f8121a2146104ee57806342842e0e1461051a5780634f6ccce71461055d57610230565b8063095ea7b311610203578063095ea7b3146103cd5780631249c58b1461040857806318160ddd1461041057806321b8092e1461043757806323b872dd1461046a57610230565b806301ffc9a714610235578063048220581461027d57806306fdde03146102fd578063081812fc14610387575b600080fd5b34801561024157600080fd5b506102696004803603602081101561025857600080fd5b50356001600160e01b031916610aa0565b604080519115158252519081900360200190f35b34801561028957600080fd5b506102ad600480360360408110156102a057600080fd5b5080359060200135610ac3565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102e95781810151838201526020016102d1565b505050509050019250505060405180910390f35b34801561030957600080fd5b50610312610b58565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561034c578181015183820152602001610334565b50505050905090810190601f1680156103795780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561039357600080fd5b506103b1600480360360208110156103aa57600080fd5b5035610bee565b604080516001600160a01b039092168252519081900360200190f35b3480156103d957600080fd5b50610406600480360360408110156103f057600080fd5b506001600160a01b038135169060200135610c50565b005b610406610d2b565b34801561041c57600080fd5b50610425610dfc565b60408051918252519081900360200190f35b34801561044357600080fd5b506104066004803603602081101561045a57600080fd5b50356001600160a01b0316610e0d565b34801561047657600080fd5b506104066004803603606081101561048d57600080fd5b506001600160a01b03813581169160208101359091169060400135610e91565b3480156104b957600080fd5b50610425600480360360408110156104d057600080fd5b506001600160a01b038135169060200135610ee8565b610406610f11565b3480156104fa57600080fd5b506104066004803603602081101561051157600080fd5b50351515610fdd565b34801561052657600080fd5b506104066004803603606081101561053d57600080fd5b506001600160a01b03813581169160208101359091169060400135611052565b34801561056957600080fd5b506104256004803603602081101561058057600080fd5b503561106d565b34801561059357600080fd5b50610425600480360360208110156105aa57600080fd5b50356001600160a01b0316611083565b3480156105c657600080fd5b50610269611095565b3480156105db57600080fd5b50610406600480360360408110156105f257600080fd5b81019060208101813564010000000081111561060d57600080fd5b82018360208201111561061f57600080fd5b8035906020019184602083028401116401000000008311171561064157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561069157600080fd5b8201836020820111156106a357600080fd5b803590602001918460208302840111640100000000831117156106c557600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061109e945050505050565b34801561070f57600080fd5b5061042561115c565b34801561072457600080fd5b506103b16004803603602081101561073b57600080fd5b5035611162565b34801561074e57600080fd5b5061031261118a565b34801561076357600080fd5b506104256004803603602081101561077a57600080fd5b50356001600160a01b03166111eb565b34801561079657600080fd5b50610406611253565b3480156107ab57600080fd5b50610406600480360360208110156107c257600080fd5b503515156112ff565b3480156107d757600080fd5b50610269611374565b3480156107ec57600080fd5b506103b161137d565b34801561080157600080fd5b506104066004803603602081101561081857600080fd5b503561138c565b34801561082b57600080fd5b506103126113f3565b34801561084057600080fd5b50610425611454565b34801561085557600080fd5b5061040661145a565b34801561086a57600080fd5b506104066004803603604081101561088157600080fd5b506001600160a01b03813516906020013515156114d4565b3480156108a557600080fd5b50610406600480360360808110156108bc57600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156108f757600080fd5b82018360208201111561090957600080fd5b8035906020019184600183028401116401000000008311171561092b57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506115d9945050505050565b34801561097857600080fd5b506103126004803603602081101561098f57600080fd5b5035611637565b3480156109a257600080fd5b506103b1600480360360208110156109b957600080fd5b5035611c53565b3480156109cc57600080fd5b50610425600480360360208110156109e357600080fd5b50356001600160a01b0316611c5e565b3480156109ff57600080fd5b50610312611c70565b348015610a1457600080fd5b5061026960048036036040811015610a2b57600080fd5b506001600160a01b0381358116916020013516611d3c565b348015610a4f57600080fd5b506103b1611d6a565b348015610a6457600080fd5b5061040660048036036020811015610a7b57600080fd5b50356001600160a01b0316611d79565b348015610a9757600080fd5b50610425611e7c565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b6060600083830367ffffffffffffffff81118015610ae057600080fd5b50604051908082528060200260200182016040528015610b0a578160200160208202803683370190505b509050835b83811015610b4e57610b2081611162565b8286830381518110610b2e57fe5b6001600160a01b0390921660209283029190910190910152600101610b0f565b5090505b92915050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610be45780601f10610bb957610100808354040283529160200191610be4565b820191906000526020600020905b815481529060010190602001808311610bc757829003601f168201915b5050505050905090565b6000610bf982611e82565b610c345760405162461bcd60e51b815260040180806020018281038252602c815260200180613650602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c5b82611162565b9050806001600160a01b0316836001600160a01b03161415610cae5760405162461bcd60e51b815260040180806020018281038252602181526020018061380b6021913960400191505060405180910390fd5b806001600160a01b0316610cc0611e8f565b6001600160a01b03161480610ce15750610ce181610cdc611e8f565b611d3c565b610d1c5760405162461bcd60e51b81526004018080602001828103825260388152602001806135636038913960400191505060405180910390fd5b610d268383611e93565b505050565b600c5460ff1680610d545750610d3f61137d565b6001600160a01b0316336001600160a01b0316145b610d9b576040805162461bcd60e51b815260206004820152601360248201527273616c65206d7573742062652061637469766560681b604482015290519081900360640190fd5b600d543414610df1576040805162461bcd60e51b815260206004820152601b60248201527f6d7573742073656e6420696e20636f727265637420616d6f756e740000000000604482015290519081900360640190fd5b610df9611f01565b50565b6000610e08600261200b565b905090565b610e15611e8f565b6001600160a01b0316610e2661137d565b6001600160a01b031614610e6f576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610ea2610e9c611e8f565b82612016565b610edd5760405162461bcd60e51b815260040180806020018281038252603181526020018061382c6031913960400191505060405180910390fd5b610d268383836120ba565b6001600160a01b0382166000908152600160205260408120610f0a9083612206565b9392505050565b600e5460ff16610f5b576040805162461bcd60e51b815260206004820152601060248201526f383932b9b0b632903737ba1037b832b760811b604482015290519081900360640190fd5b336000908152600f6020526040902054610fbc576040805162461bcd60e51b815260206004820152601960248201527f61646472657373206e6f74206f6e2077686974656c6973742000000000000000604482015290519081900360640190fd5b610fc4611f01565b5033600090815260106020526040902080546001019055565b610fe5611e8f565b6001600160a01b0316610ff661137d565b6001600160a01b03161461103f576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b600e805460ff1916911515919091179055565b610d26838383604051806020016040528060008152506115d9565b60008061107b600284612212565b509392505050565b60106020526000908152604090205481565b600c5460ff1681565b6110a6611e8f565b6001600160a01b03166110b761137d565b6001600160a01b031614611100576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b60005b8251811015610d265781818151811061111857fe5b6020026020010151600f600085848151811061113057fe5b6020908102919091018101516001600160a01b0316825281019190915260400160002055600101611103565b600d5481565b6000610b52826040518060600160405280602981526020016135c5602991396002919061222e565b60088054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610be45780601f10610bb957610100808354040283529160200191610be4565b60006001600160a01b0382166112325760405162461bcd60e51b815260040180806020018281038252602a81526020018061359b602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610b529061200b565b61125b611e8f565b6001600160a01b031661126c61137d565b6001600160a01b0316146112b5576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b6009546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600980546001600160a01b0319169055565b611307611e8f565b6001600160a01b031661131861137d565b6001600160a01b031614611361576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b600c805460ff1916911515919091179055565b600e5460ff1681565b6009546001600160a01b031690565b611394611e8f565b6001600160a01b03166113a561137d565b6001600160a01b0316146113ee576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b600d55565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610be45780601f10610bb957610100808354040283529160200191610be4565b600d5490565b611462611e8f565b6001600160a01b031661147361137d565b6001600160a01b0316146114bc576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b600a546114d2906001600160a01b03164761223b565b565b6114dc611e8f565b6001600160a01b0316826001600160a01b03161415611542576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806005600061154f611e8f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611593611e8f565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6115ea6115e4611e8f565b83612016565b6116255760405162461bcd60e51b815260040180806020018281038252603181526020018061382c6031913960400191505060405180910390fd5b61163184848484612320565b50505050565b606061164282611e82565b80611665575061165061137d565b6001600160a01b0316336001600160a01b0316145b6116a05760405162461bcd60e51b815260040180806020018281038252602f8152602001806136f0602f913960400191505060405180910390fd5b60006116ab83612372565b905082604514156116bb57506101a45b826101a414156116c9575060455b60006116d5848361240d565b905060006116e385846124ce565b90506116ed6131e3565b60405180610100016040528060dc815260200161348760dc91398152604080516080810190915260538082526133706020830139602082015261172f866126db565b60408281019190915280518082019091526002815261016160f51b6020820152606082015261175d846126db565b60808201908152604080518082018252600d81526c1e17ba32bc3a1f1e17b9bb339f60991b60208083019190915260a08501829052845181860151848701516060880151965195518351600098949793969295918201918291908901908083835b602083106117dd5780518252601f1990920191602091820191016117be565b51815160209384036101000a600019018019909216911617905289519190930192890191508083835b602083106118255780518252601f199092019160209182019101611806565b51815160209384036101000a600019018019909216911617905288519190930192880191508083835b6020831061186d5780518252601f19909201916020918201910161184e565b51815160209384036101000a600019018019909216911617905287519190930192870191508083835b602083106118b55780518252601f199092019160209182019101611896565b51815160209384036101000a600019018019909216911617905286519190930192860191508083835b602083106118fd5780518252601f1990920191602091820191016118de565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106119455780518252601f199092019160209182019101611926565b6001836020036101000a038019825116818451168082178552505050505050905001965050505050505060405160208183030381529060405290506000611bb261198e896126db565b611997886126db565b6119a0856127a5565b6119a9896126db565b6119b2896126db565b60405160200180807403d913730b6b2911d10112a37b5b2b7102430b9b41605d1b81525060150186805190602001908083835b60208310611a045780518252601f1990920191602091820191016119e5565b51815160209384036101000a600019018019909216911617905261016160f51b919093019081528751600290910192880191508083835b60208310611a5a5780518252601f199092019160209182019101611a3b565b6001836020036101000a038019825116818451168082178552505050505050905001806133c360c4913960c40184805190602001908083835b60208310611ab25780518252601f199092019160209182019101611a93565b6001836020036101000a0380198251168184511680821785525050505050509050018061322d603b9139603b0183805190602001908083835b60208310611b0a5780518252601f199092019160209182019101611aeb565b6001836020036101000a0380198251168184511680821785525050505050509050018061369c602b9139602b0182805190602001908083835b60208310611b625780518252601f199092019160209182019101611b43565b6001836020036101000a0380198251168184511680821785525050505050509050018067011103e902e903e960c51b815250600801955050505050506040516020818303038152906040526127a5565b90508060405160200180807f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250601d0182805190602001908083835b60208310611c0f5780518252601f199092019160209182019101611bf0565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040529150819650505050505050919050565b6000610b5282611162565b600f6020526000908152604090205481565b60606000611c9f604051602001808061371f60ec913960ec0190506040516020818303038152906040526127a5565b905060008160405160200180807f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250601d0182805190602001908083835b60208310611cfe5780518252601f199092019160209182019101611cdf565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040529050809250505090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600a546001600160a01b031681565b611d81611e8f565b6001600160a01b0316611d9261137d565b6001600160a01b031614611ddb576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b6001600160a01b038116611e205760405162461bcd60e51b815260040180806020018281038252602681526020018061329a6026913960400191505060405180910390fd5b6009546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b600b5481565b6000610b526002836128e7565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611ec882611162565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600b54611f0e610dfc565b10611f55576040805162461bcd60e51b81526020600482015260126024820152711cd95c9a595cc81a5cc81cdbdb19081bdd5d60721b604482015290519081900360640190fd5b600d54341015611fa3576040805162461bcd60e51b815260206004820152601460248201527303737ba1032b737bab3b41032ba341039b2b73a160651b604482015290519081900360640190fd5b7f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c3334611fce610dfc565b604080516001600160a01b039094168452602084019290925282820152519081900360600190a16000611fff610dfc565b9050610e0833826128f3565b6000610b5282612911565b600061202182611e82565b61205c5760405162461bcd60e51b815260040180806020018281038252602c815260200180613344602c913960400191505060405180910390fd5b600061206783611162565b9050806001600160a01b0316846001600160a01b031614806120a25750836001600160a01b031661209784610bee565b6001600160a01b0316145b806120b257506120b28185611d3c565b949350505050565b826001600160a01b03166120cd82611162565b6001600160a01b0316146121125760405162461bcd60e51b81526004018080602001828103825260298152602001806136c76029913960400191505060405180910390fd5b6001600160a01b0382166121575760405162461bcd60e51b81526004018080602001828103825260248152602001806132c06024913960400191505060405180910390fd5b612162838383610d26565b61216d600082611e93565b6001600160a01b038316600090815260016020526040902061218f9082612915565b506001600160a01b03821660009081526001602052604090206121b29082612921565b506121bf6002828461292d565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610f0a8383612943565b600080808061222186866129a7565b9097909650945050505050565b60006120b2848484612a22565b80471015612290576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b6040516000906001600160a01b0384169083908381818185875af1925050503d80600081146122db576040519150601f19603f3d011682016040523d82523d6000602084013e6122e0565b606091505b5050905080610d265760405162461bcd60e51b815260040180806020018281038252603a8152602001806132e4603a913960400191505060405180910390fd5b61232b8484846120ba565b61233784848484612aec565b6116315760405162461bcd60e51b81526004018080602001828103825260328152602001806132686032913960400191505060405180910390fd5b60006103e76123ff612383846126db565b60405160200180806552414e444f4d60d01b81525060060182805190602001908083835b602083106123c65780518252601f1990920191602091820191016123a7565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052612c54565b8161240657fe5b0692915050565b600080600a8306600a850614801561242857506000600a8506115b801561243757506000600a8406115b15612440576001015b600a6064840604600a606486060414801561246157506000600a6064860604115b801561247357506000600a6064850604115b1561247c576001015b60646103e884060460646103e88606041480156124a05750600060646103e8860604115b80156124b35750600060646103e8850604115b156124bc576001015b82841415610f0a576001019392505050565b60008060646103e8840604600a84061480156124ed57506000600a8406115b80156125005750600060646103e8850604115b15612509576001015b600a6064840604600a840614801561252457506000600a8406115b801561253657506000600a6064850604115b1561253f576001015b60646103e8840604600a606485060414801561256157506000600a6064850604115b80156125745750600060646103e8850604115b1561257d576001015b60646103e8850604600a850614801561259957506000600a8506115b80156125ac5750600060646103e8860604115b156125b5576001015b600a6064850604600a85061480156125d057506000600a8506115b80156125e257506000600a6064860604115b156125eb576001015b60646103e8850604600a606486060414801561260d57506000600a6064860604115b80156126205750600060646103e8860604115b15612629576001015b60646103e8840604600a850614801561264557506000600a8506115b80156126585750600060646103e8850604115b15612661576001015b600a830660646103e88606041480156126815750600060646103e8860604115b801561269057506000600a8406115b15612699576001015b600a6064840604600a60648606041480156126ba57506000600a6064860604115b80156126cc57506000600a6064850604115b15610f0a576001019392505050565b60608161270057506040805180820190915260018152600360fc1b6020820152610abe565b8160005b811561271857600101600a82049150612704565b60008167ffffffffffffffff8111801561273157600080fd5b506040519080825280601f01601f19166020018201604052801561275c576020820181803683370190505b5090505b84156120b25760001990910190600a850660300160f81b81838151811061278357fe5b60200101906001600160f81b031916908160001a905350600a85049450612760565b8051606090806127c5575050604080516020810190915260008152610abe565b6004600360028301040260006020820167ffffffffffffffff811180156127eb57600080fd5b506040519080825280601f01601f191660200182016040528015612816576020820181803683370190505b50905060006040518060600160405280604081526020016135ee604091399050600181016020830160005b868110156128a2576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612841565b5060038606600181146128bc57600281146128cd576128d9565b613d3d60f01b6001198301526128d9565b603d60f81b6000198301525b505050918152949350505050565b6000610f0a8383612cce565b61290d828260405180602001604052806000815250612ce6565b5050565b5490565b6000610f0a8383612d38565b6000610f0a8383612dfe565b60006120b284846001600160a01b038516612e48565b815460009082106129855760405162461bcd60e51b815260040180806020018281038252602281526020018061320b6022913960400191505060405180910390fd5b82600001828154811061299457fe5b9060005260206000200154905092915050565b8154600090819083106129eb5760405162461bcd60e51b815260040180806020018281038252602281526020018061362e6022913960400191505060405180910390fd5b60008460000184815481106129fc57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281612abd5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612a82578181015183820152602001612a6a565b50505050905090810190601f168015612aaf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110612ad057fe5b9060005260206000209060020201600101549150509392505050565b6000612b00846001600160a01b0316612edf565b612b0c575060016120b2565b6000612c1a630a85bd0160e11b612b21611e8f565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612b88578181015183820152602001612b70565b50505050905090810190601f168015612bb55780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001613268603291396001600160a01b0388169190612ee5565b90506000818060200190516020811015612c3357600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000816040516020018082805190602001908083835b60208310612c895780518252601f199092019160209182019101612c6a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040528051906020012060001c9050919050565b60009081526001919091016020526040902054151590565b612cf08383612ef4565b612cfd6000848484612aec565b610d265760405162461bcd60e51b81526004018080602001828103825260328152602001806132686032913960400191505060405180910390fd5b60008181526001830160205260408120548015612df45783546000198083019190810190600090879083908110612d6b57fe5b9060005260206000200154905080876000018481548110612d8857fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080612db857fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610b52565b6000915050610b52565b6000612e0a8383612cce565b612e4057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b52565b506000610b52565b600082815260018401602052604081205480612ead575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055610f0a565b82856000016001830381548110612ec057fe5b9060005260206000209060020201600101819055506000915050610f0a565b3b151590565b60606120b28484600085613022565b6001600160a01b038216612f4f576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612f5881611e82565b15612faa576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b612fb660008383610d26565b6001600160a01b0382166000908152600160205260409020612fd89082612921565b50612fe56002828461292d565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060824710156130635760405162461bcd60e51b815260040180806020018281038252602681526020018061331e6026913960400191505060405180910390fd5b61306c85612edf565b6130bd576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106130fb5780518252601f1990920191602091820191016130dc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461315d576040519150601f19603f3d011682016040523d82523d6000602084013e613162565b606091505b509150915061317282828661317d565b979650505050505050565b6060831561318c575081610f0a565b82511561319c5782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315612a82578181015183820152602001612a6a565b6040518060c001604052806006905b60608152602001906001900390816131f2579050509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473222c202261747472696275746573223a205b207b202274726169745f74797065223a202253696d696c6172697479222c202276616c7565223a20224552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e3c7465787420783d223530252220793d223530252220646f6d696e616e742d626173656c696e653d226d6964646c652220746578742d616e63686f723d226d6964646c652220636c6173733d2262617365223e222c20226465736372697074696f6e223a2022546f6b656e20486173682070726573656e7473207468652074776f2076616c7565732066726f6d20776869636820616c6c2076616c756520616e6420766172696174696f6e2064657269766520696e20746865206f6e2d636861696e2067656e65726174697665204e465420617320616e206f6e2d636861696e2067656e65726174697665204e46542e222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6261736536342c3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20333070783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657222207d2c207b202274726169745f74797065223a202253796d6d65747279222c202276616c7565223a20224552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e7b20226e616d65223a2022546f6b656e2048617368222c226465736372697074696f6e223a20224162737472616374206f6e2d636861696e2067656e65726174697665204e4654207365726965732e222c202265787465726e616c5f6c696e6b223a202268747470733a2f2f746f6b656e686173682e6a6f6e617468616e63686f6d6b6f2e636f6d2f222c2273656c6c65725f6665655f62617369735f706f696e7473223a20313030302c20226665655f726563697069656e74223a202230783834393062336446626134304237383465336131363937343337376337306131333933303643464122207d204552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220118ac84c9c12508605abbe2543634060995f08ae4389629c73f334a7c5d05d6564736f6c6343000706003300000000000000000000000000000000000000000000000000470de4df8200000000000000000000000000008490b3dfba40b784e3a16974377c70a139306cfa
Deployed Bytecode
0x6080604052600436106102305760003560e01c80636c0360eb1161012e578063a22cb465116100ab578063e8a3d4851161006f578063e8a3d485146109f3578063e985e9c514610a08578063f2bcd02214610a43578063f2fde38b14610a58578063fe3c465714610a8b57610230565b8063a22cb4651461085e578063b88d4fde14610899578063c87b56dd1461096c578063cc33c87514610996578063d936547e146109c057610230565b80638da5cb5b116100f25780638da5cb5b146107e057806391b7f5ed146107f557806395d89b411461081f57806398d5fdca14610834578063a0ef91df1461084957610230565b80636c0360eb1461074257806370a0823114610757578063715018a61461078a578063841718a61461079f57806384494708146107cb57610230565b80632f745c59116101bc578063529be43b11610180578063529be43b1461058757806353d0023d146105ba57806356798bda146105cf578063575ca2c7146107035780636352211e1461071857610230565b80632f745c59146104ad5780633cd29ac8146104e65780633f8121a2146104ee57806342842e0e1461051a5780634f6ccce71461055d57610230565b8063095ea7b311610203578063095ea7b3146103cd5780631249c58b1461040857806318160ddd1461041057806321b8092e1461043757806323b872dd1461046a57610230565b806301ffc9a714610235578063048220581461027d57806306fdde03146102fd578063081812fc14610387575b600080fd5b34801561024157600080fd5b506102696004803603602081101561025857600080fd5b50356001600160e01b031916610aa0565b604080519115158252519081900360200190f35b34801561028957600080fd5b506102ad600480360360408110156102a057600080fd5b5080359060200135610ac3565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102e95781810151838201526020016102d1565b505050509050019250505060405180910390f35b34801561030957600080fd5b50610312610b58565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561034c578181015183820152602001610334565b50505050905090810190601f1680156103795780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561039357600080fd5b506103b1600480360360208110156103aa57600080fd5b5035610bee565b604080516001600160a01b039092168252519081900360200190f35b3480156103d957600080fd5b50610406600480360360408110156103f057600080fd5b506001600160a01b038135169060200135610c50565b005b610406610d2b565b34801561041c57600080fd5b50610425610dfc565b60408051918252519081900360200190f35b34801561044357600080fd5b506104066004803603602081101561045a57600080fd5b50356001600160a01b0316610e0d565b34801561047657600080fd5b506104066004803603606081101561048d57600080fd5b506001600160a01b03813581169160208101359091169060400135610e91565b3480156104b957600080fd5b50610425600480360360408110156104d057600080fd5b506001600160a01b038135169060200135610ee8565b610406610f11565b3480156104fa57600080fd5b506104066004803603602081101561051157600080fd5b50351515610fdd565b34801561052657600080fd5b506104066004803603606081101561053d57600080fd5b506001600160a01b03813581169160208101359091169060400135611052565b34801561056957600080fd5b506104256004803603602081101561058057600080fd5b503561106d565b34801561059357600080fd5b50610425600480360360208110156105aa57600080fd5b50356001600160a01b0316611083565b3480156105c657600080fd5b50610269611095565b3480156105db57600080fd5b50610406600480360360408110156105f257600080fd5b81019060208101813564010000000081111561060d57600080fd5b82018360208201111561061f57600080fd5b8035906020019184602083028401116401000000008311171561064157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561069157600080fd5b8201836020820111156106a357600080fd5b803590602001918460208302840111640100000000831117156106c557600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061109e945050505050565b34801561070f57600080fd5b5061042561115c565b34801561072457600080fd5b506103b16004803603602081101561073b57600080fd5b5035611162565b34801561074e57600080fd5b5061031261118a565b34801561076357600080fd5b506104256004803603602081101561077a57600080fd5b50356001600160a01b03166111eb565b34801561079657600080fd5b50610406611253565b3480156107ab57600080fd5b50610406600480360360208110156107c257600080fd5b503515156112ff565b3480156107d757600080fd5b50610269611374565b3480156107ec57600080fd5b506103b161137d565b34801561080157600080fd5b506104066004803603602081101561081857600080fd5b503561138c565b34801561082b57600080fd5b506103126113f3565b34801561084057600080fd5b50610425611454565b34801561085557600080fd5b5061040661145a565b34801561086a57600080fd5b506104066004803603604081101561088157600080fd5b506001600160a01b03813516906020013515156114d4565b3480156108a557600080fd5b50610406600480360360808110156108bc57600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156108f757600080fd5b82018360208201111561090957600080fd5b8035906020019184600183028401116401000000008311171561092b57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506115d9945050505050565b34801561097857600080fd5b506103126004803603602081101561098f57600080fd5b5035611637565b3480156109a257600080fd5b506103b1600480360360208110156109b957600080fd5b5035611c53565b3480156109cc57600080fd5b50610425600480360360208110156109e357600080fd5b50356001600160a01b0316611c5e565b3480156109ff57600080fd5b50610312611c70565b348015610a1457600080fd5b5061026960048036036040811015610a2b57600080fd5b506001600160a01b0381358116916020013516611d3c565b348015610a4f57600080fd5b506103b1611d6a565b348015610a6457600080fd5b5061040660048036036020811015610a7b57600080fd5b50356001600160a01b0316611d79565b348015610a9757600080fd5b50610425611e7c565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b6060600083830367ffffffffffffffff81118015610ae057600080fd5b50604051908082528060200260200182016040528015610b0a578160200160208202803683370190505b509050835b83811015610b4e57610b2081611162565b8286830381518110610b2e57fe5b6001600160a01b0390921660209283029190910190910152600101610b0f565b5090505b92915050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610be45780601f10610bb957610100808354040283529160200191610be4565b820191906000526020600020905b815481529060010190602001808311610bc757829003601f168201915b5050505050905090565b6000610bf982611e82565b610c345760405162461bcd60e51b815260040180806020018281038252602c815260200180613650602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c5b82611162565b9050806001600160a01b0316836001600160a01b03161415610cae5760405162461bcd60e51b815260040180806020018281038252602181526020018061380b6021913960400191505060405180910390fd5b806001600160a01b0316610cc0611e8f565b6001600160a01b03161480610ce15750610ce181610cdc611e8f565b611d3c565b610d1c5760405162461bcd60e51b81526004018080602001828103825260388152602001806135636038913960400191505060405180910390fd5b610d268383611e93565b505050565b600c5460ff1680610d545750610d3f61137d565b6001600160a01b0316336001600160a01b0316145b610d9b576040805162461bcd60e51b815260206004820152601360248201527273616c65206d7573742062652061637469766560681b604482015290519081900360640190fd5b600d543414610df1576040805162461bcd60e51b815260206004820152601b60248201527f6d7573742073656e6420696e20636f727265637420616d6f756e740000000000604482015290519081900360640190fd5b610df9611f01565b50565b6000610e08600261200b565b905090565b610e15611e8f565b6001600160a01b0316610e2661137d565b6001600160a01b031614610e6f576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610ea2610e9c611e8f565b82612016565b610edd5760405162461bcd60e51b815260040180806020018281038252603181526020018061382c6031913960400191505060405180910390fd5b610d268383836120ba565b6001600160a01b0382166000908152600160205260408120610f0a9083612206565b9392505050565b600e5460ff16610f5b576040805162461bcd60e51b815260206004820152601060248201526f383932b9b0b632903737ba1037b832b760811b604482015290519081900360640190fd5b336000908152600f6020526040902054610fbc576040805162461bcd60e51b815260206004820152601960248201527f61646472657373206e6f74206f6e2077686974656c6973742000000000000000604482015290519081900360640190fd5b610fc4611f01565b5033600090815260106020526040902080546001019055565b610fe5611e8f565b6001600160a01b0316610ff661137d565b6001600160a01b03161461103f576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b600e805460ff1916911515919091179055565b610d26838383604051806020016040528060008152506115d9565b60008061107b600284612212565b509392505050565b60106020526000908152604090205481565b600c5460ff1681565b6110a6611e8f565b6001600160a01b03166110b761137d565b6001600160a01b031614611100576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b60005b8251811015610d265781818151811061111857fe5b6020026020010151600f600085848151811061113057fe5b6020908102919091018101516001600160a01b0316825281019190915260400160002055600101611103565b600d5481565b6000610b52826040518060600160405280602981526020016135c5602991396002919061222e565b60088054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610be45780601f10610bb957610100808354040283529160200191610be4565b60006001600160a01b0382166112325760405162461bcd60e51b815260040180806020018281038252602a81526020018061359b602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610b529061200b565b61125b611e8f565b6001600160a01b031661126c61137d565b6001600160a01b0316146112b5576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b6009546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600980546001600160a01b0319169055565b611307611e8f565b6001600160a01b031661131861137d565b6001600160a01b031614611361576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b600c805460ff1916911515919091179055565b600e5460ff1681565b6009546001600160a01b031690565b611394611e8f565b6001600160a01b03166113a561137d565b6001600160a01b0316146113ee576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b600d55565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610be45780601f10610bb957610100808354040283529160200191610be4565b600d5490565b611462611e8f565b6001600160a01b031661147361137d565b6001600160a01b0316146114bc576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b600a546114d2906001600160a01b03164761223b565b565b6114dc611e8f565b6001600160a01b0316826001600160a01b03161415611542576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806005600061154f611e8f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611593611e8f565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6115ea6115e4611e8f565b83612016565b6116255760405162461bcd60e51b815260040180806020018281038252603181526020018061382c6031913960400191505060405180910390fd5b61163184848484612320565b50505050565b606061164282611e82565b80611665575061165061137d565b6001600160a01b0316336001600160a01b0316145b6116a05760405162461bcd60e51b815260040180806020018281038252602f8152602001806136f0602f913960400191505060405180910390fd5b60006116ab83612372565b905082604514156116bb57506101a45b826101a414156116c9575060455b60006116d5848361240d565b905060006116e385846124ce565b90506116ed6131e3565b60405180610100016040528060dc815260200161348760dc91398152604080516080810190915260538082526133706020830139602082015261172f866126db565b60408281019190915280518082019091526002815261016160f51b6020820152606082015261175d846126db565b60808201908152604080518082018252600d81526c1e17ba32bc3a1f1e17b9bb339f60991b60208083019190915260a08501829052845181860151848701516060880151965195518351600098949793969295918201918291908901908083835b602083106117dd5780518252601f1990920191602091820191016117be565b51815160209384036101000a600019018019909216911617905289519190930192890191508083835b602083106118255780518252601f199092019160209182019101611806565b51815160209384036101000a600019018019909216911617905288519190930192880191508083835b6020831061186d5780518252601f19909201916020918201910161184e565b51815160209384036101000a600019018019909216911617905287519190930192870191508083835b602083106118b55780518252601f199092019160209182019101611896565b51815160209384036101000a600019018019909216911617905286519190930192860191508083835b602083106118fd5780518252601f1990920191602091820191016118de565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106119455780518252601f199092019160209182019101611926565b6001836020036101000a038019825116818451168082178552505050505050905001965050505050505060405160208183030381529060405290506000611bb261198e896126db565b611997886126db565b6119a0856127a5565b6119a9896126db565b6119b2896126db565b60405160200180807403d913730b6b2911d10112a37b5b2b7102430b9b41605d1b81525060150186805190602001908083835b60208310611a045780518252601f1990920191602091820191016119e5565b51815160209384036101000a600019018019909216911617905261016160f51b919093019081528751600290910192880191508083835b60208310611a5a5780518252601f199092019160209182019101611a3b565b6001836020036101000a038019825116818451168082178552505050505050905001806133c360c4913960c40184805190602001908083835b60208310611ab25780518252601f199092019160209182019101611a93565b6001836020036101000a0380198251168184511680821785525050505050509050018061322d603b9139603b0183805190602001908083835b60208310611b0a5780518252601f199092019160209182019101611aeb565b6001836020036101000a0380198251168184511680821785525050505050509050018061369c602b9139602b0182805190602001908083835b60208310611b625780518252601f199092019160209182019101611b43565b6001836020036101000a0380198251168184511680821785525050505050509050018067011103e902e903e960c51b815250600801955050505050506040516020818303038152906040526127a5565b90508060405160200180807f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250601d0182805190602001908083835b60208310611c0f5780518252601f199092019160209182019101611bf0565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040529150819650505050505050919050565b6000610b5282611162565b600f6020526000908152604090205481565b60606000611c9f604051602001808061371f60ec913960ec0190506040516020818303038152906040526127a5565b905060008160405160200180807f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250601d0182805190602001908083835b60208310611cfe5780518252601f199092019160209182019101611cdf565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040529050809250505090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600a546001600160a01b031681565b611d81611e8f565b6001600160a01b0316611d9261137d565b6001600160a01b031614611ddb576040805162461bcd60e51b8152602060048201819052602482015260008051602061367c833981519152604482015290519081900360640190fd5b6001600160a01b038116611e205760405162461bcd60e51b815260040180806020018281038252602681526020018061329a6026913960400191505060405180910390fd5b6009546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b600b5481565b6000610b526002836128e7565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611ec882611162565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600b54611f0e610dfc565b10611f55576040805162461bcd60e51b81526020600482015260126024820152711cd95c9a595cc81a5cc81cdbdb19081bdd5d60721b604482015290519081900360640190fd5b600d54341015611fa3576040805162461bcd60e51b815260206004820152601460248201527303737ba1032b737bab3b41032ba341039b2b73a160651b604482015290519081900360640190fd5b7f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c3334611fce610dfc565b604080516001600160a01b039094168452602084019290925282820152519081900360600190a16000611fff610dfc565b9050610e0833826128f3565b6000610b5282612911565b600061202182611e82565b61205c5760405162461bcd60e51b815260040180806020018281038252602c815260200180613344602c913960400191505060405180910390fd5b600061206783611162565b9050806001600160a01b0316846001600160a01b031614806120a25750836001600160a01b031661209784610bee565b6001600160a01b0316145b806120b257506120b28185611d3c565b949350505050565b826001600160a01b03166120cd82611162565b6001600160a01b0316146121125760405162461bcd60e51b81526004018080602001828103825260298152602001806136c76029913960400191505060405180910390fd5b6001600160a01b0382166121575760405162461bcd60e51b81526004018080602001828103825260248152602001806132c06024913960400191505060405180910390fd5b612162838383610d26565b61216d600082611e93565b6001600160a01b038316600090815260016020526040902061218f9082612915565b506001600160a01b03821660009081526001602052604090206121b29082612921565b506121bf6002828461292d565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610f0a8383612943565b600080808061222186866129a7565b9097909650945050505050565b60006120b2848484612a22565b80471015612290576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b6040516000906001600160a01b0384169083908381818185875af1925050503d80600081146122db576040519150601f19603f3d011682016040523d82523d6000602084013e6122e0565b606091505b5050905080610d265760405162461bcd60e51b815260040180806020018281038252603a8152602001806132e4603a913960400191505060405180910390fd5b61232b8484846120ba565b61233784848484612aec565b6116315760405162461bcd60e51b81526004018080602001828103825260328152602001806132686032913960400191505060405180910390fd5b60006103e76123ff612383846126db565b60405160200180806552414e444f4d60d01b81525060060182805190602001908083835b602083106123c65780518252601f1990920191602091820191016123a7565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052612c54565b8161240657fe5b0692915050565b600080600a8306600a850614801561242857506000600a8506115b801561243757506000600a8406115b15612440576001015b600a6064840604600a606486060414801561246157506000600a6064860604115b801561247357506000600a6064850604115b1561247c576001015b60646103e884060460646103e88606041480156124a05750600060646103e8860604115b80156124b35750600060646103e8850604115b156124bc576001015b82841415610f0a576001019392505050565b60008060646103e8840604600a84061480156124ed57506000600a8406115b80156125005750600060646103e8850604115b15612509576001015b600a6064840604600a840614801561252457506000600a8406115b801561253657506000600a6064850604115b1561253f576001015b60646103e8840604600a606485060414801561256157506000600a6064850604115b80156125745750600060646103e8850604115b1561257d576001015b60646103e8850604600a850614801561259957506000600a8506115b80156125ac5750600060646103e8860604115b156125b5576001015b600a6064850604600a85061480156125d057506000600a8506115b80156125e257506000600a6064860604115b156125eb576001015b60646103e8850604600a606486060414801561260d57506000600a6064860604115b80156126205750600060646103e8860604115b15612629576001015b60646103e8840604600a850614801561264557506000600a8506115b80156126585750600060646103e8850604115b15612661576001015b600a830660646103e88606041480156126815750600060646103e8860604115b801561269057506000600a8406115b15612699576001015b600a6064840604600a60648606041480156126ba57506000600a6064860604115b80156126cc57506000600a6064850604115b15610f0a576001019392505050565b60608161270057506040805180820190915260018152600360fc1b6020820152610abe565b8160005b811561271857600101600a82049150612704565b60008167ffffffffffffffff8111801561273157600080fd5b506040519080825280601f01601f19166020018201604052801561275c576020820181803683370190505b5090505b84156120b25760001990910190600a850660300160f81b81838151811061278357fe5b60200101906001600160f81b031916908160001a905350600a85049450612760565b8051606090806127c5575050604080516020810190915260008152610abe565b6004600360028301040260006020820167ffffffffffffffff811180156127eb57600080fd5b506040519080825280601f01601f191660200182016040528015612816576020820181803683370190505b50905060006040518060600160405280604081526020016135ee604091399050600181016020830160005b868110156128a2576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612841565b5060038606600181146128bc57600281146128cd576128d9565b613d3d60f01b6001198301526128d9565b603d60f81b6000198301525b505050918152949350505050565b6000610f0a8383612cce565b61290d828260405180602001604052806000815250612ce6565b5050565b5490565b6000610f0a8383612d38565b6000610f0a8383612dfe565b60006120b284846001600160a01b038516612e48565b815460009082106129855760405162461bcd60e51b815260040180806020018281038252602281526020018061320b6022913960400191505060405180910390fd5b82600001828154811061299457fe5b9060005260206000200154905092915050565b8154600090819083106129eb5760405162461bcd60e51b815260040180806020018281038252602281526020018061362e6022913960400191505060405180910390fd5b60008460000184815481106129fc57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281612abd5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612a82578181015183820152602001612a6a565b50505050905090810190601f168015612aaf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110612ad057fe5b9060005260206000209060020201600101549150509392505050565b6000612b00846001600160a01b0316612edf565b612b0c575060016120b2565b6000612c1a630a85bd0160e11b612b21611e8f565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612b88578181015183820152602001612b70565b50505050905090810190601f168015612bb55780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001613268603291396001600160a01b0388169190612ee5565b90506000818060200190516020811015612c3357600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000816040516020018082805190602001908083835b60208310612c895780518252601f199092019160209182019101612c6a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040528051906020012060001c9050919050565b60009081526001919091016020526040902054151590565b612cf08383612ef4565b612cfd6000848484612aec565b610d265760405162461bcd60e51b81526004018080602001828103825260328152602001806132686032913960400191505060405180910390fd5b60008181526001830160205260408120548015612df45783546000198083019190810190600090879083908110612d6b57fe5b9060005260206000200154905080876000018481548110612d8857fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080612db857fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610b52565b6000915050610b52565b6000612e0a8383612cce565b612e4057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b52565b506000610b52565b600082815260018401602052604081205480612ead575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055610f0a565b82856000016001830381548110612ec057fe5b9060005260206000209060020201600101819055506000915050610f0a565b3b151590565b60606120b28484600085613022565b6001600160a01b038216612f4f576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612f5881611e82565b15612faa576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b612fb660008383610d26565b6001600160a01b0382166000908152600160205260409020612fd89082612921565b50612fe56002828461292d565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060824710156130635760405162461bcd60e51b815260040180806020018281038252602681526020018061331e6026913960400191505060405180910390fd5b61306c85612edf565b6130bd576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106130fb5780518252601f1990920191602091820191016130dc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461315d576040519150601f19603f3d011682016040523d82523d6000602084013e613162565b606091505b509150915061317282828661317d565b979650505050505050565b6060831561318c575081610f0a565b82511561319c5782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315612a82578181015183820152602001612a6a565b6040518060c001604052806006905b60608152602001906001900390816131f2579050509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473222c202261747472696275746573223a205b207b202274726169745f74797065223a202253696d696c6172697479222c202276616c7565223a20224552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e3c7465787420783d223530252220793d223530252220646f6d696e616e742d626173656c696e653d226d6964646c652220746578742d616e63686f723d226d6964646c652220636c6173733d2262617365223e222c20226465736372697074696f6e223a2022546f6b656e20486173682070726573656e7473207468652074776f2076616c7565732066726f6d20776869636820616c6c2076616c756520616e6420766172696174696f6e2064657269766520696e20746865206f6e2d636861696e2067656e65726174697665204e465420617320616e206f6e2d636861696e2067656e65726174697665204e46542e222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6261736536342c3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20333070783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657222207d2c207b202274726169745f74797065223a202253796d6d65747279222c202276616c7565223a20224552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e7b20226e616d65223a2022546f6b656e2048617368222c226465736372697074696f6e223a20224162737472616374206f6e2d636861696e2067656e65726174697665204e4654207365726965732e222c202265787465726e616c5f6c696e6b223a202268747470733a2f2f746f6b656e686173682e6a6f6e617468616e63686f6d6b6f2e636f6d2f222c2273656c6c65725f6665655f62617369735f706f696e7473223a20313030302c20226665655f726563697069656e74223a202230783834393062336446626134304237383465336131363937343337376337306131333933303643464122207d204552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220118ac84c9c12508605abbe2543634060995f08ae4389629c73f334a7c5d05d6564736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000470de4df8200000000000000000000000000008490b3dfba40b784e3a16974377c70a139306cfa
-----Decoded View---------------
Arg [0] : givenPricePerPiece (uint256): 20000000000000000
Arg [1] : givenWithdrawalAddress (address): 0x8490b3dFba40B784e3a16974377c70a139306CFA
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000470de4df820000
Arg [1] : 0000000000000000000000008490b3dfba40b784e3a16974377c70a139306cfa
Deployed Bytecode Sourcemap
70054:9354:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40249:150;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40249:150:0;-1:-1:-1;;;;;;40249:150:0;;:::i;:::-;;;;;;;;;;;;;;;;;;77264:277;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77264:277:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56359:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59351:221;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59351:221:0;;:::i;:::-;;;;-1:-1:-1;;;;;59351:221:0;;;;;;;;;;;;;;58881:404;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;58881:404:0;;;;;;;;:::i;:::-;;77954:223;;;:::i;58359:211::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;76842:148;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76842:148:0;-1:-1:-1;;;;;76842:148:0;;:::i;60241:305::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;60241:305:0;;;;;;;;;;;;;;;;;:::i;58121:162::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;58121:162:0;;;;;;;;:::i;77568:374::-;;;:::i;76367:100::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76367:100:0;;;;:::i;60617:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;60617:151:0;;;;;;;;;;;;;;;;;:::i;58647:172::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58647:172:0;;:::i;70574:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70574:49:0;-1:-1:-1;;;;;70574:49:0;;:::i;70387:30::-;;;;;;;;;;;;;:::i;76107:226::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76107:226:0;;;;;;;;-1:-1:-1;76107:226:0;;-1:-1:-1;;76107:226:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76107:226:0;;-1:-1:-1;76107:226:0;;-1:-1:-1;;;;;76107:226:0:i;70424:28::-;;;;;;;;;;;;;:::i;56115:177::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56115:177:0;;:::i;57935:97::-;;;;;;;;;;;;;:::i;55832:221::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55832:221:0;-1:-1:-1;;;;;55832:221:0;;:::i;28927:148::-;;;;;;;;;;;;;:::i;76479:103::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76479:103:0;;;;:::i;70488:25::-;;;;;;;;;;;;;:::i;28276:87::-;;;;;;;;;;;;;:::i;76615:102::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76615:102:0;;:::i;56528:104::-;;;;;;;;;;;;;:::i;76725:90::-;;;;;;;;;;;;;:::i;76998:118::-;;;;;;;;;;;;;:::i;59644:295::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;59644:295:0;;;;;;;;;;:::i;60839:285::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;60839:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60839:285:0;;-1:-1:-1;60839:285:0;;-1:-1:-1;;;;;60839:285:0:i;74004:2012::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74004:2012:0;;:::i;77142:110::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77142:110:0;;:::i;70520:47::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70520:47:0;-1:-1:-1;;;;;70520:47:0;;:::i;57072:624::-;;;;;;;;;;;;;:::i;60010:164::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;60010:164:0;;;;;;;;;;:::i;70195:40::-;;;;;;;;;;;;;:::i;29230:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29230:244:0;-1:-1:-1;;;;;29230:244:0;;:::i;70325:32::-;;;;;;;;;;;;;:::i;40249:150::-;-1:-1:-1;;;;;;40358:33:0;;40334:4;40358:33;;;;;;;;;;;;;40249:150;;;;:::o;77264:277::-;77332:16;77360:19;77402:5;77396:3;:11;77382:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77382:26:0;-1:-1:-1;77360:48:0;-1:-1:-1;77436:5:0;77419:95;77447:3;77443:1;:7;77419:95;;;77492:10;77500:1;77492:7;:10::i;:::-;77476:2;77483:5;77479:1;:9;77476:13;;;;;;;;-1:-1:-1;;;;;77476:26:0;;;:13;;;;;;;;;;;:26;77452:3;;77419:95;;;-1:-1:-1;77531:2:0;-1:-1:-1;77264:277:0;;;;;:::o;56359:100::-;56446:5;56439:12;;;;;;;;-1:-1:-1;;56439:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56413:13;;56439:12;;56446:5;;56439:12;;56446:5;56439:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56359:100;:::o;59351:221::-;59427:7;59455:16;59463:7;59455;:16::i;:::-;59447:73;;;;-1:-1:-1;;;59447:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59540:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;59540:24:0;;59351:221::o;58881:404::-;58962:13;58978:23;58993:7;58978:14;:23::i;:::-;58962:39;;59026:5;-1:-1:-1;;;;;59020:11:0;:2;-1:-1:-1;;;;;59020:11:0;;;59012:57;;;;-1:-1:-1;;;59012:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59106:5;-1:-1:-1;;;;;59090:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;59090:21:0;;:69;;;;59115:44;59139:5;59146:12;:10;:12::i;:::-;59115:23;:44::i;:::-;59082:161;;;;-1:-1:-1;;;59082:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59256:21;59265:2;59269:7;59256:8;:21::i;:::-;58881:404;;;:::o;77954:223::-;78004:18;;;;;:43;;;78040:7;:5;:7::i;:::-;-1:-1:-1;;;;;78026:21:0;:10;-1:-1:-1;;;;;78026:21:0;;78004:43;77996:75;;;;;-1:-1:-1;;;77996:75:0;;;;;;;;;;;;-1:-1:-1;;;77996:75:0;;;;;;;;;;;;;;;78103:13;;78090:9;:26;78082:66;;;;;-1:-1:-1;;;78082:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;78159:10;:8;:10::i;:::-;;77954:223::o;58359:211::-;58420:7;58541:21;:12;:19;:21::i;:::-;58534:28;;58359:211;:::o;76842:148::-;28507:12;:10;:12::i;:::-;-1:-1:-1;;;;;28496:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;28496:23:0;;28488:68;;;;;-1:-1:-1;;;28488:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28488:68:0;;;;;;;;;;;;;;;76940:17:::1;:42:::0;;-1:-1:-1;;;;;;76940:42:0::1;-1:-1:-1::0;;;;;76940:42:0;;;::::1;::::0;;;::::1;::::0;;76842:148::o;60241:305::-;60402:41;60421:12;:10;:12::i;:::-;60435:7;60402:18;:41::i;:::-;60394:103;;;;-1:-1:-1;;;60394:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60510:28;60520:4;60526:2;60530:7;60510:9;:28::i;58121:162::-;-1:-1:-1;;;;;58245:20:0;;58218:7;58245:20;;;:13;:20;;;;;:30;;58269:5;58245:23;:30::i;:::-;58238:37;58121:162;-1:-1:-1;;;58121:162:0:o;77568:374::-;77621:13;;;;77613:42;;;;;-1:-1:-1;;;77613:42:0;;;;;;;;;;;;-1:-1:-1;;;77613:42:0;;;;;;;;;;;;;;;77687:10;77701:1;77675:23;;;:11;:23;;;;;;77667:65;;;;;-1:-1:-1;;;77667:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;77873:10;:8;:10::i;:::-;-1:-1:-1;77908:10:0;77894:25;;;;:13;:25;;;;;:30;;77923:1;77894:30;;;77568:374::o;76367:100::-;28507:12;:10;:12::i;:::-;-1:-1:-1;;;;;28496:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;28496:23:0;;28488:68;;;;;-1:-1:-1;;;28488:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28488:68:0;;;;;;;;;;;;;;;76435:13:::1;:24:::0;;-1:-1:-1;;76435:24:0::1;::::0;::::1;;::::0;;;::::1;::::0;;76367:100::o;60617:151::-;60721:39;60738:4;60744:2;60748:7;60721:39;;;;;;;;;;;;:16;:39::i;58647:172::-;58722:7;;58764:22;:12;58780:5;58764:15;:22::i;:::-;-1:-1:-1;58742:44:0;58647:172;-1:-1:-1;;;58647:172:0:o;70574:49::-;;;;;;;;;;;;;:::o;70387:30::-;;;;;;:::o;76107:226::-;28507:12;:10;:12::i;:::-;-1:-1:-1;;;;;28496:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;28496:23:0;;28488:68;;;;;-1:-1:-1;;;28488:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28488:68:0;;;;;;;;;;;;;;;76223:9:::1;76218:108;76242:5;:12;76238:1;:16;76218:108;;;76300:11;76312:1;76300:14;;;;;;;;;;;;;;76276:11;:21;76288:5;76294:1;76288:8;;;;;;;;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;76276:21:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;76276:21:0;:38;76256:3:::1;;76218:108;;70424:28:::0;;;;:::o;56115:177::-;56187:7;56214:70;56231:7;56214:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;57935:97::-;58016:8;58009:15;;;;;;;;-1:-1:-1;;58009:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57983:13;;58009:15;;58016:8;;58009:15;;58016:8;58009:15;;;;;;;;;;;;;;;;;;;;;;;;55832:221;55904:7;-1:-1:-1;;;;;55932:19:0;;55924:74;;;;-1:-1:-1;;;55924:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;56016:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;28927:148::-;28507:12;:10;:12::i;:::-;-1:-1:-1;;;;;28496:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;28496:23:0;;28488:68;;;;;-1:-1:-1;;;28488:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28488:68:0;;;;;;;;;;;;;;;29018:6:::1;::::0;28997:40:::1;::::0;29034:1:::1;::::0;-1:-1:-1;;;;;29018:6:0::1;::::0;28997:40:::1;::::0;29034:1;;28997:40:::1;29048:6;:19:::0;;-1:-1:-1;;;;;;29048:19:0::1;::::0;;28927:148::o;76479:103::-;28507:12;:10;:12::i;:::-;-1:-1:-1;;;;;28496:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;28496:23:0;;28488:68;;;;;-1:-1:-1;;;28488:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28488:68:0;;;;;;;;;;;;;;;76545:18:::1;:29:::0;;-1:-1:-1;;76545:29:0::1;::::0;::::1;;::::0;;;::::1;::::0;;76479:103::o;70488:25::-;;;;;;:::o;28276:87::-;28349:6;;-1:-1:-1;;;;;28349:6:0;28276:87;:::o;76615:102::-;28507:12;:10;:12::i;:::-;-1:-1:-1;;;;;28496:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;28496:23:0;;28488:68;;;;;-1:-1:-1;;;28488:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28488:68:0;;;;;;;;;;;;;;;76683:13:::1;:26:::0;76615:102::o;56528:104::-;56617:7;56610:14;;;;;;;;-1:-1:-1;;56610:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56584:13;;56610:14;;56617:7;;56610:14;;56617:7;56610:14;;;;;;;;;;;;;;;;;;;;;;;;76725:90;76794:13;;76725:90;:::o;76998:118::-;28507:12;:10;:12::i;:::-;-1:-1:-1;;;;;28496:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;28496:23:0;;28488:68;;;;;-1:-1:-1;;;28488:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28488:68:0;;;;;;;;;;;;;;;77067:17:::1;::::0;77049:59:::1;::::0;-1:-1:-1;;;;;77067:17:0::1;77086:21;77049:17;:59::i;:::-;76998:118::o:0;59644:295::-;59759:12;:10;:12::i;:::-;-1:-1:-1;;;;;59747:24:0;:8;-1:-1:-1;;;;;59747:24:0;;;59739:62;;;;;-1:-1:-1;;;59739:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;59859:8;59814:18;:32;59833:12;:10;:12::i;:::-;-1:-1:-1;;;;;59814:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;59814:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;59814:53:0;;;;;;;;;;;59898:12;:10;:12::i;:::-;-1:-1:-1;;;;;59883:48:0;;59922:8;59883:48;;;;;;;;;;;;;;;;;;;;59644:295;;:::o;60839:285::-;60971:41;60990:12;:10;:12::i;:::-;61004:7;60971:18;:41::i;:::-;60963:103;;;;-1:-1:-1;;;60963:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61077:39;61091:4;61097:2;61101:7;61110:5;61077:13;:39::i;:::-;60839:285;;;;:::o;74004:2012::-;74069:13;74120:16;74128:7;74120;:16::i;:::-;:42;;;;74155:7;:5;:7::i;:::-;-1:-1:-1;;;;;74141:21:0;:10;-1:-1:-1;;;;;74141:21:0;;74120:42;74112:102;;;;-1:-1:-1;;;74112:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74243:15;74261:21;74274:7;74261:12;:21::i;:::-;74243:39;;74313:7;74324:4;74313:15;74310:69;;;-1:-1:-1;74358:5:0;74310:69;74410:7;74421:5;74410:16;74407:69;;;-1:-1:-1;74456:4:0;74407:69;74504:18;74525:33;74541:7;74550;74525:15;:33::i;:::-;74504:54;;74573:16;74592:31;74606:7;74615;74592:13;:31::i;:::-;74573:50;;74652:22;;:::i;:::-;74689:233;;;;;;;;;;;;;;;;;;;74937:97;;;;;;;;;;;;;;74689:8;74937:97;;;:8;;;:97;75061:17;75070:7;75061:8;:17::i;:::-;75049:8;;;;:29;;;;75093:16;;;;;;;;75055:1;75093:16;;-1:-1:-1;;;75049:8:0;75093:16;;;:8;;;:16;75136:17;75145:7;75136:8;:17::i;:::-;75124:8;;;:29;;;75168:26;;;;;;;;;;;-1:-1:-1;;;75124:8:0;75168:26;;;;;;;:8;;;:26;;;75270:8;;75280;;;;-1:-1:-1;;;75290:8:0;75300;;;;75310;;75253:76;;;;-1:-1:-1;;75270:8:0;;75280;;75290;;75253:76;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75253:76:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75253:76:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75253:76:0;;;;;;;;;;;;;-1:-1:-1;;75253:76:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75253:76:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75253:76:0;;;;;;;;;;;;;-1:-1:-1;;75253:76:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75253:76:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75253:76:0;;;;;;;;;;;;;-1:-1:-1;;75253:76:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75253:76:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75253:76:0;;;;;;;;;;;;;-1:-1:-1;;75253:76:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75253:76:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75253:76:0;;;;;;;;;;;;;-1:-1:-1;;75253:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75223:107;;75345:18;75366:513;75435:17;75444:7;75435:8;:17::i;:::-;75460;75469:7;75460:8;:17::i;:::-;75679:28;75699:6;75679:13;:28::i;:::-;75772:20;75781:10;75772:8;:20::i;:::-;75842:18;75851:8;75842;:18::i;:::-;75393:483;;;;;;-1:-1:-1;;;75393:483:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75393:483:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75393:483:0;;;;;;;;;;;-1:-1:-1;;;75393:483:0;;;;;;;;;;;;;;;;;-1:-1:-1;75393:483:0;;;;;;;;;;;;;-1:-1:-1;;75393:483:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75393:483:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75393:483:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75393:483:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;75393:483:0;;;;;;;;;;;;;;;;;;;;;;;;75366:13;:513::i;:::-;75345:534;;75960:4;75910:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75910:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75894:72;;75988:6;75981:13;;;;;;;;74004:2012;;;:::o;77142:110::-;77199:7;77227:16;77235:7;77227;:16::i;70520:47::-;;;;;;;;;;;;;:::o;57072:624::-;57116:13;57173:18;57194:287;57221:257;;;;;;;;;;;;;;;;;;;;;;;;;;57194:13;:287::i;:::-;57173:308;;57492:20;57572:4;57522:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57522:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57492:86;;57682:6;57675:13;;;;57072:624;:::o;60010:164::-;-1:-1:-1;;;;;60131:25:0;;;60107:4;60131:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;60010:164::o;70195:40::-;;;-1:-1:-1;;;;;70195:40:0;;:::o;29230:244::-;28507:12;:10;:12::i;:::-;-1:-1:-1;;;;;28496:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;28496:23:0;;28488:68;;;;;-1:-1:-1;;;28488:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28488:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;29319:22:0;::::1;29311:73;;;;-1:-1:-1::0;;;29311:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29421:6;::::0;29400:38:::1;::::0;-1:-1:-1;;;;;29400:38:0;;::::1;::::0;29421:6:::1;::::0;29400:38:::1;::::0;29421:6:::1;::::0;29400:38:::1;29449:6;:17:::0;;-1:-1:-1;;;;;;29449:17:0::1;-1:-1:-1::0;;;;;29449:17:0;;;::::1;::::0;;;::::1;::::0;;29230:244::o;70325:32::-;;;;:::o;62591:127::-;62656:4;62680:30;:12;62702:7;62680:21;:30::i;26754:106::-;26842:10;26754:106;:::o;68519:183::-;68585:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;68585:29:0;-1:-1:-1;;;;;68585:29:0;;;;;;;;:24;;68639:23;68585:24;68639:14;:23::i;:::-;-1:-1:-1;;;;;68630:46:0;;;;;;;;;;;68519:183;;:::o;78189:474::-;78226:7;78352:17;;78336:13;:11;:13::i;:::-;:33;78328:64;;;;;-1:-1:-1;;;78328:64:0;;;;;;;;;;;;-1:-1:-1;;;78328:64:0;;;;;;;;;;;;;;;78424:13;;78411:9;:26;;78403:59;;;;;-1:-1:-1;;;78403:59:0;;;;;;;;;;;;-1:-1:-1;;;78403:59:0;;;;;;;;;;;;;;;78479:46;78488:10;78500:9;78511:13;:11;:13::i;:::-;78479:46;;;-1:-1:-1;;;;;78479:46:0;;;;;;;;;;;;;;;;;;;;;;;;;78536:19;78558:13;:11;:13::i;:::-;78536:35;;78582:34;78592:10;78604:11;78582:9;:34::i;49079:123::-;49148:7;49175:19;49183:3;49175:7;:19::i;62885:355::-;62978:4;63003:16;63011:7;63003;:16::i;:::-;62995:73;;;;-1:-1:-1;;;62995:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63079:13;63095:23;63110:7;63095:14;:23::i;:::-;63079:39;;63148:5;-1:-1:-1;;;;;63137:16:0;:7;-1:-1:-1;;;;;63137:16:0;;:51;;;;63181:7;-1:-1:-1;;;;;63157:31:0;:20;63169:7;63157:11;:20::i;:::-;-1:-1:-1;;;;;63157:31:0;;63137:51;:94;;;;63192:39;63216:5;63223:7;63192:23;:39::i;:::-;63129:103;62885:355;-1:-1:-1;;;;62885:355:0:o;66030:599::-;66155:4;-1:-1:-1;;;;;66128:31:0;:23;66143:7;66128:14;:23::i;:::-;-1:-1:-1;;;;;66128:31:0;;66120:85;;;;-1:-1:-1;;;66120:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;66242:16:0;;66234:65;;;;-1:-1:-1;;;66234:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66312:39;66333:4;66339:2;66343:7;66312:20;:39::i;:::-;66416:29;66433:1;66437:7;66416:8;:29::i;:::-;-1:-1:-1;;;;;66458:19:0;;;;;;:13;:19;;;;;:35;;66485:7;66458:26;:35::i;:::-;-1:-1:-1;;;;;;66504:17:0;;;;;;:13;:17;;;;;:30;;66526:7;66504:21;:30::i;:::-;-1:-1:-1;66547:29:0;:12;66564:7;66573:2;66547:16;:29::i;:::-;;66613:7;66609:2;-1:-1:-1;;;;;66594:27:0;66603:4;-1:-1:-1;;;;;66594:27:0;;;;;;;;;;;66030:599;;;:::o;17941:137::-;18012:7;18047:22;18051:3;18063:5;18047:3;:22::i;49541:236::-;49621:7;;;;49681:22;49685:3;49697:5;49681:3;:22::i;:::-;49650:53;;;;-1:-1:-1;49541:236:0;-1:-1:-1;;;;;49541:236:0:o;50827:213::-;50934:7;50985:44;50990:3;51010;51016:12;50985:4;:44::i;20216:397::-;20331:6;20306:21;:31;;20298:73;;;;;-1:-1:-1;;;20298:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20481:35;;20463:12;;-1:-1:-1;;;;;20481:14:0;;;20504:6;;20463:12;20481:35;20463:12;20481:35;20504:6;20481:14;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20462:54;;;20535:7;20527:78;;;;-1:-1:-1;;;20527:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62006:272;62120:28;62130:4;62136:2;62140:7;62120:9;:28::i;:::-;62167:48;62190:4;62196:2;62200:7;62209:5;62167:22;:48::i;:::-;62159:111;;;;-1:-1:-1;;;62159:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71219:163;71281:7;71371:3;71307:61;71348:17;71357:7;71348:8;:17::i;:::-;71321:45;;;;;;-1:-1:-1;;;71321:45:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;71321:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71307:6;:61::i;:::-;:67;;;;;;;71219:163;-1:-1:-1;;71219:163:0:o;71393:770::-;71473:7;;71641:2;71632:7;:11;71626:2;71616:7;:12;:27;:47;;;;-1:-1:-1;71662:1:0;71657:2;71647:7;:12;:16;71616:47;:67;;;;-1:-1:-1;71682:1:0;71677:2;71667:7;:12;:16;71616:67;71613:111;;;71699:13;;71613:111;71783:2;71778:3;71768:13;;:17;71762:2;71757:3;71747:13;;:17;:38;:63;;;;-1:-1:-1;71809:1:0;71804:2;71799:3;71789:13;;:17;:21;71747:63;:88;;;;-1:-1:-1;71834:1:0;71829:2;71824:3;71814:13;;:17;:21;71747:88;71744:132;;;71851:13;;71744:132;71938:3;71932:4;71922:14;;:19;71915:3;71909:4;71899:14;;:19;:42;:69;;;;-1:-1:-1;71967:1:0;71961:3;71955:4;71945:14;;:19;:23;71899:69;:96;;;;-1:-1:-1;71994:1:0;71988:3;71982:4;71972:14;;:19;:23;71899:96;71896:140;;;72011:13;;71896:140;72070:7;72059;:18;72056:62;;;72093:13;;72145:10;71393:770;-1:-1:-1;;;71393:770:0:o;72175:1797::-;72253:7;;72380:3;72374:4;72364:14;;:19;72358:2;72348:7;:12;:35;:55;;;;-1:-1:-1;72402:1:0;72397:2;72387:7;:12;:16;72348:55;:82;;;;-1:-1:-1;72429:1:0;72423:3;72417:4;72407:14;;:19;:23;72348:82;72345:124;;;72446:11;;72345:124;72557:2;72552:3;72542:13;;:17;72536:2;72526:7;:12;:33;:53;;;;-1:-1:-1;72578:1:0;72573:2;72563:7;:12;:16;72526:53;:78;;;;-1:-1:-1;72603:1:0;72598:2;72593:3;72583:13;;:17;:21;72526:78;72523:120;;;72620:11;;72523:120;72736:3;72730:4;72720:14;;:19;72714:2;72710:3;72700:13;;:16;:39;:63;;;;-1:-1:-1;72762:1:0;72757:2;72753:3;72743:13;;:16;:20;72700:63;:90;;;;-1:-1:-1;72789:1:0;72783:3;72777:4;72767:14;;:19;:23;72700:90;72697:132;;;72806:11;;72697:132;72919:3;72913:4;72903:14;;:19;72897:2;72887:7;:12;:35;:55;;;;-1:-1:-1;72941:1:0;72936:2;72926:7;:12;:16;72887:55;:82;;;;-1:-1:-1;72968:1:0;72962:3;72956:4;72946:14;;:19;:23;72887:82;72884:124;;;72985:11;;72884:124;73099:2;73094:3;73084:13;;:17;73078:2;73068:7;:12;:33;:53;;;;-1:-1:-1;73120:1:0;73115:2;73105:7;:12;:16;73068:53;:78;;;;-1:-1:-1;73145:1:0;73140:2;73135:3;73125:13;;:17;:21;73068:78;73065:120;;;73162:11;;73065:120;73281:3;73275:4;73265:14;;:19;73259:2;73255:3;73245:13;;:16;:39;:63;;;;-1:-1:-1;73307:1:0;73302:2;73298:3;73288:13;;:16;:20;73245:63;:90;;;;-1:-1:-1;73334:1:0;73328:3;73322:4;73312:14;;:19;:23;73245:90;73242:132;;;73351:11;;73242:132;73476:3;73470:4;73460:14;;:19;73454:2;73444:7;:12;:35;:55;;;;-1:-1:-1;73498:1:0;73493:2;73483:7;:12;:16;73444:55;:82;;;;-1:-1:-1;73525:1:0;73519:3;73513:4;73503:14;;:19;:23;73444:82;73441:124;;;73542:11;;73441:124;73669:2;73659:12;;73652:3;73646:4;73636:14;;:19;:35;:62;;;;-1:-1:-1;73697:1:0;73691:3;73685:4;73675:14;;:19;:23;73636:62;:82;;;;-1:-1:-1;73717:1:0;73712:2;73702:7;:12;:16;73636:82;73633:124;;;73734:11;;73633:124;73838:2;73833:3;73823:13;;:17;73817:2;73812:3;73802:13;;:17;:38;:63;;;;-1:-1:-1;73864:1:0;73859:2;73854:3;73844:13;;:17;:21;73802:63;:88;;;;-1:-1:-1;73889:1:0;73884:2;73879:3;73869:13;;:17;:21;73802:88;73799:130;;;73906:11;;;72175:1797;-1:-1:-1;;;72175:1797:0:o;78690:715::-;78746:13;78959:10;78955:53;;-1:-1:-1;78986:10:0;;;;;;;;;;;;-1:-1:-1;;;78986:10:0;;;;;;78955:53;79033:5;79018:12;79074:78;79081:9;;79074:78;;79107:8;;79138:2;79130:10;;;;79074:78;;;79162:19;79194:6;79184:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;79184:17:0;;79162:39;;79212:154;79219:10;;79212:154;;-1:-1:-1;;79246:11:0;;;;79323:2;79315:5;:10;79302:2;:24;79289:39;;79272:6;79279;79272:14;;;;;;;;;;;:56;-1:-1:-1;;;;;79272:56:0;;;;;;;;-1:-1:-1;79352:2:0;79343:11;;;;79212:154;;79761:1607;79859:11;;79819:13;;79885:8;79881:23;;-1:-1:-1;;79895:9:0;;;;;;;;;-1:-1:-1;79895:9:0;;;;79881:23;79977:1;79994;79989;79983:7;;79982:13;79977:19;79956:18;80099:2;80086:15;;80076:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80076:26:0;;80054:48;;80115:18;80136:5;;;;;;;;;;;;;;;;;80115:26;;80205:1;80198:5;80194:13;80250:2;80242:6;80238:15;80301:1;80269:777;80324:3;80321:1;80318:10;80269:777;;;80379:1;80422:12;;;;;80416:19;80517:4;80505:2;80501:14;;;;;80483:40;;80477:47;80626:2;80622:14;;;80618:25;;80604:40;;80598:47;80755:1;80751:13;;;80747:24;;80733:39;;80727:46;80875:16;;;;80861:31;;80855:38;80553:1;80549:11;;;80647:4;80594:58;;;80585:68;80678:11;;80723:57;;;80714:67;;;;80806:11;;80851:49;;80842:59;80930:3;80926:13;80959:22;;81029:1;81014:17;;;;80372:9;80269:777;;;80273:44;81078:1;81073:3;81069:11;81099:1;81094:84;;;;81197:1;81192:82;;;;81062:212;;81094:84;-1:-1:-1;;;;;81127:17:0;;81120:43;81094:84;;81192:82;-1:-1:-1;;;;;81225:17:0;;81218:41;81062:212;-1:-1:-1;;;81290:26:0;;;;79761:1607;-1:-1:-1;;;;79761:1607:0:o;48840:151::-;48924:4;48948:35;48958:3;48978;48948:9;:35::i;63583:110::-;63659:26;63669:2;63673:7;63659:26;;;;;;;;;;;;:9;:26::i;:::-;63583:110;;:::o;45658:::-;45741:19;;45658:110::o;17029:137::-;17099:4;17123:35;17131:3;17151:5;17123:7;:35::i;16722:131::-;16789:4;16813:32;16818:3;16838:5;16813:4;:32::i;48263:185::-;48352:4;48376:64;48381:3;48401;-1:-1:-1;;;;;48415:23:0;;48376:4;:64::i;12982:204::-;13077:18;;13049:7;;13077:26;-1:-1:-1;13069:73:0;;;;-1:-1:-1;;;13069:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13160:3;:11;;13172:5;13160:18;;;;;;;;;;;;;;;;13153:25;;12982:204;;;;:::o;46123:279::-;46227:19;;46190:7;;;;46227:27;-1:-1:-1;46219:74:0;;;;-1:-1:-1;;;46219:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46306:22;46331:3;:12;;46344:5;46331:19;;;;;;;;;;;;;;;;;;46306:44;;46369:5;:10;;;46381:5;:12;;;46361:33;;;;;46123:279;;;;;:::o;47620:319::-;47714:7;47753:17;;;:12;;;:17;;;;;;47804:12;47789:13;47781:36;;;;-1:-1:-1;;;47781:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47871:3;:12;;47895:1;47884:8;:12;47871:26;;;;;;;;;;;;;;;;;;:33;;;47864:40;;;47620:319;;;;;:::o;67907:604::-;68028:4;68055:15;:2;-1:-1:-1;;;;;68055:13:0;;:15::i;:::-;68050:60;;-1:-1:-1;68094:4:0;68087:11;;68050:60;68120:23;68146:252;-1:-1:-1;;;68259:12:0;:10;:12::i;:::-;68286:4;68305:7;68327:5;68162:181;;;;;;-1:-1:-1;;;;;68162:181:0;;;;;;-1:-1:-1;;;;;68162:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;68162:181:0;;;;;;;-1:-1:-1;;;;;68162:181:0;;;;;;;;;;;68146:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;68146:15:0;;;:252;:15;:252::i;:::-;68120:278;;68409:13;68436:10;68425:32;;;;;;;;;;;;;;;-1:-1:-1;68425:32:0;-1:-1:-1;;;;;;68476:26:0;-1:-1:-1;;;68476:26:0;;-1:-1:-1;;;67907:604:0;;;;;;:::o;71069:138::-;71129:7;71191:5;71174:23;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;71174:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71164:34;;;;;;71156:43;;71149:50;;71069:138;;;:::o;45438:125::-;45509:4;45533:17;;;:12;;;;;:17;;;;;;:22;;;45438:125::o;63920:250::-;64016:18;64022:2;64026:7;64016:5;:18::i;:::-;64053:54;64084:1;64088:2;64092:7;64101:5;64053:22;:54::i;:::-;64045:117;;;;-1:-1:-1;;;64045:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10685:1544;10751:4;10890:19;;;:12;;;:19;;;;;;10926:15;;10922:1300;;11361:18;;-1:-1:-1;;11312:14:0;;;;11361:22;;;;11288:21;;11361:3;;:22;;11648;;;;;;;;;;;;;;11628:42;;11794:9;11765:3;:11;;11777:13;11765:26;;;;;;;;;;;;;;;;;;;:38;;;;11871:23;;;11913:1;11871:12;;;:23;;;;;;11897:17;;;11871:43;;12023:17;;11871:3;;12023:17;;;;;;;;;;;;;;;;;;;;;;12118:3;:12;;:19;12131:5;12118:19;;;;;;;;;;;12111:26;;;12161:4;12154:11;;;;;;;;10922:1300;12205:5;12198:12;;;;;10095:414;10158:4;10180:21;10190:3;10195:5;10180:9;:21::i;:::-;10175:327;;-1:-1:-1;10218:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;10401:18;;10379:19;;;:12;;;:19;;;;;;:40;;;;10434:11;;10175:327;-1:-1:-1;10485:5:0;10478:12;;42938:692;43014:4;43149:17;;;:12;;;:17;;;;;;43183:13;43179:444;;-1:-1:-1;;43268:38:0;;;;;;;;;;;;;;;;;;43250:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;43465:19;;43445:17;;;:12;;;:17;;;;;;;:39;43499:11;;43179:444;43579:5;43543:3;:12;;43567:1;43556:8;:12;43543:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;43606:5;43599:12;;;;;18859:422;19226:20;19265:8;;;18859:422::o;21777:195::-;21880:12;21912:52;21934:6;21942:4;21948:1;21951:12;21912:21;:52::i;64506:404::-;-1:-1:-1;;;;;64586:16:0;;64578:61;;;;;-1:-1:-1;;;64578:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64659:16;64667:7;64659;:16::i;:::-;64658:17;64650:58;;;;;-1:-1:-1;;;64650:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;64721:45;64750:1;64754:2;64758:7;64721:20;:45::i;:::-;-1:-1:-1;;;;;64779:17:0;;;;;;:13;:17;;;;;:30;;64801:7;64779:21;:30::i;:::-;-1:-1:-1;64822:29:0;:12;64839:7;64848:2;64822:16;:29::i;:::-;-1:-1:-1;64869:33:0;;64894:7;;-1:-1:-1;;;;;64869:33:0;;;64886:1;;64869:33;;64886:1;;64869:33;64506:404;;:::o;22829:530::-;22956:12;23014:5;22989:21;:30;;22981:81;;;;-1:-1:-1;;;22981:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23081:18;23092:6;23081:10;:18::i;:::-;23073:60;;;;;-1:-1:-1;;;23073:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23207:12;23221:23;23248:6;-1:-1:-1;;;;;23248:11:0;23268:5;23276:4;23248:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23248:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23206:75;;;;23299:52;23317:7;23326:10;23338:12;23299:17;:52::i;:::-;23292:59;22829:530;-1:-1:-1;;;;;;;22829:530:0:o;25369:742::-;25484:12;25513:7;25509:595;;;-1:-1:-1;25544:10:0;25537:17;;25509:595;25658:17;;:21;25654:439;;25921:10;25915:17;25982:15;25969:10;25965:2;25961:19;25954:44;25869:148;26057:20;;-1:-1:-1;;;26057:20:0;;;;;;;;;;;;;;;;;26064:12;;26057:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://118ac84c9c12508605abbe2543634060995f08ae4389629c73f334a7c5d05d65
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.