Overview
TokenID
1
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
People
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-12-23 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.6.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/introspection/IERC165.sol pragma solidity ^0.6.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; /** * @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; /** * @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; /** * @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; /** * @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; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.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, 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) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * 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); uint256 c = a - b; return c; } /** * @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) { // 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.6.2; /** * @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 in 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"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol pragma solidity ^0.6.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.0.0, only sets of type `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]; } // 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(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(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(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(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts/utils/EnumerableMap.sol pragma solidity ^0.6.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 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) { return _get(map, key, "EnumerableMap: nonexistent key"); } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. */ 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(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(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(uint256(_get(map._inner, bytes32(key)))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint256(_get(map._inner, bytes32(key), errorMessage))); } } // File: @openzeppelin/contracts/utils/Strings.sol pragma solidity ^0.6.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--] = byte(uint8(48 + temp % 10)); temp /= 10; } return string(buffer); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol pragma solidity ^0.6.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 mapping (uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @dev See {IERC721Metadata-name}. */ function name() public view override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; // If there is no base URI, return the token URI. if (bytes(_baseURI).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(_baseURI, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(_baseURI, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view 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 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 = ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || 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 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 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 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 returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || 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 = ownerOf(tokenId); _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(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); 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(ownerOf(tokenId), to, tokenId); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: contracts/core/People.sol pragma solidity ^0.6.12; contract People is ERC721('EqualityDAO', 'PEOPLE') { using Strings for uint256; uint public currentTokenId = 1; uint public MAX_SUPPLY = 50000; uint MAGIC_NUMBER = 0xffffff; address public people = address(0x7A58c0Be72BE218B41C608b7Fe7C5bB630736C71); mapping (uint => uint) public dailyMinted; address public dev; string image = '<path d="M191.167,93.353c1.716,2.085,2.59,4.736,2.451,7.433l-1.877,36.232c-0.408,7.871,7.47,13.52,14.793,10.609l33.2-13.196c2.565-1.02,5.424-1.02,7.989,0l33.2,13.196c7.324,2.911,15.201-2.738,14.793-10.609l-1.877-36.232c-0.14-2.697,0.734-5.348,2.451-7.433l22.431-27.246c4.964-6.029,2.095-15.171-5.423-17.284l-34.85-9.792c-2.505-0.704-4.672-2.287-6.104-4.459L252.756,4.862c-4.273-6.482-13.783-6.482-18.057,0l-19.587,29.711c-1.432,2.172-3.599,3.755-6.104,4.459l-34.85,9.792c-7.519,2.112-10.387,11.254-5.423,17.284L191.167,93.353z" class="color"></path><path d="M144.083,129.276c5.858-5.857,5.858-15.355,0-21.213l-59.39-59.39c-5.857-5.857-15.355-5.857-21.213,0c-5.858,5.857-5.858,15.355,0,21.213l59.39,59.39C128.728,135.134,138.225,135.133,144.083,129.276z" class="color"></path><path d="M427.687,48.673c-5.857-5.857-15.355-5.857-21.213,0l-59.39,59.39c-5.858,5.857-5.858,15.355,0,21.213c5.858,5.858,15.355,5.858,21.213,0l59.39-59.39C433.545,64.029,433.545,54.531,427.687,48.673z" class="color"></path><circle cx="242.861" cy="245.339" r="55.276" class="color"></circle><path d="M389.629,179.685h-0.014c-17.874,0-32.38,14.506-32.38,32.394v31.802c0,62.667-50.819,113.5-113.5,113.5c-62.686,0-113.514-50.834-113.514-113.5v-31.802c0-17.902-14.521-32.394-32.393-32.394c-17.874,0-32.38,14.506-32.38,32.394v31.211c0,58.127,27.819,109.754,70.863,142.296c2.495,1.886,3.961,4.832,3.961,7.96v87.621c0,5.522,4.477,10,10,10h185.084 c5.523,0,10-4.478,10-10v-86.73c0-3.148,1.483-6.11,4.006-7.994c44.119-32.944,72.647-85.913,72.647-145.078v-29.287C422.008,194.191,407.503,179.685,389.629,179.685z" class="color"></path>'; mapping (uint => uint) public alphas; constructor() public { dev = msg.sender; } function getDate(uint ts) internal pure returns(uint256) { return ts.sub(ts.mod(1 days)); } function random(uint seed) internal returns(uint n) { n = uint(keccak256(abi.encodePacked( tx.origin, blockhash(block.number - 1), block.timestamp, MAGIC_NUMBER, seed ))); MAGIC_NUMBER = n & 0xffffff; } function withdraw(address token) external { require(msg.sender == dev, "!dev"); IERC20(token).transfer(dev, IERC20(people).balanceOf(address(this))); } function mint() external { require(currentTokenId <= MAX_SUPPLY, "Exceeds max supply"); require(dailyMinted[getDate(block.timestamp)] <= 1000, "Exceeds 1000 today"); _mint(msg.sender, currentTokenId); alphas[currentTokenId] = (random(currentTokenId) >> 232); dailyMinted[getDate(block.timestamp)] += 1; currentTokenId++; IERC20(people).transferFrom(msg.sender, address(this), 100 * 1e18); } function drawSVG(uint256 tokenId) public view returns (string memory) { uint v = alphas[tokenId]; uint r = v >> 16; uint g = (v >> 8) & 0x00ff; uint b = v & 0xff; string memory styles = string(abi.encodePacked( '<style>.color{fill:rgb(', r.toString(), ' ', g.toString(), ' ', b.toString(), ');}</style>' )); return string(abi.encodePacked( '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="512" height="512" viewBox="0 0 512 512">', styles, image, "</svg>" )); } function compileAttributes(uint256 tokenId) public view returns (string memory) { return string(abi.encodePacked( '[', '{"trait_type":"Alpha",', '"value":', alphas[tokenId].toString(), '}]' )); } function tokenURI(uint256 tokenId) public override view returns (string memory) { require(_exists(tokenId), "Nonexistent people"); string memory metadata = string(abi.encodePacked( '{"name": "', 'PEOPLE #', tokenId.toString(), '", "description": "We the people, for the people.", "image": "data:image/svg+xml;base64,', base64(bytes(drawSVG(tokenId))), '", "attributes":', compileAttributes(tokenId), "}" )); return string(abi.encodePacked( "data:application/json;base64,", base64(bytes(metadata)) )); } string internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; function base64(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { dataPtr := add(dataPtr, 3) // read 3 bytes let input := mload(dataPtr) // write 4 characters mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and( input, 0x3F))))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"alphas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"compileAttributes","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dailyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dev","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"drawSVG","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"people","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6001600a5561c350600b5562ffffff600c55600d80546001600160a01b031916737a58c0be72be218b41c608b7fe7c5bb630736c711790556106e0604052610640608081815290620028c660a03980516200006391601091602090910190620001c5565b503480156200007157600080fd5b50604080518082018252600b81526a457175616c69747944414f60a81b6020808301919091528251808401909352600683526550454f504c4560d01b9083015290620000c46301ffc9a760e01b62000140565b8151620000d9906006906020850190620001c5565b508051620000ef906007906020840190620001c5565b50620001026380ac58cd60e01b62000140565b62000114635b5e139f60e01b62000140565b6200012663780e9d6360e01b62000140565b5050600f80546001600160a01b0319163317905562000261565b6001600160e01b03198082161415620001a0576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200020857805160ff191683800117855562000238565b8280016001018555821562000238579182015b82811115620002385782518255916020019190600101906200021b565b50620002469291506200024a565b5090565b5b808211156200024657600081556001016200024b565b61265580620002716000396000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c80636352211e116100f957806393963dd411610097578063a22cb46511610071578063a22cb465146104b0578063b88d4fde146104de578063c87b56dd146105a4578063e985e9c5146105c1576101a8565b806393963dd41461046e57806393ff38891461048b57806395d89b41146104a8576101a8565b806370a08231116100d357806370a082311461041b578063783f6af5146104415780637abecb861461044957806391cca3db14610466576101a8565b80636352211e146103d957806368dba5e5146103f65780636c0360eb14610413576101a8565b806318160ddd1161016657806332cb6b0c1161014057806332cb6b0c1461035857806342842e0e146103605780634f6ccce71461039657806351cff8d9146103b3576101a8565b806318160ddd146102ee57806323b872dd146102f65780632f745c591461032c576101a8565b80629a9b7b146101ad57806301ffc9a7146101c757806306fdde0314610202578063081812fc1461027f578063095ea7b3146102b85780631249c58b146102e6575b600080fd5b6101b56105ef565b60408051918252519081900360200190f35b6101ee600480360360208110156101dd57600080fd5b50356001600160e01b0319166105f5565b604080519115158252519081900360200190f35b61020a610618565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024457818101518382015260200161022c565b50505050905090810190601f1680156102715780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61029c6004803603602081101561029557600080fd5b50356106ae565b604080516001600160a01b039092168252519081900360200190f35b6102e4600480360360408110156102ce57600080fd5b506001600160a01b038135169060200135610710565b005b6102e46107eb565b6101b5610991565b6102e46004803603606081101561030c57600080fd5b506001600160a01b038135811691602081013590911690604001356109a2565b6101b56004803603604081101561034257600080fd5b506001600160a01b0381351690602001356109f9565b6101b5610a24565b6102e46004803603606081101561037657600080fd5b506001600160a01b03813581169160208101359091169060400135610a2a565b6101b5600480360360208110156103ac57600080fd5b5035610a45565b6102e4600480360360208110156103c957600080fd5b50356001600160a01b0316610a5b565b61029c600480360360208110156103ef57600080fd5b5035610ba3565b61020a6004803603602081101561040c57600080fd5b5035610bcb565b61020a610c9b565b6101b56004803603602081101561043157600080fd5b50356001600160a01b0316610cfc565b61029c610d64565b61020a6004803603602081101561045f57600080fd5b5035610d73565b61029c610ff5565b6101b56004803603602081101561048457600080fd5b5035611004565b6101b5600480360360208110156104a157600080fd5b5035611016565b61020a611028565b6102e4600480360360408110156104c657600080fd5b506001600160a01b0381351690602001351515611089565b6102e4600480360360808110156104f457600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561052f57600080fd5b82018360208201111561054157600080fd5b8035906020019184600183028401116401000000008311171561056357600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061118e945050505050565b61020a600480360360208110156105ba57600080fd5b50356111ec565b6101ee600480360360408110156105d757600080fd5b506001600160a01b038135811691602001351661145b565b600a5481565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106a45780601f10610679576101008083540402835291602001916106a4565b820191906000526020600020905b81548152906001019060200180831161068757829003601f168201915b5050505050905090565b60006106b982611489565b6106f45760405162461bcd60e51b815260040180806020018281038252602c815260200180612579602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061071b82610ba3565b9050806001600160a01b0316836001600160a01b0316141561076e5760405162461bcd60e51b81526004018080602001828103825260218152602001806125ce6021913960400191505060405180910390fd5b806001600160a01b0316610780611496565b6001600160a01b031614806107a157506107a18161079c611496565b61145b565b6107dc5760405162461bcd60e51b81526004018080602001828103825260388152602001806124346038913960400191505060405180910390fd5b6107e6838361149a565b505050565b600b54600a541115610839576040805162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b604482015290519081900360640190fd5b6103e8600e600061084942611508565b81526020019081526020016000205411156108a0576040805162461bcd60e51b815260206004820152601260248201527145786365656473203130303020746f64617960701b604482015290519081900360640190fd5b6108ac33600a54611521565b60e86108b9600a5461164f565b600a5460009081526011602052604081209190921c9055600190600e906108df42611508565b8152602080820192909252604090810160009081208054909401909355600a80546001019055600d5481516323b872dd60e01b815233600482015230602482015268056bc75e2d63100000604482015291516001600160a01b03909116936323b872dd93606480850194919392918390030190829087803b15801561096357600080fd5b505af1158015610977573d6000803e3d6000fd5b505050506040513d602081101561098d57600080fd5b5050565b600061099d60026116a9565b905090565b6109b36109ad611496565b826116b4565b6109ee5760405162461bcd60e51b81526004018080602001828103825260318152602001806125ef6031913960400191505060405180910390fd5b6107e6838383611758565b6001600160a01b0382166000908152600160205260408120610a1b90836118a4565b90505b92915050565b600b5481565b6107e68383836040518060200160405280600081525061118e565b600080610a536002846118b0565b509392505050565b600f546001600160a01b03163314610aa3576040805162461bcd60e51b8152602060048083019190915260248201526310b232bb60e11b604482015290519081900360640190fd5b600f54600d54604080516370a0823160e01b815230600482015290516001600160a01b038086169463a9059cbb94908216939116916370a0823191602480820192602092909190829003018186803b158015610afe57600080fd5b505afa158015610b12573d6000803e3d6000fd5b505050506040513d6020811015610b2857600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b158015610b7957600080fd5b505af1158015610b8d573d6000803e3d6000fd5b505050506040513d60208110156107e657600080fd5b6000610a1e8260405180606001604052806029815260200161249660299139600291906118cc565b600081815260116020526040902054606090610be6906118e3565b604051605b60f81b6020808301918252751ec89d1c985a5d17dd1e5c19488e88905b1c1a18488b60521b602184015267113b30b63ab2911d60c11b603784015283519192603f0191908401908083835b60208310610c555780518252601f199092019160209182019101610c36565b5181516020939093036101000a6000190180199091169216919091179052617d5d60f01b92019182525060408051808303601d1901815260029092019052949350505050565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106a45780601f10610679576101008083540402835291602001916106a4565b60006001600160a01b038216610d435760405162461bcd60e51b815260040180806020018281038252602a81526020018061246c602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610a1e906116a9565b600d546001600160a01b031681565b600081815260116020526040902054606090601081901c60ff600883901c811690831684610da0846118e3565b610da9846118e3565b610db2846118e3565b60405160200180807f3c7374796c653e2e636f6c6f727b66696c6c3a7267622800000000000000000081525060170184805190602001908083835b60208310610e0c5780518252601f199092019160209182019101610ded565b6001836020036101000a03801982511681845116808217855250505050505090500180600160fd1b81525060010183805190602001908083835b60208310610e655780518252601f199092019160209182019101610e46565b6001836020036101000a03801982511681845116808217855250505050505090500180600160fd1b81525060010182805190602001908083835b60208310610ebe5780518252601f199092019160209182019101610e9f565b6001836020036101000a038019825116818451168082178552505050505050905001806a149dbe9e17b9ba3cb6329f60a91b815250600b019350505050604051602081830303815290604052905080601060405160200180806123a26066913960660183805190602001908083835b60208310610f4c5780518252601f199092019160209182019101610f2d565b6001836020036101000a03801982511681845116808217855250505050505090500182805460018160011615610100020316600290048015610fc55780601f10610fa3576101008083540402835291820191610fc5565b820191906000526020600020905b815481529060010190602001808311610fb1575b5050651e17b9bb339f60d11b815260408051808303601919018152600690920190529a9950505050505050505050565b600f546001600160a01b031681565b60116020526000908152604090205481565b600e6020526000908152604090205481565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106a45780601f10610679576101008083540402835291602001916106a4565b611091611496565b6001600160a01b0316826001600160a01b031614156110f7576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611104611496565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611148611496565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b61119f611199611496565b836116b4565b6111da5760405162461bcd60e51b81526004018080602001828103825260318152602001806125ef6031913960400191505060405180910390fd5b6111e6848484846119be565b50505050565b60606111f782611489565b61123d576040805162461bcd60e51b81526020600482015260126024820152714e6f6e6578697374656e742070656f706c6560701b604482015290519081900360640190fd5b6060611248836118e3565b61125961125485610d73565b611a10565b61126285610bcb565b6040516020018080693d913730b6b2911d101160b11b815250600a01806750454f504c45202360c01b81525060080184805190602001908083835b602083106112bc5780518252601f19909201916020918201910161129d565b6001836020036101000a038019825116818451168082178552505050505050905001806124bf6058913960580183805190602001908083835b602083106113145780518252601f1990920191602091820191016112f5565b51815160209384036101000a60001901801990921691161790526f1116101130ba3a3934b13aba32b9911d60811b919093019081528451601090910192850191508083835b602083106113785780518252601f199092019160209182019101611359565b6001836020036101000a03801982511681845116808217855250505050505090500180607d60f81b815250600101935050505060405160208183030381529060405290506113c581611a10565b60405160200180807f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250601d0182805190602001908083835b6020831061141f5780518252601f199092019160209182019101611400565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052915050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000610a1e600283611b5e565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906114cf82610ba3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610a1e61151a8362015180611b6a565b8390611bac565b6001600160a01b03821661157c576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61158581611489565b156115d7576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6115e3600083836107e6565b6001600160a01b03821660009081526001602052604090206116059082611bee565b5061161260028284611bfa565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600c8054604080513260601b602080830191909152600019430140603483015242605483015260748201939093526094808201959095528151808203909501855260b4019052825192019190912062ffffff811690915590565b6000610a1e82611c10565b60006116bf82611489565b6116fa5760405162461bcd60e51b815260040180806020018281038252602c815260200180612408602c913960400191505060405180910390fd5b600061170583610ba3565b9050806001600160a01b0316846001600160a01b031614806117405750836001600160a01b0316611735846106ae565b6001600160a01b0316145b806117505750611750818561145b565b949350505050565b826001600160a01b031661176b82610ba3565b6001600160a01b0316146117b05760405162461bcd60e51b81526004018080602001828103825260298152602001806125a56029913960400191505060405180910390fd5b6001600160a01b0382166117f55760405162461bcd60e51b815260040180806020018281038252602481526020018061237e6024913960400191505060405180910390fd5b6118008383836107e6565b61180b60008261149a565b6001600160a01b038316600090815260016020526040902061182d9082611c14565b506001600160a01b03821660009081526001602052604090206118509082611bee565b5061185d60028284611bfa565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610a1b8383611c20565b60008080806118bf8686611c84565b9097909650945050505050565b60006118d9848484611cff565b90505b9392505050565b60608161190857506040805180820190915260018152600360fc1b6020820152610613565b8160005b811561192057600101600a8204915061190c565b60608167ffffffffffffffff8111801561193957600080fd5b506040519080825280601f01601f191660200182016040528015611964576020820181803683370190505b50859350905060001982015b83156119b557600a840660300160f81b8282806001900393508151811061199357fe5b60200101906001600160f81b031916908160001a905350600a84049350611970565b50949350505050565b6119c9848484611758565b6119d584848484611dc9565b6111e65760405162461bcd60e51b815260040180806020018281038252603281526020018061234c6032913960400191505060405180910390fd5b6060815160001415611a315750604080516020810190915260008152610613565b606060405180606001604052806040815260200161251760409139905060006003845160020181611a5e57fe5b04600402905060608160200167ffffffffffffffff81118015611a8057600080fd5b506040519080825280601f01601f191660200182016040528015611aab576020820181803683370190505b509050818152600183018586518101602084015b81831015611b195760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401611abf565b600389510660018114611b335760028114611b4457611b50565b613d3d60f01b600119830152611b50565b603d60f81b6000198301525b509398975050505050505050565b6000610a1b8383611f31565b6000610a1b83836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250611f49565b6000610a1b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611fab565b6000610a1b8383612005565b60006118d984846001600160a01b03851661204f565b5490565b6000610a1b83836120e6565b81546000908210611c625760405162461bcd60e51b815260040180806020018281038252602281526020018061232a6022913960400191505060405180910390fd5b826000018281548110611c7157fe5b9060005260206000200154905092915050565b815460009081908310611cc85760405162461bcd60e51b81526004018080602001828103825260228152602001806125576022913960400191505060405180910390fd5b6000846000018481548110611cd957fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611d9a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d5f578181015183820152602001611d47565b50505050905090810190601f168015611d8c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110611dad57fe5b9060005260206000209060020201600101549150509392505050565b6000611ddd846001600160a01b03166121ac565b611de957506001611750565b6060611ef7630a85bd0160e11b611dfe611496565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611e65578181015183820152602001611e4d565b50505050905090810190601f168015611e925780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161234c603291396001600160a01b03881691906121b2565b90506000818060200190516020811015611f1057600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b60008183611f985760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611d5f578181015183820152602001611d47565b50828481611fa257fe5b06949350505050565b60008184841115611ffd5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611d5f578181015183820152602001611d47565b505050900390565b60006120118383611f31565b61204757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a1e565b506000610a1e565b6000828152600184016020526040812054806120b45750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556118dc565b828560000160018303815481106120c757fe5b90600052602060002090600202016001018190555060009150506118dc565b600081815260018301602052604081205480156121a2578354600019808301919081019060009087908390811061211957fe5b906000526020600020015490508087600001848154811061213657fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061216657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a1e565b6000915050610a1e565b3b151590565b60606118d9848460008560606121c7856121ac565b612218576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106122575780518252601f199092019160209182019101612238565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146122b9576040519150601f19603f3d011682016040523d82523d6000602084013e6122be565b606091505b509150915081156122d25791506117509050565b8051156122e25780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611d5f578181015183820152602001611d4756fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f20616464726573733c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222076657273696f6e3d22312e31222077696474683d2235313222206865696768743d2235313222202076696577426f783d223020302035313220353132223e4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e222c20226465736372697074696f6e223a20225765207468652070656f706c652c20666f72207468652070656f706c652e222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6261736536342c4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220698c884af053e60e85d278c3e1648d5b7a66ab45c74fe1996efe827308f96fae64736f6c634300060c00333c7061746820643d224d3139312e3136372c39332e33353363312e3731362c322e3038352c322e35392c342e3733362c322e3435312c372e3433336c2d312e3837372c33362e323332632d302e3430382c372e3837312c372e34372c31332e35322c31342e3739332c31302e3630396c33332e322d31332e31393663322e3536352d312e30322c352e3432342d312e30322c372e3938392c306c33332e322c31332e31393663372e3332342c322e3931312c31352e3230312d322e3733382c31342e3739332d31302e3630396c2d312e3837372d33362e323332632d302e31342d322e3639372c302e3733342d352e3334382c322e3435312d372e3433336c32322e3433312d32372e32343663342e3936342d362e3032392c322e3039352d31352e3137312d352e3432332d31372e3238346c2d33342e38352d392e373932632d322e3530352d302e3730342d342e3637322d322e3238372d362e3130342d342e3435394c3235322e3735362c342e383632632d342e3237332d362e3438322d31332e3738332d362e3438322d31382e3035372c306c2d31392e3538372c32392e373131632d312e3433322c322e3137322d332e3539392c332e3735352d362e3130342c342e3435396c2d33342e38352c392e373932632d372e3531392c322e3131322d31302e3338372c31312e3235342d352e3432332c31372e3238344c3139312e3136372c39332e3335337a2220636c6173733d22636f6c6f72223e3c2f706174683e3c7061746820643d224d3134342e3038332c3132392e32373663352e3835382d352e3835372c352e3835382d31352e3335352c302d32312e3231336c2d35392e33392d35392e3339632d352e3835372d352e3835372d31352e3335352d352e3835372d32312e3231332c30632d352e3835382c352e3835372d352e3835382c31352e3335352c302c32312e3231336c35392e33392c35392e3339433132382e3732382c3133352e3133342c3133382e3232352c3133352e3133332c3134342e3038332c3132392e3237367a2220636c6173733d22636f6c6f72223e3c2f706174683e3c7061746820643d224d3432372e3638372c34382e363733632d352e3835372d352e3835372d31352e3335352d352e3835372d32312e3231332c306c2d35392e33392c35392e3339632d352e3835382c352e3835372d352e3835382c31352e3335352c302c32312e32313363352e3835382c352e3835382c31352e3335352c352e3835382c32312e3231332c306c35392e33392d35392e3339433433332e3534352c36342e3032392c3433332e3534352c35342e3533312c3432372e3638372c34382e3637337a2220636c6173733d22636f6c6f72223e3c2f706174683e3c636972636c652063783d223234322e383631222063793d223234352e3333392220723d2235352e3237362220636c6173733d22636f6c6f72223e3c2f636972636c653e3c7061746820643d224d3338392e3632392c3137392e363835682d302e303134632d31372e3837342c302d33322e33382c31342e3530362d33322e33382c33322e3339347633312e38303263302c36322e3636372d35302e3831392c3131332e352d3131332e352c3131332e35632d36322e3638362c302d3131332e3531342d35302e3833342d3131332e3531342d3131332e35762d33312e38303263302d31372e3930322d31342e3532312d33322e3339342d33322e3339332d33322e333934632d31372e3837342c302d33322e33382c31342e3530362d33322e33382c33322e3339347633312e32313163302c35382e3132372c32372e3831392c3130392e3735342c37302e3836332c3134322e32393663322e3439352c312e3838362c332e3936312c342e3833322c332e3936312c372e39367638372e36323163302c352e3532322c342e3437372c31302c31302c3130683138352e30383420202063352e3532332c302c31302d342e3437382c31302d3130762d38362e373363302d332e3134382c312e3438332d362e31312c342e3030362d372e3939346334342e3131392d33322e3934342c37322e3634372d38352e3931332c37322e3634372d3134352e303738762d32392e323837433432322e3030382c3139342e3139312c3430372e3530332c3137392e3638352c3338392e3632392c3137392e3638357a2220636c6173733d22636f6c6f72223e3c2f706174683e
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a85760003560e01c80636352211e116100f957806393963dd411610097578063a22cb46511610071578063a22cb465146104b0578063b88d4fde146104de578063c87b56dd146105a4578063e985e9c5146105c1576101a8565b806393963dd41461046e57806393ff38891461048b57806395d89b41146104a8576101a8565b806370a08231116100d357806370a082311461041b578063783f6af5146104415780637abecb861461044957806391cca3db14610466576101a8565b80636352211e146103d957806368dba5e5146103f65780636c0360eb14610413576101a8565b806318160ddd1161016657806332cb6b0c1161014057806332cb6b0c1461035857806342842e0e146103605780634f6ccce71461039657806351cff8d9146103b3576101a8565b806318160ddd146102ee57806323b872dd146102f65780632f745c591461032c576101a8565b80629a9b7b146101ad57806301ffc9a7146101c757806306fdde0314610202578063081812fc1461027f578063095ea7b3146102b85780631249c58b146102e6575b600080fd5b6101b56105ef565b60408051918252519081900360200190f35b6101ee600480360360208110156101dd57600080fd5b50356001600160e01b0319166105f5565b604080519115158252519081900360200190f35b61020a610618565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024457818101518382015260200161022c565b50505050905090810190601f1680156102715780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61029c6004803603602081101561029557600080fd5b50356106ae565b604080516001600160a01b039092168252519081900360200190f35b6102e4600480360360408110156102ce57600080fd5b506001600160a01b038135169060200135610710565b005b6102e46107eb565b6101b5610991565b6102e46004803603606081101561030c57600080fd5b506001600160a01b038135811691602081013590911690604001356109a2565b6101b56004803603604081101561034257600080fd5b506001600160a01b0381351690602001356109f9565b6101b5610a24565b6102e46004803603606081101561037657600080fd5b506001600160a01b03813581169160208101359091169060400135610a2a565b6101b5600480360360208110156103ac57600080fd5b5035610a45565b6102e4600480360360208110156103c957600080fd5b50356001600160a01b0316610a5b565b61029c600480360360208110156103ef57600080fd5b5035610ba3565b61020a6004803603602081101561040c57600080fd5b5035610bcb565b61020a610c9b565b6101b56004803603602081101561043157600080fd5b50356001600160a01b0316610cfc565b61029c610d64565b61020a6004803603602081101561045f57600080fd5b5035610d73565b61029c610ff5565b6101b56004803603602081101561048457600080fd5b5035611004565b6101b5600480360360208110156104a157600080fd5b5035611016565b61020a611028565b6102e4600480360360408110156104c657600080fd5b506001600160a01b0381351690602001351515611089565b6102e4600480360360808110156104f457600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561052f57600080fd5b82018360208201111561054157600080fd5b8035906020019184600183028401116401000000008311171561056357600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061118e945050505050565b61020a600480360360208110156105ba57600080fd5b50356111ec565b6101ee600480360360408110156105d757600080fd5b506001600160a01b038135811691602001351661145b565b600a5481565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106a45780601f10610679576101008083540402835291602001916106a4565b820191906000526020600020905b81548152906001019060200180831161068757829003601f168201915b5050505050905090565b60006106b982611489565b6106f45760405162461bcd60e51b815260040180806020018281038252602c815260200180612579602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061071b82610ba3565b9050806001600160a01b0316836001600160a01b0316141561076e5760405162461bcd60e51b81526004018080602001828103825260218152602001806125ce6021913960400191505060405180910390fd5b806001600160a01b0316610780611496565b6001600160a01b031614806107a157506107a18161079c611496565b61145b565b6107dc5760405162461bcd60e51b81526004018080602001828103825260388152602001806124346038913960400191505060405180910390fd5b6107e6838361149a565b505050565b600b54600a541115610839576040805162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b604482015290519081900360640190fd5b6103e8600e600061084942611508565b81526020019081526020016000205411156108a0576040805162461bcd60e51b815260206004820152601260248201527145786365656473203130303020746f64617960701b604482015290519081900360640190fd5b6108ac33600a54611521565b60e86108b9600a5461164f565b600a5460009081526011602052604081209190921c9055600190600e906108df42611508565b8152602080820192909252604090810160009081208054909401909355600a80546001019055600d5481516323b872dd60e01b815233600482015230602482015268056bc75e2d63100000604482015291516001600160a01b03909116936323b872dd93606480850194919392918390030190829087803b15801561096357600080fd5b505af1158015610977573d6000803e3d6000fd5b505050506040513d602081101561098d57600080fd5b5050565b600061099d60026116a9565b905090565b6109b36109ad611496565b826116b4565b6109ee5760405162461bcd60e51b81526004018080602001828103825260318152602001806125ef6031913960400191505060405180910390fd5b6107e6838383611758565b6001600160a01b0382166000908152600160205260408120610a1b90836118a4565b90505b92915050565b600b5481565b6107e68383836040518060200160405280600081525061118e565b600080610a536002846118b0565b509392505050565b600f546001600160a01b03163314610aa3576040805162461bcd60e51b8152602060048083019190915260248201526310b232bb60e11b604482015290519081900360640190fd5b600f54600d54604080516370a0823160e01b815230600482015290516001600160a01b038086169463a9059cbb94908216939116916370a0823191602480820192602092909190829003018186803b158015610afe57600080fd5b505afa158015610b12573d6000803e3d6000fd5b505050506040513d6020811015610b2857600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b158015610b7957600080fd5b505af1158015610b8d573d6000803e3d6000fd5b505050506040513d60208110156107e657600080fd5b6000610a1e8260405180606001604052806029815260200161249660299139600291906118cc565b600081815260116020526040902054606090610be6906118e3565b604051605b60f81b6020808301918252751ec89d1c985a5d17dd1e5c19488e88905b1c1a18488b60521b602184015267113b30b63ab2911d60c11b603784015283519192603f0191908401908083835b60208310610c555780518252601f199092019160209182019101610c36565b5181516020939093036101000a6000190180199091169216919091179052617d5d60f01b92019182525060408051808303601d1901815260029092019052949350505050565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106a45780601f10610679576101008083540402835291602001916106a4565b60006001600160a01b038216610d435760405162461bcd60e51b815260040180806020018281038252602a81526020018061246c602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610a1e906116a9565b600d546001600160a01b031681565b600081815260116020526040902054606090601081901c60ff600883901c811690831684610da0846118e3565b610da9846118e3565b610db2846118e3565b60405160200180807f3c7374796c653e2e636f6c6f727b66696c6c3a7267622800000000000000000081525060170184805190602001908083835b60208310610e0c5780518252601f199092019160209182019101610ded565b6001836020036101000a03801982511681845116808217855250505050505090500180600160fd1b81525060010183805190602001908083835b60208310610e655780518252601f199092019160209182019101610e46565b6001836020036101000a03801982511681845116808217855250505050505090500180600160fd1b81525060010182805190602001908083835b60208310610ebe5780518252601f199092019160209182019101610e9f565b6001836020036101000a038019825116818451168082178552505050505050905001806a149dbe9e17b9ba3cb6329f60a91b815250600b019350505050604051602081830303815290604052905080601060405160200180806123a26066913960660183805190602001908083835b60208310610f4c5780518252601f199092019160209182019101610f2d565b6001836020036101000a03801982511681845116808217855250505050505090500182805460018160011615610100020316600290048015610fc55780601f10610fa3576101008083540402835291820191610fc5565b820191906000526020600020905b815481529060010190602001808311610fb1575b5050651e17b9bb339f60d11b815260408051808303601919018152600690920190529a9950505050505050505050565b600f546001600160a01b031681565b60116020526000908152604090205481565b600e6020526000908152604090205481565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106a45780601f10610679576101008083540402835291602001916106a4565b611091611496565b6001600160a01b0316826001600160a01b031614156110f7576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611104611496565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611148611496565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b61119f611199611496565b836116b4565b6111da5760405162461bcd60e51b81526004018080602001828103825260318152602001806125ef6031913960400191505060405180910390fd5b6111e6848484846119be565b50505050565b60606111f782611489565b61123d576040805162461bcd60e51b81526020600482015260126024820152714e6f6e6578697374656e742070656f706c6560701b604482015290519081900360640190fd5b6060611248836118e3565b61125961125485610d73565b611a10565b61126285610bcb565b6040516020018080693d913730b6b2911d101160b11b815250600a01806750454f504c45202360c01b81525060080184805190602001908083835b602083106112bc5780518252601f19909201916020918201910161129d565b6001836020036101000a038019825116818451168082178552505050505050905001806124bf6058913960580183805190602001908083835b602083106113145780518252601f1990920191602091820191016112f5565b51815160209384036101000a60001901801990921691161790526f1116101130ba3a3934b13aba32b9911d60811b919093019081528451601090910192850191508083835b602083106113785780518252601f199092019160209182019101611359565b6001836020036101000a03801982511681845116808217855250505050505090500180607d60f81b815250600101935050505060405160208183030381529060405290506113c581611a10565b60405160200180807f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250601d0182805190602001908083835b6020831061141f5780518252601f199092019160209182019101611400565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052915050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000610a1e600283611b5e565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906114cf82610ba3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610a1e61151a8362015180611b6a565b8390611bac565b6001600160a01b03821661157c576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61158581611489565b156115d7576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6115e3600083836107e6565b6001600160a01b03821660009081526001602052604090206116059082611bee565b5061161260028284611bfa565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600c8054604080513260601b602080830191909152600019430140603483015242605483015260748201939093526094808201959095528151808203909501855260b4019052825192019190912062ffffff811690915590565b6000610a1e82611c10565b60006116bf82611489565b6116fa5760405162461bcd60e51b815260040180806020018281038252602c815260200180612408602c913960400191505060405180910390fd5b600061170583610ba3565b9050806001600160a01b0316846001600160a01b031614806117405750836001600160a01b0316611735846106ae565b6001600160a01b0316145b806117505750611750818561145b565b949350505050565b826001600160a01b031661176b82610ba3565b6001600160a01b0316146117b05760405162461bcd60e51b81526004018080602001828103825260298152602001806125a56029913960400191505060405180910390fd5b6001600160a01b0382166117f55760405162461bcd60e51b815260040180806020018281038252602481526020018061237e6024913960400191505060405180910390fd5b6118008383836107e6565b61180b60008261149a565b6001600160a01b038316600090815260016020526040902061182d9082611c14565b506001600160a01b03821660009081526001602052604090206118509082611bee565b5061185d60028284611bfa565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610a1b8383611c20565b60008080806118bf8686611c84565b9097909650945050505050565b60006118d9848484611cff565b90505b9392505050565b60608161190857506040805180820190915260018152600360fc1b6020820152610613565b8160005b811561192057600101600a8204915061190c565b60608167ffffffffffffffff8111801561193957600080fd5b506040519080825280601f01601f191660200182016040528015611964576020820181803683370190505b50859350905060001982015b83156119b557600a840660300160f81b8282806001900393508151811061199357fe5b60200101906001600160f81b031916908160001a905350600a84049350611970565b50949350505050565b6119c9848484611758565b6119d584848484611dc9565b6111e65760405162461bcd60e51b815260040180806020018281038252603281526020018061234c6032913960400191505060405180910390fd5b6060815160001415611a315750604080516020810190915260008152610613565b606060405180606001604052806040815260200161251760409139905060006003845160020181611a5e57fe5b04600402905060608160200167ffffffffffffffff81118015611a8057600080fd5b506040519080825280601f01601f191660200182016040528015611aab576020820181803683370190505b509050818152600183018586518101602084015b81831015611b195760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401611abf565b600389510660018114611b335760028114611b4457611b50565b613d3d60f01b600119830152611b50565b603d60f81b6000198301525b509398975050505050505050565b6000610a1b8383611f31565b6000610a1b83836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250611f49565b6000610a1b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611fab565b6000610a1b8383612005565b60006118d984846001600160a01b03851661204f565b5490565b6000610a1b83836120e6565b81546000908210611c625760405162461bcd60e51b815260040180806020018281038252602281526020018061232a6022913960400191505060405180910390fd5b826000018281548110611c7157fe5b9060005260206000200154905092915050565b815460009081908310611cc85760405162461bcd60e51b81526004018080602001828103825260228152602001806125576022913960400191505060405180910390fd5b6000846000018481548110611cd957fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611d9a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d5f578181015183820152602001611d47565b50505050905090810190601f168015611d8c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110611dad57fe5b9060005260206000209060020201600101549150509392505050565b6000611ddd846001600160a01b03166121ac565b611de957506001611750565b6060611ef7630a85bd0160e11b611dfe611496565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611e65578181015183820152602001611e4d565b50505050905090810190601f168015611e925780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161234c603291396001600160a01b03881691906121b2565b90506000818060200190516020811015611f1057600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b60008183611f985760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611d5f578181015183820152602001611d47565b50828481611fa257fe5b06949350505050565b60008184841115611ffd5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611d5f578181015183820152602001611d47565b505050900390565b60006120118383611f31565b61204757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a1e565b506000610a1e565b6000828152600184016020526040812054806120b45750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556118dc565b828560000160018303815481106120c757fe5b90600052602060002090600202016001018190555060009150506118dc565b600081815260018301602052604081205480156121a2578354600019808301919081019060009087908390811061211957fe5b906000526020600020015490508087600001848154811061213657fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061216657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a1e565b6000915050610a1e565b3b151590565b60606118d9848460008560606121c7856121ac565b612218576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106122575780518252601f199092019160209182019101612238565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146122b9576040519150601f19603f3d011682016040523d82523d6000602084013e6122be565b606091505b509150915081156122d25791506117509050565b8051156122e25780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611d5f578181015183820152602001611d4756fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f20616464726573733c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222076657273696f6e3d22312e31222077696474683d2235313222206865696768743d2235313222202076696577426f783d223020302035313220353132223e4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e222c20226465736372697074696f6e223a20225765207468652070656f706c652c20666f72207468652070656f706c652e222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6261736536342c4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220698c884af053e60e85d278c3e1648d5b7a66ab45c74fe1996efe827308f96fae64736f6c634300060c0033
Deployed Bytecode Sourcemap
59764:6320:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59848:30;;;:::i;:::-;;;;;;;;;;;;;;;;10173:142;;;;;;;;;;;;;;;;-1:-1:-1;10173:142:0;-1:-1:-1;;;;;;10173:142:0;;:::i;:::-;;;;;;;;;;;;;;;;;;44268:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46963:213;;;;;;;;;;;;;;;;-1:-1:-1;46963:213:0;;:::i;:::-;;;;-1:-1:-1;;;;;46963:213:0;;;;;;;;;;;;;;46507:390;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46507:390:0;;;;;;;;:::i;:::-;;62345:415;;;:::i;46001:203::-;;;:::i;47837:305::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47837:305:0;;;;;;;;;;;;;;;;;:::i;45771:154::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45771:154:0;;;;;;;;:::i;59883:30::-;;;:::i;48213:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;48213:151:0;;;;;;;;;;;;;;;;;:::i;46281:164::-;;;;;;;;;;;;;;;;-1:-1:-1;46281:164:0;;:::i;62176:::-;;;;;;;;;;;;;;;;-1:-1:-1;62176:164:0;-1:-1:-1;;;;;62176:164:0;;:::i;44032:169::-;;;;;;;;;;;;;;;;-1:-1:-1;44032:169:0;;:::i;63334:243::-;;;;;;;;;;;;;;;;-1:-1:-1;63334:243:0;;:::i;45598:89::-;;;:::i;43755:215::-;;;;;;;;;;;;;;;;-1:-1:-1;43755:215:0;-1:-1:-1;;;;;43755:215:0;;:::i;59949:75::-;;;:::i;62765:561::-;;;;;;;;;;;;;;;;-1:-1:-1;62765:561:0;;:::i;60074:18::-;;;:::i;61721:36::-;;;;;;;;;;;;;;;;-1:-1:-1;61721:36:0;;:::i;60028:41::-;;;;;;;;;;;;;;;;-1:-1:-1;60028:41:0;;:::i;44429:96::-;;;:::i;47248:295::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47248:295:0;;;;;;;;;;:::i;48435:285::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48435:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48435:285:0;;-1:-1:-1;48435:285:0;;-1:-1:-1;;;;;48435:285:0:i;63583:601::-;;;;;;;;;;;;;;;;-1:-1:-1;63583:601:0;;:::i;47614:156::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47614:156:0;;;;;;;;;;:::i;59848:30::-;;;;:::o;10173:142::-;-1:-1:-1;;;;;;10274:33:0;;10250:4;10274:33;;;;;;;;;;;;;10173:142;;;;:::o;44268:92::-;44347:5;44340:12;;;;;;;;-1:-1:-1;;44340:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44314:13;;44340:12;;44347:5;;44340:12;;44347:5;44340:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44268:92;:::o;46963:213::-;47031:7;47059:16;47067:7;47059;:16::i;:::-;47051:73;;;;-1:-1:-1;;;47051:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47144:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;47144:24:0;;46963:213::o;46507:390::-;46588:13;46604:16;46612:7;46604;:16::i;:::-;46588:32;;46645:5;-1:-1:-1;;;;;46639:11:0;:2;-1:-1:-1;;;;;46639:11:0;;;46631:57;;;;-1:-1:-1;;;46631:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46725:5;-1:-1:-1;;;;;46709:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;46709:21:0;;:62;;;;46734:37;46751:5;46758:12;:10;:12::i;:::-;46734:16;:37::i;:::-;46701:154;;;;-1:-1:-1;;;46701:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46868:21;46877:2;46881:7;46868:8;:21::i;:::-;46507:390;;;:::o;62345:415::-;62403:10;;62385:14;;:28;;62377:59;;;;;-1:-1:-1;;;62377:59:0;;;;;;;;;;;;-1:-1:-1;;;62377:59:0;;;;;;;;;;;;;;;62490:4;62449:11;:37;62461:24;62469:15;62461:7;:24::i;:::-;62449:37;;;;;;;;;;;;:45;;62441:76;;;;;-1:-1:-1;;;62441:76:0;;;;;;;;;;;;-1:-1:-1;;;62441:76:0;;;;;;;;;;;;;;;62522:33;62528:10;62540:14;;62522:5;:33::i;:::-;62612:3;62586:22;62593:14;;62586:6;:22::i;:::-;62567:14;;62560:22;;;;:6;:22;;;;;62586:29;;;;62560:56;;62662:1;;62621:11;;62633:24;62641:15;62633:7;:24::i;:::-;62621:37;;;;;;;;;;;;;;-1:-1:-1;62621:37:0;;;:42;;;;;;;;62668:14;:16;;-1:-1:-1;62668:16:0;;;62696:6;;62689:66;;-1:-1:-1;;;62689:66:0;;62717:10;62689:66;;;;62737:4;62689:66;;;;62744:10;62689:66;;;;;;-1:-1:-1;;;;;62696:6:0;;;;62689:27;;:66;;;;;62621:37;;62689:66;;;;;;;;;62696:6;62689:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62345:415:0:o;46001:203::-;46054:7;46175:21;:12;:19;:21::i;:::-;46168:28;;46001:203;:::o;47837:305::-;47998:41;48017:12;:10;:12::i;:::-;48031:7;47998:18;:41::i;:::-;47990:103;;;;-1:-1:-1;;;47990:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48106:28;48116:4;48122:2;48126:7;48106:9;:28::i;45771:154::-;-1:-1:-1;;;;;45887:20:0;;45860:7;45887:20;;;:13;:20;;;;;:30;;45911:5;45887:23;:30::i;:::-;45880:37;;45771:154;;;;;:::o;59883:30::-;;;;:::o;48213:151::-;48317:39;48334:4;48340:2;48344:7;48317:39;;;;;;;;;;;;:16;:39::i;46281:164::-;46348:7;;46390:22;:12;46406:5;46390:15;:22::i;:::-;-1:-1:-1;46368:44:0;46281:164;-1:-1:-1;;;46281:164:0:o;62176:::-;62247:3;;-1:-1:-1;;;;;62247:3:0;62233:10;:17;62225:34;;;;;-1:-1:-1;;;62225:34:0;;;;;;;;;;;;;;;-1:-1:-1;;;62225:34:0;;;;;;;;;;;;;;;62289:3;;62301:6;;62294:39;;;-1:-1:-1;;;62294:39:0;;62327:4;62294:39;;;;;;-1:-1:-1;;;;;62266:22:0;;;;;;62289:3;;;;62301:6;;;62294:24;;:39;;;;;;;;;;;;;;;62301:6;62294:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62294:39:0;62266:68;;;-1:-1:-1;;;;;;62266:68:0;;;;;;;-1:-1:-1;;;;;62266:68:0;;;;;;;;;;;;;;;;;;;;62294:39;;62266:68;;;;;;;-1:-1:-1;62266:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44032:169;44096:7;44123:70;44140:7;44123:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;63334:243::-;63524:15;;;;:6;:15;;;;;;63399:13;;63524:26;;:24;:26::i;:::-;63435:135;;-1:-1:-1;;;63435:135:0;;;;;;;-1:-1:-1;;;63435:135:0;;;;-1:-1:-1;;;63435:135:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63435:135:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63435:135:0;;;;;;;;;;;;;;-1:-1:-1;;;63435:135:0;;;;;-1:-1:-1;63435:135:0;;;;;;-1:-1:-1;;63435:135:0;;;;;;;;;;;-1:-1:-1;;;;63334:243:0:o;45598:89::-;45671:8;45664:15;;;;;;;;-1:-1:-1;;45664:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45638:13;;45664:15;;45671:8;;45664:15;;45671:8;45664:15;;;;;;;;;;;;;;;;;;;;;;;;43755:215;43819:7;-1:-1:-1;;;;;43847:19:0;;43839:74;;;;-1:-1:-1;;;43839:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43933:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;59949:75::-;;;-1:-1:-1;;;;;59949:75:0;;:::o;62765:561::-;62840:6;62849:15;;;:6;:15;;;;;;62820:13;;62883:2;62878:7;;;62910:6;62905:1;62900:6;;;62899:17;;;62930:8;;62820:13;63028:12;62878:7;63028:10;:12::i;:::-;63051;:1;:10;:12::i;:::-;63074;:1;:10;:12::i;:::-;62975:140;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62975:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;62975:140:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62975:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;62975:140:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62975:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;62975:140:0;;;;;;;;;;;;;;;;;;;;;;62945:171;;63275:6;63290:5;63137:182;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63137:182:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63137:182:0;;;;;;;;-1:-1:-1;;63137:182:0;;;;;;;;;;62765:561;-1:-1:-1;;;;;;;;;;62765:561:0:o;60074:18::-;;;-1:-1:-1;;;;;60074:18:0;;:::o;61721:36::-;;;;;;;;;;;;;:::o;60028:41::-;;;;;;;;;;;;;:::o;44429:96::-;44510:7;44503:14;;;;;;;;-1:-1:-1;;44503:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44477:13;;44503:14;;44510:7;;44503:14;;44510:7;44503:14;;;;;;;;;;;;;;;;;;;;;;;;47248:295;47363:12;:10;:12::i;:::-;-1:-1:-1;;;;;47351:24:0;:8;-1:-1:-1;;;;;47351:24:0;;;47343:62;;;;;-1:-1:-1;;;47343:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;47463:8;47418:18;:32;47437:12;:10;:12::i;:::-;-1:-1:-1;;;;;47418:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;47418:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;47418:53:0;;;;;;;;;;;47502:12;:10;:12::i;:::-;-1:-1:-1;;;;;47487:48:0;;47526:8;47487:48;;;;;;;;;;;;;;;;;;;;47248:295;;:::o;48435:285::-;48567:41;48586:12;:10;:12::i;:::-;48600:7;48567:18;:41::i;:::-;48559:103;;;;-1:-1:-1;;;48559:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48673:39;48687:4;48693:2;48697:7;48706:5;48673:13;:39::i;:::-;48435:285;;;;:::o;63583:601::-;63648:13;63677:16;63685:7;63677;:16::i;:::-;63669:47;;;;;-1:-1:-1;;;63669:47:0;;;;;;;;;;;;-1:-1:-1;;;63669:47:0;;;;;;;;;;;;;;;63723:22;63820:18;:7;:16;:18::i;:::-;63946:31;63959:16;63967:7;63959;:16::i;:::-;63946:6;:31::i;:::-;64013:26;64031:7;64013:17;:26::i;:::-;63755:303;;;;;;-1:-1:-1;;;63755:303:0;;;;;;-1:-1:-1;;;63755:303:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63755:303:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63755:303:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63755:303:0;;;;;;;;;;;-1:-1:-1;;;63755:303:0;;;;;;;;;;;;;;;;;-1:-1:-1;63755:303:0;;;;;;;;;;;;;-1:-1:-1;;63755:303:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;63755:303:0;;;;;;;;;;;;;;;;;;;;;;63723:336;;64147:23;64160:8;64147:6;:23::i;:::-;64082:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;64082:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64068:110;;;63583:601;;;:::o;47614:156::-;-1:-1:-1;;;;;47727:25:0;;;47703:4;47727:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;47614:156::o;50187:119::-;50244:4;50268:30;:12;50290:7;50268:21;:30::i;659:106::-;747:10;659:106;:::o;56014:158::-;56080:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;56080:29:0;-1:-1:-1;;;;;56080:29:0;;;;;;;;:24;;56134:16;56080:24;56134:7;:16::i;:::-;-1:-1:-1;;;;;56125:39:0;;;;;;;;;;;56014:158;;:::o;61819:99::-;61867:7;61890:22;61897:14;:2;61904:6;61897;:14::i;:::-;61890:2;;:6;:22::i;52072:404::-;-1:-1:-1;;;;;52152:16:0;;52144:61;;;;;-1:-1:-1;;;52144:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52225:16;52233:7;52225;:16::i;:::-;52224:17;52216:58;;;;;-1:-1:-1;;;52216:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52287:45;52316:1;52320:2;52324:7;52287:20;:45::i;:::-;-1:-1:-1;;;;;52345:17:0;;;;;;:13;:17;;;;;:30;;52367:7;52345:21;:30::i;:::-;-1:-1:-1;52388:29:0;:12;52405:7;52414:2;52388:16;:29::i;:::-;-1:-1:-1;52435:33:0;;52460:7;;-1:-1:-1;;;;;52435:33:0;;;52452:1;;52435:33;;52452:1;;52435:33;52072:404;;:::o;61923:247::-;62099:12;;;61999:130;;;62021:9;61999:130;;;;;;;;;;-1:-1:-1;;62049:12:0;:16;62039:27;61999:130;;;;62075:15;61999:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61989:141;;;;;;;;62157:8;62153:12;;62138:27;;;61989:141;61923:247::o;37676:123::-;37745:7;37772:19;37780:3;37772:7;:19::i;50473:333::-;50558:4;50583:16;50591:7;50583;:16::i;:::-;50575:73;;;;-1:-1:-1;;;50575:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50659:13;50675:16;50683:7;50675;:16::i;:::-;50659:32;;50721:5;-1:-1:-1;;;;;50710:16:0;:7;-1:-1:-1;;;;;50710:16:0;;:51;;;;50754:7;-1:-1:-1;;;;;50730:31:0;:20;50742:7;50730:11;:20::i;:::-;-1:-1:-1;;;;;50730:31:0;;50710:51;:87;;;;50765:32;50782:5;50789:7;50765:16;:32::i;:::-;50702:96;50473:333;-1:-1:-1;;;;50473:333:0:o;53562:574::-;53680:4;-1:-1:-1;;;;;53660:24:0;:16;53668:7;53660;:16::i;:::-;-1:-1:-1;;;;;53660:24:0;;53652:78;;;;-1:-1:-1;;;53652:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53749:16:0;;53741:65;;;;-1:-1:-1;;;53741:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53819:39;53840:4;53846:2;53850:7;53819:20;:39::i;:::-;53923:29;53940:1;53944:7;53923:8;:29::i;:::-;-1:-1:-1;;;;;53965:19:0;;;;;;:13;:19;;;;;:35;;53992:7;53965:26;:35::i;:::-;-1:-1:-1;;;;;;54011:17:0;;;;;;:13;:17;;;;;:30;;54033:7;54011:21;:30::i;:::-;-1:-1:-1;54054:29:0;:12;54071:7;54080:2;54054:16;:29::i;:::-;;54120:7;54116:2;-1:-1:-1;;;;;54101:27:0;54110:4;-1:-1:-1;;;;;54101:27:0;;;;;;;;;;;53562:574;;;:::o;30279:137::-;30350:7;30385:22;30389:3;30401:5;30385:3;:22::i;38138:227::-;38218:7;;;;38278:22;38282:3;38294:5;38278:3;:22::i;:::-;38247:53;;;;-1:-1:-1;38138:227:0;-1:-1:-1;;;;;38138:227:0:o;38800:204::-;38907:7;38950:44;38955:3;38975;38981:12;38950:4;:44::i;:::-;38942:53;-1:-1:-1;38800:204:0;;;;;;:::o;39247:744::-;39303:13;39524:10;39520:53;;-1:-1:-1;39551:10:0;;;;;;;;;;;;-1:-1:-1;;;39551:10:0;;;;;;39520:53;39598:5;39583:12;39639:78;39646:9;;39639:78;;39672:8;;39703:2;39695:10;;;;39639:78;;;39727:19;39759:6;39749:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39749:17:0;-1:-1:-1;39821:5:0;;-1:-1:-1;39727:39:0;-1:-1:-1;;;39793:10:0;;39837:115;39844:9;;39837:115;;39911:2;39904:4;:9;39899:2;:14;39888:27;;39870:6;39877:7;;;;;;;39870:15;;;;;;;;;;;:45;-1:-1:-1;;;;;39870:45:0;;;;;;;;-1:-1:-1;39938:2:0;39930:10;;;;39837:115;;;-1:-1:-1;39976:6:0;39247:744;-1:-1:-1;;;;39247:744:0:o;49602:272::-;49716:28;49726:4;49732:2;49736:7;49716:9;:28::i;:::-;49763:48;49786:4;49792:2;49796:7;49805:5;49763:22;:48::i;:::-;49755:111;;;;-1:-1:-1;;;49755:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64296:1785;64354:13;64380:4;:11;64395:1;64380:16;64376:31;;;-1:-1:-1;64398:9:0;;;;;;;;;-1:-1:-1;64398:9:0;;;;64376:31;64455:19;64477:5;;;;;;;;;;;;;;;;;64455:27;;64526:18;64572:1;64553:4;:11;64567:1;64553:15;64552:21;;;;;;64547:1;:27;64526:48;;64649:20;64683:10;64696:2;64683:15;64672:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64672:27:0;;64649:50;;64780:10;64772:6;64765:26;64869:1;64862:5;64858:13;64922:4;64967;64961:11;64952:7;64948:25;65057:2;65049:6;65045:15;65124:728;65143:6;65134:7;65131:19;65124:728;;;65198:1;65185:15;;;65264:14;;65402:4;65390:2;65386:14;;;65382:25;;65368:40;;65362:47;65357:3;65353:57;;;65335:76;;65520:2;65516:14;;;65512:25;;65498:40;;65492:47;65483:57;;65451:1;65436:17;;65465:76;65651:1;65646:14;;;65642:25;;65628:40;;65622:47;65613:57;;65566:17;;;65595:76;65772:25;;65758:40;;65752:47;65743:57;;65696:17;;;65725:76;;;;65826:17;;65124:728;;;65919:1;65912:4;65906:11;65902:19;65934:1;65929:54;;;;65996:1;65991:52;;;;65895:148;;65929:54;-1:-1:-1;;;;;65945:17:0;;65938:43;65929:54;;65991:52;-1:-1:-1;;;;;66007:17:0;;66000:41;65895:148;-1:-1:-1;66069:6:0;;64296:1785;-1:-1:-1;;;;;;;;64296:1785:0:o;37437:151::-;37521:4;37545:35;37555:3;37575;37545:9;:35::i;15527:130::-;15585:7;15612:37;15616:1;15619;15612:37;;;;;;;;;;;;;;;;;:3;:37::i;12319:136::-;12377:7;12404:43;12408:1;12411;12404:43;;;;;;;;;;;;;;;;;:3;:43::i;29059:131::-;29126:4;29150:32;29155:3;29175:5;29150:4;:32::i;36869:176::-;36958:4;36982:55;36987:3;37007;-1:-1:-1;;;;;37021:14:0;;36982:4;:55::i;35059:110::-;35142:19;;35059:110::o;29366:137::-;29436:4;29460:35;29468:3;29488:5;29460:7;:35::i;26943:204::-;27038:18;;27010:7;;27038:26;-1:-1:-1;27030:73:0;;;;-1:-1:-1;;;27030:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27121:3;:11;;27133:5;27121:18;;;;;;;;;;;;;;;;27114:25;;26943:204;;;;:::o;35524:279::-;35628:19;;35591:7;;;;35628:27;-1:-1:-1;35620:74:0;;;;-1:-1:-1;;;35620:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35707:22;35732:3;:12;;35745:5;35732:19;;;;;;;;;;;;;;;;;;35707:44;;35770:5;:10;;;35782:5;:12;;;35762:33;;;;;35524:279;;;;;:::o;36226:319::-;36320:7;36359:17;;;:12;;;:17;;;;;;36410:12;36395:13;36387:36;;;;-1:-1:-1;;;36387:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36477:3;:12;;36501:1;36490:8;:12;36477:26;;;;;;;;;;;;;;;;;;:33;;;36470:40;;;36226:319;;;;;:::o;55402:604::-;55523:4;55550:15;:2;-1:-1:-1;;;;;55550:13:0;;:15::i;:::-;55545:60;;-1:-1:-1;55589:4:0;55582:11;;55545:60;55615:23;55641:252;-1:-1:-1;;;55754:12:0;:10;:12::i;:::-;55781:4;55800:7;55822:5;55657:181;;;;;;-1:-1:-1;;;;;55657:181:0;;;;;;-1:-1:-1;;;;;55657:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55657:181:0;;;;;;;-1:-1:-1;;;;;55657:181:0;;;;;;;;;;;55641:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55641:15:0;;;:252;:15;:252::i;:::-;55615:278;;55904:13;55931:10;55920:32;;;;;;;;;;;;;;;-1:-1:-1;55920:32:0;-1:-1:-1;;;;;;55971:26:0;-1:-1:-1;;;55971:26:0;;-1:-1:-1;;;55402:604:0;;;;;;:::o;34839:125::-;34910:4;34934:17;;;:12;;;;;:17;;;;;;:22;;;34839:125::o;16142:166::-;16228:7;16264:12;16256:6;16248:29;;;;-1:-1:-1;;;16248:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16299:1;16295;:5;;;;;;;16142:166;-1:-1:-1;;;;16142:166:0:o;12758:192::-;12844:7;12880:12;12872:6;;;;12864:29;;;;-1:-1:-1;;;12864:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;12916:5:0;;;12758:192::o;24055:414::-;24118:4;24140:21;24150:3;24155:5;24140:9;:21::i;:::-;24135:327;;-1:-1:-1;24178:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;24361:18;;24339:19;;;:12;;;:19;;;;;;:40;;;;24394:11;;24135:327;-1:-1:-1;24445:5:0;24438:12;;32339:692;32415:4;32550:17;;;:12;;;:17;;;;;;32584:13;32580:444;;-1:-1:-1;;32669:38:0;;;;;;;;;;;;;;;;;;32651:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;32866:19;;32846:17;;;:12;;;:17;;;;;;;:39;32900:11;;32580:444;32980:5;32944:3;:12;;32968:1;32957:8;:12;32944:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;33007:5;33000:12;;;;;24645:1544;24711:4;24850:19;;;:12;;;:19;;;;;;24886:15;;24882:1300;;25321:18;;-1:-1:-1;;25272:14:0;;;;25321:22;;;;25248:21;;25321:3;;:22;;25608;;;;;;;;;;;;;;25588:42;;25754:9;25725:3;:11;;25737:13;25725:26;;;;;;;;;;;;;;;;;;;:38;;;;25831:23;;;25873:1;25831:12;;;:23;;;;;;25857:17;;;25831:43;;25983:17;;25831:3;;25983:17;;;;;;;;;;;;;;;;;;;;;;26078:3;:12;;:19;26091:5;26078:19;;;;;;;;;;;26071:26;;;26121:4;26114:11;;;;;;;;24882:1300;26165:5;26158:12;;;;;17081:422;17448:20;17487:8;;;17081:422::o;19999:196::-;20102:12;20134:53;20157:6;20165:4;20171:1;20174:12;21506;21539:18;21550:6;21539:10;:18::i;:::-;21531:60;;;;;-1:-1:-1;;;21531:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21665:12;21679:23;21706:6;-1:-1:-1;;;;;21706:11:0;21726:8;21737:4;21706:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;21706:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21664:78;;;;21757:7;21753:595;;;21788:10;-1:-1:-1;21781:17:0;;-1:-1:-1;21781:17:0;21753:595;21902:17;;:21;21898:439;;22165:10;22159:17;22226:15;22213:10;22209:2;22205:19;22198:44;22113:148;22301:20;;-1:-1:-1;;;22301:20:0;;;;;;;;;;;;;;;;;22308:12;;22301:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://698c884af053e60e85d278c3e1648d5b7a66ab45c74fe1996efe827308f96fae
Loading...
Loading
Loading...
Loading
[ 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.