ERC-721
Overview
Max Total Supply
0 FLSoc
Holders
213
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 FLSocLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FameLadySociety
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.8.9 <0.9.0; /* .... .......';;... .... ...... ...''. .. .... .......... ... ...... ...'''. .. .. .. .... ......'.. .. ... .. .... ................ .. .. .'.... ...'.....'......... .. .. .. ... ..''......'.......... .. ... ... ... ....'''......'.......... .. ... .. ... ...............'........... .. ... .. .. ........'..................'. .. ... .. ... .........'...................'. .. ... .. ..... .........'...................... .. ... .. ... ... .........''........'............. .. .. .. .. ... ... .....'........'.............. .. .. .. .. ... ... ....'.........'.......... .. ... .. .. ... .. .. .............'.......... .. .. .. .. .. .. .. .'..........'......... .. .. .. .. .. .. .. ..'................... .. ... .. .. .. .. .. ............'........ .. ... ... .. .. .. .. ............'....... .. ... .. .. .. .. .. ............'...... ... .'. .. ... .. .. .. ............''...... .. .'. .. .. ... .. .. ............'.... .. .'. .. .. .. .. ... .............'. .. .'. .. .. .. .. .. .'....... ... .. .'. .. .. .. .. .. ........ .. .. .... .. ... .. . .. ...'.. .. .. ... .. .. .. . .. ...'. .. .. .. .. .. .. . .. ... .. .. .. .. .. . .. .. .. .. .':cllc;,... ... .. .. .. .. ... .. .'codddddoolcc:;'... .. .. .. ... .. .. .. .,clllcccccccccllloddo:'..... .. .. .';:;;,. .. .. .. .,:clllllloodddddddddddddddlc:;;,.. . .,:coddddddc. .. .. .. .;lddddddddddddddddddddddddddddolcldol:;'.. .':lddddddddddc. .. .. .. 'ldddollooollllc:;;,''......',;coddllodddddoc:;,,,,,,:ldoc;,''',;:cl:. ... .. .. ,odddl:............',;;,..''.. .,cdoooddddddddddddodo:'. .. .. .. .. .ldddddoc,. .coxOKXNWXOdlOXKkxxd,. .'ldodddddddddddddc..':oc;lkOkxl'''. .. ... .. ;dddddddddoc;oKMMMMMMMk;lKW0:..;O0:co,.:ooddddddddddl;'ckXWNdkWKc,:Okdx, .. .. .. .:ddddddddddddoo0WMMMMMk;lKW0, 'O0lkMXx;:oddddddddddcc0WMMMXdOWk. .xOdc. .. .. .. 'oddddddddddddooxKWMMMN0xoONXOkOkoxNMWNkclddddddddddoxXWMMMWOd0N0kOOdxc .. .. .. ;ddddddddddddddoldOKWMMW0xxkkxdoxOOkxdoodddddddddddoclxk0XWWKkkkkkkOx' ... ... .. ,odddddddddddddolclodddxxxoololllloddddddddddddddddlcoollodkkkkxxxoc. .. .. ... .,oddddddddddddddddoollcclllooodddddddddddddddddddddlldddoolccccclol' .. .. .. . 'cddddddddddddddddddddddddddddddddddddddoollllloddollodddddddddddo' .. .. .. .,ldddddddddddddddddddddoollll::;;,,'..... ...'';;;:lodddddol:;. ... ... ... .':loodoollc:;;,,''...... .. ... ...',,'.. ... ... .. .. ...... ... .. ... ....... ... ... .. ... .. .. .. .. ... ... .. ... ... .'. .. .. ... .. .... ... ... .. .'. .. .. .. .. ... ... ... ... .'. .. ... .'. . .. .. ... ... .... .. ... .'. .. .. .. .. ... ... .. .'. .. .. ... .. .. .. .. ....'''. .. .. .. .. .. .. .. .. .';:clodddddoc'. ... .. .. ... .. .. .. ... .;codddddddddlllllc,. .. .. .. .. .. ... .. .. ,odddddddooooooodooool:...... ..... .. .. ... ... .. 'odddddocccclooooollllll'..... . ... .. ... .. .... .. .colccclccloooddddddoodo;...'. .... .. .. .'. .. ,oc:clodddolloooooooooo:. ..'. .'. .. .. .'. .. .:ddddddddddooooooooooc. .... .'. ... .. .... .. ,odddddddddddddddddo, ..... .... .. ... ... .. .;lodddddddddddddo;...... .. .. . ... .. .'. .. .',;::::::;;,.. ..... ..','. .. .... .. ... .. .'.. ...''..... .. .. ... .. .. .'.. .''.. .'. ... .. .. .. ... ..'. .... .. .'. .. .. ... .. ... ... .. .'. .. .. .. .. ... .. .. .'. .. . .. ..... .. .'. ... .. ... .. ... .. . .. .. .'. .. . .... .. .'. .. .. .. .. .. .. .. .. .. .. . */ import {WrappedNFT} from "./WrappedNFT.sol"; contract FameLadySociety is WrappedNFT { constructor( string memory name, string memory symbol, address nftContract, address tokenRenderer ) WrappedNFT(name, symbol, nftContract, tokenRenderer) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(account), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (access/Ownable2Step.sol) pragma solidity ^0.8.0; import "./Ownable.sol"; /** * @dev Contract module which provides access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership} and {acceptOwnership}. * * This module is used through inheritance. It will make available all functions * from parent (Ownable). */ abstract contract Ownable2Step is Ownable { address private _pendingOwner; event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner); /** * @dev Returns the address of the pending owner. */ function pendingOwner() public view virtual returns (address) { return _pendingOwner; } /** * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual override onlyOwner { _pendingOwner = newOwner; emit OwnershipTransferStarted(owner(), newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner. * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual override { delete _pendingOwner; super._transferOwnership(newOwner); } /** * @dev The new owner accepts the ownership transfer. */ function acceptOwnership() external { address sender = _msgSender(); require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner"); _transferOwnership(sender); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @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`. * * 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; /** * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^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 meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.16; interface IERC4906 { /// @dev This event emits when the metadata of a token is changed. /// So that the third-party platforms such as NFT market could /// timely update the images and related attributes of the NFT. event MetadataUpdate(uint256 _tokenId); /// @dev This event emits when the metadata of a range of tokens is changed. /// So that the third-party platforms such as NFT market could /// timely update the images and related attributes of the NFTs. event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId); }
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.8.9 <0.9.0; interface ITokenURIGenerator { function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.16; import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import {IERC2981} from "@openzeppelin/contracts/interfaces/IERC2981.sol"; import {AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol"; import {ERC721} from "solmate/src/tokens/ERC721.sol"; import {Ownable2Step} from "@openzeppelin/contracts/access/Ownable2Step.sol"; import {OperatorFilterer} from "operator-filter-registry/src/OperatorFilterer.sol"; import {CANONICAL_CORI_SUBSCRIPTION} from "operator-filter-registry/src/lib/Constants.sol"; import {ITokenURIGenerator} from "./ITokenURIGenerator.sol"; import {IERC4906} from "./IERC4906.sol"; contract WrappedNFT is AccessControl, ERC721, Ownable2Step, OperatorFilterer, IERC4906 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo public defaultRoyaltyInfo; IERC721 public immutable wrappedNft; ITokenURIGenerator public renderer; uint256 public wrapCost = 0; address private devDonationAddress; string private conractMetadataURI; mapping(uint256 => bool) public claimed; bytes32 public constant TREASURER_ROLE = keccak256("TREASURER_ROLE"); bytes32 public constant EMIT_METADATA_ROLE = keccak256("EMIT_METADATA_ROLE"); bytes32 public constant UPDATE_RENDERER_ROLE = keccak256("UPDATE_RENDERER_ROLE"); error MustWrapOneToken(); error MustOwnToken(uint256 tokenId); error TokenNotWrapped(uint256 tokenId); error NotEnoughEther(uint256 required); error DevTipFailed(); error WithdrawFailed(); error NoContractUri(); constructor( string memory name, string memory symbol, address nftContract, address tokenRenderer ) ERC721(name, symbol) OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) { wrappedNft = IERC721(nftContract); renderer = ITokenURIGenerator(tokenRenderer); transferOwnership(msg.sender); _grantRole(AccessControl.DEFAULT_ADMIN_ROLE, msg.sender); devDonationAddress = msg.sender; } /** * @dev Wraps multiple tokens in a single transaction and sends them to the caller * * @param tokenIds the tokens to wrap */ function wrap(uint256[] calldata tokenIds) public payable { wrapTo(msg.sender, tokenIds); } /** * @dev Wraps multiple tokens in a single transaction and sends them to the specified address * * @param to the address to send the wrapped tokens to * @param tokenIds the tokens to wrap */ function wrapTo(address to, uint256[] calldata tokenIds) public payable { if (tokenIds.length == 0) revert MustWrapOneToken(); uint256 totalCost = wrapCost * tokenIds.length; if (msg.value < totalCost) revert NotEnoughEther(totalCost); // leftover value is sent to the dev donation address if (msg.value > totalCost) { (bool sent, ) = payable(devDonationAddress).call{ value: msg.value - totalCost }(""); if (!sent) revert DevTipFailed(); } for (uint256 i = 0; i < tokenIds.length; i++) { // Don't use safeTransferFrom as we don't want to trigger the onERC721Received wrappedNft.transferFrom(msg.sender, address(this), tokenIds[i]); _mint(to, tokenIds[i]); } } /** * Called when an ERC721 is sent to the contract. If it's an a token we can wrap then send back a wrapped token */ function onERC721Received( address from, address, uint256 tokenId, bytes calldata ) external returns (bytes4) { // Check that we now own token if (wrappedNft.ownerOf(tokenId) != address(this)) revert MustOwnToken(tokenId); // Can only succeed if the token does not already exist _mint(from, tokenId); // Done return this.onERC721Received.selector; } /** * @dev Unwraps a token and sends it to the specified address * * @param to the address to send the wrapped tokens to * @param tokenId the token to unwrap */ function unwrap(address to, uint256 tokenId) public { if (!isWrapped(tokenId)) revert TokenNotWrapped(tokenId); if (ownerOf(tokenId) != msg.sender) revert MustOwnToken(tokenId); _burn(tokenId); wrappedNft.safeTransferFrom(address(this), to, tokenId); emit MetadataUpdate(tokenId); } /** * @dev Unwraps multiple tokens in a single transaction and sends them to the specified address * * @param to the address to send the wrapped tokens to * @param tokenIds the tokens to unwrap */ function unwrapMany(address to, uint256[] calldata tokenIds) public { for (uint256 i = 0; i < tokenIds.length; i++) { unwrap(to, tokenIds[i]); } } /** * @dev Returns the URI for a given token ID * * @param tokenId the tokens ID to retrieve metadata for */ function tokenURI( uint256 tokenId ) public view override returns (string memory) { return renderer.tokenURI(tokenId); } /** * @dev Returns the contract URI */ function contractURI() public view returns (string memory) { if (bytes(conractMetadataURI).length == 0) revert NoContractUri(); return conractMetadataURI; } /** * @dev allows the renderer to emit a metadata update event when metadata changes * * @param tokenId the token ID to emit an update for */ function emitMetadataUpdate( uint256 tokenId ) public onlyRole(EMIT_METADATA_ROLE) { emit MetadataUpdate(tokenId); } /** * @dev Tests if the contract supports an interface * * @param interfaceId the interface to test */ function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC721, AccessControl) returns (bool) { return interfaceId == type(IERC2981).interfaceId || interfaceId == bytes4(0x49064906) || super.supportsInterface(interfaceId); } function setApprovalForAll( address operator, bool approved ) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve( address operator, uint256 tokenId ) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo( uint256, uint256 _salePrice ) public view returns (address, uint256 royaltyAmount) { royaltyAmount = (_salePrice * defaultRoyaltyInfo.royaltyFraction) / 10000; return (defaultRoyaltyInfo.receiver, royaltyAmount); } /** * @dev Withdraws all the funds in the contract */ function withdraw() public onlyRole(TREASURER_ROLE) { address royaltyReceiver = defaultRoyaltyInfo.receiver; (bool sent, ) = payable(royaltyReceiver).call{ value: address(this).balance }(""); if (!sent) revert WithdrawFailed(); } /** * @dev Returns true of the tokenId is wrapped (owned by this contract) * * @param tokenId the token to check if wrapped * @return bool */ function isWrapped(uint256 tokenId) public view returns (bool) { return wrappedNft.ownerOf(tokenId) == address(this); } /** * @dev Updates the renderer to a new render contract. Can only be called by an address with the UPDATE_RENDERER_ROLE. Emits an EIP4906 BatchMetadataUpdate event * * @param newRenderer the new renderer */ function setRenderer( address newRenderer ) public onlyRole(UPDATE_RENDERER_ROLE) { _revokeRole(EMIT_METADATA_ROLE, address(renderer)); renderer = ITokenURIGenerator(newRenderer); _grantRole(EMIT_METADATA_ROLE, address(renderer)); emit BatchMetadataUpdate(0, 10000); } function setContractURI( string memory uri ) public onlyRole(UPDATE_RENDERER_ROLE) { conractMetadataURI = uri; } /** * @dev Updates the EIP2981 Royalty info * * @param receiver The receiver of royalties * @param feeNumerator The royalty percent in basis points so 500 = 5% */ function setDefaultRoyalty( address receiver, uint96 feeNumerator ) public onlyRole(TREASURER_ROLE) { defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Returns the EIP2981 royalty info for a token * * @param cost the cost to wrap one token */ function setWrapCost(uint256 cost) public onlyRole(TREASURER_ROLE) { wrapCost = cost; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern, minimalist, and gas efficient ERC-721 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 id) public view virtual returns (string memory); /*////////////////////////////////////////////////////////////// ERC721 BALANCE/OWNER STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) internal _ownerOf; mapping(address => uint256) internal _balanceOf; function ownerOf(uint256 id) public view virtual returns (address owner) { require((owner = _ownerOf[id]) != address(0), "NOT_MINTED"); } function balanceOf(address owner) public view virtual returns (uint256) { require(owner != address(0), "ZERO_ADDRESS"); return _balanceOf[owner]; } /*////////////////////////////////////////////////////////////// ERC721 APPROVAL STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) public getApproved; mapping(address => mapping(address => bool)) public isApprovedForAll; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 id) public virtual { address owner = _ownerOf[id]; require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED"); getApproved[id] = spender; emit Approval(owner, spender, id); } function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function transferFrom( address from, address to, uint256 id ) public virtual { require(from == _ownerOf[id], "WRONG_FROM"); require(to != address(0), "INVALID_RECIPIENT"); require( msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id], "NOT_AUTHORIZED" ); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _balanceOf[from]--; _balanceOf[to]++; } _ownerOf[id] = to; delete getApproved[id]; emit Transfer(from, to, id); } function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 id) internal virtual { require(to != address(0), "INVALID_RECIPIENT"); require(_ownerOf[id] == address(0), "ALREADY_MINTED"); // Counter overflow is incredibly unrealistic. unchecked { _balanceOf[to]++; } _ownerOf[id] = to; emit Transfer(address(0), to, id); } function _burn(uint256 id) internal virtual { address owner = _ownerOf[id]; require(owner != address(0), "NOT_MINTED"); // Ownership check above ensures no underflow. unchecked { _balanceOf[owner]--; } delete _ownerOf[id]; delete getApproved[id]; emit Transfer(owner, address(0), id); } /*////////////////////////////////////////////////////////////// INTERNAL SAFE MINT LOGIC //////////////////////////////////////////////////////////////*/ function _safeMint(address to, uint256 id) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function _safeMint( address to, uint256 id, bytes memory data ) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } } /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721TokenReceiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721TokenReceiver.onERC721Received.selector; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"address","name":"tokenRenderer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"DevTipFailed","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MustOwnToken","type":"error"},{"inputs":[],"name":"MustWrapOneToken","type":"error"},{"inputs":[],"name":"NoContractUri","type":"error"},{"inputs":[{"internalType":"uint256","name":"required","type":"uint256"}],"name":"NotEnoughEther","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenNotWrapped","type":"error"},{"inputs":[],"name":"WithdrawFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","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":"uint256","name":"_fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"MetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EMIT_METADATA_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPDATE_RENDERER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultRoyaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"royaltyFraction","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"emitMetadataUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isWrapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renderer","outputs":[{"internalType":"contract ITokenURIGenerator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRenderer","type":"address"}],"name":"setRenderer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cost","type":"uint256"}],"name":"setWrapCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unwrapMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"wrap","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wrapCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"wrapTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wrappedNft","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040526000600b553480156200001657600080fd5b5060405162005c7a38038062005c7a83398181016040528101906200003c919062000957565b83838383733cc6cdda760b79bafa08df41ecfa224f810dceb66001858581600190816200006a919062000c52565b5080600290816200007c919062000c52565b5050506200009f620000936200038060201b60201c565b6200038860201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002945780156200015a576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200012092919062000d4a565b600060405180830381600087803b1580156200013b57600080fd5b505af115801562000150573d6000803e3d6000fd5b5050505062000293565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000214576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620001da92919062000d4a565b600060405180830381600087803b158015620001f557600080fd5b505af11580156200020a573d6000803e3d6000fd5b5050505062000292565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200025d919062000d77565b600060405180830381600087803b1580156200027857600080fd5b505af11580156200028d573d6000803e3d6000fd5b505050505b5b5b50508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200031c33620003c660201b60201c565b620003316000801b336200048360201b60201c565b33600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050505062000e17565b600033905090565b600860006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055620003c3816200057460201b620020151760201c565b50565b620003d66200063a60201b60201c565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff166200043e620006cb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b620004958282620006f560201b60201c565b6200057057600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620005156200038060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200064a6200038060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000670620006cb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620006c9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006c09062000df5565b60405180910390fd5b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620007c8826200077d565b810181811067ffffffffffffffff82111715620007ea57620007e96200078e565b5b80604052505050565b6000620007ff6200075f565b90506200080d8282620007bd565b919050565b600067ffffffffffffffff82111562000830576200082f6200078e565b5b6200083b826200077d565b9050602081019050919050565b60005b83811015620008685780820151818401526020810190506200084b565b60008484015250505050565b60006200088b620008858462000812565b620007f3565b905082815260208101848484011115620008aa57620008a962000778565b5b620008b784828562000848565b509392505050565b600082601f830112620008d757620008d662000773565b5b8151620008e984826020860162000874565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200091f82620008f2565b9050919050565b620009318162000912565b81146200093d57600080fd5b50565b600081519050620009518162000926565b92915050565b6000806000806080858703121562000974576200097362000769565b5b600085015167ffffffffffffffff8111156200099557620009946200076e565b5b620009a387828801620008bf565b945050602085015167ffffffffffffffff811115620009c757620009c66200076e565b5b620009d587828801620008bf565b9350506040620009e88782880162000940565b9250506060620009fb8782880162000940565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000a5a57607f821691505b60208210810362000a705762000a6f62000a12565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000ada7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000a9b565b62000ae6868362000a9b565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000b3362000b2d62000b278462000afe565b62000b08565b62000afe565b9050919050565b6000819050919050565b62000b4f8362000b12565b62000b6762000b5e8262000b3a565b84845462000aa8565b825550505050565b600090565b62000b7e62000b6f565b62000b8b81848462000b44565b505050565b5b8181101562000bb35762000ba760008262000b74565b60018101905062000b91565b5050565b601f82111562000c025762000bcc8162000a76565b62000bd78462000a8b565b8101602085101562000be7578190505b62000bff62000bf68562000a8b565b83018262000b90565b50505b505050565b600082821c905092915050565b600062000c276000198460080262000c07565b1980831691505092915050565b600062000c42838362000c14565b9150826002028217905092915050565b62000c5d8262000a07565b67ffffffffffffffff81111562000c795762000c786200078e565b5b62000c85825462000a41565b62000c9282828562000bb7565b600060209050601f83116001811462000cca576000841562000cb5578287015190505b62000cc1858262000c34565b86555062000d31565b601f19841662000cda8662000a76565b60005b8281101562000d045784890151825560018201915060208501945060208101905062000cdd565b8683101562000d24578489015162000d20601f89168262000c14565b8355505b6001600288020188555050505b505050505050565b62000d448162000912565b82525050565b600060408201905062000d61600083018562000d39565b62000d70602083018462000d39565b9392505050565b600060208201905062000d8e600083018462000d39565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000ddd60208362000d94565b915062000dea8262000da5565b602082019050919050565b6000602082019050818103600083015262000e108162000dce565b9050919050565b608051614e2b62000e4f60003960008181610ad301528181610d9e015281816110e4015281816114150152611a440152614e2b6000f3fe6080604052600436106102875760003560e01c806370a082311161015a578063c87b56dd116100c1578063e30c39781161007a578063e30c3978146109bf578063e8a3d485146109ea578063e985e9c514610a15578063f0a3a97c14610a52578063f2fde38b14610a7d578063fdf1329d14610aa657610287565b8063c87b56dd146108ac578063ca5eb5cb146108e9578063cc17a5bf14610912578063d3917dff1461092e578063d547741f14610959578063dbe7e3bd1461098257610287565b806391d148541161011357806391d148541461079e578063938e3d7b146107db57806395d89b4114610804578063a217fddf1461082f578063a22cb4651461085a578063b88d4fde1461088357610287565b806370a08231146106a0578063715018a6146106dd57806379ba5097146106f45780638ada6b0f1461070b5780638da5cb5b14610736578063902f5e3a1461076157610287565b80632a55205a116101fe578063409cf8d4116101b7578063409cf8d41461059257806341f43434146105bd57806342842e0e146105e857806344a66c441461061157806356d3163d1461063a5780636352211e1461066357610287565b80632a55205a146104995780632f2ff15d146104d75780633190b9ea1461050057806336568abe1461052957806339f47693146105525780633ccfd60b1461057b57610287565b8063095ea7b311610250578063095ea7b314610385578063150b7a02146103ae5780631eb821ed146103eb57806323b872dd14610417578063248a9ca3146104405780632926835a1461047d57610287565b8062f736631461028c57806301ffc9a7146102b757806304634d8d146102f457806306fdde031461031d578063081812fc14610348575b600080fd5b34801561029857600080fd5b506102a1610ad1565b6040516102ae9190613593565b60405180910390f35b3480156102c357600080fd5b506102de60048036038101906102d9919061361a565b610af5565b6040516102eb9190613662565b60405180910390f35b34801561030057600080fd5b5061031b600480360381019061031691906136ff565b610bbe565b005b34801561032957600080fd5b50610332610ca9565b60405161033f91906137cf565b60405180910390f35b34801561035457600080fd5b5061036f600480360381019061036a9190613827565b610d37565b60405161037c9190613863565b60405180910390f35b34801561039157600080fd5b506103ac60048036038101906103a7919061387e565b610d6a565b005b3480156103ba57600080fd5b506103d560048036038101906103d09190613923565b610d83565b6040516103e291906139ba565b60405180910390f35b3480156103f757600080fd5b50610400610eab565b60405161040e9291906139e4565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190613a0d565b610ef5565b005b34801561044c57600080fd5b5061046760048036038101906104629190613a96565b610f44565b6040516104749190613ad2565b60405180910390f35b61049760048036038101906104929190613b43565b610f63565b005b3480156104a557600080fd5b506104c060048036038101906104bb9190613ba3565b6111c7565b6040516104ce929190613bf2565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f99190613c1b565b61123f565b005b34801561050c57600080fd5b5061052760048036038101906105229190613827565b611260565b005b34801561053557600080fd5b50610550600480360381019061054b9190613c1b565b6112c5565b005b34801561055e57600080fd5b506105796004803603810190610574919061387e565b611348565b005b34801561058757600080fd5b506105906114dd565b005b34801561059e57600080fd5b506105a76115d9565b6040516105b49190613ad2565b60405180910390f35b3480156105c957600080fd5b506105d26115fd565b6040516105df9190613c7c565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a9190613a0d565b61160f565b005b34801561061d57600080fd5b5061063860048036038101906106339190613827565b61165e565b005b34801561064657600080fd5b50610661600480360381019061065c9190613c97565b611693565b005b34801561066f57600080fd5b5061068a60048036038101906106859190613827565b6117d6565b6040516106979190613863565b60405180910390f35b3480156106ac57600080fd5b506106c760048036038101906106c29190613c97565b611881565b6040516106d49190613cc4565b60405180910390f35b3480156106e957600080fd5b506106f2611938565b005b34801561070057600080fd5b5061070961194c565b005b34801561071757600080fd5b506107206119d9565b60405161072d9190613d00565b60405180910390f35b34801561074257600080fd5b5061074b6119ff565b6040516107589190613863565b60405180910390f35b34801561076d57600080fd5b5061078860048036038101906107839190613827565b611a29565b6040516107959190613662565b60405180910390f35b3480156107aa57600080fd5b506107c560048036038101906107c09190613c1b565b611afa565b6040516107d29190613662565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd9190613e4b565b611b64565b005b34801561081057600080fd5b50610819611ba2565b60405161082691906137cf565b60405180910390f35b34801561083b57600080fd5b50610844611c30565b6040516108519190613ad2565b60405180910390f35b34801561086657600080fd5b50610881600480360381019061087c9190613ec0565b611c37565b005b34801561088f57600080fd5b506108aa60048036038101906108a59190613923565b611c50565b005b3480156108b857600080fd5b506108d360048036038101906108ce9190613827565b611ca3565b6040516108e091906137cf565b60405180910390f35b3480156108f557600080fd5b50610910600480360381019061090b9190613b43565b611d4d565b005b61092c60048036038101906109279190613f00565b611d97565b005b34801561093a57600080fd5b50610943611da6565b6040516109509190613cc4565b60405180910390f35b34801561096557600080fd5b50610980600480360381019061097b9190613c1b565b611dac565b005b34801561098e57600080fd5b506109a960048036038101906109a49190613827565b611dcd565b6040516109b69190613662565b60405180910390f35b3480156109cb57600080fd5b506109d4611ded565b6040516109e19190613863565b60405180910390f35b3480156109f657600080fd5b506109ff611e17565b604051610a0c91906137cf565b60405180910390f35b348015610a2157600080fd5b50610a3c6004803603810190610a379190613f4d565b611ef1565b604051610a499190613662565b60405180910390f35b348015610a5e57600080fd5b50610a67611f20565b604051610a749190613ad2565b60405180910390f35b348015610a8957600080fd5b50610aa46004803603810190610a9f9190613c97565b611f44565b005b348015610ab257600080fd5b50610abb611ff1565b604051610ac89190613ad2565b60405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ba75750634906490660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bb75750610bb6826120db565b5b9050919050565b7f3496e2e73c4d42b75d702e60d9e48102720b8691234415963a5a857b86425d07610be88161216d565b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b60018054610cb690613fbc565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce290613fbc565b8015610d2f5780601f10610d0457610100808354040283529160200191610d2f565b820191906000526020600020905b815481529060010190602001808311610d1257829003601f168201915b505050505081565b60056020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b81610d7481612181565b610d7e838361227e565b505050565b60003073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff1660e01b8152600401610df59190613cc4565b602060405180830381865afa158015610e12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e369190614002565b73ffffffffffffffffffffffffffffffffffffffff1614610e8e57836040517f9ebd6b2a000000000000000000000000000000000000000000000000000000008152600401610e859190613cc4565b60405180910390fd5b610e988685612467565b63150b7a0260e01b905095945050505050565b60098060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a90046bffffffffffffffffffffffff16905082565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f3357610f3233612181565b5b610f3e848484612679565b50505050565b6000806000838152602001908152602001600020600101549050919050565b60008282905003610fa0576040517fa263860700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082829050600b54610fb3919061405e565b905080341015610ffa57806040517fe1340304000000000000000000000000000000000000000000000000000000008152600401610ff19190613cc4565b60405180910390fd5b803411156110d4576000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16823461104991906140a0565b60405161105590614105565b60006040518083038185875af1925050503d8060008114611092576040519150601f19603f3d011682016040523d82523d6000602084013e611097565b606091505b50509050806110d2576040517f547fc55b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b60005b838390508110156111c0577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd33308787868181106111335761113261411a565b5b905060200201356040518463ffffffff1660e01b815260040161115893929190614149565b600060405180830381600087803b15801561117257600080fd5b505af1158015611186573d6000803e3d6000fd5b505050506111ad858585848181106111a1576111a061411a565b5b90506020020135612467565b80806111b890614180565b9150506110d7565b5050505050565b600080612710600960000160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1684611204919061405e565b61120e91906141f7565b9050600960000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509250929050565b61124882610f44565b6112518161216d565b61125b8383612a78565b505050565b7f0fedf400ddee1523df439cc881be645427551f7704646604bbc0c43b6c00e20861128a8161216d565b7ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7826040516112b99190613cc4565b60405180910390a15050565b6112cd612b58565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461133a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113319061429a565b60405180910390fd5b6113448282612b60565b5050565b61135181611a29565b61139257806040517f126072590000000000000000000000000000000000000000000000000000000081526004016113899190613cc4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166113b2826117d6565b73ffffffffffffffffffffffffffffffffffffffff161461140a57806040517f9ebd6b2a0000000000000000000000000000000000000000000000000000000081526004016114019190613cc4565b60405180910390fd5b61141381612c41565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166342842e0e3084846040518463ffffffff1660e01b815260040161147093929190614149565b600060405180830381600087803b15801561148a57600080fd5b505af115801561149e573d6000803e3d6000fd5b505050507ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7816040516114d19190613cc4565b60405180910390a15050565b7f3496e2e73c4d42b75d702e60d9e48102720b8691234415963a5a857b86425d076115078161216d565b6000600960000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff164760405161155790614105565b60006040518083038185875af1925050503d8060008114611594576040519150601f19603f3d011682016040523d82523d6000602084013e611599565b606091505b50509050806115d4576040517f750b219c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b7f0fedf400ddee1523df439cc881be645427551f7704646604bbc0c43b6c00e20881565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461164d5761164c33612181565b5b611658848484612e04565b50505050565b7f3496e2e73c4d42b75d702e60d9e48102720b8691234415963a5a857b86425d076116888161216d565b81600b819055505050565b7faf42e7e9bd8391325ae859004d10f67ab627c4b6572f4202d394d9e87946856e6116bd8161216d565b6117097f0fedf400ddee1523df439cc881be645427551f7704646604bbc0c43b6c00e208600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612b60565b81600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506117967f0fedf400ddee1523df439cc881be645427551f7704646604bbc0c43b6c00e208600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612a78565b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c60006127106040516117ca929190614330565b60405180910390a15050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff160361187c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611873906143a5565b60405180910390fd5b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e890614411565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611940612f3c565b61194a6000612fba565b565b6000611956612b58565b90508073ffffffffffffffffffffffffffffffffffffffff16611977611ded565b73ffffffffffffffffffffffffffffffffffffffff16146119cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c4906144a3565b60405180910390fd5b6119d681612fba565b50565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60003073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401611a9b9190613cc4565b602060405180830381865afa158015611ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611adc9190614002565b73ffffffffffffffffffffffffffffffffffffffff16149050919050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7faf42e7e9bd8391325ae859004d10f67ab627c4b6572f4202d394d9e87946856e611b8e8161216d565b81600d9081611b9d9190614665565b505050565b60028054611baf90613fbc565b80601f0160208091040260200160405190810160405280929190818152602001828054611bdb90613fbc565b8015611c285780601f10611bfd57610100808354040283529160200191611c28565b820191906000526020600020905b815481529060010190602001808311611c0b57829003601f168201915b505050505081565b6000801b81565b81611c4181612181565b611c4b8383612feb565b505050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c8e57611c8d33612181565b5b611c9b86868686866130e8565b505050505050565b6060600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b8152600401611d009190613cc4565b600060405180830381865afa158015611d1d573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611d4691906147a7565b9050919050565b60005b82829050811015611d9157611d7e84848484818110611d7257611d7161411a565b5b90506020020135611348565b8080611d8990614180565b915050611d50565b50505050565b611da2338383610f63565b5050565b600b5481565b611db582610f44565b611dbe8161216d565b611dc88383612b60565b505050565b600e6020528060005260406000206000915054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606000600d8054611e2890613fbc565b905003611e61576040517fb9745e2000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d8054611e6e90613fbc565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9a90613fbc565b8015611ee75780601f10611ebc57610100808354040283529160200191611ee7565b820191906000526020600020905b815481529060010190602001808311611eca57829003601f168201915b5050505050905090565b60066020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b7f3496e2e73c4d42b75d702e60d9e48102720b8691234415963a5a857b86425d0781565b611f4c612f3c565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16611fac6119ff565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b7faf42e7e9bd8391325ae859004d10f67ab627c4b6572f4202d394d9e87946856e81565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061213657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121665750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b61217e81612179612b58565b613226565b50565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561227b576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016121f89291906147f0565b602060405180830381865afa158015612215573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612239919061482e565b61227a57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016122719190613863565b60405180910390fd5b5b50565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806123765750600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6123b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ac906148a7565b60405180910390fd5b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cd90614913565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256f9061497f565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461271a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612711906149eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278090614913565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806128495750600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b806128b257506005600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6128f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e8906148a7565b60405180910390fd5b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506005600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612a828282611afa565b612b5457600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612af9612b58565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b612b6a8282611afa565b15612c3d57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612be2612b58565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdf906143a5565b60405180910390fd5b600460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001900391905055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556005600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612e0f838383610ef5565b60008273ffffffffffffffffffffffffffffffffffffffff163b1480612ef8575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b8152600401612e9493929190614a3f565b6020604051808303816000875af1158015612eb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed79190614a9e565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b612f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2e90614b17565b60405180910390fd5b505050565b612f44612b58565b73ffffffffffffffffffffffffffffffffffffffff16612f626119ff565b73ffffffffffffffffffffffffffffffffffffffff1614612fb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612faf90614b83565b60405180910390fd5b565b600860006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055612fe881612015565b50565b80600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130dc9190613662565b60405180910390a35050565b6130f3858585610ef5565b60008473ffffffffffffffffffffffffffffffffffffffff163b14806131e0575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b815260040161317c959493929190614bd0565b6020604051808303816000875af115801561319b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131bf9190614a9e565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b61321f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161321690614b17565b60405180910390fd5b5050505050565b6132308282611afa565b6132a75761323d816132ab565b61324b8360001c60206132d8565b60405160200161325c929190614cf2565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329e91906137cf565b60405180910390fd5b5050565b60606132d18273ffffffffffffffffffffffffffffffffffffffff16601460ff166132d8565b9050919050565b6060600060028360026132eb919061405e565b6132f59190614d2c565b67ffffffffffffffff81111561330e5761330d613d20565b5b6040519080825280601f01601f1916602001820160405280156133405781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106133785761337761411a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106133dc576133db61411a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261341c919061405e565b6134269190614d2c565b90505b60018111156134c6577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106134685761346761411a565b5b1a60f81b82828151811061347f5761347e61411a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806134bf90614d60565b9050613429565b506000841461350a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350190614dd5565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061355961355461354f84613514565b613534565b613514565b9050919050565b600061356b8261353e565b9050919050565b600061357d82613560565b9050919050565b61358d81613572565b82525050565b60006020820190506135a86000830184613584565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135f7816135c2565b811461360257600080fd5b50565b600081359050613614816135ee565b92915050565b6000602082840312156136305761362f6135b8565b5b600061363e84828501613605565b91505092915050565b60008115159050919050565b61365c81613647565b82525050565b60006020820190506136776000830184613653565b92915050565b600061368882613514565b9050919050565b6136988161367d565b81146136a357600080fd5b50565b6000813590506136b58161368f565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6136dc816136bb565b81146136e757600080fd5b50565b6000813590506136f9816136d3565b92915050565b60008060408385031215613716576137156135b8565b5b6000613724858286016136a6565b9250506020613735858286016136ea565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561377957808201518184015260208101905061375e565b60008484015250505050565b6000601f19601f8301169050919050565b60006137a18261373f565b6137ab818561374a565b93506137bb81856020860161375b565b6137c481613785565b840191505092915050565b600060208201905081810360008301526137e98184613796565b905092915050565b6000819050919050565b613804816137f1565b811461380f57600080fd5b50565b600081359050613821816137fb565b92915050565b60006020828403121561383d5761383c6135b8565b5b600061384b84828501613812565b91505092915050565b61385d8161367d565b82525050565b60006020820190506138786000830184613854565b92915050565b60008060408385031215613895576138946135b8565b5b60006138a3858286016136a6565b92505060206138b485828601613812565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126138e3576138e26138be565b5b8235905067ffffffffffffffff811115613900576138ff6138c3565b5b60208301915083600182028301111561391c5761391b6138c8565b5b9250929050565b60008060008060006080868803121561393f5761393e6135b8565b5b600061394d888289016136a6565b955050602061395e888289016136a6565b945050604061396f88828901613812565b935050606086013567ffffffffffffffff8111156139905761398f6135bd565b5b61399c888289016138cd565b92509250509295509295909350565b6139b4816135c2565b82525050565b60006020820190506139cf60008301846139ab565b92915050565b6139de816136bb565b82525050565b60006040820190506139f96000830185613854565b613a0660208301846139d5565b9392505050565b600080600060608486031215613a2657613a256135b8565b5b6000613a34868287016136a6565b9350506020613a45868287016136a6565b9250506040613a5686828701613812565b9150509250925092565b6000819050919050565b613a7381613a60565b8114613a7e57600080fd5b50565b600081359050613a9081613a6a565b92915050565b600060208284031215613aac57613aab6135b8565b5b6000613aba84828501613a81565b91505092915050565b613acc81613a60565b82525050565b6000602082019050613ae76000830184613ac3565b92915050565b60008083601f840112613b0357613b026138be565b5b8235905067ffffffffffffffff811115613b2057613b1f6138c3565b5b602083019150836020820283011115613b3c57613b3b6138c8565b5b9250929050565b600080600060408486031215613b5c57613b5b6135b8565b5b6000613b6a868287016136a6565b935050602084013567ffffffffffffffff811115613b8b57613b8a6135bd565b5b613b9786828701613aed565b92509250509250925092565b60008060408385031215613bba57613bb96135b8565b5b6000613bc885828601613812565b9250506020613bd985828601613812565b9150509250929050565b613bec816137f1565b82525050565b6000604082019050613c076000830185613854565b613c146020830184613be3565b9392505050565b60008060408385031215613c3257613c316135b8565b5b6000613c4085828601613a81565b9250506020613c51858286016136a6565b9150509250929050565b6000613c6682613560565b9050919050565b613c7681613c5b565b82525050565b6000602082019050613c916000830184613c6d565b92915050565b600060208284031215613cad57613cac6135b8565b5b6000613cbb848285016136a6565b91505092915050565b6000602082019050613cd96000830184613be3565b92915050565b6000613cea82613560565b9050919050565b613cfa81613cdf565b82525050565b6000602082019050613d156000830184613cf1565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d5882613785565b810181811067ffffffffffffffff82111715613d7757613d76613d20565b5b80604052505050565b6000613d8a6135ae565b9050613d968282613d4f565b919050565b600067ffffffffffffffff821115613db657613db5613d20565b5b613dbf82613785565b9050602081019050919050565b82818337600083830152505050565b6000613dee613de984613d9b565b613d80565b905082815260208101848484011115613e0a57613e09613d1b565b5b613e15848285613dcc565b509392505050565b600082601f830112613e3257613e316138be565b5b8135613e42848260208601613ddb565b91505092915050565b600060208284031215613e6157613e606135b8565b5b600082013567ffffffffffffffff811115613e7f57613e7e6135bd565b5b613e8b84828501613e1d565b91505092915050565b613e9d81613647565b8114613ea857600080fd5b50565b600081359050613eba81613e94565b92915050565b60008060408385031215613ed757613ed66135b8565b5b6000613ee5858286016136a6565b9250506020613ef685828601613eab565b9150509250929050565b60008060208385031215613f1757613f166135b8565b5b600083013567ffffffffffffffff811115613f3557613f346135bd565b5b613f4185828601613aed565b92509250509250929050565b60008060408385031215613f6457613f636135b8565b5b6000613f72858286016136a6565b9250506020613f83858286016136a6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fd457607f821691505b602082108103613fe757613fe6613f8d565b5b50919050565b600081519050613ffc8161368f565b92915050565b600060208284031215614018576140176135b8565b5b600061402684828501613fed565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614069826137f1565b9150614074836137f1565b9250828202614082816137f1565b915082820484148315176140995761409861402f565b5b5092915050565b60006140ab826137f1565b91506140b6836137f1565b92508282039050818111156140ce576140cd61402f565b5b92915050565b600081905092915050565b50565b60006140ef6000836140d4565b91506140fa826140df565b600082019050919050565b6000614110826140e2565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060608201905061415e6000830186613854565b61416b6020830185613854565b6141786040830184613be3565b949350505050565b600061418b826137f1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036141bd576141bc61402f565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614202826137f1565b915061420d836137f1565b92508261421d5761421c6141c8565b5b828204905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614284602f8361374a565b915061428f82614228565b604082019050919050565b600060208201905081810360008301526142b381614277565b9050919050565b6000819050919050565b60006142df6142da6142d5846142ba565b613534565b6137f1565b9050919050565b6142ef816142c4565b82525050565b6000819050919050565b600061431a614315614310846142f5565b613534565b6137f1565b9050919050565b61432a816142ff565b82525050565b600060408201905061434560008301856142e6565b6143526020830184614321565b9392505050565b7f4e4f545f4d494e54454400000000000000000000000000000000000000000000600082015250565b600061438f600a8361374a565b915061439a82614359565b602082019050919050565b600060208201905081810360008301526143be81614382565b9050919050565b7f5a45524f5f414444524553530000000000000000000000000000000000000000600082015250565b60006143fb600c8361374a565b9150614406826143c5565b602082019050919050565b6000602082019050818103600083015261442a816143ee565b9050919050565b7f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060008201527f6e6577206f776e65720000000000000000000000000000000000000000000000602082015250565b600061448d60298361374a565b915061449882614431565b604082019050919050565b600060208201905081810360008301526144bc81614480565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026145257fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826144e8565b61452f86836144e8565b95508019841693508086168417925050509392505050565b600061456261455d614558846137f1565b613534565b6137f1565b9050919050565b6000819050919050565b61457c83614547565b61459061458882614569565b8484546144f5565b825550505050565b600090565b6145a5614598565b6145b0818484614573565b505050565b5b818110156145d4576145c960008261459d565b6001810190506145b6565b5050565b601f821115614619576145ea816144c3565b6145f3846144d8565b81016020851015614602578190505b61461661460e856144d8565b8301826145b5565b50505b505050565b600082821c905092915050565b600061463c6000198460080261461e565b1980831691505092915050565b6000614655838361462b565b9150826002028217905092915050565b61466e8261373f565b67ffffffffffffffff81111561468757614686613d20565b5b6146918254613fbc565b61469c8282856145d8565b600060209050601f8311600181146146cf57600084156146bd578287015190505b6146c78582614649565b86555061472f565b601f1984166146dd866144c3565b60005b82811015614705578489015182556001820191506020850194506020810190506146e0565b86831015614722578489015161471e601f89168261462b565b8355505b6001600288020188555050505b505050505050565b600061474a61474584613d9b565b613d80565b90508281526020810184848401111561476657614765613d1b565b5b61477184828561375b565b509392505050565b600082601f83011261478e5761478d6138be565b5b815161479e848260208601614737565b91505092915050565b6000602082840312156147bd576147bc6135b8565b5b600082015167ffffffffffffffff8111156147db576147da6135bd565b5b6147e784828501614779565b91505092915050565b60006040820190506148056000830185613854565b6148126020830184613854565b9392505050565b60008151905061482881613e94565b92915050565b600060208284031215614844576148436135b8565b5b600061485284828501614819565b91505092915050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b6000614891600e8361374a565b915061489c8261485b565b602082019050919050565b600060208201905081810360008301526148c081614884565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b60006148fd60118361374a565b9150614908826148c7565b602082019050919050565b6000602082019050818103600083015261492c816148f0565b9050919050565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b6000614969600e8361374a565b915061497482614933565b602082019050919050565b600060208201905081810360008301526149988161495c565b9050919050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b60006149d5600a8361374a565b91506149e08261499f565b602082019050919050565b60006020820190508181036000830152614a04816149c8565b9050919050565b600082825260208201905092915050565b6000614a29600083614a0b565b9150614a34826140df565b600082019050919050565b6000608082019050614a546000830186613854565b614a616020830185613854565b614a6e6040830184613be3565b8181036060830152614a7f81614a1c565b9050949350505050565b600081519050614a98816135ee565b92915050565b600060208284031215614ab457614ab36135b8565b5b6000614ac284828501614a89565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b6000614b0160108361374a565b9150614b0c82614acb565b602082019050919050565b60006020820190508181036000830152614b3081614af4565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b6d60208361374a565b9150614b7882614b37565b602082019050919050565b60006020820190508181036000830152614b9c81614b60565b9050919050565b6000614baf8385614a0b565b9350614bbc838584613dcc565b614bc583613785565b840190509392505050565b6000608082019050614be56000830188613854565b614bf26020830187613854565b614bff6040830186613be3565b8181036060830152614c12818486614ba3565b90509695505050505050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614c5f601783614c1e565b9150614c6a82614c29565b601782019050919050565b6000614c808261373f565b614c8a8185614c1e565b9350614c9a81856020860161375b565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614cdc601183614c1e565b9150614ce782614ca6565b601182019050919050565b6000614cfd82614c52565b9150614d098285614c75565b9150614d1482614ccf565b9150614d208284614c75565b91508190509392505050565b6000614d37826137f1565b9150614d42836137f1565b9250828201905080821115614d5a57614d5961402f565b5b92915050565b6000614d6b826137f1565b915060008203614d7e57614d7d61402f565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614dbf60208361374a565b9150614dca82614d89565b602082019050919050565b60006020820190508181036000830152614dee81614db2565b905091905056fea26469706673582212207b8cb6acb9980954d59dc94e1df1beabfe6ffbfc9cbc78d687daa57213bd954f64736f6c63430008120033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f3e6dbbe461c6fa492cea7cb1f5c5ea660eb1b47000000000000000000000000f3e6dbbe461c6fa492cea7cb1f5c5ea660eb1b47000000000000000000000000000000000000000000000000000000000000000f46616d654c616479536f636965747900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005464c536f63000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102875760003560e01c806370a082311161015a578063c87b56dd116100c1578063e30c39781161007a578063e30c3978146109bf578063e8a3d485146109ea578063e985e9c514610a15578063f0a3a97c14610a52578063f2fde38b14610a7d578063fdf1329d14610aa657610287565b8063c87b56dd146108ac578063ca5eb5cb146108e9578063cc17a5bf14610912578063d3917dff1461092e578063d547741f14610959578063dbe7e3bd1461098257610287565b806391d148541161011357806391d148541461079e578063938e3d7b146107db57806395d89b4114610804578063a217fddf1461082f578063a22cb4651461085a578063b88d4fde1461088357610287565b806370a08231146106a0578063715018a6146106dd57806379ba5097146106f45780638ada6b0f1461070b5780638da5cb5b14610736578063902f5e3a1461076157610287565b80632a55205a116101fe578063409cf8d4116101b7578063409cf8d41461059257806341f43434146105bd57806342842e0e146105e857806344a66c441461061157806356d3163d1461063a5780636352211e1461066357610287565b80632a55205a146104995780632f2ff15d146104d75780633190b9ea1461050057806336568abe1461052957806339f47693146105525780633ccfd60b1461057b57610287565b8063095ea7b311610250578063095ea7b314610385578063150b7a02146103ae5780631eb821ed146103eb57806323b872dd14610417578063248a9ca3146104405780632926835a1461047d57610287565b8062f736631461028c57806301ffc9a7146102b757806304634d8d146102f457806306fdde031461031d578063081812fc14610348575b600080fd5b34801561029857600080fd5b506102a1610ad1565b6040516102ae9190613593565b60405180910390f35b3480156102c357600080fd5b506102de60048036038101906102d9919061361a565b610af5565b6040516102eb9190613662565b60405180910390f35b34801561030057600080fd5b5061031b600480360381019061031691906136ff565b610bbe565b005b34801561032957600080fd5b50610332610ca9565b60405161033f91906137cf565b60405180910390f35b34801561035457600080fd5b5061036f600480360381019061036a9190613827565b610d37565b60405161037c9190613863565b60405180910390f35b34801561039157600080fd5b506103ac60048036038101906103a7919061387e565b610d6a565b005b3480156103ba57600080fd5b506103d560048036038101906103d09190613923565b610d83565b6040516103e291906139ba565b60405180910390f35b3480156103f757600080fd5b50610400610eab565b60405161040e9291906139e4565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190613a0d565b610ef5565b005b34801561044c57600080fd5b5061046760048036038101906104629190613a96565b610f44565b6040516104749190613ad2565b60405180910390f35b61049760048036038101906104929190613b43565b610f63565b005b3480156104a557600080fd5b506104c060048036038101906104bb9190613ba3565b6111c7565b6040516104ce929190613bf2565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f99190613c1b565b61123f565b005b34801561050c57600080fd5b5061052760048036038101906105229190613827565b611260565b005b34801561053557600080fd5b50610550600480360381019061054b9190613c1b565b6112c5565b005b34801561055e57600080fd5b506105796004803603810190610574919061387e565b611348565b005b34801561058757600080fd5b506105906114dd565b005b34801561059e57600080fd5b506105a76115d9565b6040516105b49190613ad2565b60405180910390f35b3480156105c957600080fd5b506105d26115fd565b6040516105df9190613c7c565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a9190613a0d565b61160f565b005b34801561061d57600080fd5b5061063860048036038101906106339190613827565b61165e565b005b34801561064657600080fd5b50610661600480360381019061065c9190613c97565b611693565b005b34801561066f57600080fd5b5061068a60048036038101906106859190613827565b6117d6565b6040516106979190613863565b60405180910390f35b3480156106ac57600080fd5b506106c760048036038101906106c29190613c97565b611881565b6040516106d49190613cc4565b60405180910390f35b3480156106e957600080fd5b506106f2611938565b005b34801561070057600080fd5b5061070961194c565b005b34801561071757600080fd5b506107206119d9565b60405161072d9190613d00565b60405180910390f35b34801561074257600080fd5b5061074b6119ff565b6040516107589190613863565b60405180910390f35b34801561076d57600080fd5b5061078860048036038101906107839190613827565b611a29565b6040516107959190613662565b60405180910390f35b3480156107aa57600080fd5b506107c560048036038101906107c09190613c1b565b611afa565b6040516107d29190613662565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd9190613e4b565b611b64565b005b34801561081057600080fd5b50610819611ba2565b60405161082691906137cf565b60405180910390f35b34801561083b57600080fd5b50610844611c30565b6040516108519190613ad2565b60405180910390f35b34801561086657600080fd5b50610881600480360381019061087c9190613ec0565b611c37565b005b34801561088f57600080fd5b506108aa60048036038101906108a59190613923565b611c50565b005b3480156108b857600080fd5b506108d360048036038101906108ce9190613827565b611ca3565b6040516108e091906137cf565b60405180910390f35b3480156108f557600080fd5b50610910600480360381019061090b9190613b43565b611d4d565b005b61092c60048036038101906109279190613f00565b611d97565b005b34801561093a57600080fd5b50610943611da6565b6040516109509190613cc4565b60405180910390f35b34801561096557600080fd5b50610980600480360381019061097b9190613c1b565b611dac565b005b34801561098e57600080fd5b506109a960048036038101906109a49190613827565b611dcd565b6040516109b69190613662565b60405180910390f35b3480156109cb57600080fd5b506109d4611ded565b6040516109e19190613863565b60405180910390f35b3480156109f657600080fd5b506109ff611e17565b604051610a0c91906137cf565b60405180910390f35b348015610a2157600080fd5b50610a3c6004803603810190610a379190613f4d565b611ef1565b604051610a499190613662565b60405180910390f35b348015610a5e57600080fd5b50610a67611f20565b604051610a749190613ad2565b60405180910390f35b348015610a8957600080fd5b50610aa46004803603810190610a9f9190613c97565b611f44565b005b348015610ab257600080fd5b50610abb611ff1565b604051610ac89190613ad2565b60405180910390f35b7f000000000000000000000000f3e6dbbe461c6fa492cea7cb1f5c5ea660eb1b4781565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ba75750634906490660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bb75750610bb6826120db565b5b9050919050565b7f3496e2e73c4d42b75d702e60d9e48102720b8691234415963a5a857b86425d07610be88161216d565b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b60018054610cb690613fbc565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce290613fbc565b8015610d2f5780601f10610d0457610100808354040283529160200191610d2f565b820191906000526020600020905b815481529060010190602001808311610d1257829003601f168201915b505050505081565b60056020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b81610d7481612181565b610d7e838361227e565b505050565b60003073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000f3e6dbbe461c6fa492cea7cb1f5c5ea660eb1b4773ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff1660e01b8152600401610df59190613cc4565b602060405180830381865afa158015610e12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e369190614002565b73ffffffffffffffffffffffffffffffffffffffff1614610e8e57836040517f9ebd6b2a000000000000000000000000000000000000000000000000000000008152600401610e859190613cc4565b60405180910390fd5b610e988685612467565b63150b7a0260e01b905095945050505050565b60098060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a90046bffffffffffffffffffffffff16905082565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f3357610f3233612181565b5b610f3e848484612679565b50505050565b6000806000838152602001908152602001600020600101549050919050565b60008282905003610fa0576040517fa263860700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082829050600b54610fb3919061405e565b905080341015610ffa57806040517fe1340304000000000000000000000000000000000000000000000000000000008152600401610ff19190613cc4565b60405180910390fd5b803411156110d4576000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16823461104991906140a0565b60405161105590614105565b60006040518083038185875af1925050503d8060008114611092576040519150601f19603f3d011682016040523d82523d6000602084013e611097565b606091505b50509050806110d2576040517f547fc55b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b60005b838390508110156111c0577f000000000000000000000000f3e6dbbe461c6fa492cea7cb1f5c5ea660eb1b4773ffffffffffffffffffffffffffffffffffffffff166323b872dd33308787868181106111335761113261411a565b5b905060200201356040518463ffffffff1660e01b815260040161115893929190614149565b600060405180830381600087803b15801561117257600080fd5b505af1158015611186573d6000803e3d6000fd5b505050506111ad858585848181106111a1576111a061411a565b5b90506020020135612467565b80806111b890614180565b9150506110d7565b5050505050565b600080612710600960000160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1684611204919061405e565b61120e91906141f7565b9050600960000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509250929050565b61124882610f44565b6112518161216d565b61125b8383612a78565b505050565b7f0fedf400ddee1523df439cc881be645427551f7704646604bbc0c43b6c00e20861128a8161216d565b7ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7826040516112b99190613cc4565b60405180910390a15050565b6112cd612b58565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461133a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113319061429a565b60405180910390fd5b6113448282612b60565b5050565b61135181611a29565b61139257806040517f126072590000000000000000000000000000000000000000000000000000000081526004016113899190613cc4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166113b2826117d6565b73ffffffffffffffffffffffffffffffffffffffff161461140a57806040517f9ebd6b2a0000000000000000000000000000000000000000000000000000000081526004016114019190613cc4565b60405180910390fd5b61141381612c41565b7f000000000000000000000000f3e6dbbe461c6fa492cea7cb1f5c5ea660eb1b4773ffffffffffffffffffffffffffffffffffffffff166342842e0e3084846040518463ffffffff1660e01b815260040161147093929190614149565b600060405180830381600087803b15801561148a57600080fd5b505af115801561149e573d6000803e3d6000fd5b505050507ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7816040516114d19190613cc4565b60405180910390a15050565b7f3496e2e73c4d42b75d702e60d9e48102720b8691234415963a5a857b86425d076115078161216d565b6000600960000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff164760405161155790614105565b60006040518083038185875af1925050503d8060008114611594576040519150601f19603f3d011682016040523d82523d6000602084013e611599565b606091505b50509050806115d4576040517f750b219c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b7f0fedf400ddee1523df439cc881be645427551f7704646604bbc0c43b6c00e20881565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461164d5761164c33612181565b5b611658848484612e04565b50505050565b7f3496e2e73c4d42b75d702e60d9e48102720b8691234415963a5a857b86425d076116888161216d565b81600b819055505050565b7faf42e7e9bd8391325ae859004d10f67ab627c4b6572f4202d394d9e87946856e6116bd8161216d565b6117097f0fedf400ddee1523df439cc881be645427551f7704646604bbc0c43b6c00e208600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612b60565b81600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506117967f0fedf400ddee1523df439cc881be645427551f7704646604bbc0c43b6c00e208600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612a78565b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c60006127106040516117ca929190614330565b60405180910390a15050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff160361187c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611873906143a5565b60405180910390fd5b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e890614411565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611940612f3c565b61194a6000612fba565b565b6000611956612b58565b90508073ffffffffffffffffffffffffffffffffffffffff16611977611ded565b73ffffffffffffffffffffffffffffffffffffffff16146119cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c4906144a3565b60405180910390fd5b6119d681612fba565b50565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60003073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000f3e6dbbe461c6fa492cea7cb1f5c5ea660eb1b4773ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401611a9b9190613cc4565b602060405180830381865afa158015611ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611adc9190614002565b73ffffffffffffffffffffffffffffffffffffffff16149050919050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7faf42e7e9bd8391325ae859004d10f67ab627c4b6572f4202d394d9e87946856e611b8e8161216d565b81600d9081611b9d9190614665565b505050565b60028054611baf90613fbc565b80601f0160208091040260200160405190810160405280929190818152602001828054611bdb90613fbc565b8015611c285780601f10611bfd57610100808354040283529160200191611c28565b820191906000526020600020905b815481529060010190602001808311611c0b57829003601f168201915b505050505081565b6000801b81565b81611c4181612181565b611c4b8383612feb565b505050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c8e57611c8d33612181565b5b611c9b86868686866130e8565b505050505050565b6060600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b8152600401611d009190613cc4565b600060405180830381865afa158015611d1d573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611d4691906147a7565b9050919050565b60005b82829050811015611d9157611d7e84848484818110611d7257611d7161411a565b5b90506020020135611348565b8080611d8990614180565b915050611d50565b50505050565b611da2338383610f63565b5050565b600b5481565b611db582610f44565b611dbe8161216d565b611dc88383612b60565b505050565b600e6020528060005260406000206000915054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606000600d8054611e2890613fbc565b905003611e61576040517fb9745e2000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d8054611e6e90613fbc565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9a90613fbc565b8015611ee75780601f10611ebc57610100808354040283529160200191611ee7565b820191906000526020600020905b815481529060010190602001808311611eca57829003601f168201915b5050505050905090565b60066020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b7f3496e2e73c4d42b75d702e60d9e48102720b8691234415963a5a857b86425d0781565b611f4c612f3c565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16611fac6119ff565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b7faf42e7e9bd8391325ae859004d10f67ab627c4b6572f4202d394d9e87946856e81565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061213657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121665750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b61217e81612179612b58565b613226565b50565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561227b576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016121f89291906147f0565b602060405180830381865afa158015612215573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612239919061482e565b61227a57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016122719190613863565b60405180910390fd5b5b50565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806123765750600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6123b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ac906148a7565b60405180910390fd5b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cd90614913565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256f9061497f565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461271a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612711906149eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278090614913565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806128495750600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b806128b257506005600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6128f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e8906148a7565b60405180910390fd5b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506005600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612a828282611afa565b612b5457600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612af9612b58565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b612b6a8282611afa565b15612c3d57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612be2612b58565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdf906143a5565b60405180910390fd5b600460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001900391905055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556005600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612e0f838383610ef5565b60008273ffffffffffffffffffffffffffffffffffffffff163b1480612ef8575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b8152600401612e9493929190614a3f565b6020604051808303816000875af1158015612eb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed79190614a9e565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b612f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2e90614b17565b60405180910390fd5b505050565b612f44612b58565b73ffffffffffffffffffffffffffffffffffffffff16612f626119ff565b73ffffffffffffffffffffffffffffffffffffffff1614612fb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612faf90614b83565b60405180910390fd5b565b600860006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055612fe881612015565b50565b80600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130dc9190613662565b60405180910390a35050565b6130f3858585610ef5565b60008473ffffffffffffffffffffffffffffffffffffffff163b14806131e0575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b815260040161317c959493929190614bd0565b6020604051808303816000875af115801561319b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131bf9190614a9e565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b61321f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161321690614b17565b60405180910390fd5b5050505050565b6132308282611afa565b6132a75761323d816132ab565b61324b8360001c60206132d8565b60405160200161325c929190614cf2565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329e91906137cf565b60405180910390fd5b5050565b60606132d18273ffffffffffffffffffffffffffffffffffffffff16601460ff166132d8565b9050919050565b6060600060028360026132eb919061405e565b6132f59190614d2c565b67ffffffffffffffff81111561330e5761330d613d20565b5b6040519080825280601f01601f1916602001820160405280156133405781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106133785761337761411a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106133dc576133db61411a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261341c919061405e565b6134269190614d2c565b90505b60018111156134c6577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106134685761346761411a565b5b1a60f81b82828151811061347f5761347e61411a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806134bf90614d60565b9050613429565b506000841461350a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350190614dd5565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061355961355461354f84613514565b613534565b613514565b9050919050565b600061356b8261353e565b9050919050565b600061357d82613560565b9050919050565b61358d81613572565b82525050565b60006020820190506135a86000830184613584565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135f7816135c2565b811461360257600080fd5b50565b600081359050613614816135ee565b92915050565b6000602082840312156136305761362f6135b8565b5b600061363e84828501613605565b91505092915050565b60008115159050919050565b61365c81613647565b82525050565b60006020820190506136776000830184613653565b92915050565b600061368882613514565b9050919050565b6136988161367d565b81146136a357600080fd5b50565b6000813590506136b58161368f565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6136dc816136bb565b81146136e757600080fd5b50565b6000813590506136f9816136d3565b92915050565b60008060408385031215613716576137156135b8565b5b6000613724858286016136a6565b9250506020613735858286016136ea565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561377957808201518184015260208101905061375e565b60008484015250505050565b6000601f19601f8301169050919050565b60006137a18261373f565b6137ab818561374a565b93506137bb81856020860161375b565b6137c481613785565b840191505092915050565b600060208201905081810360008301526137e98184613796565b905092915050565b6000819050919050565b613804816137f1565b811461380f57600080fd5b50565b600081359050613821816137fb565b92915050565b60006020828403121561383d5761383c6135b8565b5b600061384b84828501613812565b91505092915050565b61385d8161367d565b82525050565b60006020820190506138786000830184613854565b92915050565b60008060408385031215613895576138946135b8565b5b60006138a3858286016136a6565b92505060206138b485828601613812565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126138e3576138e26138be565b5b8235905067ffffffffffffffff811115613900576138ff6138c3565b5b60208301915083600182028301111561391c5761391b6138c8565b5b9250929050565b60008060008060006080868803121561393f5761393e6135b8565b5b600061394d888289016136a6565b955050602061395e888289016136a6565b945050604061396f88828901613812565b935050606086013567ffffffffffffffff8111156139905761398f6135bd565b5b61399c888289016138cd565b92509250509295509295909350565b6139b4816135c2565b82525050565b60006020820190506139cf60008301846139ab565b92915050565b6139de816136bb565b82525050565b60006040820190506139f96000830185613854565b613a0660208301846139d5565b9392505050565b600080600060608486031215613a2657613a256135b8565b5b6000613a34868287016136a6565b9350506020613a45868287016136a6565b9250506040613a5686828701613812565b9150509250925092565b6000819050919050565b613a7381613a60565b8114613a7e57600080fd5b50565b600081359050613a9081613a6a565b92915050565b600060208284031215613aac57613aab6135b8565b5b6000613aba84828501613a81565b91505092915050565b613acc81613a60565b82525050565b6000602082019050613ae76000830184613ac3565b92915050565b60008083601f840112613b0357613b026138be565b5b8235905067ffffffffffffffff811115613b2057613b1f6138c3565b5b602083019150836020820283011115613b3c57613b3b6138c8565b5b9250929050565b600080600060408486031215613b5c57613b5b6135b8565b5b6000613b6a868287016136a6565b935050602084013567ffffffffffffffff811115613b8b57613b8a6135bd565b5b613b9786828701613aed565b92509250509250925092565b60008060408385031215613bba57613bb96135b8565b5b6000613bc885828601613812565b9250506020613bd985828601613812565b9150509250929050565b613bec816137f1565b82525050565b6000604082019050613c076000830185613854565b613c146020830184613be3565b9392505050565b60008060408385031215613c3257613c316135b8565b5b6000613c4085828601613a81565b9250506020613c51858286016136a6565b9150509250929050565b6000613c6682613560565b9050919050565b613c7681613c5b565b82525050565b6000602082019050613c916000830184613c6d565b92915050565b600060208284031215613cad57613cac6135b8565b5b6000613cbb848285016136a6565b91505092915050565b6000602082019050613cd96000830184613be3565b92915050565b6000613cea82613560565b9050919050565b613cfa81613cdf565b82525050565b6000602082019050613d156000830184613cf1565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d5882613785565b810181811067ffffffffffffffff82111715613d7757613d76613d20565b5b80604052505050565b6000613d8a6135ae565b9050613d968282613d4f565b919050565b600067ffffffffffffffff821115613db657613db5613d20565b5b613dbf82613785565b9050602081019050919050565b82818337600083830152505050565b6000613dee613de984613d9b565b613d80565b905082815260208101848484011115613e0a57613e09613d1b565b5b613e15848285613dcc565b509392505050565b600082601f830112613e3257613e316138be565b5b8135613e42848260208601613ddb565b91505092915050565b600060208284031215613e6157613e606135b8565b5b600082013567ffffffffffffffff811115613e7f57613e7e6135bd565b5b613e8b84828501613e1d565b91505092915050565b613e9d81613647565b8114613ea857600080fd5b50565b600081359050613eba81613e94565b92915050565b60008060408385031215613ed757613ed66135b8565b5b6000613ee5858286016136a6565b9250506020613ef685828601613eab565b9150509250929050565b60008060208385031215613f1757613f166135b8565b5b600083013567ffffffffffffffff811115613f3557613f346135bd565b5b613f4185828601613aed565b92509250509250929050565b60008060408385031215613f6457613f636135b8565b5b6000613f72858286016136a6565b9250506020613f83858286016136a6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fd457607f821691505b602082108103613fe757613fe6613f8d565b5b50919050565b600081519050613ffc8161368f565b92915050565b600060208284031215614018576140176135b8565b5b600061402684828501613fed565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614069826137f1565b9150614074836137f1565b9250828202614082816137f1565b915082820484148315176140995761409861402f565b5b5092915050565b60006140ab826137f1565b91506140b6836137f1565b92508282039050818111156140ce576140cd61402f565b5b92915050565b600081905092915050565b50565b60006140ef6000836140d4565b91506140fa826140df565b600082019050919050565b6000614110826140e2565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060608201905061415e6000830186613854565b61416b6020830185613854565b6141786040830184613be3565b949350505050565b600061418b826137f1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036141bd576141bc61402f565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614202826137f1565b915061420d836137f1565b92508261421d5761421c6141c8565b5b828204905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614284602f8361374a565b915061428f82614228565b604082019050919050565b600060208201905081810360008301526142b381614277565b9050919050565b6000819050919050565b60006142df6142da6142d5846142ba565b613534565b6137f1565b9050919050565b6142ef816142c4565b82525050565b6000819050919050565b600061431a614315614310846142f5565b613534565b6137f1565b9050919050565b61432a816142ff565b82525050565b600060408201905061434560008301856142e6565b6143526020830184614321565b9392505050565b7f4e4f545f4d494e54454400000000000000000000000000000000000000000000600082015250565b600061438f600a8361374a565b915061439a82614359565b602082019050919050565b600060208201905081810360008301526143be81614382565b9050919050565b7f5a45524f5f414444524553530000000000000000000000000000000000000000600082015250565b60006143fb600c8361374a565b9150614406826143c5565b602082019050919050565b6000602082019050818103600083015261442a816143ee565b9050919050565b7f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060008201527f6e6577206f776e65720000000000000000000000000000000000000000000000602082015250565b600061448d60298361374a565b915061449882614431565b604082019050919050565b600060208201905081810360008301526144bc81614480565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026145257fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826144e8565b61452f86836144e8565b95508019841693508086168417925050509392505050565b600061456261455d614558846137f1565b613534565b6137f1565b9050919050565b6000819050919050565b61457c83614547565b61459061458882614569565b8484546144f5565b825550505050565b600090565b6145a5614598565b6145b0818484614573565b505050565b5b818110156145d4576145c960008261459d565b6001810190506145b6565b5050565b601f821115614619576145ea816144c3565b6145f3846144d8565b81016020851015614602578190505b61461661460e856144d8565b8301826145b5565b50505b505050565b600082821c905092915050565b600061463c6000198460080261461e565b1980831691505092915050565b6000614655838361462b565b9150826002028217905092915050565b61466e8261373f565b67ffffffffffffffff81111561468757614686613d20565b5b6146918254613fbc565b61469c8282856145d8565b600060209050601f8311600181146146cf57600084156146bd578287015190505b6146c78582614649565b86555061472f565b601f1984166146dd866144c3565b60005b82811015614705578489015182556001820191506020850194506020810190506146e0565b86831015614722578489015161471e601f89168261462b565b8355505b6001600288020188555050505b505050505050565b600061474a61474584613d9b565b613d80565b90508281526020810184848401111561476657614765613d1b565b5b61477184828561375b565b509392505050565b600082601f83011261478e5761478d6138be565b5b815161479e848260208601614737565b91505092915050565b6000602082840312156147bd576147bc6135b8565b5b600082015167ffffffffffffffff8111156147db576147da6135bd565b5b6147e784828501614779565b91505092915050565b60006040820190506148056000830185613854565b6148126020830184613854565b9392505050565b60008151905061482881613e94565b92915050565b600060208284031215614844576148436135b8565b5b600061485284828501614819565b91505092915050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b6000614891600e8361374a565b915061489c8261485b565b602082019050919050565b600060208201905081810360008301526148c081614884565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b60006148fd60118361374a565b9150614908826148c7565b602082019050919050565b6000602082019050818103600083015261492c816148f0565b9050919050565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b6000614969600e8361374a565b915061497482614933565b602082019050919050565b600060208201905081810360008301526149988161495c565b9050919050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b60006149d5600a8361374a565b91506149e08261499f565b602082019050919050565b60006020820190508181036000830152614a04816149c8565b9050919050565b600082825260208201905092915050565b6000614a29600083614a0b565b9150614a34826140df565b600082019050919050565b6000608082019050614a546000830186613854565b614a616020830185613854565b614a6e6040830184613be3565b8181036060830152614a7f81614a1c565b9050949350505050565b600081519050614a98816135ee565b92915050565b600060208284031215614ab457614ab36135b8565b5b6000614ac284828501614a89565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b6000614b0160108361374a565b9150614b0c82614acb565b602082019050919050565b60006020820190508181036000830152614b3081614af4565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b6d60208361374a565b9150614b7882614b37565b602082019050919050565b60006020820190508181036000830152614b9c81614b60565b9050919050565b6000614baf8385614a0b565b9350614bbc838584613dcc565b614bc583613785565b840190509392505050565b6000608082019050614be56000830188613854565b614bf26020830187613854565b614bff6040830186613be3565b8181036060830152614c12818486614ba3565b90509695505050505050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614c5f601783614c1e565b9150614c6a82614c29565b601782019050919050565b6000614c808261373f565b614c8a8185614c1e565b9350614c9a81856020860161375b565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614cdc601183614c1e565b9150614ce782614ca6565b601182019050919050565b6000614cfd82614c52565b9150614d098285614c75565b9150614d1482614ccf565b9150614d208284614c75565b91508190509392505050565b6000614d37826137f1565b9150614d42836137f1565b9250828201905080821115614d5a57614d5961402f565b5b92915050565b6000614d6b826137f1565b915060008203614d7e57614d7d61402f565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614dbf60208361374a565b9150614dca82614d89565b602082019050919050565b60006020820190508181036000830152614dee81614db2565b905091905056fea26469706673582212207b8cb6acb9980954d59dc94e1df1beabfe6ffbfc9cbc78d687daa57213bd954f64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f3e6dbbe461c6fa492cea7cb1f5c5ea660eb1b47000000000000000000000000f3e6dbbe461c6fa492cea7cb1f5c5ea660eb1b47000000000000000000000000000000000000000000000000000000000000000f46616d654c616479536f636965747900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005464c536f63000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): FameLadySociety
Arg [1] : symbol (string): FLSoc
Arg [2] : nftContract (address): 0xf3E6DbBE461C6fa492CeA7Cb1f5C5eA660EB1B47
Arg [3] : tokenRenderer (address): 0xf3E6DbBE461C6fa492CeA7Cb1f5C5eA660EB1B47
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000f3e6dbbe461c6fa492cea7cb1f5c5ea660eb1b47
Arg [3] : 000000000000000000000000f3e6dbbe461c6fa492cea7cb1f5c5ea660eb1b47
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [5] : 46616d654c616479536f63696574790000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 464c536f63000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.