Polygon Sponsored slots available. Book your slot here!
ERC-721
Overview
Max Total Supply
1,982 NewVerseNFT
Holders
74
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
NewVerseContract
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.15; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "../Interfaces/IMintableERC721.sol"; contract NewVerseContract is ERC721, ERC2981, ERC721Enumerable, IMintableERC721, AccessControl, Ownable { using Address for address; using Strings for uint256; /** * @dev Smart contract unique identifier, a random number * * @dev Should be regenerated each time smart contact source code is changed * and changes smart contract itself is to be redeployed * * @dev Generated using https://www.random.org/bytes/ */ uint256 public constant UID = 0x4ebc543461226df65d31b67dec68125999e3edefd972503858c9b3462efd1e38; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE"); bytes32 public constant URI_MANAGER_ROLE = keccak256("URI_MANAGER_ROLE"); address public royaltyReceiver; uint96 public royaltyFee = 1000; // In BPS. 1000 = 10% using Address for address; using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIds; string internal theBaseURI = ""; constructor(string memory _name, string memory _symbol) ERC721(_name, _symbol) { _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _setupRole(MINTER_ROLE, msg.sender); _setupRole(BURNER_ROLE, msg.sender); _setupRole(URI_MANAGER_ROLE, msg.sender); royaltyReceiver = msg.sender; _setDefaultRoyalty(royaltyReceiver, royaltyFee); } /** * @dev Fired in setBaseURI() * * @param _by an address which executed update * @param _oldVal old _baseURI value * @param _newVal new _baseURI value */ event BaseURIChanged( address _by, string _oldVal, string _newVal ); event royaltySet(uint indexed tokenId, address indexed Royaltyreceiver, uint96 indexed royaltyValue); function _baseURI() internal view virtual override returns (string memory) { return theBaseURI; } /** * @dev Restricted access function which updates base URI used to construct * ERC721Metadata.tokenURI * * @param _newBaseURI new base URI to set */ function setBaseURI(string memory _newBaseURI) external onlyRole(URI_MANAGER_ROLE) { // Fire event emit BaseURIChanged(msg.sender, theBaseURI, _newBaseURI); // Update base uri theBaseURI = _newBaseURI; } /** * @inheritdoc IMintableERC721 */ function exists(uint256 _tokenId) external view returns(bool) { // Delegate to internal OpenZeppelin function return _exists(_tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function burn(uint256 _tokenId) public onlyRole(BURNER_ROLE) { // Delegate to internal OpenZeppelin burn function _burn(_tokenId); } /** * @inheritdoc IMintableERC721 */ function mint(address _to, uint256 _tokenId) public onlyRole(MINTER_ROLE) { // Delegate to internal OpenZeppelin function _mint(_to, _tokenId); } /** * @inheritdoc IMintableERC721 */ function mintBatch(address _to, uint256 _tokenId, uint256 _n) public onlyRole(MINTER_ROLE) { for(uint256 i = 0; i < _n; i++) { // Delegate to internal OpenZeppelin mint function _mint(_to, _tokenId + i); } } /** * @inheritdoc IMintableERC721 */ function safeMint(address _to, uint256 _tokenId, bytes memory _data) public onlyRole(MINTER_ROLE) { // Delegate to internal OpenZeppelin unsafe mint function _mint(_to, _tokenId); // If a contract, check if it can receive ERC721 tokens (safe to send) if(_to.isContract()) { bytes4 response = IERC721Receiver(_to).onERC721Received(msg.sender, address(0), _tokenId, _data); require(response == IERC721Receiver(_to).onERC721Received.selector, "Invalid onERC721Received response"); } } /** * @inheritdoc IMintableERC721 */ function safeMint(address _to, uint256 _tokenId) public { // Delegate to internal safe mint function (includes permission check) safeMint(_to, _tokenId, ""); } /** * @inheritdoc IMintableERC721 */ function safeMintBatch(address _to, uint256 _tokenId, uint256 _n, bytes memory _data) public { // Delegate to internal unsafe batch mint function (includes permission check) mintBatch(_to, _tokenId, _n); // If a contract, check if it can receive ERC721 tokens (safe to send) if(_to.isContract()) { bytes4 response = IERC721Receiver(_to).onERC721Received(msg.sender, address(0), _tokenId, _data); require(response == IERC721Receiver(_to).onERC721Received.selector, "Invalid onERC721Received response"); } } /** * @inheritdoc IMintableERC721 */ function safeMintBatch(address _to, uint256 _tokenId, uint256 _n) external { // Delegate to internal safe batch mint function (includes permission check) safeMintBatch(_to, _tokenId, _n, ""); } /** * @inheritdoc ERC721 */ function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC2981, ERC721Enumerable, AccessControl) returns (bool) { return interfaceId == type(IMintableERC721).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc ERC721 */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } /// @notice Mint one token to `_to` /// @param _to the recipient of the token /// @param _royaltyRecipient the recipient for royalties (if _royaltyValue > 0) /// @param _royaltyValue the royalties asked for (EIP2981) function mintRoyalty(address _to, address _royaltyRecipient, uint96 _royaltyValue) external onlyRole(MINTER_ROLE) { _tokenIds.increment(); uint tokenId = _tokenIds.current(); _safeMint(_to, tokenId, ''); if (_royaltyValue > 0) { _setTokenRoyalty(tokenId, _royaltyRecipient, _royaltyValue); emit royaltySet(tokenId, _royaltyRecipient, _royaltyValue); } } /// @notice Mint several tokens at once /// @param recipients an array of recipients for each token /// @param royaltyRecipients an array of recipients for royalties (if royaltyValues[i] > 0) /// @param royaltyValues an array of royalties asked for (EIP2981) function mintBatchRoyalty(address[] memory recipients, address[] memory royaltyRecipients, uint96[] memory royaltyValues) external onlyRole(MINTER_ROLE) { require( recipients.length == royaltyRecipients.length && recipients.length == royaltyValues.length, 'ERC721: Arrays length mismatch' ); for (uint256 i; i < recipients.length; i++) { _tokenIds.increment(); uint tokenId = _tokenIds.current(); _safeMint(recipients[i], tokenId, ''); if (royaltyValues[i] > 0) { _setTokenRoyalty(tokenId, royaltyRecipients[i], royaltyValues[i]); emit royaltySet(tokenId, royaltyRecipients[i], royaltyValues[i]); } } } } contract NewVerseStakingContract is IERC721Receiver, ReentrancyGuard, Ownable { NewVerseContract newVerseContract; //RewardsToken rewardsToken; /** * @dev Smart contract unique identifier, a random number * * @dev Should be regenerated each time smart contact source code is changed * and changes smart contract itself is to be redeployed * * @dev Generated using https://www.random.org/bytes/ */ uint256 public constant UID = 0xc747e06c94f0efa10e44a06006e01537230729e9bcd7d0183ce404472400cbc8; struct Stake { uint256 tokenId; uint256 timestamp; } // map staker address to stake details // staker_address => (tokenId => timestamp) mapping (address => mapping(uint256 => uint256)) public stakes; // map staker total staking time // staker_address => (tokenId => stakingDuration_for_tokenId) mapping (address => mapping(uint256 => uint256)) public stakingTime; uint minStakingTime; event NFTStaked(address indexed owner, address indexed stakingContract, uint256 indexed tokenId); event NFTUnstaked(address indexed stakingContract, address indexed owner, uint256 indexed tokenId); event Claimed(address indexed owner, uint256 indexed amount); constructor(NewVerseContract _newVerseContract, uint _minStakingTime) { newVerseContract = _newVerseContract; minStakingTime = _minStakingTime; } function setMinStakingTime(uint _minStakingTime) public onlyOwner { minStakingTime = _minStakingTime; } function stake(uint256 _tokenId) external { // the start of staking time stakes[msg.sender][_tokenId] = block.timestamp; // (1) newVerseContract.approve(address(this), _tokenId); // (2) newVerseContract.safeTransferFrom(msg.sender, address(this), _tokenId) newVerseContract.safeTransferFrom(msg.sender, address(this), _tokenId); emit NFTStaked(msg.sender, address(this), _tokenId); } function unstake(uint256 _tokenId) external { uint stakeDuration = block.timestamp - stakes[msg.sender][_tokenId]; require(stakes[msg.sender][_tokenId] > 0, "unstake: tokenId is not valid!"); require(stakeDuration >= minStakingTime, "StakingTime for this NFT is less than minStakingTime"); // update staking time // StakingTime = now - StakingStartTime stakingTime[msg.sender][_tokenId] = stakeDuration; delete stakes[msg.sender][_tokenId]; newVerseContract.safeTransferFrom(address(this), msg.sender, _tokenId); emit NFTUnstaked(address(this), msg.sender, _tokenId); } function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external pure override returns (bytes4) { (operator); (from); (tokenId); (data); return this.onERC721Received.selector; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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(uint160(account), 20), " 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 (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.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_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) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_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: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.15; interface IMintableERC721 { /** * @notice Checks if specified token exists * * @dev Returns whether the specified token ID has an ownership * information associated with it * * @param _tokenId ID of the token to query existence for * @return whether the token exists (true - exists, false - doesn't exist) */ function exists(uint256 _tokenId) external view returns(bool); /** * @dev Creates new token with token ID specified * and assigns an ownership `_to` for this token * * @dev Unsafe: doesn't execute `onERC721Received` on the receiver. * Prefer the use of `saveMint` instead of `mint`. * * @dev Should have a restricted access handled by the implementation * * @param _to an address to mint token to * @param _tokenId ID of the token to mint */ function mint(address _to, uint256 _tokenId) external; /** * @dev Creates new tokens starting with token ID specified * and assigns an ownership `_to` for these tokens * * @dev Token IDs to be minted: [_tokenId, _tokenId + n) * * @dev n must be greater or equal 2: `n > 1` * * @dev Unsafe: doesn't execute `onERC721Received` on the receiver. * Prefer the use of `saveMintBatch` instead of `mintBatch`. * * @dev Should have a restricted access handled by the implementation * * @param _to an address to mint tokens to * @param _tokenId ID of the first token to mint * @param n how many tokens to mint, sequentially increasing the _tokenId */ function mintBatch(address _to, uint256 _tokenId, uint256 n) external; /** * @dev Creates new token with token ID specified * and assigns an ownership `_to` for this token * * @dev Checks if `_to` is a smart contract (code size > 0). If so, it calls * `onERC721Received` on `_to` and throws if the return value is not * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`. * * @dev Should have a restricted access handled by the implementation * * @param _to an address to mint token to * @param _tokenId ID of the token to mint */ function safeMint(address _to, uint256 _tokenId) external; /** * @dev Creates new token with token ID specified * and assigns an ownership `_to` for this token * * @dev Checks if `_to` is a smart contract (code size > 0). If so, it calls * `onERC721Received` on `_to` and throws if the return value is not * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`. * * @dev Should have a restricted access handled by the implementation * * @param _to an address to mint token to * @param _tokenId ID of the token to mint * @param _data additional data with no specified format, sent in call to `_to` */ function safeMint(address _to, uint256 _tokenId, bytes memory _data) external; /** * @dev Creates new tokens starting with token ID specified * and assigns an ownership `_to` for these tokens * * @dev Token IDs to be minted: [_tokenId, _tokenId + n) * * @dev n must be greater or equal 2: `n > 1` * * @dev Checks if `_to` is a smart contract (code size > 0). If so, it calls * `onERC721Received` on `_to` and throws if the return value is not * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`. * * @dev Should have a restricted access handled by the implementation * * @param _to an address to mint token to * @param _tokenId ID of the token to mint * @param n how many tokens to mint, sequentially increasing the _tokenId */ function safeMintBatch(address _to, uint256 _tokenId, uint256 n) external; /** * @dev Creates new tokens starting with token ID specified * and assigns an ownership `_to` for these tokens * * @dev Token IDs to be minted: [_tokenId, _tokenId + n) * * @dev n must be greater or equal 2: `n > 1` * * @dev Checks if `_to` is a smart contract (code size > 0). If so, it calls * `onERC721Received` on `_to` and throws if the return value is not * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`. * * @dev Should have a restricted access handled by the implementation * * @param _to an address to mint token to * @param _tokenId ID of the token to mint * @param n how many tokens to mint, sequentially increasing the _tokenId * @param _data additional data with no specified format, sent in call to `_to` */ function safeMintBatch(address _to, uint256 _tokenId, uint256 n, bytes memory _data) external; }
// 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 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 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 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 (last updated v4.7.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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev 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 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "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"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_by","type":"address"},{"indexed":false,"internalType":"string","name":"_oldVal","type":"string"},{"indexed":false,"internalType":"string","name":"_newVal","type":"string"}],"name":"BaseURIChanged","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":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"Royaltyreceiver","type":"address"},{"indexed":true,"internalType":"uint96","name":"royaltyValue","type":"uint96"}],"name":"royaltySet","type":"event"},{"inputs":[],"name":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"URI_MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_n","type":"uint256"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"address[]","name":"royaltyRecipients","type":"address[]"},{"internalType":"uint96[]","name":"royaltyValues","type":"uint96[]"}],"name":"mintBatchRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"_royaltyRecipient","type":"address"},{"internalType":"uint96","name":"_royaltyValue","type":"uint96"}],"name":"mintRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"royaltyFee","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_n","type":"uint256"}],"name":"safeMintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_n","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeMintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526103e8600e60146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555060405180602001604052806000815250601090816200005791906200087d565b503480156200006557600080fd5b50604051620063203803806200632083398181016040528101906200008b919062000ad2565b818181600090816200009e91906200087d565b508060019081620000b091906200087d565b505050620000d3620000c76200021560201b60201c565b6200021d60201b60201c565b620000e86000801b33620002e360201b60201c565b6200011a7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620002e360201b60201c565b6200014c7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84833620002e360201b60201c565b6200017e7fa70a2d8710fed9f014c8c2af50c7c2f6b25748ae4cded822e03b7beed44cf3a833620002e360201b60201c565b33600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200020d600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600e60149054906101000a90046bffffffffffffffffffffffff16620002f960201b60201c565b505062000c72565b600033905090565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002f582826200049c60201b60201c565b5050565b620003096200058e60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156200036a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003619062000bde565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620003dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003d39062000c50565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b620004ae82826200059860201b60201c565b6200058a576001600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200052f6200021560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000612710905090565b6000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200068557607f821691505b6020821081036200069b576200069a6200063d565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007057fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620006c6565b620007118683620006c6565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200075e62000758620007528462000729565b62000733565b62000729565b9050919050565b6000819050919050565b6200077a836200073d565b62000792620007898262000765565b848454620006d3565b825550505050565b600090565b620007a96200079a565b620007b68184846200076f565b505050565b5b81811015620007de57620007d26000826200079f565b600181019050620007bc565b5050565b601f8211156200082d57620007f781620006a1565b6200080284620006b6565b8101602085101562000812578190505b6200082a6200082185620006b6565b830182620007bb565b50505b505050565b600082821c905092915050565b6000620008526000198460080262000832565b1980831691505092915050565b60006200086d83836200083f565b9150826002028217905092915050565b620008888262000603565b67ffffffffffffffff811115620008a457620008a36200060e565b5b620008b082546200066c565b620008bd828285620007e2565b600060209050601f831160018114620008f55760008415620008e0578287015190505b620008ec85826200085f565b8655506200095c565b601f1984166200090586620006a1565b60005b828110156200092f5784890151825560018201915060208501945060208101905062000908565b868310156200094f57848901516200094b601f8916826200083f565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200099e8262000982565b810181811067ffffffffffffffff82111715620009c057620009bf6200060e565b5b80604052505050565b6000620009d562000964565b9050620009e3828262000993565b919050565b600067ffffffffffffffff82111562000a065762000a056200060e565b5b62000a118262000982565b9050602081019050919050565b60005b8381101562000a3e57808201518184015260208101905062000a21565b8381111562000a4e576000848401525b50505050565b600062000a6b62000a6584620009e8565b620009c9565b90508281526020810184848401111562000a8a5762000a896200097d565b5b62000a9784828562000a1e565b509392505050565b600082601f83011262000ab75762000ab662000978565b5b815162000ac984826020860162000a54565b91505092915050565b6000806040838503121562000aec5762000aeb6200096e565b5b600083015167ffffffffffffffff81111562000b0d5762000b0c62000973565b5b62000b1b8582860162000a9f565b925050602083015167ffffffffffffffff81111562000b3f5762000b3e62000973565b5b62000b4d8582860162000a9f565b9150509250929050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000bc6602a8362000b57565b915062000bd38262000b68565b604082019050919050565b6000602082019050818103600083015262000bf98162000bb7565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000c3860198362000b57565b915062000c458262000c00565b602082019050919050565b6000602082019050818103600083015262000c6b8162000c29565b9050919050565b61569e8062000c826000396000f3fe608060405234801561001057600080fd5b50600436106102695760003560e01c80636352211e11610151578063a1448194116100c3578063b8997a9711610087578063b8997a9714610743578063c87b56dd14610761578063d539139314610791578063d547741f146107af578063e985e9c5146107cb578063f2fde38b146107fb57610269565b8063a1448194146106b5578063a217fddf146106d1578063a22cb465146106ef578063af65e2a81461070b578063b88d4fde1461072757610269565b8063715018a611610115578063715018a6146106055780638832e6e31461060f5780638da5cb5b1461062b57806391d148541461064957806395d89b41146106795780639fbc87131461069757610269565b80636352211e1461054f57806363dfab991461057f578063682d07d91461059b57806370a08231146105b957806370a4e563146105e957610269565b80632f2ff15d116101ea57806342966c68116101ae57806342966c681461047d5780634f558e79146104995780634f6ccce7146104c957806355f804b3146104f95780635cc99e3514610515578063615879111461053357610269565b80632f2ff15d146103dd5780632f745c59146103f957806336568abe1461042957806340c10f191461044557806342842e0e1461046157610269565b806323b872dd1161023157806323b872dd14610326578063248a9ca314610342578063282c51f3146103725780632a55205a146103905780632e81aaea146103c157610269565b806301ffc9a71461026e57806306fdde031461029e578063081812fc146102bc578063095ea7b3146102ec57806318160ddd14610308575b600080fd5b610288600480360381019061028391906137c0565b610817565b6040516102959190613808565b60405180910390f35b6102a6610891565b6040516102b391906138bc565b60405180910390f35b6102d660048036038101906102d19190613914565b610923565b6040516102e39190613982565b60405180910390f35b610306600480360381019061030191906139c9565b610969565b005b610310610a80565b60405161031d9190613a18565b60405180910390f35b610340600480360381019061033b9190613a33565b610a8d565b005b61035c60048036038101906103579190613abc565b610aed565b6040516103699190613af8565b60405180910390f35b61037a610b0d565b6040516103879190613af8565b60405180910390f35b6103aa60048036038101906103a59190613b13565b610b31565b6040516103b8929190613b53565b60405180910390f35b6103db60048036038101906103d69190613b7c565b610d1b565b005b6103f760048036038101906103f29190613bcf565b610d7f565b005b610413600480360381019061040e91906139c9565b610da0565b6040516104209190613a18565b60405180910390f35b610443600480360381019061043e9190613bcf565b610e45565b005b61045f600480360381019061045a91906139c9565b610ec8565b005b61047b60048036038101906104769190613a33565b610f01565b005b61049760048036038101906104929190613914565b610f21565b005b6104b360048036038101906104ae9190613914565b610f58565b6040516104c09190613808565b60405180910390f35b6104e360048036038101906104de9190613914565b610f6a565b6040516104f09190613a18565b60405180910390f35b610513600480360381019061050e9190613d44565b610fdb565b005b61051d611055565b60405161052a9190613a18565b60405180910390f35b61054d60048036038101906105489190613b7c565b611079565b005b61056960048036038101906105649190613914565b611099565b6040516105769190613982565b60405180910390f35b61059960048036038101906105949190613f5c565b61114a565b005b6105a3611330565b6040516105b09190613af8565b60405180910390f35b6105d360048036038101906105ce9190614003565b611354565b6040516105e09190613a18565b60405180910390f35b61060360048036038101906105fe9190614030565b61140b565b005b61060d6114e4565b005b61062960048036038101906106249190614124565b6114f8565b005b610633611666565b6040516106409190613982565b60405180910390f35b610663600480360381019061065e9190613bcf565b611690565b6040516106709190613808565b60405180910390f35b6106816116fb565b60405161068e91906138bc565b60405180910390f35b61069f61178d565b6040516106ac9190613982565b60405180910390f35b6106cf60048036038101906106ca91906139c9565b6117b3565b005b6106d96117d1565b6040516106e69190613af8565b60405180910390f35b610709600480360381019061070491906141bf565b6117d8565b005b610725600480360381019061072091906141ff565b6117ee565b005b610741600480360381019061073c9190614282565b611933565b005b61074b611995565b6040516107589190614314565b60405180910390f35b61077b60048036038101906107769190613914565b6119b3565b60405161078891906138bc565b60405180910390f35b610799611a1b565b6040516107a69190613af8565b60405180910390f35b6107c960048036038101906107c49190613bcf565b611a3f565b005b6107e560048036038101906107e0919061432f565b611a60565b6040516107f29190613808565b60405180910390f35b61081560048036038101906108109190614003565b611af4565b005b60007fc65ed744000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061088a575061088982611b77565b5b9050919050565b6060600080546108a09061439e565b80601f01602080910402602001604051908101604052809291908181526020018280546108cc9061439e565b80156109195780601f106108ee57610100808354040283529160200191610919565b820191906000526020600020905b8154815290600101906020018083116108fc57829003601f168201915b5050505050905090565b600061092e82611bf1565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097482611099565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90614441565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a03611c3c565b73ffffffffffffffffffffffffffffffffffffffff161480610a325750610a3181610a2c611c3c565b611a60565b5b610a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a68906144d3565b60405180910390fd5b610a7b8383611c44565b505050565b6000600a80549050905090565b610a9e610a98611c3c565b82611cfd565b610add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad490614565565b60405180910390fd5b610ae8838383611d92565b505050565b6000600c6000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b6000806000600760008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610cc65760066040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610cd0611ff8565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610cfc91906145b4565b610d06919061463d565b90508160000151819350935050509250929050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610d4581612002565b60005b82811015610d7857610d65858286610d60919061466e565b612016565b8080610d70906146c4565b915050610d48565b5050505050565b610d8882610aed565b610d9181612002565b610d9b83836121ef565b505050565b6000610dab83611354565b8210610dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de39061477e565b60405180910390fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e4d611c3c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb190614810565b60405180910390fd5b610ec482826122d0565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610ef281612002565b610efc8383612016565b505050565b610f1c83838360405180602001604052806000815250611933565b505050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848610f4b81612002565b610f54826123b2565b5050565b6000610f63826124cf565b9050919050565b6000610f74610a80565b8210610fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fac906148a2565b60405180910390fd5b600a8281548110610fc957610fc86148c2565b5b90600052602060002001549050919050565b7fa70a2d8710fed9f014c8c2af50c7c2f6b25748ae4cded822e03b7beed44cf3a861100581612002565b7f92bf6a7b8937c17e6781a68d61f9fe6a5ce08604b96ca2206f311049a3a295ea336010846040516110399392919061498a565b60405180910390a181601090816110509190614b66565b505050565b7f4ebc543461226df65d31b67dec68125999e3edefd972503858c9b3462efd1e3881565b611094838383604051806020016040528060008152506117ee565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890614c84565b60405180910390fd5b80915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661117481612002565b82518451148015611186575081518451145b6111c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bc90614cf0565b60405180910390fd5b60005b8451811015611329576111db600f61253b565b60006111e7600f612551565b905061121d8683815181106111ff576111fe6148c2565b5b6020026020010151826040518060200160405280600081525061255f565b6000848381518110611232576112316148c2565b5b60200260200101516bffffffffffffffffffffffff1611156113155761128d81868481518110611265576112646148c2565b5b60200260200101518685815181106112805761127f6148c2565b5b60200260200101516125ba565b8382815181106112a05761129f6148c2565b5b60200260200101516bffffffffffffffffffffffff168583815181106112c9576112c86148c2565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16827f1c7e37ba150b2dbe79204fefe00ac20fce5a7d6a25c249c17eef318a3c30922960405160405180910390a45b508080611321906146c4565b9150506111c8565b5050505050565b7fa70a2d8710fed9f014c8c2af50c7c2f6b25748ae4cded822e03b7beed44cf3a881565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bb90614d82565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661143581612002565b61143f600f61253b565b600061144b600f612551565b905061146785826040518060200160405280600081525061255f565b6000836bffffffffffffffffffffffff1611156114dd576114898185856125ba565b826bffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16827f1c7e37ba150b2dbe79204fefe00ac20fce5a7d6a25c249c17eef318a3c30922960405160405180910390a45b5050505050565b6114ec612761565b6114f660006127df565b565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661152281612002565b61152c8484612016565b61154b8473ffffffffffffffffffffffffffffffffffffffff166128a5565b156116605760008473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233600087876040518563ffffffff1660e01b81526004016115929493929190614df7565b6020604051808303816000875af11580156115b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d59190614e58565b905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461165e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165590614ef7565b60405180910390fd5b505b50505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461170a9061439e565b80601f01602080910402602001604051908101604052809291908181526020018280546117369061439e565b80156117835780601f1061175857610100808354040283529160200191611783565b820191906000526020600020905b81548152906001019060200180831161176657829003601f168201915b5050505050905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6117cd8282604051806020016040528060008152506114f8565b5050565b6000801b81565b6117ea6117e3611c3c565b83836128c8565b5050565b6117f9848484610d1b565b6118188473ffffffffffffffffffffffffffffffffffffffff166128a5565b1561192d5760008473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233600087866040518563ffffffff1660e01b815260040161185f9493929190614df7565b6020604051808303816000875af115801561187e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a29190614e58565b905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461192b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192290614ef7565b60405180910390fd5b505b50505050565b61194461193e611c3c565b83611cfd565b611983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197a90614565565b60405180910390fd5b61198f84848484612a34565b50505050565b600e60149054906101000a90046bffffffffffffffffffffffff1681565b60606119be82611bf1565b60006119c8612a90565b905060008151116119e85760405180602001604052806000815250611a13565b806119f284612b22565b604051602001611a03929190614f53565b6040516020818303038152906040525b915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611a4882610aed565b611a5181612002565b611a5b83836122d0565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611afc612761565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6290614fe9565b60405180910390fd5b611b74816127df565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bea5750611be982612c82565b5b9050919050565b611bfa816124cf565b611c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3090614c84565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611cb783611099565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611d0983611099565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d4b5750611d4a8185611a60565b5b80611d8957508373ffffffffffffffffffffffffffffffffffffffff16611d7184610923565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611db282611099565b73ffffffffffffffffffffffffffffffffffffffff1614611e08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dff9061507b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6e9061510d565b60405180910390fd5b611e82838383612cfc565b611e8d600082611c44565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611edd919061512d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f34919061466e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ff3838383612d0c565b505050565b6000612710905090565b6120138161200e611c3c565b612d11565b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207c906151ad565b60405180910390fd5b61208e816124cf565b156120ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c590615219565b60405180910390fd5b6120da60008383612cfc565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461212a919061466e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121eb60008383612d0c565b5050565b6121f98282611690565b6122cc576001600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612271611c3c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6122da8282611690565b156123ae576000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612353611c3c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006123bd82611099565b90506123cb81600084612cfc565b6123d6600083611c44565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612426919061512d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124cb81600084612d0c565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6001816000016000828254019250508190555050565b600081600001549050919050565b6125698383612016565b6125766000848484612dae565b6125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac906152ab565b60405180910390fd5b505050565b6125c2611ff8565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612620576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126179061533d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361268f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612686906153a9565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506007600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b612769611c3c565b73ffffffffffffffffffffffffffffffffffffffff16612787611666565b73ffffffffffffffffffffffffffffffffffffffff16146127dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d490615415565b60405180910390fd5b565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292d90615481565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a279190613808565b60405180910390a3505050565b612a3f848484611d92565b612a4b84848484612dae565b612a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a81906152ab565b60405180910390fd5b50505050565b606060108054612a9f9061439e565b80601f0160208091040260200160405190810160405280929190818152602001828054612acb9061439e565b8015612b185780601f10612aed57610100808354040283529160200191612b18565b820191906000526020600020905b815481529060010190602001808311612afb57829003601f168201915b5050505050905090565b606060008203612b69576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c7d565b600082905060005b60008214612b9b578080612b84906146c4565b915050600a82612b94919061463d565b9150612b71565b60008167ffffffffffffffff811115612bb757612bb6613c19565b5b6040519080825280601f01601f191660200182016040528015612be95781602001600182028036833780820191505090505b5090505b60008514612c7657600182612c02919061512d565b9150600a85612c1191906154a1565b6030612c1d919061466e565b60f81b818381518110612c3357612c326148c2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c6f919061463d565b9450612bed565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cf55750612cf482612f35565b5b9050919050565b612d07838383612faf565b505050565b505050565b612d1b8282611690565b612daa57612d408173ffffffffffffffffffffffffffffffffffffffff1660146130c1565b612d4e8360001c60206130c1565b604051602001612d5f92919061556a565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da191906138bc565b60405180910390fd5b5050565b6000612dcf8473ffffffffffffffffffffffffffffffffffffffff166128a5565b15612f28578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612df8611c3c565b8786866040518563ffffffff1660e01b8152600401612e1a9493929190614df7565b6020604051808303816000875af1925050508015612e5657506040513d601f19601f82011682018060405250810190612e539190614e58565b60015b612ed8573d8060008114612e86576040519150601f19603f3d011682016040523d82523d6000602084013e612e8b565b606091505b506000815103612ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec7906152ab565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f2d565b600190505b949350505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612fa85750612fa7826132fd565b5b9050919050565b612fba8383836133df565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ffc57612ff7816133e4565b61303b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461303a57613039838261342d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361307d576130788161359a565b6130bc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130bb576130ba828261366b565b5b5b505050565b6060600060028360026130d491906145b4565b6130de919061466e565b67ffffffffffffffff8111156130f7576130f6613c19565b5b6040519080825280601f01601f1916602001820160405280156131295781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613161576131606148c2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106131c5576131c46148c2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261320591906145b4565b61320f919061466e565b90505b60018111156132af577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613251576132506148c2565b5b1a60f81b828281518110613268576132676148c2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806132a8906155a4565b9050613212565b50600084146132f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ea90615619565b60405180910390fd5b8091505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806133c857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806133d857506133d7826136ea565b5b9050919050565b505050565b600a80549050600b600083815260200190815260200160002081905550600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161343a84611354565b613444919061512d565b9050600060096000848152602001908152602001600020549050818114613529576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b6009600084815260200190815260200160002060009055600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600a805490506135ae919061512d565b90506000600b60008481526020019081526020016000205490506000600a83815481106135de576135dd6148c2565b5b9060005260206000200154905080600a8381548110613600576135ff6148c2565b5b906000526020600020018190555081600b600083815260200190815260200160002081905550600b600085815260200190815260200160002060009055600a80548061364f5761364e615639565b5b6001900381819060005260206000200160009055905550505050565b600061367683611354565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61379d81613768565b81146137a857600080fd5b50565b6000813590506137ba81613794565b92915050565b6000602082840312156137d6576137d561375e565b5b60006137e4848285016137ab565b91505092915050565b60008115159050919050565b613802816137ed565b82525050565b600060208201905061381d60008301846137f9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561385d578082015181840152602081019050613842565b8381111561386c576000848401525b50505050565b6000601f19601f8301169050919050565b600061388e82613823565b613898818561382e565b93506138a881856020860161383f565b6138b181613872565b840191505092915050565b600060208201905081810360008301526138d68184613883565b905092915050565b6000819050919050565b6138f1816138de565b81146138fc57600080fd5b50565b60008135905061390e816138e8565b92915050565b60006020828403121561392a5761392961375e565b5b6000613938848285016138ff565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061396c82613941565b9050919050565b61397c81613961565b82525050565b60006020820190506139976000830184613973565b92915050565b6139a681613961565b81146139b157600080fd5b50565b6000813590506139c38161399d565b92915050565b600080604083850312156139e0576139df61375e565b5b60006139ee858286016139b4565b92505060206139ff858286016138ff565b9150509250929050565b613a12816138de565b82525050565b6000602082019050613a2d6000830184613a09565b92915050565b600080600060608486031215613a4c57613a4b61375e565b5b6000613a5a868287016139b4565b9350506020613a6b868287016139b4565b9250506040613a7c868287016138ff565b9150509250925092565b6000819050919050565b613a9981613a86565b8114613aa457600080fd5b50565b600081359050613ab681613a90565b92915050565b600060208284031215613ad257613ad161375e565b5b6000613ae084828501613aa7565b91505092915050565b613af281613a86565b82525050565b6000602082019050613b0d6000830184613ae9565b92915050565b60008060408385031215613b2a57613b2961375e565b5b6000613b38858286016138ff565b9250506020613b49858286016138ff565b9150509250929050565b6000604082019050613b686000830185613973565b613b756020830184613a09565b9392505050565b600080600060608486031215613b9557613b9461375e565b5b6000613ba3868287016139b4565b9350506020613bb4868287016138ff565b9250506040613bc5868287016138ff565b9150509250925092565b60008060408385031215613be657613be561375e565b5b6000613bf485828601613aa7565b9250506020613c05858286016139b4565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c5182613872565b810181811067ffffffffffffffff82111715613c7057613c6f613c19565b5b80604052505050565b6000613c83613754565b9050613c8f8282613c48565b919050565b600067ffffffffffffffff821115613caf57613cae613c19565b5b613cb882613872565b9050602081019050919050565b82818337600083830152505050565b6000613ce7613ce284613c94565b613c79565b905082815260208101848484011115613d0357613d02613c14565b5b613d0e848285613cc5565b509392505050565b600082601f830112613d2b57613d2a613c0f565b5b8135613d3b848260208601613cd4565b91505092915050565b600060208284031215613d5a57613d5961375e565b5b600082013567ffffffffffffffff811115613d7857613d77613763565b5b613d8484828501613d16565b91505092915050565b600067ffffffffffffffff821115613da857613da7613c19565b5b602082029050602081019050919050565b600080fd5b6000613dd1613dcc84613d8d565b613c79565b90508083825260208201905060208402830185811115613df457613df3613db9565b5b835b81811015613e1d5780613e0988826139b4565b845260208401935050602081019050613df6565b5050509392505050565b600082601f830112613e3c57613e3b613c0f565b5b8135613e4c848260208601613dbe565b91505092915050565b600067ffffffffffffffff821115613e7057613e6f613c19565b5b602082029050602081019050919050565b60006bffffffffffffffffffffffff82169050919050565b613ea281613e81565b8114613ead57600080fd5b50565b600081359050613ebf81613e99565b92915050565b6000613ed8613ed384613e55565b613c79565b90508083825260208201905060208402830185811115613efb57613efa613db9565b5b835b81811015613f245780613f108882613eb0565b845260208401935050602081019050613efd565b5050509392505050565b600082601f830112613f4357613f42613c0f565b5b8135613f53848260208601613ec5565b91505092915050565b600080600060608486031215613f7557613f7461375e565b5b600084013567ffffffffffffffff811115613f9357613f92613763565b5b613f9f86828701613e27565b935050602084013567ffffffffffffffff811115613fc057613fbf613763565b5b613fcc86828701613e27565b925050604084013567ffffffffffffffff811115613fed57613fec613763565b5b613ff986828701613f2e565b9150509250925092565b6000602082840312156140195761401861375e565b5b6000614027848285016139b4565b91505092915050565b6000806000606084860312156140495761404861375e565b5b6000614057868287016139b4565b9350506020614068868287016139b4565b925050604061407986828701613eb0565b9150509250925092565b600067ffffffffffffffff82111561409e5761409d613c19565b5b6140a782613872565b9050602081019050919050565b60006140c76140c284614083565b613c79565b9050828152602081018484840111156140e3576140e2613c14565b5b6140ee848285613cc5565b509392505050565b600082601f83011261410b5761410a613c0f565b5b813561411b8482602086016140b4565b91505092915050565b60008060006060848603121561413d5761413c61375e565b5b600061414b868287016139b4565b935050602061415c868287016138ff565b925050604084013567ffffffffffffffff81111561417d5761417c613763565b5b614189868287016140f6565b9150509250925092565b61419c816137ed565b81146141a757600080fd5b50565b6000813590506141b981614193565b92915050565b600080604083850312156141d6576141d561375e565b5b60006141e4858286016139b4565b92505060206141f5858286016141aa565b9150509250929050565b600080600080608085870312156142195761421861375e565b5b6000614227878288016139b4565b9450506020614238878288016138ff565b9350506040614249878288016138ff565b925050606085013567ffffffffffffffff81111561426a57614269613763565b5b614276878288016140f6565b91505092959194509250565b6000806000806080858703121561429c5761429b61375e565b5b60006142aa878288016139b4565b94505060206142bb878288016139b4565b93505060406142cc878288016138ff565b925050606085013567ffffffffffffffff8111156142ed576142ec613763565b5b6142f9878288016140f6565b91505092959194509250565b61430e81613e81565b82525050565b60006020820190506143296000830184614305565b92915050565b600080604083850312156143465761434561375e565b5b6000614354858286016139b4565b9250506020614365858286016139b4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143b657607f821691505b6020821081036143c9576143c861436f565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061442b60218361382e565b9150614436826143cf565b604082019050919050565b6000602082019050818103600083015261445a8161441e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006144bd603e8361382e565b91506144c882614461565b604082019050919050565b600060208201905081810360008301526144ec816144b0565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061454f602e8361382e565b915061455a826144f3565b604082019050919050565b6000602082019050818103600083015261457e81614542565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145bf826138de565b91506145ca836138de565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561460357614602614585565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614648826138de565b9150614653836138de565b9250826146635761466261460e565b5b828204905092915050565b6000614679826138de565b9150614684836138de565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146b9576146b8614585565b5b828201905092915050565b60006146cf826138de565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361470157614700614585565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614768602b8361382e565b91506147738261470c565b604082019050919050565b600060208201905081810360008301526147978161475b565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006147fa602f8361382e565b91506148058261479e565b604082019050919050565b60006020820190508181036000830152614829816147ed565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061488c602c8361382e565b915061489782614830565b604082019050919050565b600060208201905081810360008301526148bb8161487f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b600081546149138161439e565b61491d818661382e565b94506001821660008114614938576001811461494e57614981565b60ff198316865281151560200286019350614981565b614957856148f1565b60005b838110156149795781548189015260018201915060208101905061495a565b808801955050505b50505092915050565b600060608201905061499f6000830186613973565b81810360208301526149b18185614906565b905081810360408301526149c58184613883565b9050949350505050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614a1c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826149df565b614a2686836149df565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614a63614a5e614a59846138de565b614a3e565b6138de565b9050919050565b6000819050919050565b614a7d83614a48565b614a91614a8982614a6a565b8484546149ec565b825550505050565b600090565b614aa6614a99565b614ab1818484614a74565b505050565b5b81811015614ad557614aca600082614a9e565b600181019050614ab7565b5050565b601f821115614b1a57614aeb816148f1565b614af4846149cf565b81016020851015614b03578190505b614b17614b0f856149cf565b830182614ab6565b50505b505050565b600082821c905092915050565b6000614b3d60001984600802614b1f565b1980831691505092915050565b6000614b568383614b2c565b9150826002028217905092915050565b614b6f82613823565b67ffffffffffffffff811115614b8857614b87613c19565b5b614b92825461439e565b614b9d828285614ad9565b600060209050601f831160018114614bd05760008415614bbe578287015190505b614bc88582614b4a565b865550614c30565b601f198416614bde866148f1565b60005b82811015614c0657848901518255600182019150602085019450602081019050614be1565b86831015614c235784890151614c1f601f891682614b2c565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614c6e60188361382e565b9150614c7982614c38565b602082019050919050565b60006020820190508181036000830152614c9d81614c61565b9050919050565b7f4552433732313a20417272617973206c656e677468206d69736d617463680000600082015250565b6000614cda601e8361382e565b9150614ce582614ca4565b602082019050919050565b60006020820190508181036000830152614d0981614ccd565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614d6c60298361382e565b9150614d7782614d10565b604082019050919050565b60006020820190508181036000830152614d9b81614d5f565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614dc982614da2565b614dd38185614dad565b9350614de381856020860161383f565b614dec81613872565b840191505092915050565b6000608082019050614e0c6000830187613973565b614e196020830186613973565b614e266040830185613a09565b8181036060830152614e388184614dbe565b905095945050505050565b600081519050614e5281613794565b92915050565b600060208284031215614e6e57614e6d61375e565b5b6000614e7c84828501614e43565b91505092915050565b7f496e76616c6964206f6e455243373231526563656976656420726573706f6e7360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ee160218361382e565b9150614eec82614e85565b604082019050919050565b60006020820190508181036000830152614f1081614ed4565b9050919050565b600081905092915050565b6000614f2d82613823565b614f378185614f17565b9350614f4781856020860161383f565b80840191505092915050565b6000614f5f8285614f22565b9150614f6b8284614f22565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614fd360268361382e565b9150614fde82614f77565b604082019050919050565b6000602082019050818103600083015261500281614fc6565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061506560258361382e565b915061507082615009565b604082019050919050565b6000602082019050818103600083015261509481615058565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006150f760248361382e565b91506151028261509b565b604082019050919050565b60006020820190508181036000830152615126816150ea565b9050919050565b6000615138826138de565b9150615143836138de565b92508282101561515657615155614585565b5b828203905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061519760208361382e565b91506151a282615161565b602082019050919050565b600060208201905081810360008301526151c68161518a565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615203601c8361382e565b915061520e826151cd565b602082019050919050565b60006020820190508181036000830152615232816151f6565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061529560328361382e565b91506152a082615239565b604082019050919050565b600060208201905081810360008301526152c481615288565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615327602a8361382e565b9150615332826152cb565b604082019050919050565b600060208201905081810360008301526153568161531a565b9050919050565b7f455243323938313a20496e76616c696420706172616d65746572730000000000600082015250565b6000615393601b8361382e565b915061539e8261535d565b602082019050919050565b600060208201905081810360008301526153c281615386565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006153ff60208361382e565b915061540a826153c9565b602082019050919050565b6000602082019050818103600083015261542e816153f2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061546b60198361382e565b915061547682615435565b602082019050919050565b6000602082019050818103600083015261549a8161545e565b9050919050565b60006154ac826138de565b91506154b7836138de565b9250826154c7576154c661460e565b5b828206905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000615508601783614f17565b9150615513826154d2565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000615554601183614f17565b915061555f8261551e565b601182019050919050565b6000615575826154fb565b91506155818285614f22565b915061558c82615547565b91506155988284614f22565b91508190509392505050565b60006155af826138de565b9150600082036155c2576155c1614585565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061560360208361382e565b915061560e826155cd565b602082019050919050565b60006020820190508181036000830152615632816155f6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212206fe0411b77a985205a3de666bdc22f6d939756bc02b547ceeec600f8a929cb3d64736f6c634300080f00330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000104e65775665727365436f6e747261637400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4e657756657273654e4654000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102695760003560e01c80636352211e11610151578063a1448194116100c3578063b8997a9711610087578063b8997a9714610743578063c87b56dd14610761578063d539139314610791578063d547741f146107af578063e985e9c5146107cb578063f2fde38b146107fb57610269565b8063a1448194146106b5578063a217fddf146106d1578063a22cb465146106ef578063af65e2a81461070b578063b88d4fde1461072757610269565b8063715018a611610115578063715018a6146106055780638832e6e31461060f5780638da5cb5b1461062b57806391d148541461064957806395d89b41146106795780639fbc87131461069757610269565b80636352211e1461054f57806363dfab991461057f578063682d07d91461059b57806370a08231146105b957806370a4e563146105e957610269565b80632f2ff15d116101ea57806342966c68116101ae57806342966c681461047d5780634f558e79146104995780634f6ccce7146104c957806355f804b3146104f95780635cc99e3514610515578063615879111461053357610269565b80632f2ff15d146103dd5780632f745c59146103f957806336568abe1461042957806340c10f191461044557806342842e0e1461046157610269565b806323b872dd1161023157806323b872dd14610326578063248a9ca314610342578063282c51f3146103725780632a55205a146103905780632e81aaea146103c157610269565b806301ffc9a71461026e57806306fdde031461029e578063081812fc146102bc578063095ea7b3146102ec57806318160ddd14610308575b600080fd5b610288600480360381019061028391906137c0565b610817565b6040516102959190613808565b60405180910390f35b6102a6610891565b6040516102b391906138bc565b60405180910390f35b6102d660048036038101906102d19190613914565b610923565b6040516102e39190613982565b60405180910390f35b610306600480360381019061030191906139c9565b610969565b005b610310610a80565b60405161031d9190613a18565b60405180910390f35b610340600480360381019061033b9190613a33565b610a8d565b005b61035c60048036038101906103579190613abc565b610aed565b6040516103699190613af8565b60405180910390f35b61037a610b0d565b6040516103879190613af8565b60405180910390f35b6103aa60048036038101906103a59190613b13565b610b31565b6040516103b8929190613b53565b60405180910390f35b6103db60048036038101906103d69190613b7c565b610d1b565b005b6103f760048036038101906103f29190613bcf565b610d7f565b005b610413600480360381019061040e91906139c9565b610da0565b6040516104209190613a18565b60405180910390f35b610443600480360381019061043e9190613bcf565b610e45565b005b61045f600480360381019061045a91906139c9565b610ec8565b005b61047b60048036038101906104769190613a33565b610f01565b005b61049760048036038101906104929190613914565b610f21565b005b6104b360048036038101906104ae9190613914565b610f58565b6040516104c09190613808565b60405180910390f35b6104e360048036038101906104de9190613914565b610f6a565b6040516104f09190613a18565b60405180910390f35b610513600480360381019061050e9190613d44565b610fdb565b005b61051d611055565b60405161052a9190613a18565b60405180910390f35b61054d60048036038101906105489190613b7c565b611079565b005b61056960048036038101906105649190613914565b611099565b6040516105769190613982565b60405180910390f35b61059960048036038101906105949190613f5c565b61114a565b005b6105a3611330565b6040516105b09190613af8565b60405180910390f35b6105d360048036038101906105ce9190614003565b611354565b6040516105e09190613a18565b60405180910390f35b61060360048036038101906105fe9190614030565b61140b565b005b61060d6114e4565b005b61062960048036038101906106249190614124565b6114f8565b005b610633611666565b6040516106409190613982565b60405180910390f35b610663600480360381019061065e9190613bcf565b611690565b6040516106709190613808565b60405180910390f35b6106816116fb565b60405161068e91906138bc565b60405180910390f35b61069f61178d565b6040516106ac9190613982565b60405180910390f35b6106cf60048036038101906106ca91906139c9565b6117b3565b005b6106d96117d1565b6040516106e69190613af8565b60405180910390f35b610709600480360381019061070491906141bf565b6117d8565b005b610725600480360381019061072091906141ff565b6117ee565b005b610741600480360381019061073c9190614282565b611933565b005b61074b611995565b6040516107589190614314565b60405180910390f35b61077b60048036038101906107769190613914565b6119b3565b60405161078891906138bc565b60405180910390f35b610799611a1b565b6040516107a69190613af8565b60405180910390f35b6107c960048036038101906107c49190613bcf565b611a3f565b005b6107e560048036038101906107e0919061432f565b611a60565b6040516107f29190613808565b60405180910390f35b61081560048036038101906108109190614003565b611af4565b005b60007fc65ed744000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061088a575061088982611b77565b5b9050919050565b6060600080546108a09061439e565b80601f01602080910402602001604051908101604052809291908181526020018280546108cc9061439e565b80156109195780601f106108ee57610100808354040283529160200191610919565b820191906000526020600020905b8154815290600101906020018083116108fc57829003601f168201915b5050505050905090565b600061092e82611bf1565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097482611099565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90614441565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a03611c3c565b73ffffffffffffffffffffffffffffffffffffffff161480610a325750610a3181610a2c611c3c565b611a60565b5b610a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a68906144d3565b60405180910390fd5b610a7b8383611c44565b505050565b6000600a80549050905090565b610a9e610a98611c3c565b82611cfd565b610add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad490614565565b60405180910390fd5b610ae8838383611d92565b505050565b6000600c6000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b6000806000600760008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610cc65760066040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610cd0611ff8565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610cfc91906145b4565b610d06919061463d565b90508160000151819350935050509250929050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610d4581612002565b60005b82811015610d7857610d65858286610d60919061466e565b612016565b8080610d70906146c4565b915050610d48565b5050505050565b610d8882610aed565b610d9181612002565b610d9b83836121ef565b505050565b6000610dab83611354565b8210610dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de39061477e565b60405180910390fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e4d611c3c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb190614810565b60405180910390fd5b610ec482826122d0565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610ef281612002565b610efc8383612016565b505050565b610f1c83838360405180602001604052806000815250611933565b505050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848610f4b81612002565b610f54826123b2565b5050565b6000610f63826124cf565b9050919050565b6000610f74610a80565b8210610fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fac906148a2565b60405180910390fd5b600a8281548110610fc957610fc86148c2565b5b90600052602060002001549050919050565b7fa70a2d8710fed9f014c8c2af50c7c2f6b25748ae4cded822e03b7beed44cf3a861100581612002565b7f92bf6a7b8937c17e6781a68d61f9fe6a5ce08604b96ca2206f311049a3a295ea336010846040516110399392919061498a565b60405180910390a181601090816110509190614b66565b505050565b7f4ebc543461226df65d31b67dec68125999e3edefd972503858c9b3462efd1e3881565b611094838383604051806020016040528060008152506117ee565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890614c84565b60405180910390fd5b80915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661117481612002565b82518451148015611186575081518451145b6111c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bc90614cf0565b60405180910390fd5b60005b8451811015611329576111db600f61253b565b60006111e7600f612551565b905061121d8683815181106111ff576111fe6148c2565b5b6020026020010151826040518060200160405280600081525061255f565b6000848381518110611232576112316148c2565b5b60200260200101516bffffffffffffffffffffffff1611156113155761128d81868481518110611265576112646148c2565b5b60200260200101518685815181106112805761127f6148c2565b5b60200260200101516125ba565b8382815181106112a05761129f6148c2565b5b60200260200101516bffffffffffffffffffffffff168583815181106112c9576112c86148c2565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16827f1c7e37ba150b2dbe79204fefe00ac20fce5a7d6a25c249c17eef318a3c30922960405160405180910390a45b508080611321906146c4565b9150506111c8565b5050505050565b7fa70a2d8710fed9f014c8c2af50c7c2f6b25748ae4cded822e03b7beed44cf3a881565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bb90614d82565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661143581612002565b61143f600f61253b565b600061144b600f612551565b905061146785826040518060200160405280600081525061255f565b6000836bffffffffffffffffffffffff1611156114dd576114898185856125ba565b826bffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16827f1c7e37ba150b2dbe79204fefe00ac20fce5a7d6a25c249c17eef318a3c30922960405160405180910390a45b5050505050565b6114ec612761565b6114f660006127df565b565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661152281612002565b61152c8484612016565b61154b8473ffffffffffffffffffffffffffffffffffffffff166128a5565b156116605760008473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233600087876040518563ffffffff1660e01b81526004016115929493929190614df7565b6020604051808303816000875af11580156115b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d59190614e58565b905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461165e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165590614ef7565b60405180910390fd5b505b50505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461170a9061439e565b80601f01602080910402602001604051908101604052809291908181526020018280546117369061439e565b80156117835780601f1061175857610100808354040283529160200191611783565b820191906000526020600020905b81548152906001019060200180831161176657829003601f168201915b5050505050905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6117cd8282604051806020016040528060008152506114f8565b5050565b6000801b81565b6117ea6117e3611c3c565b83836128c8565b5050565b6117f9848484610d1b565b6118188473ffffffffffffffffffffffffffffffffffffffff166128a5565b1561192d5760008473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233600087866040518563ffffffff1660e01b815260040161185f9493929190614df7565b6020604051808303816000875af115801561187e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a29190614e58565b905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461192b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192290614ef7565b60405180910390fd5b505b50505050565b61194461193e611c3c565b83611cfd565b611983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197a90614565565b60405180910390fd5b61198f84848484612a34565b50505050565b600e60149054906101000a90046bffffffffffffffffffffffff1681565b60606119be82611bf1565b60006119c8612a90565b905060008151116119e85760405180602001604052806000815250611a13565b806119f284612b22565b604051602001611a03929190614f53565b6040516020818303038152906040525b915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611a4882610aed565b611a5181612002565b611a5b83836122d0565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611afc612761565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6290614fe9565b60405180910390fd5b611b74816127df565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bea5750611be982612c82565b5b9050919050565b611bfa816124cf565b611c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3090614c84565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611cb783611099565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611d0983611099565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d4b5750611d4a8185611a60565b5b80611d8957508373ffffffffffffffffffffffffffffffffffffffff16611d7184610923565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611db282611099565b73ffffffffffffffffffffffffffffffffffffffff1614611e08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dff9061507b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6e9061510d565b60405180910390fd5b611e82838383612cfc565b611e8d600082611c44565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611edd919061512d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f34919061466e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ff3838383612d0c565b505050565b6000612710905090565b6120138161200e611c3c565b612d11565b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207c906151ad565b60405180910390fd5b61208e816124cf565b156120ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c590615219565b60405180910390fd5b6120da60008383612cfc565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461212a919061466e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121eb60008383612d0c565b5050565b6121f98282611690565b6122cc576001600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612271611c3c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6122da8282611690565b156123ae576000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612353611c3c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006123bd82611099565b90506123cb81600084612cfc565b6123d6600083611c44565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612426919061512d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124cb81600084612d0c565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6001816000016000828254019250508190555050565b600081600001549050919050565b6125698383612016565b6125766000848484612dae565b6125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac906152ab565b60405180910390fd5b505050565b6125c2611ff8565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612620576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126179061533d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361268f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612686906153a9565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506007600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b612769611c3c565b73ffffffffffffffffffffffffffffffffffffffff16612787611666565b73ffffffffffffffffffffffffffffffffffffffff16146127dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d490615415565b60405180910390fd5b565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292d90615481565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a279190613808565b60405180910390a3505050565b612a3f848484611d92565b612a4b84848484612dae565b612a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a81906152ab565b60405180910390fd5b50505050565b606060108054612a9f9061439e565b80601f0160208091040260200160405190810160405280929190818152602001828054612acb9061439e565b8015612b185780601f10612aed57610100808354040283529160200191612b18565b820191906000526020600020905b815481529060010190602001808311612afb57829003601f168201915b5050505050905090565b606060008203612b69576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c7d565b600082905060005b60008214612b9b578080612b84906146c4565b915050600a82612b94919061463d565b9150612b71565b60008167ffffffffffffffff811115612bb757612bb6613c19565b5b6040519080825280601f01601f191660200182016040528015612be95781602001600182028036833780820191505090505b5090505b60008514612c7657600182612c02919061512d565b9150600a85612c1191906154a1565b6030612c1d919061466e565b60f81b818381518110612c3357612c326148c2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c6f919061463d565b9450612bed565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cf55750612cf482612f35565b5b9050919050565b612d07838383612faf565b505050565b505050565b612d1b8282611690565b612daa57612d408173ffffffffffffffffffffffffffffffffffffffff1660146130c1565b612d4e8360001c60206130c1565b604051602001612d5f92919061556a565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da191906138bc565b60405180910390fd5b5050565b6000612dcf8473ffffffffffffffffffffffffffffffffffffffff166128a5565b15612f28578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612df8611c3c565b8786866040518563ffffffff1660e01b8152600401612e1a9493929190614df7565b6020604051808303816000875af1925050508015612e5657506040513d601f19601f82011682018060405250810190612e539190614e58565b60015b612ed8573d8060008114612e86576040519150601f19603f3d011682016040523d82523d6000602084013e612e8b565b606091505b506000815103612ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec7906152ab565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f2d565b600190505b949350505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612fa85750612fa7826132fd565b5b9050919050565b612fba8383836133df565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ffc57612ff7816133e4565b61303b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461303a57613039838261342d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361307d576130788161359a565b6130bc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130bb576130ba828261366b565b5b5b505050565b6060600060028360026130d491906145b4565b6130de919061466e565b67ffffffffffffffff8111156130f7576130f6613c19565b5b6040519080825280601f01601f1916602001820160405280156131295781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613161576131606148c2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106131c5576131c46148c2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261320591906145b4565b61320f919061466e565b90505b60018111156132af577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613251576132506148c2565b5b1a60f81b828281518110613268576132676148c2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806132a8906155a4565b9050613212565b50600084146132f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ea90615619565b60405180910390fd5b8091505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806133c857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806133d857506133d7826136ea565b5b9050919050565b505050565b600a80549050600b600083815260200190815260200160002081905550600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161343a84611354565b613444919061512d565b9050600060096000848152602001908152602001600020549050818114613529576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b6009600084815260200190815260200160002060009055600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600a805490506135ae919061512d565b90506000600b60008481526020019081526020016000205490506000600a83815481106135de576135dd6148c2565b5b9060005260206000200154905080600a8381548110613600576135ff6148c2565b5b906000526020600020018190555081600b600083815260200190815260200160002081905550600b600085815260200190815260200160002060009055600a80548061364f5761364e615639565b5b6001900381819060005260206000200160009055905550505050565b600061367683611354565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61379d81613768565b81146137a857600080fd5b50565b6000813590506137ba81613794565b92915050565b6000602082840312156137d6576137d561375e565b5b60006137e4848285016137ab565b91505092915050565b60008115159050919050565b613802816137ed565b82525050565b600060208201905061381d60008301846137f9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561385d578082015181840152602081019050613842565b8381111561386c576000848401525b50505050565b6000601f19601f8301169050919050565b600061388e82613823565b613898818561382e565b93506138a881856020860161383f565b6138b181613872565b840191505092915050565b600060208201905081810360008301526138d68184613883565b905092915050565b6000819050919050565b6138f1816138de565b81146138fc57600080fd5b50565b60008135905061390e816138e8565b92915050565b60006020828403121561392a5761392961375e565b5b6000613938848285016138ff565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061396c82613941565b9050919050565b61397c81613961565b82525050565b60006020820190506139976000830184613973565b92915050565b6139a681613961565b81146139b157600080fd5b50565b6000813590506139c38161399d565b92915050565b600080604083850312156139e0576139df61375e565b5b60006139ee858286016139b4565b92505060206139ff858286016138ff565b9150509250929050565b613a12816138de565b82525050565b6000602082019050613a2d6000830184613a09565b92915050565b600080600060608486031215613a4c57613a4b61375e565b5b6000613a5a868287016139b4565b9350506020613a6b868287016139b4565b9250506040613a7c868287016138ff565b9150509250925092565b6000819050919050565b613a9981613a86565b8114613aa457600080fd5b50565b600081359050613ab681613a90565b92915050565b600060208284031215613ad257613ad161375e565b5b6000613ae084828501613aa7565b91505092915050565b613af281613a86565b82525050565b6000602082019050613b0d6000830184613ae9565b92915050565b60008060408385031215613b2a57613b2961375e565b5b6000613b38858286016138ff565b9250506020613b49858286016138ff565b9150509250929050565b6000604082019050613b686000830185613973565b613b756020830184613a09565b9392505050565b600080600060608486031215613b9557613b9461375e565b5b6000613ba3868287016139b4565b9350506020613bb4868287016138ff565b9250506040613bc5868287016138ff565b9150509250925092565b60008060408385031215613be657613be561375e565b5b6000613bf485828601613aa7565b9250506020613c05858286016139b4565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c5182613872565b810181811067ffffffffffffffff82111715613c7057613c6f613c19565b5b80604052505050565b6000613c83613754565b9050613c8f8282613c48565b919050565b600067ffffffffffffffff821115613caf57613cae613c19565b5b613cb882613872565b9050602081019050919050565b82818337600083830152505050565b6000613ce7613ce284613c94565b613c79565b905082815260208101848484011115613d0357613d02613c14565b5b613d0e848285613cc5565b509392505050565b600082601f830112613d2b57613d2a613c0f565b5b8135613d3b848260208601613cd4565b91505092915050565b600060208284031215613d5a57613d5961375e565b5b600082013567ffffffffffffffff811115613d7857613d77613763565b5b613d8484828501613d16565b91505092915050565b600067ffffffffffffffff821115613da857613da7613c19565b5b602082029050602081019050919050565b600080fd5b6000613dd1613dcc84613d8d565b613c79565b90508083825260208201905060208402830185811115613df457613df3613db9565b5b835b81811015613e1d5780613e0988826139b4565b845260208401935050602081019050613df6565b5050509392505050565b600082601f830112613e3c57613e3b613c0f565b5b8135613e4c848260208601613dbe565b91505092915050565b600067ffffffffffffffff821115613e7057613e6f613c19565b5b602082029050602081019050919050565b60006bffffffffffffffffffffffff82169050919050565b613ea281613e81565b8114613ead57600080fd5b50565b600081359050613ebf81613e99565b92915050565b6000613ed8613ed384613e55565b613c79565b90508083825260208201905060208402830185811115613efb57613efa613db9565b5b835b81811015613f245780613f108882613eb0565b845260208401935050602081019050613efd565b5050509392505050565b600082601f830112613f4357613f42613c0f565b5b8135613f53848260208601613ec5565b91505092915050565b600080600060608486031215613f7557613f7461375e565b5b600084013567ffffffffffffffff811115613f9357613f92613763565b5b613f9f86828701613e27565b935050602084013567ffffffffffffffff811115613fc057613fbf613763565b5b613fcc86828701613e27565b925050604084013567ffffffffffffffff811115613fed57613fec613763565b5b613ff986828701613f2e565b9150509250925092565b6000602082840312156140195761401861375e565b5b6000614027848285016139b4565b91505092915050565b6000806000606084860312156140495761404861375e565b5b6000614057868287016139b4565b9350506020614068868287016139b4565b925050604061407986828701613eb0565b9150509250925092565b600067ffffffffffffffff82111561409e5761409d613c19565b5b6140a782613872565b9050602081019050919050565b60006140c76140c284614083565b613c79565b9050828152602081018484840111156140e3576140e2613c14565b5b6140ee848285613cc5565b509392505050565b600082601f83011261410b5761410a613c0f565b5b813561411b8482602086016140b4565b91505092915050565b60008060006060848603121561413d5761413c61375e565b5b600061414b868287016139b4565b935050602061415c868287016138ff565b925050604084013567ffffffffffffffff81111561417d5761417c613763565b5b614189868287016140f6565b9150509250925092565b61419c816137ed565b81146141a757600080fd5b50565b6000813590506141b981614193565b92915050565b600080604083850312156141d6576141d561375e565b5b60006141e4858286016139b4565b92505060206141f5858286016141aa565b9150509250929050565b600080600080608085870312156142195761421861375e565b5b6000614227878288016139b4565b9450506020614238878288016138ff565b9350506040614249878288016138ff565b925050606085013567ffffffffffffffff81111561426a57614269613763565b5b614276878288016140f6565b91505092959194509250565b6000806000806080858703121561429c5761429b61375e565b5b60006142aa878288016139b4565b94505060206142bb878288016139b4565b93505060406142cc878288016138ff565b925050606085013567ffffffffffffffff8111156142ed576142ec613763565b5b6142f9878288016140f6565b91505092959194509250565b61430e81613e81565b82525050565b60006020820190506143296000830184614305565b92915050565b600080604083850312156143465761434561375e565b5b6000614354858286016139b4565b9250506020614365858286016139b4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143b657607f821691505b6020821081036143c9576143c861436f565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061442b60218361382e565b9150614436826143cf565b604082019050919050565b6000602082019050818103600083015261445a8161441e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006144bd603e8361382e565b91506144c882614461565b604082019050919050565b600060208201905081810360008301526144ec816144b0565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061454f602e8361382e565b915061455a826144f3565b604082019050919050565b6000602082019050818103600083015261457e81614542565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145bf826138de565b91506145ca836138de565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561460357614602614585565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614648826138de565b9150614653836138de565b9250826146635761466261460e565b5b828204905092915050565b6000614679826138de565b9150614684836138de565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146b9576146b8614585565b5b828201905092915050565b60006146cf826138de565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361470157614700614585565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614768602b8361382e565b91506147738261470c565b604082019050919050565b600060208201905081810360008301526147978161475b565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006147fa602f8361382e565b91506148058261479e565b604082019050919050565b60006020820190508181036000830152614829816147ed565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061488c602c8361382e565b915061489782614830565b604082019050919050565b600060208201905081810360008301526148bb8161487f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b600081546149138161439e565b61491d818661382e565b94506001821660008114614938576001811461494e57614981565b60ff198316865281151560200286019350614981565b614957856148f1565b60005b838110156149795781548189015260018201915060208101905061495a565b808801955050505b50505092915050565b600060608201905061499f6000830186613973565b81810360208301526149b18185614906565b905081810360408301526149c58184613883565b9050949350505050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614a1c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826149df565b614a2686836149df565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614a63614a5e614a59846138de565b614a3e565b6138de565b9050919050565b6000819050919050565b614a7d83614a48565b614a91614a8982614a6a565b8484546149ec565b825550505050565b600090565b614aa6614a99565b614ab1818484614a74565b505050565b5b81811015614ad557614aca600082614a9e565b600181019050614ab7565b5050565b601f821115614b1a57614aeb816148f1565b614af4846149cf565b81016020851015614b03578190505b614b17614b0f856149cf565b830182614ab6565b50505b505050565b600082821c905092915050565b6000614b3d60001984600802614b1f565b1980831691505092915050565b6000614b568383614b2c565b9150826002028217905092915050565b614b6f82613823565b67ffffffffffffffff811115614b8857614b87613c19565b5b614b92825461439e565b614b9d828285614ad9565b600060209050601f831160018114614bd05760008415614bbe578287015190505b614bc88582614b4a565b865550614c30565b601f198416614bde866148f1565b60005b82811015614c0657848901518255600182019150602085019450602081019050614be1565b86831015614c235784890151614c1f601f891682614b2c565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614c6e60188361382e565b9150614c7982614c38565b602082019050919050565b60006020820190508181036000830152614c9d81614c61565b9050919050565b7f4552433732313a20417272617973206c656e677468206d69736d617463680000600082015250565b6000614cda601e8361382e565b9150614ce582614ca4565b602082019050919050565b60006020820190508181036000830152614d0981614ccd565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614d6c60298361382e565b9150614d7782614d10565b604082019050919050565b60006020820190508181036000830152614d9b81614d5f565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614dc982614da2565b614dd38185614dad565b9350614de381856020860161383f565b614dec81613872565b840191505092915050565b6000608082019050614e0c6000830187613973565b614e196020830186613973565b614e266040830185613a09565b8181036060830152614e388184614dbe565b905095945050505050565b600081519050614e5281613794565b92915050565b600060208284031215614e6e57614e6d61375e565b5b6000614e7c84828501614e43565b91505092915050565b7f496e76616c6964206f6e455243373231526563656976656420726573706f6e7360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ee160218361382e565b9150614eec82614e85565b604082019050919050565b60006020820190508181036000830152614f1081614ed4565b9050919050565b600081905092915050565b6000614f2d82613823565b614f378185614f17565b9350614f4781856020860161383f565b80840191505092915050565b6000614f5f8285614f22565b9150614f6b8284614f22565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614fd360268361382e565b9150614fde82614f77565b604082019050919050565b6000602082019050818103600083015261500281614fc6565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061506560258361382e565b915061507082615009565b604082019050919050565b6000602082019050818103600083015261509481615058565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006150f760248361382e565b91506151028261509b565b604082019050919050565b60006020820190508181036000830152615126816150ea565b9050919050565b6000615138826138de565b9150615143836138de565b92508282101561515657615155614585565b5b828203905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061519760208361382e565b91506151a282615161565b602082019050919050565b600060208201905081810360008301526151c68161518a565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615203601c8361382e565b915061520e826151cd565b602082019050919050565b60006020820190508181036000830152615232816151f6565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061529560328361382e565b91506152a082615239565b604082019050919050565b600060208201905081810360008301526152c481615288565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615327602a8361382e565b9150615332826152cb565b604082019050919050565b600060208201905081810360008301526153568161531a565b9050919050565b7f455243323938313a20496e76616c696420706172616d65746572730000000000600082015250565b6000615393601b8361382e565b915061539e8261535d565b602082019050919050565b600060208201905081810360008301526153c281615386565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006153ff60208361382e565b915061540a826153c9565b602082019050919050565b6000602082019050818103600083015261542e816153f2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061546b60198361382e565b915061547682615435565b602082019050919050565b6000602082019050818103600083015261549a8161545e565b9050919050565b60006154ac826138de565b91506154b7836138de565b9250826154c7576154c661460e565b5b828206905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000615508601783614f17565b9150615513826154d2565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000615554601183614f17565b915061555f8261551e565b601182019050919050565b6000615575826154fb565b91506155818285614f22565b915061558c82615547565b91506155988284614f22565b91508190509392505050565b60006155af826138de565b9150600082036155c2576155c1614585565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061560360208361382e565b915061560e826155cd565b602082019050919050565b60006020820190508181036000830152615632816155f6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212206fe0411b77a985205a3de666bdc22f6d939756bc02b547ceeec600f8a929cb3d64736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000104e65775665727365436f6e747261637400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4e657756657273654e4654000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): NewVerseContract
Arg [1] : _symbol (string): NewVerseNFT
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [3] : 4e65775665727365436f6e747261637400000000000000000000000000000000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 4e657756657273654e4654000000000000000000000000000000000000000000
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.