Contract Overview
[ Download CSV Export ]
Contract Name:
LoserChickNFT
Compiler Version
v0.6.6+commit.6c089d02
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-07-21 */ // File: ..\node_modules\@openzeppelin\contracts\introspection\IERC165.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin\contracts\introspection\ERC165.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: ..\node_modules\@openzeppelin\contracts\utils\Context.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: ..\node_modules\@openzeppelin\contracts\token\ERC721\IERC721.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; } // File: ..\node_modules\@openzeppelin\contracts\token\ERC721\IERC721Metadata.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: ..\node_modules\@openzeppelin\contracts\token\ERC721\IERC721Enumerable.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: ..\node_modules\@openzeppelin\contracts\token\ERC721\IERC721Receiver.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); } // File: ..\node_modules\@openzeppelin\contracts\math\SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: ..\node_modules\@openzeppelin\contracts\utils\Address.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: ..\node_modules\@openzeppelin\contracts\utils\EnumerableSet.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: ..\node_modules\@openzeppelin\contracts\utils\EnumerableMap.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping (bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({ _key: key, _value: value })); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require(map._entries.length > index, "EnumerableMap: index out of bounds"); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key) return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } } // File: ..\node_modules\@openzeppelin\contracts\utils\Strings.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev String operations. */ library Strings { /** * @dev Converts a `uint256` to its ASCII `string` representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); uint256 index = digits - 1; temp = value; while (temp != 0) { buffer[index--] = bytes1(uint8(48 + temp % 10)); temp /= 10; } return string(buffer); } } // File: @openzeppelin\contracts\token\ERC721\ERC721.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping (address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(base, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view virtual returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _tokenOwners.contains(tokenId); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); // internal owner _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(tokenId); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); // internal owner require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (!to.isContract()) { return true; } bytes memory returndata = to.functionCall(abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer"); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } } // File: @openzeppelin\contracts\utils\Counters.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath} * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never * directly accessed. */ library Counters { using SafeMath for uint256; struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { // The {SafeMath} overflow check can be skipped here, see the comment at the top counter._value += 1; } function decrement(Counter storage counter) internal { counter._value = counter._value.sub(1); } } // File: contracts\OwnableContract.sol pragma solidity 0.6.6; contract OwnableContract { address public owner; address public pendingOwner; address public admin; event NewAdmin(address oldAdmin, address newAdmin); event NewOwner(address oldOwner, address newOwner); event NewPendingOwner(address oldPendingOwner, address newPendingOwner); constructor() public { owner = msg.sender; admin = msg.sender; } modifier onlyOwner { require(msg.sender == owner,"onlyOwner"); _; } modifier onlyPendingOwner { require(msg.sender == pendingOwner,"onlyPendingOwner"); _; } modifier onlyAdmin { require(msg.sender == admin || msg.sender == owner,"onlyAdmin"); _; } function transferOwnership(address _pendingOwner) public onlyOwner { emit NewPendingOwner(pendingOwner, _pendingOwner); pendingOwner = _pendingOwner; } function renounceOwnership() public virtual onlyOwner { emit NewOwner(owner, address(0)); emit NewAdmin(admin, address(0)); emit NewPendingOwner(pendingOwner, address(0)); owner = address(0); pendingOwner = address(0); admin = address(0); } function acceptOwner() public onlyPendingOwner { emit NewOwner(owner, pendingOwner); owner = pendingOwner; address newPendingOwner = address(0); emit NewPendingOwner(pendingOwner, newPendingOwner); pendingOwner = newPendingOwner; } function setAdmin(address newAdmin) public onlyOwner { emit NewAdmin(admin, newAdmin); admin = newAdmin; } } // File: contracts\RandomInterface.sol pragma solidity 0.6.6; interface RandomInterface{ function getRandomNumber() external returns(uint256); } // File: contracts\LoserChickNFT.sol pragma solidity 0.6.6; pragma experimental ABIEncoderV2; contract LoserChickNFT is OwnableContract, ERC721("TrumpChick", "TrumpChick"){ using Counters for Counters.Counter; struct ChickAttribute{ uint256 jacket; uint256 trousers; uint256 suit; uint256 expression; uint256 hat; uint256 leftHandOrnaments; uint256 rightHandOrnaments; uint256 shoes; uint256 bodyOrnaments; } uint256 public immutable maxSupply; uint256 private seed; address private randomAddr; bool public isLaborChick; // Private fields Counters.Counter private _tokenIds; uint256[7] public jacket = [101, 102, 103, 104, 105, 106, 107]; uint256[8] public trousers = [201, 202, 203, 204, 205, 206, 207, 208]; uint256[3] public suit = [301, 302, 303]; uint256[10] public expression = [401, 402, 403, 404, 405, 406, 407, 408, 409, 410]; uint256[7] public hat = [501, 502, 503, 504, 505, 506, 507]; uint256[11] public leftHandOrnaments = [601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611]; uint256[11] public rightHandOrnaments = [701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711]; uint256[10] public shoes = [801, 802, 803, 804, 805, 806, 807, 808, 809, 810]; uint256[11] public bodyOrnaments = [901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911]; mapping(uint256 => ChickAttribute) public tokenIdChickAttribute; // Shrieking Chick、 Lucky Chick、Labor Chick、BOSS Chick、Trump Chick constructor(uint256 _maxSupply, address _randomAddr, bool _isLaborChick) public{ maxSupply = _maxSupply; randomAddr = _randomAddr; isLaborChick = _isLaborChick; } function getTokenIdChickAttribute(uint256 tokenId) public view returns(ChickAttribute memory){ return tokenIdChickAttribute[tokenId]; } function tokenOfOwnerPage(address owner, uint256 pageNumber, uint256 pageSize) external view returns (uint256, uint256[] memory){ uint256 total = balanceOf(owner); uint256 start = pageNumber * pageSize; require(start < total, 'pageNumber input error!'); uint256 end; if(start + pageSize > total){ end = total; }else{ end = start + pageSize; } uint256[] memory tokenIds = new uint256[](end - start); uint256 count = 0; for(uint256 i=start; i<end; i++){ uint256 tokenId = tokenOfOwnerByIndex(owner, i); tokenIds[count] = tokenId; count++; } return (total, tokenIds); } /** * @notice * @param flag If flag is true, it means shriekingChick, otherwise luckyChick. */ function createNFT(address owner) public onlyAdmin returns(uint256){ require(totalSupply() < maxSupply, 'The limit has been reached!'); uint256 tokenId = _mintChick(owner); ChickAttribute memory chickAttribute; RandomInterface randomInterface = RandomInterface(randomAddr); uint256 randomNumber = randomInterface.getRandomNumber(); updateSeed(); bytes32 random = keccak256(abi.encodePacked(now, randomNumber, seed)); uint256 expressionIndex = uint256(random) % 10; uint256 hatIndex = uint256(random) % 7; uint256 leftHandOrnamentsIndex = uint256(random) % 11; uint256 rightHandOrnamentsIndex = uint256(random) % 11; uint256 shoesIndex = uint256(random) % 10; uint256 bodyOrnamentsIndex = uint256(random) % 11; chickAttribute.expression = expression[expressionIndex]; chickAttribute.hat = hat[hatIndex]; chickAttribute.leftHandOrnaments = leftHandOrnaments[leftHandOrnamentsIndex]; chickAttribute.rightHandOrnaments = rightHandOrnaments[rightHandOrnamentsIndex]; chickAttribute.shoes = shoes[shoesIndex]; chickAttribute.bodyOrnaments = bodyOrnaments[bodyOrnamentsIndex]; if(isLaborChick){ uint256 suitIndex = uint256(random) % 3; chickAttribute.suit = suit[suitIndex]; }else{ uint256 isSuitRandom = uint256(random) % 2; if(isSuitRandom == 0){ uint256 suitIndex = uint256(random) % 3; chickAttribute.suit = suit[suitIndex]; }else if(isSuitRandom == 1){ uint256 jacketIndex = uint256(random) % 7; uint256 trousersIndex = uint256(random) % 8; chickAttribute.jacket = jacket[jacketIndex]; chickAttribute.trousers = trousers[trousersIndex]; } } tokenIdChickAttribute[tokenId] = chickAttribute; return tokenId; } // Private Methods function _mintChick(address owner) private returns(uint256){ _tokenIds.increment(); uint256 newItemId = _tokenIds.current(); _mint(owner, newItemId); return newItemId; } function setBaseURI(string memory newBaseURI) public onlyOwner { _setBaseURI(newBaseURI); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory){ require(tokenId > 0 && tokenId <= totalSupply(), "URI query for nonexistent token"); // Fallback to centralised URI return string(abi.encodePacked(baseURI(), 'getUrl?name=', name(), '&tokenId=', tokenId.toString())); } function updateSeed() internal{ seed = seed + now - 5; } function updateRandomAddr(address _randomAddr) public onlyOwner{ randomAddr = _randomAddr; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"address","name":"_randomAddr","type":"address"},{"internalType":"bool","name":"_isLaborChick","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"NewAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"NewOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldPendingOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newPendingOwner","type":"address"}],"name":"NewPendingOwner","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":"acceptOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bodyOrnaments","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"createNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"expression","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenIdChickAttribute","outputs":[{"components":[{"internalType":"uint256","name":"jacket","type":"uint256"},{"internalType":"uint256","name":"trousers","type":"uint256"},{"internalType":"uint256","name":"suit","type":"uint256"},{"internalType":"uint256","name":"expression","type":"uint256"},{"internalType":"uint256","name":"hat","type":"uint256"},{"internalType":"uint256","name":"leftHandOrnaments","type":"uint256"},{"internalType":"uint256","name":"rightHandOrnaments","type":"uint256"},{"internalType":"uint256","name":"shoes","type":"uint256"},{"internalType":"uint256","name":"bodyOrnaments","type":"uint256"}],"internalType":"struct LoserChickNFT.ChickAttribute","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"hat","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isLaborChick","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"jacket","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"leftHandOrnaments","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rightHandOrnaments","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"setAdmin","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":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"shoes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"suit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdChickAttribute","outputs":[{"internalType":"uint256","name":"jacket","type":"uint256"},{"internalType":"uint256","name":"trousers","type":"uint256"},{"internalType":"uint256","name":"suit","type":"uint256"},{"internalType":"uint256","name":"expression","type":"uint256"},{"internalType":"uint256","name":"hat","type":"uint256"},{"internalType":"uint256","name":"leftHandOrnaments","type":"uint256"},{"internalType":"uint256","name":"rightHandOrnaments","type":"uint256"},{"internalType":"uint256","name":"shoes","type":"uint256"},{"internalType":"uint256","name":"bodyOrnaments","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":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"pageNumber","type":"uint256"},{"internalType":"uint256","name":"pageSize","type":"uint256"}],"name":"tokenOfOwnerPage","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"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":"_pendingOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"trousers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_randomAddr","type":"address"}],"name":"updateRandomAddr","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610180604052606560a0908152606660c052606760e052606861010052606961012052606a61014052606b610160526200003e90601090600762000507565b50604080516101008101825260c9815260ca602082015260cb9181019190915260cc606082015260cd608082015260ce60a082015260cf60c082015260d060e0820152620000919060179060086200054f565b506040805160608101825261012d815261012e602082015261012f91810191909152620000c390601f90600362000584565b50604080516101408101825261019181526101926020820152610193918101919091526101946060820152610195608082015261019660a082015261019760c082015261019860e082015261019961010082015261019a6101208201526200013090602290600a620005bb565b506040805160e0810182526101f581526101f660208201526101f7918101919091526101f860608201526101f960808201526101fa60a08201526101fb60c08201526200018290602c906007620005f1565b506040805161016081018252610259815261025a602082015261025b9181019190915261025c606082015261025d608082015261025e60a082015261025f60c082015261026060e0820152610261610100820152610262610120820152610263610140820152620001f890603390600b62000627565b5060408051610160810182526102bd81526102be60208201526102bf918101919091526102c060608201526102c160808201526102c260a08201526102c360c08201526102c460e08201526102c56101008201526102c66101208201526102c76101408201526200026e90603e90600b62000627565b50604080516101408101825261032181526103226020820152610323918101919091526103246060820152610325608082015261032660a082015261032760c082015261032860e082015261032961010082015261032a610120820152620002db90604990600a620005bb565b50604080516101608101825261038581526103866020820152610387918101919091526103886060820152610389608082015261038a60a082015261038b60c082015261038c60e082015261038d61010082015261038e61012082015261038f6101408201526200035190605390600b62000627565b503480156200035f57600080fd5b50604051620030c9380380620030c98339810160408190526200038291620006f0565b604080518082018252600a808252695472756d70436869636b60b01b602080840182905284518086019095529184529083015260008054336001600160a01b0319918216811790925560028054909116909117905590620003ea6301ffc9a760e01b620004ac565b8151620003ff9060099060208501906200065d565b5080516200041590600a9060208401906200065d565b50620004316380ac58cd60e01b6001600160e01b03620004ac16565b6200044c635b5e139f60e01b6001600160e01b03620004ac16565b6200046763780e9d6360e01b6001600160e01b03620004ac16565b5050608092909252600e80546001600160a01b0319166001600160a01b03929092169190911760ff60a01b1916600160a01b921515929092029190911790556200077c565b6001600160e01b03198082161415620004e25760405162461bcd60e51b8152600401620004d99062000745565b60405180910390fd5b6001600160e01b0319166000908152600360205260409020805460ff19166001179055565b82600781019282156200053d579160200282015b828111156200053d578251829060ff169055916020019190600101906200051b565b506200054b929150620006d0565b5090565b82600881019282156200053d57916020028201828111156200053d578251829060ff169055916020019190600101906200051b565b82600381019282156200053d579160200282015b828111156200053d578251829061ffff1690559160200191906001019062000598565b82600a81019282156200053d57916020028201828111156200053d578251829061ffff1690559160200191906001019062000598565b82600781019282156200053d57916020028201828111156200053d578251829061ffff1690559160200191906001019062000598565b82600b81019282156200053d57916020028201828111156200053d578251829061ffff1690559160200191906001019062000598565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620006a057805160ff19168380011785556200053d565b828001600101855582156200053d579182015b828111156200053d578251825591602001919060010190620006b3565b620006ed91905b808211156200054b5760008155600101620006d7565b90565b60008060006060848603121562000705578283fd5b835160208501519093506001600160a01b038116811462000724578283fd5b604085015190925080151581146200073a578182fd5b809150509250925092565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b60805161292d6200079c6000398061074f52806110fe525061292d6000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c8063715018a611610146578063b88d4fde116100c3578063e985e9c511610087578063e985e9c5146104ef578063ebbc496514610502578063f2fde38b1461050a578063f32f2ffd1461051d578063f844593014610530578063f851a4401461055157610253565b8063b88d4fde146104a6578063c87b56dd146104b9578063cd3d3054146104cc578063d5abeb01146104df578063e30c3978146104e757610253565b806396fe2a101161010a57806396fe2a1014610447578063a22cb4651461045a578063a4269a041461046d578063b1618a5014610480578063b540c8911461049357610253565b8063715018a6146104145780637588f2a61461041c5780637d336c5c1461042f5780638da5cb5b1461043757806395d89b411461043f57610253565b806347cdc5a3116101d4578063607473cf11610198578063607473cf146103c05780636352211e146103d35780636c0360eb146103e6578063704b6c02146103ee57806370a082311461040157610253565b806347cdc5a31461033f5780634f6ccce71461035f578063524885771461037257806355f804b31461039a5780635ca6bec5146103ad57610253565b806317e5883c1161021b57806317e5883c146102eb57806318160ddd146102fe57806323b872dd146103065780632f745c591461031957806342842e0e1461032c57610253565b806301ffc9a71461025857806306fdde0314610281578063081812fc14610296578063095ea7b3146102b65780630cbd8619146102cb575b600080fd5b61026b610266366004612030565b610559565b604051610278919061220a565b60405180910390f35b61028961057c565b6040516102789190612215565b6102a96102a436600461209b565b610613565b604051610278919061219f565b6102c96102c4366004611fd3565b61065f565b005b6102de6102d936600461209b565b6106f7565b60405161027891906127b0565b6102de6102f9366004611ea1565b61070b565b6102de610a0d565b6102c9610314366004611ef0565b610a1e565b6102de610327366004611fd3565b610a56565b6102c961033a366004611ef0565b610a87565b61035261034d36600461209b565b610aa2565b604051610278919061274b565b6102de61036d36600461209b565b610b23565b61038561038036600461209b565b610b3f565b60405161027899989796959493929190612806565b6102c96103a8366004612068565b610b8d565b6102de6103bb36600461209b565b610bc3565b6102de6103ce36600461209b565b610bd0565b6102a96103e136600461209b565b610bdd565b610289610c0b565b6102c96103fc366004611ea1565b610c6c565b6102de61040f366004611ea1565b610cff565b6102c9610d48565b6102de61042a36600461209b565b610e6c565b61026b610e79565b6102a9610e89565b610289610e98565b6102de61045536600461209b565b610ef9565b6102c9610468366004611f98565b610f06565b6102de61047b36600461209b565b610fd4565b6102c961048e366004611ea1565b610fe1565b6102de6104a136600461209b565b61102d565b6102c96104b4366004611f30565b61103a565b6102896104c736600461209b565b611079565b6102de6104da36600461209b565b6110ef565b6102de6110fc565b6102a9611120565b61026b6104fd366004611ebc565b61112f565b6102c961115d565b6102c9610518366004611ea1565b611250565b6102de61052b36600461209b565b6112b9565b61054361053e366004611ffd565b6112c6565b6040516102789291906127b9565b6102a96113a8565b6001600160e01b0319811660009081526003602052604090205460ff165b919050565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106085780601f106105dd57610100808354040283529160200191610608565b820191906000526020600020905b8154815290600101906020018083116105eb57829003601f168201915b505050505090505b90565b600061061e826113b7565b6106435760405162461bcd60e51b815260040161063a906125a0565b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061066a82610bdd565b9050806001600160a01b0316836001600160a01b0316141561069e5760405162461bcd60e51b815260040161063a9061265f565b806001600160a01b03166106b06113ca565b6001600160a01b031614806106cc57506106cc816104fd6113ca565b6106e85760405162461bcd60e51b815260040161063a9061244b565b6106f283836113ce565b505050565b6010816007811061070457fe5b0154905081565b6002546000906001600160a01b031633148061073157506000546001600160a01b031633145b61074d5760405162461bcd60e51b815260040161063a90612228565b7f0000000000000000000000000000000000000000000000000000000000000000610776610a0d565b106107935760405162461bcd60e51b815260040161063a906123c8565b600061079e8361143c565b90506107a8611d28565b600e546040805163dbdff2c160e01b815290516001600160a01b0390921691600091839163dbdff2c19160048082019260209290919082900301818787803b1580156107f357600080fd5b505af1158015610807573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082b91906120b3565b9050610835611460565b60004282600d5460405160200161084e93929190612189565b60408051808303601f1901815291905280516020909101209050600a808206906007830690600b8406908190849082906022908390811061088b57fe5b015460608b0152602c856007811061089f57fe5b015460808b0152603384600b81106108b357fe5b015460a08b0152603e83600b81106108c757fe5b015460c08b0152604982600a81106108db57fe5b015460e08b0152605381600b81106108ef57fe5b01546101008b0152600e54600160a01b900460ff161561092b576000600388069050601f816003811061091e57fe5b015460408c015250610993565b6001871680610956576000600389069050601f816003811061094957fe5b015460408d015250610991565b806001141561099157600780890690898116906010908390811061097657fe5b01548d526017816008811061098757fe5b015460208e015250505b505b5050506000888152605e602090815260409182902089518155908901516001820155908801516002820155606088015160038201556080880151600482015560a0880151600582015560c0880151600682015560e08801516007820155610100909701516008909701969096555094979650505050505050565b6000610a196005611470565b905090565b610a2f610a296113ca565b8261147b565b610a4b5760405162461bcd60e51b815260040161063a906126a0565b6106f2838383611500565b6001600160a01b0382166000908152600460205260408120610a7e908363ffffffff61162016565b90505b92915050565b6106f28383836040518060200160405280600081525061103a565b610aaa611d28565b506000908152605e6020908152604091829020825161012081018452815481526001820154928101929092526002810154928201929092526003820154606082015260048201546080820152600582015460a0820152600682015460c0820152600782015460e082015260089091015461010082015290565b600080610b3760058463ffffffff61162c16565b509392505050565b605e6020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154908060070154908060080154905089565b6000546001600160a01b03163314610bb75760405162461bcd60e51b815260040161063a90612728565b610bc081611648565b50565b602c816007811061070457fe5b604981600a811061070457fe5b6000610a81826040518060600160405280602981526020016128cf602991396005919063ffffffff61165f16565b600c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106085780601f106105dd57610100808354040283529160200191610608565b6000546001600160a01b03163314610c965760405162461bcd60e51b815260040161063a90612728565b6002546040517ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc91610cd5916001600160a01b039091169084906121f0565b60405180910390a1600280546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216610d275760405162461bcd60e51b815260040161063a906124a8565b6001600160a01b0382166000908152600460205260409020610a8190611470565b6000546001600160a01b03163314610d725760405162461bcd60e51b815260040161063a90612728565b600080546040517f70aea8d848e8a90fb7661b227dc522eb6395c3dac71b63cb59edd5c9899b236492610dae926001600160a01b0316916121f0565b60405180910390a16002546040517ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc91610df6916001600160a01b03909116906000906121f0565b60405180910390a16001546040517fb3d55174552271a4f1aaf36b72f50381e892171636b3fb5447fe00e995e7a37b91610e3e916001600160a01b03909116906000906121f0565b60405180910390a1600080546001600160a01b03199081169091556001805482169055600280549091169055565b602281600a811061070457fe5b600e54600160a01b900460ff1681565b6000546001600160a01b031681565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106085780601f106105dd57610100808354040283529160200191610608565b603381600b811061070457fe5b610f0e6113ca565b6001600160a01b0316826001600160a01b03161415610f3f5760405162461bcd60e51b815260040161063a90612391565b8060086000610f4c6113ca565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610f906113ca565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610fc8919061220a565b60405180910390a35050565b601f816003811061070457fe5b6000546001600160a01b0316331461100b5760405162461bcd60e51b815260040161063a90612728565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b605381600b811061070457fe5b61104b6110456113ca565b8361147b565b6110675760405162461bcd60e51b815260040161063a906126a0565b61107384848484611676565b50505050565b6060600082118015611092575061108e610a0d565b8211155b6110ae5760405162461bcd60e51b815260040161063a9061228d565b6110b6610c0b565b6110be61057c565b6110c7846116a9565b6040516020016110d993929190612113565b6040516020818303038152906040529050919050565b6017816008811061070457fe5b7f000000000000000000000000000000000000000000000000000000000000000081565b6001546001600160a01b031681565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6001546001600160a01b031633146111875760405162461bcd60e51b815260040161063a90612635565b6000546001546040517f70aea8d848e8a90fb7661b227dc522eb6395c3dac71b63cb59edd5c9899b2364926111ca926001600160a01b03918216929116906121f0565b60405180910390a1600154600080546001600160a01b0319166001600160a01b03909216918217815560405190917fb3d55174552271a4f1aaf36b72f50381e892171636b3fb5447fe00e995e7a37b91611226919084906121f0565b60405180910390a1600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461127a5760405162461bcd60e51b815260040161063a90612728565b6001546040517fb3d55174552271a4f1aaf36b72f50381e892171636b3fb5447fe00e995e7a37b91611226916001600160a01b039091169084906121f0565b603e81600b811061070457fe5b6000606060006112d586610cff565b90508484028181106112f95760405162461bcd60e51b815260040161063a90612569565b600082868301111561130c575081611311565b508085015b606082820367ffffffffffffffff8111801561132c57600080fd5b50604051908082528060200260200182016040528015611356578160200160208202803683370190505b5090506000835b838110156113985760006113718c83610a56565b90508084848151811061138057fe5b6020908102919091010152506001918201910161135d565b5093999098509650505050505050565b6002546001600160a01b031681565b6000610a8160058363ffffffff61178416565b3390565b600081815260076020526040902080546001600160a01b0319166001600160a01b038416908117909155819061140382610bdd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611448600f611790565b6000611454600f611799565b9050610a81838261179d565b600542600d540103600d81905550565b6000610a8182611799565b6000611486826113b7565b6114a25760405162461bcd60e51b815260040161063a906123ff565b60006114ad83610bdd565b9050806001600160a01b0316846001600160a01b031614806114e85750836001600160a01b03166114dd84610613565b6001600160a01b0316145b806114f857506114f8818561112f565b949350505050565b826001600160a01b031661151382610bdd565b6001600160a01b0316146115395760405162461bcd60e51b815260040161063a906125ec565b6001600160a01b03821661155f5760405162461bcd60e51b815260040161063a9061234d565b61156a8383836106f2565b6115756000826113ce565b6001600160a01b038316600090815260046020526040902061159d908263ffffffff61186d16565b506001600160a01b03821660009081526004602052604090206115c6908263ffffffff61187916565b506115d96005828463ffffffff61188516565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610a7e838361189b565b600080808061163b86866118e0565b9097909650945050505050565b805161165b90600c906020840190611d74565b5050565b600061166c84848461193c565b90505b9392505050565b611681848484611500565b61168d8484848461199b565b6110735760405162461bcd60e51b815260040161063a906122c4565b6060816116ce57506040805180820190915260018152600360fc1b6020820152610577565b8160005b81156116e657600101600a820491506116d2565b60608167ffffffffffffffff811180156116ff57600080fd5b506040519080825280601f01601f19166020018201604052801561172a576020820181803683370190505b50859350905060001982015b831561177b57600a840660300160f81b8282806001900393508151811061175957fe5b60200101906001600160f81b031916908160001a905350600a84049350611736565b50949350505050565b6000610a7e8383611a80565b80546001019055565b5490565b6001600160a01b0382166117c35760405162461bcd60e51b815260040161063a90612534565b6117cc816113b7565b156117e95760405162461bcd60e51b815260040161063a90612316565b6117f5600083836106f2565b6001600160a01b038216600090815260046020526040902061181d908263ffffffff61187916565b506118306005828463ffffffff61188516565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000610a7e8383611a98565b6000610a7e8383611b5e565b600061166c84846001600160a01b038516611ba8565b815460009082106118be5760405162461bcd60e51b815260040161063a9061224b565b8260000182815481106118cd57fe5b9060005260206000200154905092915050565b8154600090819083106119055760405162461bcd60e51b815260040161063a906124f2565b600084600001848154811061191657fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b6000828152600184016020526040812054828161196c5760405162461bcd60e51b815260040161063a9190612215565b5084600001600182038154811061197f57fe5b9060005260206000209060020201600101549150509392505050565b60006119af846001600160a01b0316611c3f565b6119bb575060016114f8565b6060611a49630a85bd0160e11b6119d06113ca565b8887876040516024016119e694939291906121b3565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161289d603291396001600160a01b038816919063ffffffff611c4516565b9050600081806020019051810190611a61919061204c565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015611b545783546000198083019190810190600090879083908110611acb57fe5b9060005260206000200154905080876000018481548110611ae857fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611b1857fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a81565b6000915050610a81565b6000611b6a8383611a80565b611ba057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a81565b506000610a81565b600082815260018401602052604081205480611c0d57505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205561166f565b82856000016001830381548110611c2057fe5b906000526020600020906002020160010181905550600091505061166f565b3b151590565b606061166c848460008585611c5985611c3f565b611c755760405162461bcd60e51b815260040161063a906126f1565b60006060866001600160a01b03168587604051611c9291906120f7565b60006040518083038185875af1925050503d8060008114611ccf576040519150601f19603f3d011682016040523d82523d6000602084013e611cd4565b606091505b5091509150611ce4828286611cef565b979650505050505050565b60608315611cfe57508161166f565b825115611d0e5782518084602001fd5b8160405162461bcd60e51b815260040161063a9190612215565b6040518061012001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611db557805160ff1916838001178555611de2565b82800160010185558215611de2579182015b82811115611de2578251825591602001919060010190611dc7565b50611dee929150611df2565b5090565b61061091905b80821115611dee5760008155600101611df8565b80356001600160a01b0381168114610a8157600080fd5b600082601f830112611e33578081fd5b813567ffffffffffffffff80821115611e4a578283fd5b604051601f8301601f191681016020018281118282101715611e6a578485fd5b604052828152925082848301602001861015611e8557600080fd5b8260208601602083013760006020848301015250505092915050565b600060208284031215611eb2578081fd5b610a7e8383611e0c565b60008060408385031215611ece578081fd5b611ed88484611e0c565b9150611ee78460208501611e0c565b90509250929050565b600080600060608486031215611f04578081fd5b8335611f0f81612871565b92506020840135611f1f81612871565b929592945050506040919091013590565b60008060008060808587031215611f45578081fd5b611f4f8686611e0c565b9350611f5e8660208701611e0c565b925060408501359150606085013567ffffffffffffffff811115611f80578182fd5b611f8c87828801611e23565b91505092959194509250565b60008060408385031215611faa578182fd5b611fb48484611e0c565b915060208301358015158114611fc8578182fd5b809150509250929050565b60008060408385031215611fe5578182fd5b611fef8484611e0c565b946020939093013593505050565b600080600060608486031215612011578283fd5b61201b8585611e0c565b95602085013595506040909401359392505050565b600060208284031215612041578081fd5b813561166f81612886565b60006020828403121561205d578081fd5b815161166f81612886565b600060208284031215612079578081fd5b813567ffffffffffffffff81111561208f578182fd5b6114f884828501611e23565b6000602082840312156120ac578081fd5b5035919050565b6000602082840312156120c4578081fd5b5051919050565b600081518084526120e3816020860160208601612845565b601f01601f19169290920160200192915050565b60008251612109818460208701612845565b9190910192915050565b60008451612125818460208901612845565b8083016b67657455726c3f6e616d653d60a01b81528551915061214f82600c830160208901612845565b8181016826746f6b656e49643d60b81b600c82015285519250612179836015830160208901612845565b9091016015019695505050505050565b9283526020830191909152604082015260600190565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121e6908301846120cb565b9695505050505050565b6001600160a01b0392831681529116602082015260400190565b901515815260200190565b600060208252610a7e60208301846120cb565b60208082526009908201526837b7363ca0b236b4b760b91b604082015260600190565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252601f908201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601d908201527f546865206c696d697420686173206265656e2072656163686564efbc81000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526022908201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526019908201527f706167654e756d62657220696e707574206572726f72efbc8100000000000000604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b60208082526010908201526f37b7363ca832b73234b733a7bbb732b960811b604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526009908201526837b7363ca7bbb732b960b91b604082015260600190565b600061012082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010080840151818401525092915050565b90815260200190565b60006040820184835260206040818501528185518084526060860191508287019350845b818110156127f9578451835293830193918301916001016127dd565b5090979650505050505050565b988952602089019790975260408801959095526060870193909352608086019190915260a085015260c084015260e08301526101008201526101200190565b60005b83811015612860578181015183820152602001612848565b838111156110735750506000910152565b6001600160a01b0381168114610bc057600080fd5b6001600160e01b031981168114610bc057600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212209ef421aeba3833638bf48bbeac76c5877db2e0e96c502052b53029b7d6c0437764736f6c6343000606003300000000000000000000000000000000000000000000000000000000003d08ff0000000000000000000000003bc29ee3268856e9f4316628a9fe883b678f61140000000000000000000000000000000000000000000000000000000000000000
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000003d08ff0000000000000000000000003bc29ee3268856e9f4316628a9fe883b678f61140000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _maxSupply (uint256): 3999999
Arg [1] : _randomAddr (address): 0x3bc29ee3268856e9f4316628a9fe883b678f6114
Arg [2] : _isLaborChick (bool): False
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000003d08ff
Arg [1] : 0000000000000000000000003bc29ee3268856e9f4316628a9fe883b678f6114
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed ByteCode Sourcemap
68651:5690:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;68651:5690:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;1933:150:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;52089:100;;;:::i;:::-;;;;;;;;54875:221;;;;;;;;;:::i;:::-;;;;;;;;54405:404;;;;;;;;;:::i;:::-;;69279:62;;;;;;;;;:::i;:::-;;;;;;;;71396:2046;;;;;;;;;:::i;53883:211::-;;;:::i;55765:303::-;;;;;;;;;:::i;53645:162::-;;;;;;;;;:::i;56139:151::-;;;;;;;;;:::i;70367:149::-;;;;;;;;;:::i;:::-;;;;;;;;54171:172;;;;;;;;;:::i;70016:63::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;73694:105;;;;;;;;;:::i;69560:59::-;;;;;;;;;:::i;69829:77::-;;;;;;;;;:::i;51845:177::-;;;;;;;;;:::i;53464:97::-;;;:::i;68238:129::-;;;;;;;;;:::i;51562:221::-;;;;;;;;;:::i;67626:301::-;;;:::i;69471:82::-;;;;;;;;;:::i;69180:24::-;;;:::i;66722:20::-;;;:::i;52258:104::-;;;:::i;69626:94::-;;;;;;;;;:::i;55168:295::-;;;;;;;;;:::i;69424:40::-;;;;;;;;;:::i;74232:106::-;;;;;;;;;:::i;69913:90::-;;;;;;;;;:::i;56361:285::-;;;;;;;;;:::i;73807:339::-;;;;;;;;;:::i;69348:69::-;;;;;;;;;:::i;69073:34::-;;;:::i;66749:27::-;;;:::i;55534:164::-;;;;;;;;;:::i;67939:283::-;;;:::i;67444:174::-;;;;;;;;;:::i;69727:95::-;;;;;;;;;:::i;70524:746::-;;;;;;;;;:::i;:::-;;;;;;;;;66783:20;;;:::i;1933:150::-;-1:-1:-1;;;;;;2042:33:0;;2018:4;2042:33;;;:20;:33;;;;;;;;1933:150;;;;:::o;52089:100::-;52176:5;52169:12;;;;;;;;-1:-1:-1;;52169:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52143:13;;52169:12;;52176:5;;52169:12;;52176:5;52169:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52089:100;;:::o;54875:221::-;54951:7;54979:16;54987:7;54979;:16::i;:::-;54971:73;;;;-1:-1:-1;;;54971:73:0;;;;;;;;;;;;;;;;;-1:-1:-1;55064:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;55064:24:0;;54875:221::o;54405:404::-;54486:13;54502:23;54517:7;54502:14;:23::i;:::-;54486:39;;54550:5;-1:-1:-1;;;;;54544:11:0;:2;-1:-1:-1;;;;;54544:11:0;;;54536:57;;;;-1:-1:-1;;;54536:57:0;;;;;;;;;54630:5;-1:-1:-1;;;;;54614:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;54614:21:0;;:69;;;;54639:44;54663:5;54670:12;:10;:12::i;54639:44::-;54606:161;;;;-1:-1:-1;;;54606:161:0;;;;;;;;;54780:21;54789:2;54793:7;54780:8;:21::i;:::-;54405:404;;;:::o;69279:62::-;;;;;;;;;;;;;-1:-1:-1;69279:62:0;:::o;71396:2046::-;67370:5;;71455:7;;-1:-1:-1;;;;;67370:5:0;67356:10;:19;;:42;;-1:-1:-1;67393:5:0;;-1:-1:-1;;;;;67393:5:0;67379:10;:19;67356:42;67348:63;;;;-1:-1:-1;;;67348:63:0;;;;;;;;;71498:9:::1;71482:13;:11;:13::i;:::-;:25;71474:67;;;;-1:-1:-1::0;;;71474:67:0::1;;;;;;;;;71554:15;71572:17;71583:5;71572:10;:17::i;:::-;71554:35;;71614:36;;:::i;:::-;71711:10;::::0;71756:33:::1;::::0;;-1:-1:-1;;;71756:33:0;;;;-1:-1:-1;;;;;71711:10:0;;::::1;::::0;71661:31:::1;::::0;71711:10;;71756:31:::1;::::0;:33:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;71661:31;71711:10;71756:33;::::1;;2:2:-1::0;::::1;;;27:1;24::::0;17:12:::1;2:2;71756:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;71756:33:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;71756:33:0;;;;;;;;;71733:56;;71800:12;:10;:12::i;:::-;71823:14;71867:3;71872:12;71886:4;;71850:41;;;;;;;;;;;;;::::0;;26:21:-1;;::::1;-1:-1:::0;;22:32;6:49;;71850:41:0;;;71840:52;;49:4:-1::1;71840:52:0::0;;::::1;::::0;;-1:-1:-1;71947:2:0::1;71929:20:::0;;::::1;::::0;71997:1:::1;71979:19:::0;::::1;::::0;72060:2:::1;72042:20:::0;::::1;::::0;;;71929;;72042;;72280:10:::1;::::0;71929:20;;72280:27;::::1;;;;;;::::0;72252:25:::1;::::0;::::1;:55:::0;72339:3:::1;72343:8:::0;72339:13:::1;::::0;::::1;;;;;;::::0;72318:18:::1;::::0;::::1;:34:::0;72398:17:::1;72416:22:::0;72398:41:::1;::::0;::::1;;;;;;::::0;72363:32:::1;::::0;::::1;:76:::0;72486:18:::1;72505:23:::0;72486:43:::1;::::0;::::1;;;;;;::::0;72450:33:::1;::::0;::::1;:79:::0;72563:5:::1;72569:10:::0;72563:17:::1;::::0;::::1;;;;;;::::0;72540:20:::1;::::0;::::1;:40:::0;72622:13:::1;72636:18:::0;72622:33:::1;::::0;::::1;;;;;;::::0;72591:28:::1;::::0;::::1;:64:::0;72671:12:::1;::::0;-1:-1:-1;;;72671:12:0;::::1;;;72668:684;;;72699:17;72737:1;72727:6:::0;72719:19:::1;72699:39;;72775:4;72780:9;72775:15;;;;;;;;::::0;72753:19:::1;::::0;::::1;:37:::0;-1:-1:-1;72668:684:0::1;;;72844:19:::0;;;;72878:463:::1;;72918:17;72956:1;72946:6:::0;72938:19:::1;72918:39;;72998:4;73003:9;72998:15;;;;;;;;::::0;72976:19:::1;::::0;::::1;:37:::0;-1:-1:-1;72878:463:0::1;;;73037:12;73053:1;73037:17;73034:307;;;73114:1;73096:19:::0;;::::1;::::0;73158;;;;73238:6:::1;::::0;73096:19;;73238;::::1;;;;;;::::0;73214:43;;73302:8:::1;73311:13:::0;73302:23:::1;::::0;::::1;;;;;;::::0;73276::::1;::::0;::::1;:49:::0;-1:-1:-1;;73034:307:0::1;72668:684;;-1:-1:-1::0;;;73362:30:0::1;::::0;;;:21:::1;:30;::::0;;;;;;;;:47;;;;;;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;-1:-1:-1;73362:30:0;;71396:2046;-1:-1:-1;;;;;;;71396:2046:0:o;53883:211::-;53944:7;54065:21;:12;:19;:21::i;:::-;54058:28;;53883:211;:::o;55765:303::-;55926:41;55945:12;:10;:12::i;:::-;55959:7;55926:18;:41::i;:::-;55918:103;;;;-1:-1:-1;;;55918:103:0;;;;;;;;;56032:28;56042:4;56048:2;56052:7;56032:9;:28::i;53645:162::-;-1:-1:-1;;;;;53769:20:0;;53742:7;53769:20;;;:13;:20;;;;;:30;;53793:5;53769:30;:23;:30;:::i;:::-;53762:37;;53645:162;;;;;:::o;56139:151::-;56243:39;56260:4;56266:2;56270:7;56243:39;;;;;;;;;;;;:16;:39::i;70367:149::-;70438:21;;:::i;:::-;-1:-1:-1;70478:30:0;;;;:21;:30;;;;;;;;;70471:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70367:149::o;54171:172::-;54246:7;;54288:22;:12;54304:5;54288:22;:15;:22;:::i;:::-;-1:-1:-1;54266:44:0;54171:172;-1:-1:-1;;;54171:172:0:o;70016:63::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;73694:105::-;67153:5;;-1:-1:-1;;;;;67153:5:0;67139:10;:19;67131:40;;;;-1:-1:-1;;;67131:40:0;;;;;;;;;73768:23:::1;73780:10;73768:11;:23::i;:::-;73694:105:::0;:::o;69560:59::-;;;;;;;;;69829:77;;;;;;;;;51845:177;51917:7;51944:70;51961:7;51944:70;;;;;;;;;;;;;;;;;:12;;:70;;:16;:70;:::i;53464:97::-;53545:8;53538:15;;;;;;;;-1:-1:-1;;53538:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53512:13;;53538:15;;53545:8;;53538:15;;53545:8;53538:15;;;;;;;;;;;;;;;;;;;;;;;;68238:129;67153:5;;-1:-1:-1;;;;;67153:5:0;67139:10;:19;67131:40;;;;-1:-1:-1;;;67131:40:0;;;;;;;;;68316:5:::1;::::0;68307:25:::1;::::0;::::1;::::0;::::1;::::0;-1:-1:-1;;;;;68316:5:0;;::::1;::::0;68323:8;;68307:25:::1;;;;;;;;;;68343:5;:16:::0;;-1:-1:-1;;;;;;68343:16:0::1;-1:-1:-1::0;;;;;68343:16:0;;;::::1;::::0;;;::::1;::::0;;68238:129::o;51562:221::-;51634:7;-1:-1:-1;;;;;51662:19:0;;51654:74;;;;-1:-1:-1;;;51654:74:0;;;;;;;;;-1:-1:-1;;;;;51746:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;67626:301::-;67153:5;;-1:-1:-1;;;;;67153:5:0;67139:10;:19;67131:40;;;;-1:-1:-1;;;67131:40:0;;;;;;;;;67705:5:::1;::::0;;67696:27:::1;::::0;::::1;::::0;::::1;::::0;-1:-1:-1;;;;;67705:5:0::1;::::0;67696:27:::1;;;;;;;;;;67748:5;::::0;67739:27:::1;::::0;::::1;::::0;::::1;::::0;-1:-1:-1;;;;;67748:5:0;;::::1;::::0;::::1;::::0;67739:27:::1;;;;;;;;;;67798:12;::::0;67782:41:::1;::::0;::::1;::::0;::::1;::::0;-1:-1:-1;;;;;67798:12:0;;::::1;::::0;::::1;::::0;67782:41:::1;;;;;;;;;;67852:1;67836:18:::0;;-1:-1:-1;;;;;;67836:18:0;;::::1;::::0;;;;67865:25;;;::::1;::::0;;67901:5:::1;:18:::0;;;;::::1;::::0;;67626:301::o;69471:82::-;;;;;;;;;69180:24;;;-1:-1:-1;;;69180:24:0;;;;;:::o;66722:20::-;;;-1:-1:-1;;;;;66722:20:0;;:::o;52258:104::-;52347:7;52340:14;;;;;;;;-1:-1:-1;;52340:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52314:13;;52340:14;;52347:7;;52340:14;;52347:7;52340:14;;;;;;;;;;;;;;;;;;;;;;;;69626:94;;;;;;;;;55168:295;55283:12;:10;:12::i;:::-;-1:-1:-1;;;;;55271:24:0;:8;-1:-1:-1;;;;;55271:24:0;;;55263:62;;;;-1:-1:-1;;;55263:62:0;;;;;;;;;55383:8;55338:18;:32;55357:12;:10;:12::i;:::-;-1:-1:-1;;;;;55338:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;55338:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;55338:53:0;;;;;;;;;;;55422:12;:10;:12::i;:::-;-1:-1:-1;;;;;55407:48:0;;55446:8;55407:48;;;;;;;;;;;;;;;55168:295;;:::o;69424:40::-;;;;;;;;;74232:106;67153:5;;-1:-1:-1;;;;;67153:5:0;67139:10;:19;67131:40;;;;-1:-1:-1;;;67131:40:0;;;;;;;;;74306:10:::1;:24:::0;;-1:-1:-1;;;;;;74306:24:0::1;-1:-1:-1::0;;;;;74306:24:0;;;::::1;::::0;;;::::1;::::0;;74232:106::o;69913:90::-;;;;;;;;;56361:285;56493:41;56512:12;:10;:12::i;:::-;56526:7;56493:18;:41::i;:::-;56485:103;;;;-1:-1:-1;;;56485:103:0;;;;;;;;;56599:39;56613:4;56619:2;56623:7;56632:5;56599:13;:39::i;:::-;56361:285;;;;:::o;73807:339::-;73880:13;73923:1;73913:7;:11;:39;;;;;73939:13;:11;:13::i;:::-;73928:7;:24;;73913:39;73905:83;;;;-1:-1:-1;;;73905:83:0;;;;;;;;;74070:9;:7;:9::i;:::-;74097:6;:4;:6::i;:::-;74118:18;:7;:16;:18::i;:::-;74053:84;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;74053:84:0;;;74039:99;;73807:339;;;:::o;69348:69::-;;;;;;;;;69073:34;;;:::o;66749:27::-;;;-1:-1:-1;;;;;66749:27:0;;:::o;55534:164::-;-1:-1:-1;;;;;55655:25:0;;;55631:4;55655:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55534:164::o;67939:283::-;67258:12;;-1:-1:-1;;;;;67258:12:0;67244:10;:26;67236:54;;;;-1:-1:-1;;;67236:54:0;;;;;;;;;68011:5:::1;::::0;;68018:12;68002:29:::1;::::0;::::1;::::0;::::1;::::0;-1:-1:-1;;;;;68011:5:0;;::::1;::::0;68018:12;::::1;::::0;68002:29:::1;;;;;;;;;;68050:12;::::0;::::1;68042:20:::0;;-1:-1:-1;;;;;;68042:20:0::1;-1:-1:-1::0;;;;;68050:12:0;;::::1;68042:20:::0;;::::1;::::0;;68127:46:::1;::::0;68050:12;;68127:46:::1;::::0;::::1;::::0;68050:12;;;68127:46:::1;;;;;;;;;;68184:12;:30:::0;;-1:-1:-1;;;;;;68184:30:0::1;-1:-1:-1::0;;;;;68184:30:0;;;::::1;::::0;;;::::1;::::0;;67939:283::o;67444:174::-;67153:5;;-1:-1:-1;;;;;67153:5:0;67139:10;:19;67131:40;;;;-1:-1:-1;;;67131:40:0;;;;;;;;;67543:12:::1;::::0;67527:44:::1;::::0;::::1;::::0;::::1;::::0;-1:-1:-1;;;;;67543:12:0;;::::1;::::0;67557:13;;67527:44:::1;;69727:95:::0;;;;;;;;;70524:746;70626:7;70635:16;70663:13;70679:16;70689:5;70679:9;:16::i;:::-;70663:32;-1:-1:-1;70722:21:0;;;70762:13;;;70754:51;;;;-1:-1:-1;;;70754:51:0;;;;;;;;;70816:11;70860:5;70849:8;70841:5;:16;:24;70838:119;;;-1:-1:-1;70887:5:0;70838:119;;;-1:-1:-1;70929:16:0;;;70838:119;70967:25;71015:5;71009:3;:11;70995:26;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70995:26:0;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;144:17;;-1:-1;70995:26:0;-1:-1:-1;70967:54:0;-1:-1:-1;71032:13:0;71074:5;71060:168;71083:3;71081:1;:5;71060:168;;;71107:15;71125:29;71145:5;71152:1;71125:19;:29::i;:::-;71107:47;;71187:7;71169:8;71178:5;71169:15;;;;;;;;;;;;;;;;;:25;-1:-1:-1;71209:7:0;;;;;71088:3;71060:168;;;-1:-1:-1;71246:5:0;;71253:8;;-1:-1:-1;70524:746:0;-1:-1:-1;;;;;;;70524:746:0:o;66783:20::-;;;-1:-1:-1;;;;;66783:20:0;;:::o;58113:127::-;58178:4;58202:30;:12;58224:7;58202:30;:21;:30;:::i;3381:106::-;3469:10;3381:106;:::o;64131:192::-;64206:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;64206:29:0;-1:-1:-1;;;;;64206:29:0;;;;;;;;:24;;64260:23;64206:24;64260:14;:23::i;:::-;-1:-1:-1;;;;;64251:46:0;;;;;;;;;;;64131:192;;:::o;73474:212::-;73525:7;73544:21;:9;:19;:21::i;:::-;73578:17;73598:19;:9;:17;:19::i;:::-;73578:39;;73628:23;73634:5;73641:9;73628:5;:23::i;74154:70::-;74215:1;74209:3;74202:4;;:10;:14;74195:4;:21;;;;74154:70::o;44750:123::-;44819:7;44846:19;44854:3;44846:7;:19::i;58407:355::-;58500:4;58525:16;58533:7;58525;:16::i;:::-;58517:73;;;;-1:-1:-1;;;58517:73:0;;;;;;;;;58601:13;58617:23;58632:7;58617:14;:23::i;:::-;58601:39;;58670:5;-1:-1:-1;;;;;58659:16:0;:7;-1:-1:-1;;;;;58659:16:0;;:51;;;;58703:7;-1:-1:-1;;;;;58679:31:0;:20;58691:7;58679:11;:20::i;:::-;-1:-1:-1;;;;;58679:31:0;;58659:51;:94;;;;58714:39;58738:5;58745:7;58714:23;:39::i;:::-;58651:103;58407:355;-1:-1:-1;;;;58407:355:0:o;61543:599::-;61668:4;-1:-1:-1;;;;;61641:31:0;:23;61656:7;61641:14;:23::i;:::-;-1:-1:-1;;;;;61641:31:0;;61633:85;;;;-1:-1:-1;;;61633:85:0;;;;;;;;;-1:-1:-1;;;;;61755:16:0;;61747:65;;;;-1:-1:-1;;;61747:65:0;;;;;;;;;61825:39;61846:4;61852:2;61856:7;61825:20;:39::i;:::-;61929:29;61946:1;61950:7;61929:8;:29::i;:::-;-1:-1:-1;;;;;61971:19:0;;;;;;:13;:19;;;;;:35;;61998:7;61971:35;:26;:35;:::i;:::-;-1:-1:-1;;;;;;62017:17:0;;;;;;:13;:17;;;;;:30;;62039:7;62017:30;:21;:30;:::i;:::-;-1:-1:-1;62060:29:0;:12;62077:7;62086:2;62060:29;:16;:29;:::i;:::-;;62126:7;62122:2;-1:-1:-1;;;;;62107:27:0;62116:4;-1:-1:-1;;;;;62107:27:0;;;;;;;;;;;61543:599;;;:::o;36494:137::-;36565:7;36600:22;36604:3;36616:5;36600:3;:22::i;45212:236::-;45292:7;;;;45352:22;45356:3;45368:5;45352:3;:22::i;:::-;45321:53;;;;-1:-1:-1;45212:236:0;-1:-1:-1;;;;;45212:236:0:o;62743:100::-;62816:19;;;;:8;;:19;;;;;:::i;:::-;;62743:100;:::o;46498:213::-;46605:7;46656:44;46661:3;46681;46687:12;46656:4;:44::i;:::-;46648:53;-1:-1:-1;46498:213:0;;;;;;:::o;57528:272::-;57642:28;57652:4;57658:2;57662:7;57642:9;:28::i;:::-;57689:48;57712:4;57718:2;57722:7;57731:5;57689:22;:48::i;:::-;57681:111;;;;-1:-1:-1;;;57681:111:0;;;;;;;;47009:746;47065:13;47286:10;47282:53;;-1:-1:-1;47313:10:0;;;;;;;;;;;;-1:-1:-1;;;47313:10:0;;;;;;47282:53;47360:5;47345:12;47401:78;47408:9;;47401:78;;47434:8;;47465:2;47457:10;;;;47401:78;;;47489:19;47521:6;47511:17;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;47511:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;47511:17:0;87:42:-1;143:17;;-1:-1;47511:17:0;-1:-1:-1;47583:5:0;;-1:-1:-1;47489:39:0;-1:-1:-1;;;47555:10:0;;47599:117;47606:9;;47599:117;;47675:2;47668:4;:9;47663:2;:14;47650:29;;47632:6;47639:7;;;;;;;47632:15;;;;;;;;;;;:47;-1:-1:-1;;;;;47632:47:0;;;;;;;;-1:-1:-1;47702:2:0;47694:10;;;;47599:117;;;-1:-1:-1;47740:6:0;47009:746;-1:-1:-1;;;;47009:746:0:o;44511:151::-;44595:4;44619:35;44629:3;44649;44619:9;:35::i;66314:181::-;66468:19;;66486:1;66468:19;;;66314:181::o;66192:114::-;66284:14;;66192:114::o;60028:404::-;-1:-1:-1;;;;;60108:16:0;;60100:61;;;;-1:-1:-1;;;60100:61:0;;;;;;;;;60181:16;60189:7;60181;:16::i;:::-;60180:17;60172:58;;;;-1:-1:-1;;;60172:58:0;;;;;;;;;60243:45;60272:1;60276:2;60280:7;60243:20;:45::i;:::-;-1:-1:-1;;;;;60301:17:0;;;;;;:13;:17;;;;;:30;;60323:7;60301:30;:21;:30;:::i;:::-;-1:-1:-1;60344:29:0;:12;60361:7;60370:2;60344:29;:16;:29;:::i;:::-;-1:-1:-1;60391:33:0;;60416:7;;-1:-1:-1;;;;;60391:33:0;;;60408:1;;60391:33;;60408:1;;60391:33;60028:404;;:::o;35581:137::-;35651:4;35675:35;35683:3;35703:5;35675:7;:35::i;35274:131::-;35341:4;35365:32;35370:3;35390:5;35365:4;:32::i;43934:185::-;44023:4;44047:64;44052:3;44072;-1:-1:-1;;;;;44086:23:0;;44047:4;:64::i;31532:204::-;31627:18;;31599:7;;31627:26;-1:-1:-1;31619:73:0;;;;-1:-1:-1;;;31619:73:0;;;;;;;;;31710:3;:11;;31722:5;31710:18;;;;;;;;;;;;;;;;31703:25;;31532:204;;;;:::o;41794:279::-;41898:19;;41861:7;;;;41898:27;-1:-1:-1;41890:74:0;;;;-1:-1:-1;;;41890:74:0;;;;;;;;;41977:22;42002:3;:12;;42015:5;42002:19;;;;;;;;;;;;;;;;;;41977:44;;42040:5;:10;;;42052:5;:12;;;42032:33;;;;;41794:279;;;;;:::o;43291:319::-;43385:7;43424:17;;;:12;;;:17;;;;;;43475:12;43460:13;43452:36;;;;-1:-1:-1;;;43452:36:0;;;;;;;;;;;43542:3;:12;;43566:1;43555:8;:12;43542:26;;;;;;;;;;;;;;;;;;:33;;;43535:40;;;43291:319;;;;;:::o;63408:604::-;63529:4;63556:15;:2;-1:-1:-1;;;;;63556:13:0;;:15::i;:::-;63551:60;;-1:-1:-1;63595:4:0;63588:11;;63551:60;63621:23;63647:252;-1:-1:-1;;;63760:12:0;:10;:12::i;:::-;63787:4;63806:7;63828:5;63663:181;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;63663:181:0;;;;-1:-1:-1;;;;;63663:181:0;;38:4:-1;29:7;25:18;67:10;61:17;-1:-1;;;;;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;63663:181:0;63647:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63647:15:0;;;:252;;:15;:252;:::i;:::-;63621:278;;63910:13;63937:10;63926:32;;;;;;;;;;;;;;-1:-1:-1;;;;;;63977:26:0;-1:-1:-1;;;63977:26:0;;-1:-1:-1;;;63408:604:0;;;;;;:::o;41109:125::-;41180:4;41204:17;;;:12;;;;;:17;;;;;;:22;;;41109:125::o;29234:1544::-;29300:4;29439:19;;;:12;;;:19;;;;;;29475:15;;29471:1300;;29910:18;;-1:-1:-1;;29861:14:0;;;;29910:22;;;;29837:21;;29910:3;;:22;;30197;;;;;;;;;;;;;;30177:42;;30343:9;30314:3;:11;;30326:13;30314:26;;;;;;;;;;;;;;;;;;;:38;;;;30420:23;;;30462:1;30420:12;;;:23;;;;;;30446:17;;;30420:43;;30572:17;;30420:3;;30572:17;;;;;;;;;;;;;;;;;;;;;;30667:3;:12;;:19;30680:5;30667:19;;;;;;;;;;;30660:26;;;30710:4;30703:11;;;;;;;;29471:1300;30754:5;30747:12;;;;;28644:414;28707:4;28729:21;28739:3;28744:5;28729:9;:21::i;:::-;28724:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;28767:11:0;:23;;;;;;;;;;;;;28950:18;;28928:19;;;:12;;;:19;;;;;;:40;;;;28983:11;;28724:327;-1:-1:-1;29034:5:0;29027:12;;38609:692;38685:4;38820:17;;;:12;;;:17;;;;;;38854:13;38850:444;;-1:-1:-1;;38939:38:0;;;;;;;;;;;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;38921:12:0;:57;;;;;;;;;;;;;;;;;;;;;;;;39136:19;;39116:17;;;:12;;;:17;;;;;;;:39;39170:11;;38850:444;39250:5;39214:3;:12;;39238:1;39227:8;:12;39214:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;39277:5;39270:12;;;;;19616:422;19983:20;20022:8;;;19616:422::o;22534:195::-;22637:12;22669:52;22691:6;22699:4;22705:1;22708:12;22637;23838:18;23849:6;23838:10;:18::i;:::-;23830:60;;;;-1:-1:-1;;;23830:60:0;;;;;;;;;23964:12;23978:23;24005:6;-1:-1:-1;;;;;24005:11:0;24025:5;24033:4;24005:33;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;23963:75:0;;;;24056:52;24074:7;24083:10;24095:12;24056:17;:52::i;:::-;24049:59;23586:530;-1:-1:-1;;;;;;;23586:530:0:o;26126:742::-;26241:12;26270:7;26266:595;;;-1:-1:-1;26301:10:0;26294:17;;26266:595;26415:17;;:21;26411:439;;26678:10;26672:17;26739:15;26726:10;26722:2;26718:19;26711:44;26626:148;26821:12;26814:20;;-1:-1:-1;;;26814:20:0;;;;;;;;;68651:5690;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68651:5690:0;;;-1:-1:-1;68651:5690:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;5:130:-1;72:20;;-1:-1;;;;;38142:54;;39342:35;;39332:2;;39391:1;;39381:12;548:440;;649:3;642:4;634:6;630:17;626:27;616:2;;-1:-1;;657:12;616:2;704:6;691:20;35608:18;;35600:6;35597:30;35594:2;;;-1:-1;;35630:12;35594:2;35264;35258:9;35703;35684:17;;-1:-1;;35680:33;35290:17;;35771:4;35290:17;35350:34;;;35386:22;;;35347:62;35344:2;;;-1:-1;;35412:12;35344:2;35264;35431:22;796:21;;;717:73;-1:-1;717:73;896:16;;;35771:4;896:16;893:25;-1:-1;890:2;;;931:1;;921:12;890:2;38748:6;35771:4;838:6;834:17;35771:4;872:5;868:16;38725:30;38804:1;35771:4;38795:6;872:5;38786:16;;38779:27;;;;609:379;;;;;1725:241;;1829:2;1817:9;1808:7;1804:23;1800:32;1797:2;;;-1:-1;;1835:12;1797:2;1897:53;1942:7;1918:22;1897:53;;1973:366;;;2094:2;2082:9;2073:7;2069:23;2065:32;2062:2;;;-1:-1;;2100:12;2062:2;2162:53;2207:7;2183:22;2162:53;;;2152:63;;2270:53;2315:7;2252:2;2295:9;2291:22;2270:53;;;2260:63;;2056:283;;;;;;2346:491;;;;2484:2;2472:9;2463:7;2459:23;2455:32;2452:2;;;-1:-1;;2490:12;2452:2;85:6;72:20;97:33;124:5;97:33;;;2542:63;-1:-1;2642:2;2681:22;;72:20;97:33;72:20;97:33;;;2446:391;;2650:63;;-1:-1;;;2750:2;2789:22;;;;1514:20;;2446:391;2844:721;;;;;3008:3;2996:9;2987:7;2983:23;2979:33;2976:2;;;-1:-1;;3015:12;2976:2;3077:53;3122:7;3098:22;3077:53;;;3067:63;;3185:53;3230:7;3167:2;3210:9;3206:22;3185:53;;;3175:63;;3275:2;3318:9;3314:22;1514:20;3283:63;;3411:2;3400:9;3396:18;3383:32;3435:18;3427:6;3424:30;3421:2;;;-1:-1;;3457:12;3421:2;3487:62;3541:7;3532:6;3521:9;3517:22;3487:62;;;3477:72;;;2970:595;;;;;;;;3572:360;;;3690:2;3678:9;3669:7;3665:23;3661:32;3658:2;;;-1:-1;;3696:12;3658:2;3758:53;3803:7;3779:22;3758:53;;;3748:63;;3848:2;3888:9;3884:22;206:20;39488:5;37903:13;37896:21;39466:5;39463:32;39453:2;;-1:-1;;39499:12;39453:2;3856:60;;;;3652:280;;;;;;3939:366;;;4060:2;4048:9;4039:7;4035:23;4031:32;4028:2;;;-1:-1;;4066:12;4028:2;4128:53;4173:7;4149:22;4128:53;;;4118:63;4218:2;4257:22;;;;1514:20;;-1:-1;;;4022:283;4312:491;;;;4450:2;4438:9;4429:7;4425:23;4421:32;4418:2;;;-1:-1;;4456:12;4418:2;4518:53;4563:7;4539:22;4518:53;;;4508:63;4608:2;4647:22;;1514:20;;-1:-1;4716:2;4755:22;;;1514:20;;4412:391;-1:-1;;;4412:391;4810:239;;4913:2;4901:9;4892:7;4888:23;4884:32;4881:2;;;-1:-1;;4919:12;4881:2;352:6;339:20;364:32;390:5;364:32;;5056:261;;5170:2;5158:9;5149:7;5145:23;5141:32;5138:2;;;-1:-1;;5176:12;5138:2;491:6;485:13;503:32;529:5;503:32;;5324:347;;5438:2;5426:9;5417:7;5413:23;5409:32;5406:2;;;-1:-1;;5444:12;5406:2;5502:17;5489:31;5540:18;5532:6;5529:30;5526:2;;;-1:-1;;5562:12;5526:2;5592:63;5647:7;5638:6;5627:9;5623:22;5592:63;;5678:241;;5782:2;5770:9;5761:7;5757:23;5753:32;5750:2;;;-1:-1;;5788:12;5750:2;-1:-1;1514:20;;5744:175;-1:-1;5744:175;5926:263;;6041:2;6029:9;6020:7;6016:23;6012:32;6009:2;;;-1:-1;;6047:12;6009:2;-1:-1;1662:13;;6003:186;-1:-1;6003:186;7631:343;;7773:5;36383:12;36927:6;36922:3;36915:19;7866:52;7911:6;36964:4;36959:3;36955:14;36964:4;7892:5;7888:16;7866:52;;;35703:9;39246:14;-1:-1;;39242:28;7930:39;;;;36964:4;7930:39;;7721:253;-1:-1;;7721:253;19921:262;;8141:5;36383:12;8252:52;8297:6;8292:3;8285:4;8278:5;8274:16;8252:52;;;8316:16;;;;;20046:137;-1:-1;;20046:137;20190:1122;;8141:5;36383:12;8252:52;8297:6;8292:3;8285:4;8278:5;8274:16;8252:52;;;8325:6;8320:3;8316:16;-1:-1;;;11471:11;11464:35;8141:5;36383:12;8095:52;;8252;8297:6;11448:2;11522:3;11518:12;8285:4;8278:5;8274:16;8252:52;;;8325:6;11522:3;8316:16;-1:-1;;;11448:2;8316:16;;10038:32;8141:5;36383:12;8095:52;;8252;8297:6;10089:11;8316:16;10089:11;8285:4;8278:5;8274:16;8252:52;;;8316:16;;;10089:11;8316:16;;20615:697;-1:-1;;;;;;20615:697;21319:522;19593:37;;;21591:2;21582:12;;19593:37;;;;21693:12;;;19593:37;21804:12;;;21482:359;21848:213;-1:-1;;;;;38142:54;;;;6614:45;;21966:2;21951:18;;21937:124;22068:663;-1:-1;;;;;38142:54;;;6614:45;;38142:54;;22485:2;22470:18;;6614:45;22568:2;22553:18;;19593:37;;;22304:3;22605:2;22590:18;;22583:48;;;22068:663;;22645:76;;22289:19;;22707:6;22645:76;;;22637:84;22275:456;-1:-1;;;;;;22275:456;22738:324;-1:-1;;;;;38142:54;;;6614:45;;38142:54;;23048:2;23033:18;;6614:45;22884:2;22869:18;;22855:207;23416:201;37903:13;;37896:21;7585:34;;23528:2;23513:18;;23499:118;23624:301;;23762:2;23783:17;23776:47;23837:78;23762:2;23751:9;23747:18;23901:6;23837:78;;23932:407;24123:2;24137:47;;;9290:1;24108:18;;;36915:19;-1:-1;;;36955:14;;;9305:32;9356:12;;;24094:245;24346:407;24537:2;24551:47;;;9607:2;24522:18;;;36915:19;9643:34;36955:14;;;9623:55;-1:-1;;;9698:12;;;9691:26;9736:12;;;24508:245;24760:407;24951:2;24965:47;;;10339:2;24936:18;;;36915:19;10375:33;36955:14;;;10355:54;10428:12;;;24922:245;25174:407;25365:2;25379:47;;;10679:2;25350:18;;;36915:19;10715:34;36955:14;;;10695:55;-1:-1;;;10770:12;;;10763:42;10824:12;;;25336:245;25588:407;25779:2;25793:47;;;11075:2;25764:18;;;36915:19;11111:30;36955:14;;;11091:51;11161:12;;;25750:245;26002:407;26193:2;26207:47;;;11769:2;26178:18;;;36915:19;11805:34;36955:14;;;11785:55;-1:-1;;;11860:12;;;11853:28;11900:12;;;26164:245;26416:407;26607:2;26621:47;;;12151:2;26592:18;;;36915:19;12187:27;36955:14;;;12167:48;12234:12;;;26578:245;26830:407;27021:2;27035:47;;;12485:2;27006:18;;;36915:19;12521:66;36955:14;;;12501:87;12607:12;;;26992:245;27658:407;27849:2;27863:47;;;13242:2;27834:18;;;36915:19;13278:34;36955:14;;;13258:55;-1:-1;;;13333:12;;;13326:36;13381:12;;;27820:245;28072:407;28263:2;28277:47;;;13632:2;28248:18;;;36915:19;13668:34;36955:14;;;13648:55;13737:26;13723:12;;;13716:48;13783:12;;;28234:245;28486:407;28677:2;28691:47;;;14034:2;28662:18;;;36915:19;14070:34;36955:14;;;14050:55;-1:-1;;;14125:12;;;14118:34;14171:12;;;28648:245;28900:407;29091:2;29105:47;;;14422:2;29076:18;;;36915:19;14458:34;36955:14;;;14438:55;-1:-1;;;14513:12;;;14506:26;14551:12;;;29062:245;29314:407;29505:2;29519:47;;;29490:18;;;36915:19;14838:34;36955:14;;;14818:55;14892:12;;;29476:245;29728:407;29919:2;29933:47;;;15143:2;29904:18;;;36915:19;15179:66;36955:14;;;15159:87;15265:12;;;29890:245;30142:407;30333:2;30347:47;;;15516:2;30318:18;;;36915:19;15552:34;36955:14;;;15532:55;-1:-1;;;15607:12;;;15600:36;15655:12;;;30304:245;30556:407;30747:2;30761:47;;;15906:2;30732:18;;;36915:19;15942:34;36955:14;;;15922:55;-1:-1;;;15997:12;;;15990:33;16042:12;;;30718:245;30970:407;31161:2;31175:47;;;16293:2;31146:18;;;36915:19;-1:-1;;;36955:14;;;16309:39;16367:12;;;31132:245;31384:407;31575:2;31589:47;;;16618:2;31560:18;;;36915:19;16654:34;36955:14;;;16634:55;-1:-1;;;16709:12;;;16702:25;16746:12;;;31546:245;31798:407;31989:2;32003:47;;;16997:2;31974:18;;;36915:19;17033:34;36955:14;;;17013:55;-1:-1;;;17088:12;;;17081:41;17141:12;;;31960:245;32212:407;32403:2;32417:47;;;17392:2;32388:18;;;36915:19;17428:31;36955:14;;;17408:52;17479:12;;;32374:245;32626:407;32817:2;32831:47;;;17730:1;32802:18;;;36915:19;-1:-1;;;36955:14;;;17745:32;17796:12;;;32788:245;33040:342;;33222:3;33211:9;33207:19;33199:27;;18136:16;18130:23;19600:3;19593:37;18305:4;18298:5;18294:16;18288:23;18305:4;18369:3;18365:14;19593:37;18459:4;18452:5;18448:16;18442:23;18459:4;18523:3;18519:14;19593:37;18619:4;18612:5;18608:16;18602:23;18619:4;18683:3;18679:14;19593:37;18772:4;18765:5;18761:16;18755:23;18772:4;18836:3;18832:14;19593:37;18939:4;18932:5;18928:16;18922:23;18939:4;19003:3;18999:14;19593:37;19107:4;19100:5;19096:16;19090:23;19107:4;19171:3;19167:14;19593:37;19262:4;19255:5;19251:16;19245:23;19262:4;19326:3;19322:14;19593:37;19425:6;;19418:5;19414:18;19408:25;19425:6;19491:3;19487:16;19593:37;;33193:189;;;;;33389:213;19593:37;;;33507:2;33492:18;;33478:124;33609:472;;33805:2;33794:9;33790:18;19623:5;19600:3;19593:37;33923:2;33805;33923;33912:9;33908:18;33901:48;33963:108;7015:5;36383:12;36927:6;36922:3;36915:19;36955:14;33794:9;36955:14;7027:93;;33923:2;7191:5;36237:14;7203:21;;-1:-1;7230:260;7255:6;7252:1;7249:13;7230:260;;;7316:13;;19593:37;;36770:14;;;;6350;;;;7277:1;7270:9;7230:260;;;-1:-1;33955:116;;33776:305;-1:-1;;;;;;;33776:305;34088:1107;19593:37;;;34595:2;34580:18;;19593:37;;;;34678:2;34663:18;;19593:37;;;;34761:2;34746:18;;19593:37;;;;34844:3;34829:19;;19593:37;;;;34928:3;34913:19;;19593:37;35012:3;34997:19;;19593:37;35096:3;35081:19;;19593:37;35180:3;35165:19;;19593:37;34430:3;34415:19;;34401:794;38821:268;38886:1;38893:101;38907:6;38904:1;38901:13;38893:101;;;38974:11;;;38968:18;38955:11;;;38948:39;38929:2;38922:10;38893:101;;;39009:6;39006:1;39003:13;39000:2;;;-1:-1;;38886:1;39056:16;;39049:27;38870:219;39283:117;-1:-1;;;;;38142:54;;39342:35;;39332:2;;39391:1;;39381:12;39525:115;-1:-1;;;;;;37990:78;;39583:34;;39573:2;;39631:1;;39621:12
Swarm Source
ipfs://9ef421aeba3833638bf48bbeac76c5877db2e0e96c502052b53029b7d6c04377
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.