ERC-721
Overview
Max Total Supply
1,664 MVADER
Holders
593
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 MVADERLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Metavaders
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /// @title: Metavaders - Mint /// @author: PxGnome /// @notice: Basic core Metavaders NFT Smart Contract /// @dev: This is Version 1.0 // // ███╗ ███╗███████╗████████╗ █████╗ ██╗ ██╗ █████╗ ██████╗ ███████╗██████╗ ███████╗ // ████╗ ████║██╔════╝╚══██╔══╝██╔══██╗██║ ██║██╔══██╗██╔══██╗██╔════╝██╔══██╗██╔════╝ // ██╔████╔██║█████╗ ██║ ███████║██║ ██║███████║██║ ██║█████╗ ██████╔╝███████╗ // ██║╚██╔╝██║██╔══╝ ██║ ██╔══██║╚██╗ ██╔╝██╔══██║██║ ██║██╔══╝ ██╔══██╗╚════██║ // ██║ ╚═╝ ██║███████╗ ██║ ██║ ██║ ╚████╔╝ ██║ ██║██████╔╝███████╗██║ ██║███████║ // ╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚══════╝ // pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/access/AccessControlEnumerable.sol"; // import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contract Metavaders is Ownable, AccessControlEnumerable, ERC721Enumerable { // SPECIAL ROLE DEFINE bytes32 public constant ACTIVATOR_ROLE = keccak256("ACTIVATOR_ROLE"); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); using Strings for uint256; string public _baseTokenURI; mapping (uint256 => string) private _tokenURIs; // Optional mapping for token URIs uint256 public max_mint = 10101; uint256 public reserved = 200; // Reserved amount for special usage // uint256 public price = 0.07 ether; // uint256 private _max_gas = 0.01 ether; // uint256 public start_time = 0; // start time: Monday, September 13, 2021 7:00:00 PM UTC // uint256 private _presale_max = 1000; bool private _reveal = false; // -- CONSTRUCTOR FUNCTIONS -- // // 10101 Metavaders in total constructor(string memory baseURI) ERC721("Metavaders", "MVADER") { // Set up baseURI for when not yet revealed setBaseURI(baseURI); // Set Up Roles _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(ACTIVATOR_ROLE, _msgSender()); grantRole(ACTIVATOR_ROLE, address(this)); _setupRole(MINTER_ROLE, _msgSender()); grantRole(MINTER_ROLE, address(this)); // Mint the first Metavader for owner _safeMint(_msgSender(), 0); } // // -- UTILITY FUNCTIONS -- // function compareStrings(string memory a, string memory b) internal pure returns (bool) { return (keccak256(abi.encodePacked((a))) == keccak256(abi.encodePacked((b)))); } // -- BASE FUNCTIONS -- // // Shows Base URI function getBaseURI() public view virtual returns (string memory) { return _baseTokenURI; } // Mint Function function mint(address to, uint256 num) public virtual { require(hasRole(MINTER_ROLE, _msgSender()), "Must have minter role to mint"); uint256 supply = totalSupply(); for(uint256 i; i < num; i++){ _safeMint(to, supply + i ); } } // Used to set up overrides function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } // function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { // super._burn(tokenId); // } function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControlEnumerable, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function tokenURI(uint256 tokenId) public view virtual override(ERC721) returns (string memory) { require(_exists(tokenId), "URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); if (!_reveal) { return _baseURI(); } // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } // Used to update baseURI to make upgrades to metadata - Only done by owner function setBaseURI(string memory baseURI) public onlyOwner { _baseTokenURI = baseURI; } // To allow token URI to reveal the actual collection function reveal(bool _revealed, string memory baseURI) public onlyOwner { _reveal = _revealed; setBaseURI(baseURI); } // // Minted the reserve function reserveMint(address _to, uint256 _amount) external onlyOwner() { require( _amount <= reserved, "Exceeds reserved supply" ); uint256 supply = totalSupply(); for(uint256 i; i < _amount; i++){ _safeMint( _to, supply + i ); } reserved -= _amount; } // Withdraw ETH to owner addresss function withdrawAll() public payable onlyOwner returns (uint256) { uint256 balance = address(this).balance; require(payable(owner()).send(balance)); return balance; } // -- CUSTOM ADD ONS --// // ACTIVATOR_ROLE function grantActivator(address _address) public { grantRole(ACTIVATOR_ROLE, _address); } function revokeActivator(address _address) public { revokeRole(ACTIVATOR_ROLE, _address); } // MINTER_ROLE function grantMinter(address _address) public { grantRole(MINTER_ROLE, _address); } function revokeMinter(address _address) public { revokeRole(MINTER_ROLE, _address); } // Changes the Metavaders' mode can be used by ACTIVATORS function changeMode(uint256 tokenId, string memory mode) public virtual { require(hasRole(ACTIVATOR_ROLE, _msgSender()), "Must have ACTIVATOR_ROLE to execute"); _setTokenURI(tokenId, string(abi.encodePacked(tokenId.toString(), mode))); } // Helps check which Metavader this wallet owner owns function collectionInWallet(address _owner) public view returns(uint256[] memory) { uint256 tokenCount = balanceOf(_owner); uint256[] memory tokensId = new uint256[](tokenCount); for(uint256 i; i < tokenCount; i++){ tokensId[i] = tokenOfOwnerByIndex(_owner, i); } return tokensId; } // Helps check how many Metavader this wallet owner owns // function tokenInWallet(address _owner) public view returns(uint256) { // return balanceOf(_owner); // } function remainingSupply() public view returns(uint256) { return (max_mint - totalSupply() - reserved); } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControlEnumerable.sol"; import "./AccessControl.sol"; import "../utils/structs/EnumerableSet.sol"; /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {grantRole} to track enumerable memberships */ function grantRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) { super.grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {revokeRole} to track enumerable memberships */ function revokeRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) { super.revokeRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {renounceRole} to track enumerable memberships */ function renounceRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) { super.renounceRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {_setupRole} to track enumerable memberships */ function _setupRole(bytes32 role, address account) internal virtual override { super._setupRole(role, account); _roleMembers[role].add(account); } }
// SPDX-License-Identifier: MIT 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 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 pragma solidity ^0.8.0; import "./IAccessControl.sol"; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable is IAccessControl { /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) external view returns (address); /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) external view returns (uint256); }
// SPDX-License-Identifier: MIT 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, _msgSender()); _; } /** * @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 override returns (bool) { return _roles[role].members[account]; } /** * @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 { 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 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. */ 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. */ 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 granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ 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. * * [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}. * ==== */ 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); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @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); } }
// SPDX-License-Identifier: MIT 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 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 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: balance query for the zero address"); 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: owner query for nonexistent token"); 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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); 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 overriden 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 owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _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) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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); } /** * @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); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); 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); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @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 { 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 {} }
// SPDX-License-Identifier: MIT 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 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT 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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT 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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","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":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"},{"inputs":[],"name":"ACTIVATOR_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":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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"},{"internalType":"string","name":"mode","type":"string"}],"name":"changeMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"collectionInWallet","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"grantActivator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"grantMinter","outputs":[],"stateMutability":"nonpayable","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":[],"name":"max_mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mint","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":"remainingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"},{"internalType":"string","name":"baseURI","type":"string"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"revokeActivator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"revokeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"baseURI","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"},{"inputs":[],"name":"withdrawAll","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052612775600f5560c86010556000601160006101000a81548160ff0219169083151502179055503480156200003757600080fd5b50604051620075f0380380620075f083398181016040528101906200005d9190620015dc565b6040518060400160405280600a81526020017f4d657461766164657273000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f4d56414445520000000000000000000000000000000000000000000000000000815250620000e9620000dd6200026160201b60201c565b6200026960201b60201c565b81600390805190602001906200010192919062001465565b5080600490805190602001906200011a92919062001465565b5050506200012e816200032d60201b60201c565b620001526000801b620001466200026160201b60201c565b620003d860201b60201c565b620001937fec5aad7bdface20c35bc02d6d2d5760df981277427368525d634f4e2603ea192620001876200026160201b60201c565b620003d860201b60201c565b620001c57fec5aad7bdface20c35bc02d6d2d5760df981277427368525d634f4e2603ea192306200042060201b60201c565b620002067f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6620001fa6200026160201b60201c565b620003d860201b60201c565b620002387f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6306200042060201b60201c565b6200025a6200024c6200026160201b60201c565b60006200046860201b60201c565b5062001f5a565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200033d6200026160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003636200048e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003b390620019a4565b60405180910390fd5b80600d9080519060200190620003d492919062001465565b5050565b620003ef8282620004b760201b62001f251760201c565b6200041b8160026000858152602001908152602001600020620004cd60201b62001f331790919060201c565b505050565b6200043782826200050560201b62001f631760201c565b620004638160026000858152602001908152602001600020620004cd60201b62001f331790919060201c565b505050565b6200048a8282604051806020016040528060008152506200054e60201b60201c565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620004c98282620005bc60201b60201c565b5050565b6000620004fd836000018373ffffffffffffffffffffffffffffffffffffffff1660001b620006ad60201b60201c565b905092915050565b62000516826200072760201b60201c565b62000537816200052b6200026160201b60201c565b6200074760201b60201c565b620005498383620005bc60201b60201c565b505050565b6200056083836200080b60201b60201c565b620005756000848484620009f160201b60201c565b620005b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005ae906200191c565b60405180910390fd5b505050565b620005ce828262000bab60201b60201c565b620006a957600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200064e6200026160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000620006c1838362000c1660201b60201c565b6200071c57826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000721565b600090505b92915050565b600060016000838152602001908152602001600020600101549050919050565b62000759828262000bab60201b60201c565b62000807576200078c8173ffffffffffffffffffffffffffffffffffffffff16601462000c3960201b62001f8c1760201c565b620007a78360001c602062000c3960201b62001f8c1760201c565b604051602001620007ba92919062001840565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007fe9190620018d6565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200087e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008759062001982565b60405180910390fd5b6200088f8162000e9460201b60201c565b15620008d2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008c9906200193e565b60405180910390fd5b620008e66000838362000f0060201b60201c565b6001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000938919062001a68565b92505081905550816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600062000a1f8473ffffffffffffffffffffffffffffffffffffffff1662000f1d60201b620021c81760201c565b1562000b9e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000a516200026160201b60201c565b8786866040518563ffffffff1660e01b815260040162000a75949392919062001882565b602060405180830381600087803b15801562000a9057600080fd5b505af192505050801562000ac457506040513d601f19601f8201168201806040525081019062000ac19190620015aa565b60015b62000b4d573d806000811462000af7576040519150601f19603f3d011682016040523d82523d6000602084013e62000afc565b606091505b5060008151141562000b45576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000b3c906200191c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062000ba3565b600190505b949350505050565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b60606000600283600262000c4e919062001ac5565b62000c5a919062001a68565b67ffffffffffffffff81111562000c765762000c7562001d58565b5b6040519080825280601f01601f19166020018201604052801562000ca95781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811062000ce45762000ce362001d29565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811062000d4b5762000d4a62001d29565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600262000d8d919062001ac5565b62000d99919062001a68565b90505b600181111562000e43577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811062000ddf5762000dde62001d29565b5b1a60f81b82828151811062000df95762000df862001d29565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508062000e3b9062001c01565b905062000d9c565b506000841462000e8a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000e8190620018fa565b60405180910390fd5b8091505092915050565b60008073ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b62000f1883838362000f3060201b620021db1760201c565b505050565b600080823b905060008111915050919050565b62000f488383836200107760201b620022ef1760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141562000f955762000f8f816200107c60201b60201c565b62000fdd565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000fdc5762000fdb8382620010c560201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200102a5762001024816200124260201b60201c565b62001072565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462001071576200107082826200131e60201b60201c565b5b5b505050565b505050565b600b80549050600c600083815260200190815260200160002081905550600b81908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001620010df84620013aa60201b6200126d1760201c565b620010eb919062001b26565b90506000600a6000848152602001908152602001600020549050818114620011d1576000600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208190555081600a600083815260200190815260200160002081905550505b600a600084815260200190815260200160002060009055600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600b8054905062001258919062001b26565b90506000600c60008481526020019081526020016000205490506000600b83815481106200128b576200128a62001d29565b5b9060005260206000200154905080600b8381548110620012b057620012af62001d29565b5b906000526020600020018190555081600c600083815260200190815260200160002081905550600c600085815260200190815260200160002060009055600b80548062001302576200130162001cfa565b5b6001900381819060005260206000200160009055905550505050565b60006200133683620013aa60201b6200126d1760201c565b905081600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000208190555080600a600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200141e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620014159062001960565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b828054620014739062001c30565b90600052602060002090601f016020900481019282620014975760008555620014e3565b82601f10620014b257805160ff1916838001178555620014e3565b82800160010185558215620014e3579182015b82811115620014e2578251825591602001919060010190620014c5565b5b509050620014f29190620014f6565b5090565b5b8082111562001511576000816000905550600101620014f7565b5090565b60006200152c6200152684620019ef565b620019c6565b9050828152602081018484840111156200154b576200154a62001d8c565b5b6200155884828562001bcb565b509392505050565b600081519050620015718162001f40565b92915050565b600082601f8301126200158f576200158e62001d87565b5b8151620015a184826020860162001515565b91505092915050565b600060208284031215620015c357620015c262001d96565b5b6000620015d38482850162001560565b91505092915050565b600060208284031215620015f557620015f462001d96565b5b600082015167ffffffffffffffff81111562001616576200161562001d91565b5b620016248482850162001577565b91505092915050565b620016388162001b61565b82525050565b60006200164b8262001a25565b62001657818562001a3b565b93506200166981856020860162001bcb565b620016748162001d9b565b840191505092915050565b60006200168c8262001a30565b62001698818562001a4c565b9350620016aa81856020860162001bcb565b620016b58162001d9b565b840191505092915050565b6000620016cd8262001a30565b620016d9818562001a5d565b9350620016eb81856020860162001bcb565b80840191505092915050565b60006200170660208362001a4c565b9150620017138262001dac565b602082019050919050565b60006200172d60328362001a4c565b91506200173a8262001dd5565b604082019050919050565b600062001754601c8362001a4c565b9150620017618262001e24565b602082019050919050565b60006200177b602a8362001a4c565b9150620017888262001e4d565b604082019050919050565b6000620017a260208362001a4c565b9150620017af8262001e9c565b602082019050919050565b6000620017c960208362001a4c565b9150620017d68262001ec5565b602082019050919050565b6000620017f060178362001a5d565b9150620017fd8262001eee565b601782019050919050565b60006200181760118362001a5d565b9150620018248262001f17565b601182019050919050565b6200183a8162001bc1565b82525050565b60006200184d82620017e1565b91506200185b8285620016c0565b9150620018688262001808565b9150620018768284620016c0565b91508190509392505050565b60006080820190506200189960008301876200162d565b620018a860208301866200162d565b620018b760408301856200182f565b8181036060830152620018cb81846200163e565b905095945050505050565b60006020820190508181036000830152620018f281846200167f565b905092915050565b600060208201905081810360008301526200191581620016f7565b9050919050565b6000602082019050818103600083015262001937816200171e565b9050919050565b60006020820190508181036000830152620019598162001745565b9050919050565b600060208201905081810360008301526200197b816200176c565b9050919050565b600060208201905081810360008301526200199d8162001793565b9050919050565b60006020820190508181036000830152620019bf81620017ba565b9050919050565b6000620019d2620019e5565b9050620019e0828262001c66565b919050565b6000604051905090565b600067ffffffffffffffff82111562001a0d5762001a0c62001d58565b5b62001a188262001d9b565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600062001a758262001bc1565b915062001a828362001bc1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562001aba5762001ab962001c9c565b5b828201905092915050565b600062001ad28262001bc1565b915062001adf8362001bc1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562001b1b5762001b1a62001c9c565b5b828202905092915050565b600062001b338262001bc1565b915062001b408362001bc1565b92508282101562001b565762001b5562001c9c565b5b828203905092915050565b600062001b6e8262001ba1565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562001beb57808201518184015260208101905062001bce565b8381111562001bfb576000848401525b50505050565b600062001c0e8262001bc1565b9150600082141562001c255762001c2462001c9c565b5b600182039050919050565b6000600282049050600182168062001c4957607f821691505b6020821081141562001c605762001c5f62001ccb565b5b50919050565b62001c718262001d9b565b810181811067ffffffffffffffff8211171562001c935762001c9262001d58565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b62001f4b8162001b75565b811462001f5757600080fd5b50565b6156868062001f6a6000396000f3fe6080604052600436106102725760003560e01c8063715018a61161014f578063c87b56dd116100c1578063d7c64e7f1161007a578063d7c64e7f1461099b578063da0239a6146109c6578063dcee100d146109f1578063e985e9c514610a1a578063f2fde38b14610a57578063fe60d12c14610a8057610272565b8063c87b56dd14610879578063ca15c873146108b6578063cfbd4885146108f3578063cfc86f7b1461091c578063d539139314610947578063d547741f1461097257610272565b806395d89b411161011357806395d89b411461077f578063a101ff6d146107aa578063a217fddf146107d3578063a22cb465146107fe578063b0ea180214610827578063b88d4fde1461085057610272565b8063715018a6146106a5578063853828b6146106bc5780638da5cb5b146106da5780639010d07c1461070557806391d148541461074257610272565b80632f2ff15d116101e857806342842e0e116101ac57806342842e0e146105715780634f6ccce71461059a57806355f804b3146105d75780636352211e1461060057806370a082311461063d578063714c53981461067a57610272565b80632f2ff15d1461047c5780632f6bec21146104a55780632f745c59146104e257806336568abe1461051f57806340c10f191461054857610272565b8063095ea7b31161023a578063095ea7b31461037057806318160ddd1461039957806323b872dd146103c4578063248a9ca3146103ed578063261707fa1461042a5780632710f9031461045357610272565b8063014e59121461027757806301ffc9a7146102a057806306fdde03146102dd578063081812fc1461030857806308740a3b14610345575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190613c85565b610aab565b005b3480156102ac57600080fd5b506102c760048036038101906102c29190613f51565b610ad8565b6040516102d49190614679565b60405180910390f35b3480156102e957600080fd5b506102f2610aea565b6040516102ff91906146af565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190613ff4565b610b7c565b60405161033c91906145f0565b60405180910390f35b34801561035157600080fd5b5061035a610c01565b6040516103679190614694565b60405180910390f35b34801561037c57600080fd5b5061039760048036038101906103929190613e08565b610c25565b005b3480156103a557600080fd5b506103ae610d3d565b6040516103bb91906149f1565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190613cf2565b610d4a565b005b3480156103f957600080fd5b50610414600480360381019061040f9190613ea4565b610daa565b6040516104219190614694565b60405180910390f35b34801561043657600080fd5b50610451600480360381019061044c9190613c85565b610dca565b005b34801561045f57600080fd5b5061047a60048036038101906104759190613c85565b610df7565b005b34801561048857600080fd5b506104a3600480360381019061049e9190613ed1565b610e24565b005b3480156104b157600080fd5b506104cc60048036038101906104c79190613c85565b610e58565b6040516104d99190614657565b60405180910390f35b3480156104ee57600080fd5b5061050960048036038101906105049190613e08565b610f06565b60405161051691906149f1565b60405180910390f35b34801561052b57600080fd5b5061054660048036038101906105419190613ed1565b610fab565b005b34801561055457600080fd5b5061056f600480360381019061056a9190613e08565b610fdf565b005b34801561057d57600080fd5b5061059860048036038101906105939190613cf2565b611094565b005b3480156105a657600080fd5b506105c160048036038101906105bc9190613ff4565b6110b4565b6040516105ce91906149f1565b60405180910390f35b3480156105e357600080fd5b506105fe60048036038101906105f99190613fab565b611125565b005b34801561060c57600080fd5b5061062760048036038101906106229190613ff4565b6111bb565b60405161063491906145f0565b60405180910390f35b34801561064957600080fd5b50610664600480360381019061065f9190613c85565b61126d565b60405161067191906149f1565b60405180910390f35b34801561068657600080fd5b5061068f611325565b60405161069c91906146af565b60405180910390f35b3480156106b157600080fd5b506106ba6113b7565b005b6106c461143f565b6040516106d191906149f1565b60405180910390f35b3480156106e657600080fd5b506106ef61150e565b6040516106fc91906145f0565b60405180910390f35b34801561071157600080fd5b5061072c60048036038101906107279190613f11565b611537565b60405161073991906145f0565b60405180910390f35b34801561074e57600080fd5b5061076960048036038101906107649190613ed1565b611566565b6040516107769190614679565b60405180910390f35b34801561078b57600080fd5b506107946115d1565b6040516107a191906146af565b60405180910390f35b3480156107b657600080fd5b506107d160048036038101906107cc9190613e48565b611663565b005b3480156107df57600080fd5b506107e8611706565b6040516107f59190614694565b60405180910390f35b34801561080a57600080fd5b5061082560048036038101906108209190613dc8565b61170d565b005b34801561083357600080fd5b5061084e60048036038101906108499190613e08565b61188e565b005b34801561085c57600080fd5b5061087760048036038101906108729190613d45565b6119ad565b005b34801561088557600080fd5b506108a0600480360381019061089b9190613ff4565b611a0f565b6040516108ad91906146af565b60405180910390f35b3480156108c257600080fd5b506108dd60048036038101906108d89190613ea4565b611b86565b6040516108ea91906149f1565b60405180910390f35b3480156108ff57600080fd5b5061091a60048036038101906109159190613c85565b611baa565b005b34801561092857600080fd5b50610931611bd7565b60405161093e91906146af565b60405180910390f35b34801561095357600080fd5b5061095c611c65565b6040516109699190614694565b60405180910390f35b34801561097e57600080fd5b5061099960048036038101906109949190613ed1565b611c89565b005b3480156109a757600080fd5b506109b0611cbd565b6040516109bd91906149f1565b60405180910390f35b3480156109d257600080fd5b506109db611cc3565b6040516109e891906149f1565b60405180910390f35b3480156109fd57600080fd5b50610a186004803603810190610a139190614021565b611cec565b005b348015610a2657600080fd5b50610a416004803603810190610a3c9190613cb2565b611d93565b604051610a4e9190614679565b60405180910390f35b348015610a6357600080fd5b50610a7e6004803603810190610a799190613c85565b611e27565b005b348015610a8c57600080fd5b50610a95611f1f565b604051610aa291906149f1565b60405180910390f35b610ad57fec5aad7bdface20c35bc02d6d2d5760df981277427368525d634f4e2603ea19282610e24565b50565b6000610ae3826122f4565b9050919050565b606060038054610af990614d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2590614d0e565b8015610b725780601f10610b4757610100808354040283529160200191610b72565b820191906000526020600020905b815481529060010190602001808311610b5557829003601f168201915b5050505050905090565b6000610b878261236e565b610bc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbd906148d1565b60405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b7fec5aad7bdface20c35bc02d6d2d5760df981277427368525d634f4e2603ea19281565b6000610c30826111bb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9890614971565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cc06123da565b73ffffffffffffffffffffffffffffffffffffffff161480610cef5750610cee81610ce96123da565b611d93565b5b610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590614811565b60405180910390fd5b610d3883836123e2565b505050565b6000600b80549050905090565b610d5b610d556123da565b8261249b565b610d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9190614991565b60405180910390fd5b610da5838383612579565b505050565b600060016000838152602001908152602001600020600101549050919050565b610df47f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682610e24565b50565b610e217fec5aad7bdface20c35bc02d6d2d5760df981277427368525d634f4e2603ea19282611c89565b50565b610e2e8282611f63565b610e538160026000858152602001908152602001600020611f3390919063ffffffff16565b505050565b60606000610e658361126d565b905060008167ffffffffffffffff811115610e8357610e82614ed6565b5b604051908082528060200260200182016040528015610eb15781602001602082028036833780820191505090505b50905060005b82811015610efb57610ec98582610f06565b828281518110610edc57610edb614ea7565b5b6020026020010181815250508080610ef390614d71565b915050610eb7565b508092505050919050565b6000610f118361126d565b8210610f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4990614711565b60405180910390fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610fb582826127d5565b610fda816002600085815260200190815260200160002061285890919063ffffffff16565b505050565b6110107f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661100b6123da565b611566565b61104f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611046906148b1565b60405180910390fd5b6000611059610d3d565b905060005b8281101561108e5761107b8482846110769190614b0f565b612888565b808061108690614d71565b91505061105e565b50505050565b6110af838383604051806020016040528060008152506119ad565b505050565b60006110be610d3d565b82106110ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f6906149b1565b60405180910390fd5b600b828154811061111357611112614ea7565b5b90600052602060002001549050919050565b61112d6123da565b73ffffffffffffffffffffffffffffffffffffffff1661114b61150e565b73ffffffffffffffffffffffffffffffffffffffff16146111a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611198906148f1565b60405180910390fd5b80600d90805190602001906111b7929190613a84565b5050565b6000806005600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b90614851565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d590614831565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600d805461133490614d0e565b80601f016020809104026020016040519081016040528092919081815260200182805461136090614d0e565b80156113ad5780601f10611382576101008083540402835291602001916113ad565b820191906000526020600020905b81548152906001019060200180831161139057829003601f168201915b5050505050905090565b6113bf6123da565b73ffffffffffffffffffffffffffffffffffffffff166113dd61150e565b73ffffffffffffffffffffffffffffffffffffffff1614611433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142a906148f1565b60405180910390fd5b61143d60006128a6565b565b60006114496123da565b73ffffffffffffffffffffffffffffffffffffffff1661146761150e565b73ffffffffffffffffffffffffffffffffffffffff16146114bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b4906148f1565b60405180910390fd5b60004790506114ca61150e565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061150757600080fd5b8091505090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061155e826002600086815260200190815260200160002061296a90919063ffffffff16565b905092915050565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546115e090614d0e565b80601f016020809104026020016040519081016040528092919081815260200182805461160c90614d0e565b80156116595780601f1061162e57610100808354040283529160200191611659565b820191906000526020600020905b81548152906001019060200180831161163c57829003601f168201915b5050505050905090565b61166b6123da565b73ffffffffffffffffffffffffffffffffffffffff1661168961150e565b73ffffffffffffffffffffffffffffffffffffffff16146116df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d6906148f1565b60405180910390fd5b81601160006101000a81548160ff02191690831515021790555061170281611125565b5050565b6000801b81565b6117156123da565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177a906147b1565b60405180910390fd5b80600860006117906123da565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661183d6123da565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118829190614679565b60405180910390a35050565b6118966123da565b73ffffffffffffffffffffffffffffffffffffffff166118b461150e565b73ffffffffffffffffffffffffffffffffffffffff161461190a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611901906148f1565b60405180910390fd5b60105481111561194f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194690614871565b60405180910390fd5b6000611959610d3d565b905060005b8281101561198e5761197b8482846119769190614b0f565b612888565b808061198690614d71565b91505061195e565b5081601060008282546119a19190614bf0565b92505081905550505050565b6119be6119b86123da565b8361249b565b6119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f490614991565b60405180910390fd5b611a0984848484612984565b50505050565b6060611a1a8261236e565b611a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a50906146f1565b60405180910390fd5b6000600e60008481526020019081526020016000208054611a7990614d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa590614d0e565b8015611af25780601f10611ac757610100808354040283529160200191611af2565b820191906000526020600020905b815481529060010190602001808311611ad557829003601f168201915b505050505090506000611b036129e0565b9050601160009054906101000a900460ff16611b2a57611b216129e0565b92505050611b81565b600081511415611b3e578192505050611b81565b600082511115611b73578082604051602001611b5b929190614592565b60405160208183030381529060405292505050611b81565b611b7c84612a72565b925050505b919050565b6000611ba360026000848152602001908152602001600020612b19565b9050919050565b611bd47f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682611c89565b50565b600d8054611be490614d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1090614d0e565b8015611c5d5780601f10611c3257610100808354040283529160200191611c5d565b820191906000526020600020905b815481529060010190602001808311611c4057829003601f168201915b505050505081565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611c938282612b2e565b611cb8816002600085815260200190815260200160002061285890919063ffffffff16565b505050565b600f5481565b6000601054611cd0610d3d565b600f54611cdd9190614bf0565b611ce79190614bf0565b905090565b611d1d7fec5aad7bdface20c35bc02d6d2d5760df981277427368525d634f4e2603ea192611d186123da565b611566565b611d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d53906147d1565b60405180910390fd5b611d8f82611d6984612b57565b83604051602001611d7b929190614592565b604051602081830303815290604052612cb8565b5050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e2f6123da565b73ffffffffffffffffffffffffffffffffffffffff16611e4d61150e565b73ffffffffffffffffffffffffffffffffffffffff1614611ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9a906148f1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0a90614751565b60405180910390fd5b611f1c816128a6565b50565b60105481565b611f2f8282612d2c565b5050565b6000611f5b836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612e0c565b905092915050565b611f6c82610daa565b611f7d81611f786123da565b612e7c565b611f878383612d2c565b505050565b606060006002836002611f9f9190614b96565b611fa99190614b0f565b67ffffffffffffffff811115611fc257611fc1614ed6565b5b6040519080825280601f01601f191660200182016040528015611ff45781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061202c5761202b614ea7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106120905761208f614ea7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026120d09190614b96565b6120da9190614b0f565b90505b600181111561217a577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061211c5761211b614ea7565b5b1a60f81b82828151811061213357612132614ea7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061217390614ce4565b90506120dd565b50600084146121be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b5906146d1565b60405180910390fd5b8091505092915050565b600080823b905060008111915050919050565b6121e68383836122ef565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122295761222481612f19565b612268565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612267576122668382612f62565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122ab576122a6816130cf565b6122ea565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146122e9576122e882826131a0565b5b5b505050565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061236757506123668261321f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612455836111bb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006124a68261236e565b6124e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124dc906147f1565b60405180910390fd5b60006124f0836111bb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061255f57508373ffffffffffffffffffffffffffffffffffffffff1661254784610b7c565b73ffffffffffffffffffffffffffffffffffffffff16145b80612570575061256f8185611d93565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612599826111bb565b73ffffffffffffffffffffffffffffffffffffffff16146125ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e690614911565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561265f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265690614791565b60405180910390fd5b61266a838383613301565b6126756000826123e2565b6001600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126c59190614bf0565b925050819055506001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461271c9190614b0f565b92505081905550816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6127dd6123da565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461284a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612841906149d1565b60405180910390fd5b6128548282613311565b5050565b6000612880836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6133f3565b905092915050565b6128a2828260405180602001604052806000815250613507565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006129798360000183613562565b60001c905092915050565b61298f848484612579565b61299b8484848461358d565b6129da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d190614731565b60405180910390fd5b50505050565b6060600d80546129ef90614d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054612a1b90614d0e565b8015612a685780601f10612a3d57610100808354040283529160200191612a68565b820191906000526020600020905b815481529060010190602001808311612a4b57829003601f168201915b5050505050905090565b6060612a7d8261236e565b612abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab390614931565b60405180910390fd5b6000612ac66129e0565b90506000815111612ae65760405180602001604052806000815250612b11565b80612af084612b57565b604051602001612b01929190614592565b6040516020818303038152906040525b915050919050565b6000612b2782600001613724565b9050919050565b612b3782610daa565b612b4881612b436123da565b612e7c565b612b528383613311565b505050565b60606000821415612b9f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cb3565b600082905060005b60008214612bd1578080612bba90614d71565b915050600a82612bca9190614b65565b9150612ba7565b60008167ffffffffffffffff811115612bed57612bec614ed6565b5b6040519080825280601f01601f191660200182016040528015612c1f5781602001600182028036833780820191505090505b5090505b60008514612cac57600182612c389190614bf0565b9150600a85612c479190614dba565b6030612c539190614b0f565b60f81b818381518110612c6957612c68614ea7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ca59190614b65565b9450612c23565b8093505050505b919050565b612cc18261236e565b612d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf790614951565b60405180910390fd5b80600e60008481526020019081526020016000209080519060200190612d27929190613a84565b505050565b612d368282611566565b612e0857600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612dad6123da565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000612e188383613735565b612e71578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612e76565b600090505b92915050565b612e868282611566565b612f1557612eab8173ffffffffffffffffffffffffffffffffffffffff166014611f8c565b612eb98360001c6020611f8c565b604051602001612eca9291906145b6565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0c91906146af565b60405180910390fd5b5050565b600b80549050600c600083815260200190815260200160002081905550600b81908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f6f8461126d565b612f799190614bf0565b90506000600a600084815260200190815260200160002054905081811461305e576000600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208190555081600a600083815260200190815260200160002081905550505b600a600084815260200190815260200160002060009055600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600b805490506130e39190614bf0565b90506000600c60008481526020019081526020016000205490506000600b838154811061311357613112614ea7565b5b9060005260206000200154905080600b838154811061313557613134614ea7565b5b906000526020600020018190555081600c600083815260200190815260200160002081905550600c600085815260200190815260200160002060009055600b80548061318457613183614e78565b5b6001900381819060005260206000200160009055905550505050565b60006131ab8361126d565b905081600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000208190555080600a600084815260200190815260200160002081905550505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132ea57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806132fa57506132f982613758565b5b9050919050565b61330c8383836121db565b505050565b61331b8282611566565b156133ef5760006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506133946123da565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600080836001016000848152602001908152602001600020549050600081146134fb5760006001826134259190614bf0565b905060006001866000018054905061343d9190614bf0565b90508181146134ac57600086600001828154811061345e5761345d614ea7565b5b906000526020600020015490508087600001848154811061348257613481614ea7565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b856000018054806134c0576134bf614e78565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050613501565b60009150505b92915050565b61351183836137d2565b61351e600084848461358d565b61355d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355490614731565b60405180910390fd5b505050565b600082600001828154811061357a57613579614ea7565b5b9060005260206000200154905092915050565b60006135ae8473ffffffffffffffffffffffffffffffffffffffff166121c8565b15613717578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135d76123da565b8786866040518563ffffffff1660e01b81526004016135f9949392919061460b565b602060405180830381600087803b15801561361357600080fd5b505af192505050801561364457506040513d601f19601f820116820180604052508101906136419190613f7e565b60015b6136c7573d8060008114613674576040519150601f19603f3d011682016040523d82523d6000602084013e613679565b606091505b506000815114156136bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b690614731565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061371c565b600190505b949350505050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806137cb57506137ca826139a0565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613842576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161383990614891565b60405180910390fd5b61384b8161236e565b1561388b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388290614771565b60405180910390fd5b61389760008383613301565b6001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138e79190614b0f565b92505081905550816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613a135750613a1282613a1a565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054613a9090614d0e565b90600052602060002090601f016020900481019282613ab25760008555613af9565b82601f10613acb57805160ff1916838001178555613af9565b82800160010185558215613af9579182015b82811115613af8578251825591602001919060010190613add565b5b509050613b069190613b0a565b5090565b5b80821115613b23576000816000905550600101613b0b565b5090565b6000613b3a613b3584614a31565b614a0c565b905082815260208101848484011115613b5657613b55614f0a565b5b613b61848285614ca2565b509392505050565b6000613b7c613b7784614a62565b614a0c565b905082815260208101848484011115613b9857613b97614f0a565b5b613ba3848285614ca2565b509392505050565b600081359050613bba816155dd565b92915050565b600081359050613bcf816155f4565b92915050565b600081359050613be48161560b565b92915050565b600081359050613bf981615622565b92915050565b600081519050613c0e81615622565b92915050565b600082601f830112613c2957613c28614f05565b5b8135613c39848260208601613b27565b91505092915050565b600082601f830112613c5757613c56614f05565b5b8135613c67848260208601613b69565b91505092915050565b600081359050613c7f81615639565b92915050565b600060208284031215613c9b57613c9a614f14565b5b6000613ca984828501613bab565b91505092915050565b60008060408385031215613cc957613cc8614f14565b5b6000613cd785828601613bab565b9250506020613ce885828601613bab565b9150509250929050565b600080600060608486031215613d0b57613d0a614f14565b5b6000613d1986828701613bab565b9350506020613d2a86828701613bab565b9250506040613d3b86828701613c70565b9150509250925092565b60008060008060808587031215613d5f57613d5e614f14565b5b6000613d6d87828801613bab565b9450506020613d7e87828801613bab565b9350506040613d8f87828801613c70565b925050606085013567ffffffffffffffff811115613db057613daf614f0f565b5b613dbc87828801613c14565b91505092959194509250565b60008060408385031215613ddf57613dde614f14565b5b6000613ded85828601613bab565b9250506020613dfe85828601613bc0565b9150509250929050565b60008060408385031215613e1f57613e1e614f14565b5b6000613e2d85828601613bab565b9250506020613e3e85828601613c70565b9150509250929050565b60008060408385031215613e5f57613e5e614f14565b5b6000613e6d85828601613bc0565b925050602083013567ffffffffffffffff811115613e8e57613e8d614f0f565b5b613e9a85828601613c42565b9150509250929050565b600060208284031215613eba57613eb9614f14565b5b6000613ec884828501613bd5565b91505092915050565b60008060408385031215613ee857613ee7614f14565b5b6000613ef685828601613bd5565b9250506020613f0785828601613bab565b9150509250929050565b60008060408385031215613f2857613f27614f14565b5b6000613f3685828601613bd5565b9250506020613f4785828601613c70565b9150509250929050565b600060208284031215613f6757613f66614f14565b5b6000613f7584828501613bea565b91505092915050565b600060208284031215613f9457613f93614f14565b5b6000613fa284828501613bff565b91505092915050565b600060208284031215613fc157613fc0614f14565b5b600082013567ffffffffffffffff811115613fdf57613fde614f0f565b5b613feb84828501613c42565b91505092915050565b60006020828403121561400a57614009614f14565b5b600061401884828501613c70565b91505092915050565b6000806040838503121561403857614037614f14565b5b600061404685828601613c70565b925050602083013567ffffffffffffffff81111561406757614066614f0f565b5b61407385828601613c42565b9150509250929050565b60006140898383614574565b60208301905092915050565b61409e81614c24565b82525050565b60006140af82614aa3565b6140b98185614ad1565b93506140c483614a93565b8060005b838110156140f55781516140dc888261407d565b97506140e783614ac4565b9250506001810190506140c8565b5085935050505092915050565b61410b81614c36565b82525050565b61411a81614c42565b82525050565b600061412b82614aae565b6141358185614ae2565b9350614145818560208601614cb1565b61414e81614f19565b840191505092915050565b600061416482614ab9565b61416e8185614af3565b935061417e818560208601614cb1565b61418781614f19565b840191505092915050565b600061419d82614ab9565b6141a78185614b04565b93506141b7818560208601614cb1565b80840191505092915050565b60006141d0602083614af3565b91506141db82614f2a565b602082019050919050565b60006141f3601f83614af3565b91506141fe82614f53565b602082019050919050565b6000614216602b83614af3565b915061422182614f7c565b604082019050919050565b6000614239603283614af3565b915061424482614fcb565b604082019050919050565b600061425c602683614af3565b91506142678261501a565b604082019050919050565b600061427f601c83614af3565b915061428a82615069565b602082019050919050565b60006142a2602483614af3565b91506142ad82615092565b604082019050919050565b60006142c5601983614af3565b91506142d0826150e1565b602082019050919050565b60006142e8602383614af3565b91506142f38261510a565b604082019050919050565b600061430b602c83614af3565b915061431682615159565b604082019050919050565b600061432e603883614af3565b9150614339826151a8565b604082019050919050565b6000614351602a83614af3565b915061435c826151f7565b604082019050919050565b6000614374602983614af3565b915061437f82615246565b604082019050919050565b6000614397601783614af3565b91506143a282615295565b602082019050919050565b60006143ba602083614af3565b91506143c5826152be565b602082019050919050565b60006143dd601d83614af3565b91506143e8826152e7565b602082019050919050565b6000614400602c83614af3565b915061440b82615310565b604082019050919050565b6000614423602083614af3565b915061442e8261535f565b602082019050919050565b6000614446602983614af3565b915061445182615388565b604082019050919050565b6000614469602f83614af3565b9150614474826153d7565b604082019050919050565b600061448c601c83614af3565b915061449782615426565b602082019050919050565b60006144af602183614af3565b91506144ba8261544f565b604082019050919050565b60006144d2603183614af3565b91506144dd8261549e565b604082019050919050565b60006144f5602c83614af3565b9150614500826154ed565b604082019050919050565b6000614518601783614b04565b91506145238261553c565b601782019050919050565b600061453b601183614b04565b915061454682615565565b601182019050919050565b600061455e602f83614af3565b91506145698261558e565b604082019050919050565b61457d81614c98565b82525050565b61458c81614c98565b82525050565b600061459e8285614192565b91506145aa8284614192565b91508190509392505050565b60006145c18261450b565b91506145cd8285614192565b91506145d88261452e565b91506145e48284614192565b91508190509392505050565b60006020820190506146056000830184614095565b92915050565b60006080820190506146206000830187614095565b61462d6020830186614095565b61463a6040830185614583565b818103606083015261464c8184614120565b905095945050505050565b6000602082019050818103600083015261467181846140a4565b905092915050565b600060208201905061468e6000830184614102565b92915050565b60006020820190506146a96000830184614111565b92915050565b600060208201905081810360008301526146c98184614159565b905092915050565b600060208201905081810360008301526146ea816141c3565b9050919050565b6000602082019050818103600083015261470a816141e6565b9050919050565b6000602082019050818103600083015261472a81614209565b9050919050565b6000602082019050818103600083015261474a8161422c565b9050919050565b6000602082019050818103600083015261476a8161424f565b9050919050565b6000602082019050818103600083015261478a81614272565b9050919050565b600060208201905081810360008301526147aa81614295565b9050919050565b600060208201905081810360008301526147ca816142b8565b9050919050565b600060208201905081810360008301526147ea816142db565b9050919050565b6000602082019050818103600083015261480a816142fe565b9050919050565b6000602082019050818103600083015261482a81614321565b9050919050565b6000602082019050818103600083015261484a81614344565b9050919050565b6000602082019050818103600083015261486a81614367565b9050919050565b6000602082019050818103600083015261488a8161438a565b9050919050565b600060208201905081810360008301526148aa816143ad565b9050919050565b600060208201905081810360008301526148ca816143d0565b9050919050565b600060208201905081810360008301526148ea816143f3565b9050919050565b6000602082019050818103600083015261490a81614416565b9050919050565b6000602082019050818103600083015261492a81614439565b9050919050565b6000602082019050818103600083015261494a8161445c565b9050919050565b6000602082019050818103600083015261496a8161447f565b9050919050565b6000602082019050818103600083015261498a816144a2565b9050919050565b600060208201905081810360008301526149aa816144c5565b9050919050565b600060208201905081810360008301526149ca816144e8565b9050919050565b600060208201905081810360008301526149ea81614551565b9050919050565b6000602082019050614a066000830184614583565b92915050565b6000614a16614a27565b9050614a228282614d40565b919050565b6000604051905090565b600067ffffffffffffffff821115614a4c57614a4b614ed6565b5b614a5582614f19565b9050602081019050919050565b600067ffffffffffffffff821115614a7d57614a7c614ed6565b5b614a8682614f19565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b1a82614c98565b9150614b2583614c98565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b5a57614b59614deb565b5b828201905092915050565b6000614b7082614c98565b9150614b7b83614c98565b925082614b8b57614b8a614e1a565b5b828204905092915050565b6000614ba182614c98565b9150614bac83614c98565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614be557614be4614deb565b5b828202905092915050565b6000614bfb82614c98565b9150614c0683614c98565b925082821015614c1957614c18614deb565b5b828203905092915050565b6000614c2f82614c78565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ccf578082015181840152602081019050614cb4565b83811115614cde576000848401525b50505050565b6000614cef82614c98565b91506000821415614d0357614d02614deb565b5b600182039050919050565b60006002820490506001821680614d2657607f821691505b60208210811415614d3a57614d39614e49565b5b50919050565b614d4982614f19565b810181811067ffffffffffffffff82111715614d6857614d67614ed6565b5b80604052505050565b6000614d7c82614c98565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614daf57614dae614deb565b5b600182019050919050565b6000614dc582614c98565b9150614dd083614c98565b925082614de057614ddf614e1a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d757374206861766520414354495641544f525f524f4c4520746f206578656360008201527f7574650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4578636565647320726573657276656420737570706c79000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4d7573742068617665206d696e74657220726f6c6520746f206d696e74000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f55524920736574206f66206e6f6e6578697374656e7420746f6b656e00000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6155e681614c24565b81146155f157600080fd5b50565b6155fd81614c36565b811461560857600080fd5b50565b61561481614c42565b811461561f57600080fd5b50565b61562b81614c4c565b811461563657600080fd5b50565b61564281614c98565b811461564d57600080fd5b5056fea26469706673582212202b82199cc4cc11a270852e3a856f8cc65b3864ef6c57b99ee90e569c6804888764736f6c634300080700330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5638584631486a6f737943644c3250776b7658556150726b6f4a5947674770373231376777415762396468552f000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102725760003560e01c8063715018a61161014f578063c87b56dd116100c1578063d7c64e7f1161007a578063d7c64e7f1461099b578063da0239a6146109c6578063dcee100d146109f1578063e985e9c514610a1a578063f2fde38b14610a57578063fe60d12c14610a8057610272565b8063c87b56dd14610879578063ca15c873146108b6578063cfbd4885146108f3578063cfc86f7b1461091c578063d539139314610947578063d547741f1461097257610272565b806395d89b411161011357806395d89b411461077f578063a101ff6d146107aa578063a217fddf146107d3578063a22cb465146107fe578063b0ea180214610827578063b88d4fde1461085057610272565b8063715018a6146106a5578063853828b6146106bc5780638da5cb5b146106da5780639010d07c1461070557806391d148541461074257610272565b80632f2ff15d116101e857806342842e0e116101ac57806342842e0e146105715780634f6ccce71461059a57806355f804b3146105d75780636352211e1461060057806370a082311461063d578063714c53981461067a57610272565b80632f2ff15d1461047c5780632f6bec21146104a55780632f745c59146104e257806336568abe1461051f57806340c10f191461054857610272565b8063095ea7b31161023a578063095ea7b31461037057806318160ddd1461039957806323b872dd146103c4578063248a9ca3146103ed578063261707fa1461042a5780632710f9031461045357610272565b8063014e59121461027757806301ffc9a7146102a057806306fdde03146102dd578063081812fc1461030857806308740a3b14610345575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190613c85565b610aab565b005b3480156102ac57600080fd5b506102c760048036038101906102c29190613f51565b610ad8565b6040516102d49190614679565b60405180910390f35b3480156102e957600080fd5b506102f2610aea565b6040516102ff91906146af565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190613ff4565b610b7c565b60405161033c91906145f0565b60405180910390f35b34801561035157600080fd5b5061035a610c01565b6040516103679190614694565b60405180910390f35b34801561037c57600080fd5b5061039760048036038101906103929190613e08565b610c25565b005b3480156103a557600080fd5b506103ae610d3d565b6040516103bb91906149f1565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190613cf2565b610d4a565b005b3480156103f957600080fd5b50610414600480360381019061040f9190613ea4565b610daa565b6040516104219190614694565b60405180910390f35b34801561043657600080fd5b50610451600480360381019061044c9190613c85565b610dca565b005b34801561045f57600080fd5b5061047a60048036038101906104759190613c85565b610df7565b005b34801561048857600080fd5b506104a3600480360381019061049e9190613ed1565b610e24565b005b3480156104b157600080fd5b506104cc60048036038101906104c79190613c85565b610e58565b6040516104d99190614657565b60405180910390f35b3480156104ee57600080fd5b5061050960048036038101906105049190613e08565b610f06565b60405161051691906149f1565b60405180910390f35b34801561052b57600080fd5b5061054660048036038101906105419190613ed1565b610fab565b005b34801561055457600080fd5b5061056f600480360381019061056a9190613e08565b610fdf565b005b34801561057d57600080fd5b5061059860048036038101906105939190613cf2565b611094565b005b3480156105a657600080fd5b506105c160048036038101906105bc9190613ff4565b6110b4565b6040516105ce91906149f1565b60405180910390f35b3480156105e357600080fd5b506105fe60048036038101906105f99190613fab565b611125565b005b34801561060c57600080fd5b5061062760048036038101906106229190613ff4565b6111bb565b60405161063491906145f0565b60405180910390f35b34801561064957600080fd5b50610664600480360381019061065f9190613c85565b61126d565b60405161067191906149f1565b60405180910390f35b34801561068657600080fd5b5061068f611325565b60405161069c91906146af565b60405180910390f35b3480156106b157600080fd5b506106ba6113b7565b005b6106c461143f565b6040516106d191906149f1565b60405180910390f35b3480156106e657600080fd5b506106ef61150e565b6040516106fc91906145f0565b60405180910390f35b34801561071157600080fd5b5061072c60048036038101906107279190613f11565b611537565b60405161073991906145f0565b60405180910390f35b34801561074e57600080fd5b5061076960048036038101906107649190613ed1565b611566565b6040516107769190614679565b60405180910390f35b34801561078b57600080fd5b506107946115d1565b6040516107a191906146af565b60405180910390f35b3480156107b657600080fd5b506107d160048036038101906107cc9190613e48565b611663565b005b3480156107df57600080fd5b506107e8611706565b6040516107f59190614694565b60405180910390f35b34801561080a57600080fd5b5061082560048036038101906108209190613dc8565b61170d565b005b34801561083357600080fd5b5061084e60048036038101906108499190613e08565b61188e565b005b34801561085c57600080fd5b5061087760048036038101906108729190613d45565b6119ad565b005b34801561088557600080fd5b506108a0600480360381019061089b9190613ff4565b611a0f565b6040516108ad91906146af565b60405180910390f35b3480156108c257600080fd5b506108dd60048036038101906108d89190613ea4565b611b86565b6040516108ea91906149f1565b60405180910390f35b3480156108ff57600080fd5b5061091a60048036038101906109159190613c85565b611baa565b005b34801561092857600080fd5b50610931611bd7565b60405161093e91906146af565b60405180910390f35b34801561095357600080fd5b5061095c611c65565b6040516109699190614694565b60405180910390f35b34801561097e57600080fd5b5061099960048036038101906109949190613ed1565b611c89565b005b3480156109a757600080fd5b506109b0611cbd565b6040516109bd91906149f1565b60405180910390f35b3480156109d257600080fd5b506109db611cc3565b6040516109e891906149f1565b60405180910390f35b3480156109fd57600080fd5b50610a186004803603810190610a139190614021565b611cec565b005b348015610a2657600080fd5b50610a416004803603810190610a3c9190613cb2565b611d93565b604051610a4e9190614679565b60405180910390f35b348015610a6357600080fd5b50610a7e6004803603810190610a799190613c85565b611e27565b005b348015610a8c57600080fd5b50610a95611f1f565b604051610aa291906149f1565b60405180910390f35b610ad57fec5aad7bdface20c35bc02d6d2d5760df981277427368525d634f4e2603ea19282610e24565b50565b6000610ae3826122f4565b9050919050565b606060038054610af990614d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2590614d0e565b8015610b725780601f10610b4757610100808354040283529160200191610b72565b820191906000526020600020905b815481529060010190602001808311610b5557829003601f168201915b5050505050905090565b6000610b878261236e565b610bc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbd906148d1565b60405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b7fec5aad7bdface20c35bc02d6d2d5760df981277427368525d634f4e2603ea19281565b6000610c30826111bb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ca1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9890614971565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cc06123da565b73ffffffffffffffffffffffffffffffffffffffff161480610cef5750610cee81610ce96123da565b611d93565b5b610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590614811565b60405180910390fd5b610d3883836123e2565b505050565b6000600b80549050905090565b610d5b610d556123da565b8261249b565b610d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9190614991565b60405180910390fd5b610da5838383612579565b505050565b600060016000838152602001908152602001600020600101549050919050565b610df47f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682610e24565b50565b610e217fec5aad7bdface20c35bc02d6d2d5760df981277427368525d634f4e2603ea19282611c89565b50565b610e2e8282611f63565b610e538160026000858152602001908152602001600020611f3390919063ffffffff16565b505050565b60606000610e658361126d565b905060008167ffffffffffffffff811115610e8357610e82614ed6565b5b604051908082528060200260200182016040528015610eb15781602001602082028036833780820191505090505b50905060005b82811015610efb57610ec98582610f06565b828281518110610edc57610edb614ea7565b5b6020026020010181815250508080610ef390614d71565b915050610eb7565b508092505050919050565b6000610f118361126d565b8210610f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4990614711565b60405180910390fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610fb582826127d5565b610fda816002600085815260200190815260200160002061285890919063ffffffff16565b505050565b6110107f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661100b6123da565b611566565b61104f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611046906148b1565b60405180910390fd5b6000611059610d3d565b905060005b8281101561108e5761107b8482846110769190614b0f565b612888565b808061108690614d71565b91505061105e565b50505050565b6110af838383604051806020016040528060008152506119ad565b505050565b60006110be610d3d565b82106110ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f6906149b1565b60405180910390fd5b600b828154811061111357611112614ea7565b5b90600052602060002001549050919050565b61112d6123da565b73ffffffffffffffffffffffffffffffffffffffff1661114b61150e565b73ffffffffffffffffffffffffffffffffffffffff16146111a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611198906148f1565b60405180910390fd5b80600d90805190602001906111b7929190613a84565b5050565b6000806005600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b90614851565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d590614831565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600d805461133490614d0e565b80601f016020809104026020016040519081016040528092919081815260200182805461136090614d0e565b80156113ad5780601f10611382576101008083540402835291602001916113ad565b820191906000526020600020905b81548152906001019060200180831161139057829003601f168201915b5050505050905090565b6113bf6123da565b73ffffffffffffffffffffffffffffffffffffffff166113dd61150e565b73ffffffffffffffffffffffffffffffffffffffff1614611433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142a906148f1565b60405180910390fd5b61143d60006128a6565b565b60006114496123da565b73ffffffffffffffffffffffffffffffffffffffff1661146761150e565b73ffffffffffffffffffffffffffffffffffffffff16146114bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b4906148f1565b60405180910390fd5b60004790506114ca61150e565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061150757600080fd5b8091505090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061155e826002600086815260200190815260200160002061296a90919063ffffffff16565b905092915050565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546115e090614d0e565b80601f016020809104026020016040519081016040528092919081815260200182805461160c90614d0e565b80156116595780601f1061162e57610100808354040283529160200191611659565b820191906000526020600020905b81548152906001019060200180831161163c57829003601f168201915b5050505050905090565b61166b6123da565b73ffffffffffffffffffffffffffffffffffffffff1661168961150e565b73ffffffffffffffffffffffffffffffffffffffff16146116df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d6906148f1565b60405180910390fd5b81601160006101000a81548160ff02191690831515021790555061170281611125565b5050565b6000801b81565b6117156123da565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177a906147b1565b60405180910390fd5b80600860006117906123da565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661183d6123da565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118829190614679565b60405180910390a35050565b6118966123da565b73ffffffffffffffffffffffffffffffffffffffff166118b461150e565b73ffffffffffffffffffffffffffffffffffffffff161461190a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611901906148f1565b60405180910390fd5b60105481111561194f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194690614871565b60405180910390fd5b6000611959610d3d565b905060005b8281101561198e5761197b8482846119769190614b0f565b612888565b808061198690614d71565b91505061195e565b5081601060008282546119a19190614bf0565b92505081905550505050565b6119be6119b86123da565b8361249b565b6119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f490614991565b60405180910390fd5b611a0984848484612984565b50505050565b6060611a1a8261236e565b611a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a50906146f1565b60405180910390fd5b6000600e60008481526020019081526020016000208054611a7990614d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa590614d0e565b8015611af25780601f10611ac757610100808354040283529160200191611af2565b820191906000526020600020905b815481529060010190602001808311611ad557829003601f168201915b505050505090506000611b036129e0565b9050601160009054906101000a900460ff16611b2a57611b216129e0565b92505050611b81565b600081511415611b3e578192505050611b81565b600082511115611b73578082604051602001611b5b929190614592565b60405160208183030381529060405292505050611b81565b611b7c84612a72565b925050505b919050565b6000611ba360026000848152602001908152602001600020612b19565b9050919050565b611bd47f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682611c89565b50565b600d8054611be490614d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1090614d0e565b8015611c5d5780601f10611c3257610100808354040283529160200191611c5d565b820191906000526020600020905b815481529060010190602001808311611c4057829003601f168201915b505050505081565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611c938282612b2e565b611cb8816002600085815260200190815260200160002061285890919063ffffffff16565b505050565b600f5481565b6000601054611cd0610d3d565b600f54611cdd9190614bf0565b611ce79190614bf0565b905090565b611d1d7fec5aad7bdface20c35bc02d6d2d5760df981277427368525d634f4e2603ea192611d186123da565b611566565b611d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d53906147d1565b60405180910390fd5b611d8f82611d6984612b57565b83604051602001611d7b929190614592565b604051602081830303815290604052612cb8565b5050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e2f6123da565b73ffffffffffffffffffffffffffffffffffffffff16611e4d61150e565b73ffffffffffffffffffffffffffffffffffffffff1614611ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9a906148f1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0a90614751565b60405180910390fd5b611f1c816128a6565b50565b60105481565b611f2f8282612d2c565b5050565b6000611f5b836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612e0c565b905092915050565b611f6c82610daa565b611f7d81611f786123da565b612e7c565b611f878383612d2c565b505050565b606060006002836002611f9f9190614b96565b611fa99190614b0f565b67ffffffffffffffff811115611fc257611fc1614ed6565b5b6040519080825280601f01601f191660200182016040528015611ff45781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061202c5761202b614ea7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106120905761208f614ea7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026120d09190614b96565b6120da9190614b0f565b90505b600181111561217a577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061211c5761211b614ea7565b5b1a60f81b82828151811061213357612132614ea7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061217390614ce4565b90506120dd565b50600084146121be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b5906146d1565b60405180910390fd5b8091505092915050565b600080823b905060008111915050919050565b6121e68383836122ef565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122295761222481612f19565b612268565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612267576122668382612f62565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122ab576122a6816130cf565b6122ea565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146122e9576122e882826131a0565b5b5b505050565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061236757506123668261321f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612455836111bb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006124a68261236e565b6124e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124dc906147f1565b60405180910390fd5b60006124f0836111bb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061255f57508373ffffffffffffffffffffffffffffffffffffffff1661254784610b7c565b73ffffffffffffffffffffffffffffffffffffffff16145b80612570575061256f8185611d93565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612599826111bb565b73ffffffffffffffffffffffffffffffffffffffff16146125ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e690614911565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561265f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265690614791565b60405180910390fd5b61266a838383613301565b6126756000826123e2565b6001600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126c59190614bf0565b925050819055506001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461271c9190614b0f565b92505081905550816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6127dd6123da565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461284a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612841906149d1565b60405180910390fd5b6128548282613311565b5050565b6000612880836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6133f3565b905092915050565b6128a2828260405180602001604052806000815250613507565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006129798360000183613562565b60001c905092915050565b61298f848484612579565b61299b8484848461358d565b6129da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d190614731565b60405180910390fd5b50505050565b6060600d80546129ef90614d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054612a1b90614d0e565b8015612a685780601f10612a3d57610100808354040283529160200191612a68565b820191906000526020600020905b815481529060010190602001808311612a4b57829003601f168201915b5050505050905090565b6060612a7d8261236e565b612abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab390614931565b60405180910390fd5b6000612ac66129e0565b90506000815111612ae65760405180602001604052806000815250612b11565b80612af084612b57565b604051602001612b01929190614592565b6040516020818303038152906040525b915050919050565b6000612b2782600001613724565b9050919050565b612b3782610daa565b612b4881612b436123da565b612e7c565b612b528383613311565b505050565b60606000821415612b9f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cb3565b600082905060005b60008214612bd1578080612bba90614d71565b915050600a82612bca9190614b65565b9150612ba7565b60008167ffffffffffffffff811115612bed57612bec614ed6565b5b6040519080825280601f01601f191660200182016040528015612c1f5781602001600182028036833780820191505090505b5090505b60008514612cac57600182612c389190614bf0565b9150600a85612c479190614dba565b6030612c539190614b0f565b60f81b818381518110612c6957612c68614ea7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ca59190614b65565b9450612c23565b8093505050505b919050565b612cc18261236e565b612d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf790614951565b60405180910390fd5b80600e60008481526020019081526020016000209080519060200190612d27929190613a84565b505050565b612d368282611566565b612e0857600180600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612dad6123da565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000612e188383613735565b612e71578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612e76565b600090505b92915050565b612e868282611566565b612f1557612eab8173ffffffffffffffffffffffffffffffffffffffff166014611f8c565b612eb98360001c6020611f8c565b604051602001612eca9291906145b6565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0c91906146af565b60405180910390fd5b5050565b600b80549050600c600083815260200190815260200160002081905550600b81908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f6f8461126d565b612f799190614bf0565b90506000600a600084815260200190815260200160002054905081811461305e576000600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208190555081600a600083815260200190815260200160002081905550505b600a600084815260200190815260200160002060009055600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600b805490506130e39190614bf0565b90506000600c60008481526020019081526020016000205490506000600b838154811061311357613112614ea7565b5b9060005260206000200154905080600b838154811061313557613134614ea7565b5b906000526020600020018190555081600c600083815260200190815260200160002081905550600c600085815260200190815260200160002060009055600b80548061318457613183614e78565b5b6001900381819060005260206000200160009055905550505050565b60006131ab8361126d565b905081600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000208190555080600a600084815260200190815260200160002081905550505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132ea57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806132fa57506132f982613758565b5b9050919050565b61330c8383836121db565b505050565b61331b8282611566565b156133ef5760006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506133946123da565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600080836001016000848152602001908152602001600020549050600081146134fb5760006001826134259190614bf0565b905060006001866000018054905061343d9190614bf0565b90508181146134ac57600086600001828154811061345e5761345d614ea7565b5b906000526020600020015490508087600001848154811061348257613481614ea7565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b856000018054806134c0576134bf614e78565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050613501565b60009150505b92915050565b61351183836137d2565b61351e600084848461358d565b61355d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355490614731565b60405180910390fd5b505050565b600082600001828154811061357a57613579614ea7565b5b9060005260206000200154905092915050565b60006135ae8473ffffffffffffffffffffffffffffffffffffffff166121c8565b15613717578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135d76123da565b8786866040518563ffffffff1660e01b81526004016135f9949392919061460b565b602060405180830381600087803b15801561361357600080fd5b505af192505050801561364457506040513d601f19601f820116820180604052508101906136419190613f7e565b60015b6136c7573d8060008114613674576040519150601f19603f3d011682016040523d82523d6000602084013e613679565b606091505b506000815114156136bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b690614731565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061371c565b600190505b949350505050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806137cb57506137ca826139a0565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613842576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161383990614891565b60405180910390fd5b61384b8161236e565b1561388b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388290614771565b60405180910390fd5b61389760008383613301565b6001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138e79190614b0f565b92505081905550816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613a135750613a1282613a1a565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054613a9090614d0e565b90600052602060002090601f016020900481019282613ab25760008555613af9565b82601f10613acb57805160ff1916838001178555613af9565b82800160010185558215613af9579182015b82811115613af8578251825591602001919060010190613add565b5b509050613b069190613b0a565b5090565b5b80821115613b23576000816000905550600101613b0b565b5090565b6000613b3a613b3584614a31565b614a0c565b905082815260208101848484011115613b5657613b55614f0a565b5b613b61848285614ca2565b509392505050565b6000613b7c613b7784614a62565b614a0c565b905082815260208101848484011115613b9857613b97614f0a565b5b613ba3848285614ca2565b509392505050565b600081359050613bba816155dd565b92915050565b600081359050613bcf816155f4565b92915050565b600081359050613be48161560b565b92915050565b600081359050613bf981615622565b92915050565b600081519050613c0e81615622565b92915050565b600082601f830112613c2957613c28614f05565b5b8135613c39848260208601613b27565b91505092915050565b600082601f830112613c5757613c56614f05565b5b8135613c67848260208601613b69565b91505092915050565b600081359050613c7f81615639565b92915050565b600060208284031215613c9b57613c9a614f14565b5b6000613ca984828501613bab565b91505092915050565b60008060408385031215613cc957613cc8614f14565b5b6000613cd785828601613bab565b9250506020613ce885828601613bab565b9150509250929050565b600080600060608486031215613d0b57613d0a614f14565b5b6000613d1986828701613bab565b9350506020613d2a86828701613bab565b9250506040613d3b86828701613c70565b9150509250925092565b60008060008060808587031215613d5f57613d5e614f14565b5b6000613d6d87828801613bab565b9450506020613d7e87828801613bab565b9350506040613d8f87828801613c70565b925050606085013567ffffffffffffffff811115613db057613daf614f0f565b5b613dbc87828801613c14565b91505092959194509250565b60008060408385031215613ddf57613dde614f14565b5b6000613ded85828601613bab565b9250506020613dfe85828601613bc0565b9150509250929050565b60008060408385031215613e1f57613e1e614f14565b5b6000613e2d85828601613bab565b9250506020613e3e85828601613c70565b9150509250929050565b60008060408385031215613e5f57613e5e614f14565b5b6000613e6d85828601613bc0565b925050602083013567ffffffffffffffff811115613e8e57613e8d614f0f565b5b613e9a85828601613c42565b9150509250929050565b600060208284031215613eba57613eb9614f14565b5b6000613ec884828501613bd5565b91505092915050565b60008060408385031215613ee857613ee7614f14565b5b6000613ef685828601613bd5565b9250506020613f0785828601613bab565b9150509250929050565b60008060408385031215613f2857613f27614f14565b5b6000613f3685828601613bd5565b9250506020613f4785828601613c70565b9150509250929050565b600060208284031215613f6757613f66614f14565b5b6000613f7584828501613bea565b91505092915050565b600060208284031215613f9457613f93614f14565b5b6000613fa284828501613bff565b91505092915050565b600060208284031215613fc157613fc0614f14565b5b600082013567ffffffffffffffff811115613fdf57613fde614f0f565b5b613feb84828501613c42565b91505092915050565b60006020828403121561400a57614009614f14565b5b600061401884828501613c70565b91505092915050565b6000806040838503121561403857614037614f14565b5b600061404685828601613c70565b925050602083013567ffffffffffffffff81111561406757614066614f0f565b5b61407385828601613c42565b9150509250929050565b60006140898383614574565b60208301905092915050565b61409e81614c24565b82525050565b60006140af82614aa3565b6140b98185614ad1565b93506140c483614a93565b8060005b838110156140f55781516140dc888261407d565b97506140e783614ac4565b9250506001810190506140c8565b5085935050505092915050565b61410b81614c36565b82525050565b61411a81614c42565b82525050565b600061412b82614aae565b6141358185614ae2565b9350614145818560208601614cb1565b61414e81614f19565b840191505092915050565b600061416482614ab9565b61416e8185614af3565b935061417e818560208601614cb1565b61418781614f19565b840191505092915050565b600061419d82614ab9565b6141a78185614b04565b93506141b7818560208601614cb1565b80840191505092915050565b60006141d0602083614af3565b91506141db82614f2a565b602082019050919050565b60006141f3601f83614af3565b91506141fe82614f53565b602082019050919050565b6000614216602b83614af3565b915061422182614f7c565b604082019050919050565b6000614239603283614af3565b915061424482614fcb565b604082019050919050565b600061425c602683614af3565b91506142678261501a565b604082019050919050565b600061427f601c83614af3565b915061428a82615069565b602082019050919050565b60006142a2602483614af3565b91506142ad82615092565b604082019050919050565b60006142c5601983614af3565b91506142d0826150e1565b602082019050919050565b60006142e8602383614af3565b91506142f38261510a565b604082019050919050565b600061430b602c83614af3565b915061431682615159565b604082019050919050565b600061432e603883614af3565b9150614339826151a8565b604082019050919050565b6000614351602a83614af3565b915061435c826151f7565b604082019050919050565b6000614374602983614af3565b915061437f82615246565b604082019050919050565b6000614397601783614af3565b91506143a282615295565b602082019050919050565b60006143ba602083614af3565b91506143c5826152be565b602082019050919050565b60006143dd601d83614af3565b91506143e8826152e7565b602082019050919050565b6000614400602c83614af3565b915061440b82615310565b604082019050919050565b6000614423602083614af3565b915061442e8261535f565b602082019050919050565b6000614446602983614af3565b915061445182615388565b604082019050919050565b6000614469602f83614af3565b9150614474826153d7565b604082019050919050565b600061448c601c83614af3565b915061449782615426565b602082019050919050565b60006144af602183614af3565b91506144ba8261544f565b604082019050919050565b60006144d2603183614af3565b91506144dd8261549e565b604082019050919050565b60006144f5602c83614af3565b9150614500826154ed565b604082019050919050565b6000614518601783614b04565b91506145238261553c565b601782019050919050565b600061453b601183614b04565b915061454682615565565b601182019050919050565b600061455e602f83614af3565b91506145698261558e565b604082019050919050565b61457d81614c98565b82525050565b61458c81614c98565b82525050565b600061459e8285614192565b91506145aa8284614192565b91508190509392505050565b60006145c18261450b565b91506145cd8285614192565b91506145d88261452e565b91506145e48284614192565b91508190509392505050565b60006020820190506146056000830184614095565b92915050565b60006080820190506146206000830187614095565b61462d6020830186614095565b61463a6040830185614583565b818103606083015261464c8184614120565b905095945050505050565b6000602082019050818103600083015261467181846140a4565b905092915050565b600060208201905061468e6000830184614102565b92915050565b60006020820190506146a96000830184614111565b92915050565b600060208201905081810360008301526146c98184614159565b905092915050565b600060208201905081810360008301526146ea816141c3565b9050919050565b6000602082019050818103600083015261470a816141e6565b9050919050565b6000602082019050818103600083015261472a81614209565b9050919050565b6000602082019050818103600083015261474a8161422c565b9050919050565b6000602082019050818103600083015261476a8161424f565b9050919050565b6000602082019050818103600083015261478a81614272565b9050919050565b600060208201905081810360008301526147aa81614295565b9050919050565b600060208201905081810360008301526147ca816142b8565b9050919050565b600060208201905081810360008301526147ea816142db565b9050919050565b6000602082019050818103600083015261480a816142fe565b9050919050565b6000602082019050818103600083015261482a81614321565b9050919050565b6000602082019050818103600083015261484a81614344565b9050919050565b6000602082019050818103600083015261486a81614367565b9050919050565b6000602082019050818103600083015261488a8161438a565b9050919050565b600060208201905081810360008301526148aa816143ad565b9050919050565b600060208201905081810360008301526148ca816143d0565b9050919050565b600060208201905081810360008301526148ea816143f3565b9050919050565b6000602082019050818103600083015261490a81614416565b9050919050565b6000602082019050818103600083015261492a81614439565b9050919050565b6000602082019050818103600083015261494a8161445c565b9050919050565b6000602082019050818103600083015261496a8161447f565b9050919050565b6000602082019050818103600083015261498a816144a2565b9050919050565b600060208201905081810360008301526149aa816144c5565b9050919050565b600060208201905081810360008301526149ca816144e8565b9050919050565b600060208201905081810360008301526149ea81614551565b9050919050565b6000602082019050614a066000830184614583565b92915050565b6000614a16614a27565b9050614a228282614d40565b919050565b6000604051905090565b600067ffffffffffffffff821115614a4c57614a4b614ed6565b5b614a5582614f19565b9050602081019050919050565b600067ffffffffffffffff821115614a7d57614a7c614ed6565b5b614a8682614f19565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b1a82614c98565b9150614b2583614c98565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b5a57614b59614deb565b5b828201905092915050565b6000614b7082614c98565b9150614b7b83614c98565b925082614b8b57614b8a614e1a565b5b828204905092915050565b6000614ba182614c98565b9150614bac83614c98565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614be557614be4614deb565b5b828202905092915050565b6000614bfb82614c98565b9150614c0683614c98565b925082821015614c1957614c18614deb565b5b828203905092915050565b6000614c2f82614c78565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ccf578082015181840152602081019050614cb4565b83811115614cde576000848401525b50505050565b6000614cef82614c98565b91506000821415614d0357614d02614deb565b5b600182039050919050565b60006002820490506001821680614d2657607f821691505b60208210811415614d3a57614d39614e49565b5b50919050565b614d4982614f19565b810181811067ffffffffffffffff82111715614d6857614d67614ed6565b5b80604052505050565b6000614d7c82614c98565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614daf57614dae614deb565b5b600182019050919050565b6000614dc582614c98565b9150614dd083614c98565b925082614de057614ddf614e1a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d757374206861766520414354495641544f525f524f4c4520746f206578656360008201527f7574650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4578636565647320726573657276656420737570706c79000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4d7573742068617665206d696e74657220726f6c6520746f206d696e74000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f55524920736574206f66206e6f6e6578697374656e7420746f6b656e00000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6155e681614c24565b81146155f157600080fd5b50565b6155fd81614c36565b811461560857600080fd5b50565b61561481614c42565b811461561f57600080fd5b50565b61562b81614c4c565b811461563657600080fd5b50565b61564281614c98565b811461564d57600080fd5b5056fea26469706673582212202b82199cc4cc11a270852e3a856f8cc65b3864ef6c57b99ee90e569c6804888764736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5638584631486a6f737943644c3250776b7658556150726b6f4a5947674770373231376777415762396468552f000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): https://gateway.pinata.cloud/ipfs/QmV8XF1HjosyCdL2PwkvXUaPrkoJYGgGp7217gwAWb9dhU/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [2] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [3] : 732f516d5638584631486a6f737943644c3250776b7658556150726b6f4a5947
Arg [4] : 674770373231376777415762396468552f000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.