Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
729 ASPECT729
Holders
449
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ASPECT729Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Aspect
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; import '@openzeppelin/contracts/access/AccessControl.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol'; import '@openzeppelin/contracts/security/Pausable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Counters.sol'; import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol'; contract Aspect is ERC721, ERC721Enumerable, ERC721URIStorage, Pausable, Ownable, AccessControl { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; mapping(address => uint256) public minted; uint256 public _mintPrice = 0.9 ether; string private _baseTokenURI; address payable public _drainAddress; uint256 public _mintLimit = 729; // Create a new role identifier for the admin role bytes32 public constant ADMIN_ROLE = keccak256('ADMIN_ROLE'); // Error messages string private constant UNAUTHORIZED = 'Nada Bruh'; string private constant LIMIT_EXCEEDED = 'Mint Less'; string private constant WHITELIST_PAUSED = 'Need Wait'; string private constant INSUFFICIENT_PRICE = 'Need More Money'; uint256 public constant PER_WALLET_MINT = 1; constructor( string memory collectionName, string memory tokenName, string memory baseURI, uint256 mintLimit, address admin, address payable drainAddress ) ERC721(collectionName, tokenName) { _pause(); _setupRole(ADMIN_ROLE, admin); _baseTokenURI = baseURI; _drainAddress = drainAddress; _mintLimit = mintLimit; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function pause() public { // Check that the calling account has the admin role require(hasRole(ADMIN_ROLE, msg.sender), 'Caller is not an admin'); _pause(); } function unpause() public { // Check that the calling account has the admin role require(hasRole(ADMIN_ROLE, msg.sender), 'Caller is not an admin'); _unpause(); } /** * Updates the mint price, only callable by admin role */ function setPrice(uint256 price) public { // Check that the calling account has the admin role require(hasRole(ADMIN_ROLE, msg.sender), 'Caller is not an admin'); _mintPrice = price; } /** * Returns the digest to be signed using `await web3.eth.sign(digest, signer);`. */ function getWhitelistDigest(address minter) public view returns (bytes32) { return keccak256(abi.encode(address(this), minter, block.chainid)); } /** * Extracts the signer from a digest and the signature. Can be used * together with the `getWhitelistDigest()` method and `await web3.eth.sign()`. */ function recoverSigner(bytes32 digest, bytes calldata _signature) public pure returns (address) { return ECDSA.recover(digest, _signature); } /** * Drains collected funds to the specified wallet */ function drain() public payable { _drainAddress.transfer(address(this).balance); } /** * Allows the Admin to mint free gifts */ function mintGift(address to) public { require(hasRole(ADMIN_ROLE, msg.sender), 'Caller is not an admin'); require(_tokenIdCounter.current() < _mintLimit, LIMIT_EXCEEDED); require(!paused(), WHITELIST_PAUSED); uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); minted[to] += 1; _safeMint(to, tokenId); // Check that the destination wallet doesnt alreay have the max amount require(minted[to] <= PER_WALLET_MINT, LIMIT_EXCEEDED); } /** * Allows a whitelisted mint */ function mintWhitelist(bytes calldata _signature) public payable { require(_tokenIdCounter.current() < _mintLimit, LIMIT_EXCEEDED); require(msg.value == _mintPrice, INSUFFICIENT_PRICE); require(!paused(), WHITELIST_PAUSED); uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); // check pause // check whitelist authorization first bytes32 authorizationDigest = getWhitelistDigest(msg.sender); bytes32 message = ECDSA.toEthSignedMessageHash(authorizationDigest); address authority = recoverSigner(message, _signature); require(authority == owner(), UNAUTHORIZED); // mint the NFTs minted[msg.sender] += 1; _safeMint(msg.sender, tokenId); // check supply require(totalSupply() <= _mintLimit, LIMIT_EXCEEDED); require(minted[msg.sender] <= PER_WALLET_MINT, LIMIT_EXCEEDED); } // The following functions are overrides required by Solidity. function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) whenNotPaused { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: 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 overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not 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 { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: 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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ 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 revoked `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}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"collectionName","type":"string"},{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"uint256","name":"mintLimit","type":"uint256"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"address payable","name":"drainAddress","type":"address"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ADMIN_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":"PER_WALLET_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_drainAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"drain","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"getWhitelistDigest","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintGift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"recoverSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"uint256","name":"price","type":"uint256"}],"name":"setPrice","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052670c7d713b49da0000600f556102d96012553480156200002357600080fd5b506040516200656b3803806200656b8339818101604052810190620000499190620005e0565b858581600090805190602001906200006392919062000479565b5080600190805190602001906200007c92919062000479565b5050506000600b60006101000a81548160ff021916908315150217905550620000ba620000ae6200016960201b60201c565b6200017160201b60201c565b620000ca6200023760201b60201c565b620000fc7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177583620002ef60201b60201c565b83601090805190602001906200011492919062000479565b5080601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260128190555050505050505062000982565b600033905090565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002476200030560201b60201c565b156200028a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002819062000716565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620002d66200016960201b60201c565b604051620002e59190620006f9565b60405180910390a1565b6200030182826200031c60201b60201c565b5050565b6000600b60009054906101000a900460ff16905090565b6200032e82826200040e60201b60201c565b6200040a576001600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003af6200016960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620004879062000830565b90600052602060002090601f016020900481019282620004ab5760008555620004f7565b82601f10620004c657805160ff1916838001178555620004f7565b82800160010185558215620004f7579182015b82811115620004f6578251825591602001919060010190620004d9565b5b5090506200050691906200050a565b5090565b5b80821115620005255760008160009055506001016200050b565b5090565b6000620005406200053a8462000761565b62000738565b9050828152602081018484840111156200055957600080fd5b62000566848285620007fa565b509392505050565b6000815190506200057f8162000934565b92915050565b60008151905062000596816200094e565b92915050565b600082601f830112620005ae57600080fd5b8151620005c084826020860162000529565b91505092915050565b600081519050620005da8162000968565b92915050565b60008060008060008060c08789031215620005fa57600080fd5b600087015167ffffffffffffffff8111156200061557600080fd5b6200062389828a016200059c565b965050602087015167ffffffffffffffff8111156200064157600080fd5b6200064f89828a016200059c565b955050604087015167ffffffffffffffff8111156200066d57600080fd5b6200067b89828a016200059c565b94505060606200068e89828a01620005c9565b9350506080620006a189828a016200056e565b92505060a0620006b489828a0162000585565b9150509295509295509295565b620006cc81620007a8565b82525050565b6000620006e160108362000797565b9150620006ee826200090b565b602082019050919050565b6000602082019050620007106000830184620006c1565b92915050565b600060208201905081810360008301526200073181620006d2565b9050919050565b60006200074462000757565b905062000752828262000866565b919050565b6000604051905090565b600067ffffffffffffffff8211156200077f576200077e620008cb565b5b6200078a82620008fa565b9050602081019050919050565b600082825260208201905092915050565b6000620007b582620007d0565b9050919050565b6000620007c982620007d0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200081a578082015181840152602081019050620007fd565b838111156200082a576000848401525b50505050565b600060028204905060018216806200084957607f821691505b6020821081141562000860576200085f6200089c565b5b50919050565b6200087182620008fa565b810181811067ffffffffffffffff82111715620008935762000892620008cb565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6200093f81620007a8565b81146200094b57600080fd5b50565b6200095981620007bc565b81146200096557600080fd5b50565b6200097381620007f0565b81146200097f57600080fd5b50565b615bd980620009926000396000f3fe60806040526004361061023b5760003560e01c8063715018a61161012e578063a22cb465116100ab578063c87b56dd1161006f578063c87b56dd14610869578063d547741f146108a6578063e985e9c5146108cf578063f1cf64091461090c578063f2fde38b146109375761023b565b8063a22cb46514610795578063af1e86c7146107be578063b712f5fa146107da578063b88d4fde14610803578063c2e2f7851461082c5761023b565b806391d14854116100f257806391d14854146106bb57806395d89b41146106f857806397aba7f9146107235780639890220b14610760578063a217fddf1461076a5761023b565b8063715018a61461060e57806375b238fc146106255780638456cb59146106505780638da5cb5b1461066757806391b7f5ed146106925761023b565b8063248a9ca3116101bc57806342842e0e1161018057806342842e0e146105035780634f6ccce71461052c5780635c975abb146105695780636352211e1461059457806370a08231146105d15761023b565b8063248a9ca3146104205780632f2ff15d1461045d5780632f745c591461048657806336568abe146104c35780633f4ba83a146104ec5761023b565b80630c5776de116102035780630c5776de1461033957806318160ddd146103645780631e7269c51461038f5780631fb869fc146103cc57806323b872dd146103f75761023b565b806301ffc9a7146102405780630387da421461027d57806306fdde03146102a8578063081812fc146102d3578063095ea7b314610310575b600080fd5b34801561024c57600080fd5b506102676004803603810190610262919061439c565b610960565b6040516102749190614aea565b60405180910390f35b34801561028957600080fd5b50610292610972565b60405161029f9190614f07565b60405180910390f35b3480156102b457600080fd5b506102bd610978565b6040516102ca9190614b65565b60405180910390f35b3480156102df57600080fd5b506102fa60048036038101906102f59190614433565b610a0a565b6040516103079190614a31565b60405180910390f35b34801561031c57600080fd5b50610337600480360381019061033291906142a3565b610a8f565b005b34801561034557600080fd5b5061034e610ba7565b60405161035b9190614f07565b60405180910390f35b34801561037057600080fd5b50610379610bac565b6040516103869190614f07565b60405180910390f35b34801561039b57600080fd5b506103b660048036038101906103b19190614138565b610bb9565b6040516103c39190614f07565b60405180910390f35b3480156103d857600080fd5b506103e1610bd1565b6040516103ee9190614a4c565b60405180910390f35b34801561040357600080fd5b5061041e6004803603810190610419919061419d565b610bf7565b005b34801561042c57600080fd5b50610447600480360381019061044291906142df565b610c57565b6040516104549190614b05565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190614308565b610c77565b005b34801561049257600080fd5b506104ad60048036038101906104a891906142a3565b610c98565b6040516104ba9190614f07565b60405180910390f35b3480156104cf57600080fd5b506104ea60048036038101906104e59190614308565b610d3d565b005b3480156104f857600080fd5b50610501610dc0565b005b34801561050f57600080fd5b5061052a6004803603810190610525919061419d565b610e33565b005b34801561053857600080fd5b50610553600480360381019061054e9190614433565b610e53565b6040516105609190614f07565b60405180910390f35b34801561057557600080fd5b5061057e610eea565b60405161058b9190614aea565b60405180910390f35b3480156105a057600080fd5b506105bb60048036038101906105b69190614433565b610f01565b6040516105c89190614a31565b60405180910390f35b3480156105dd57600080fd5b506105f860048036038101906105f39190614138565b610fb3565b6040516106059190614f07565b60405180910390f35b34801561061a57600080fd5b5061062361106b565b005b34801561063157600080fd5b5061063a6110f3565b6040516106479190614b05565b60405180910390f35b34801561065c57600080fd5b50610665611117565b005b34801561067357600080fd5b5061067c61118a565b6040516106899190614a31565b60405180910390f35b34801561069e57600080fd5b506106b960048036038101906106b49190614433565b6111b4565b005b3480156106c757600080fd5b506106e260048036038101906106dd9190614308565b611227565b6040516106ef9190614aea565b60405180910390f35b34801561070457600080fd5b5061070d611292565b60405161071a9190614b65565b60405180910390f35b34801561072f57600080fd5b5061074a60048036038101906107459190614344565b611324565b6040516107579190614a31565b60405180910390f35b61076861137d565b005b34801561077657600080fd5b5061077f6113e8565b60405161078c9190614b05565b60405180910390f35b3480156107a157600080fd5b506107bc60048036038101906107b79190614267565b6113ef565b005b6107d860048036038101906107d391906143ee565b611405565b005b3480156107e657600080fd5b5061080160048036038101906107fc9190614138565b611822565b005b34801561080f57600080fd5b5061082a600480360381019061082591906141ec565b611acb565b005b34801561083857600080fd5b50610853600480360381019061084e9190614138565b611b2d565b6040516108609190614b05565b60405180910390f35b34801561087557600080fd5b50610890600480360381019061088b9190614433565b611b61565b60405161089d9190614b65565b60405180910390f35b3480156108b257600080fd5b506108cd60048036038101906108c89190614308565b611b73565b005b3480156108db57600080fd5b506108f660048036038101906108f19190614161565b611b94565b6040516109039190614aea565b60405180910390f35b34801561091857600080fd5b50610921611c28565b60405161092e9190614f07565b60405180910390f35b34801561094357600080fd5b5061095e60048036038101906109599190614138565b611c2e565b005b600061096b82611d26565b9050919050565b600f5481565b606060008054610987906151d9565b80601f01602080910402602001604051908101604052809291908181526020018280546109b3906151d9565b8015610a005780601f106109d557610100808354040283529160200191610a00565b820191906000526020600020905b8154815290600101906020018083116109e357829003601f168201915b5050505050905090565b6000610a1582611da0565b610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b90614e07565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a9a82610f01565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0290614e67565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b2a611e0c565b73ffffffffffffffffffffffffffffffffffffffff161480610b595750610b5881610b53611e0c565b611b94565b5b610b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8f90614d47565b60405180910390fd5b610ba28383611e14565b505050565b600181565b6000600880549050905090565b600e6020528060005260406000206000915090505481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610c08610c02611e0c565b82611ecd565b610c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3e90614ea7565b60405180910390fd5b610c52838383611fab565b505050565b6000600c6000838152602001908152602001600020600101549050919050565b610c8082610c57565b610c8981612212565b610c938383612226565b505050565b6000610ca383610fb3565b8210610ce4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdb90614c07565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d45611e0c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da990614ee7565b60405180910390fd5b610dbc8282612307565b5050565b610dea7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2090614e87565b60405180910390fd5b610e316123e9565b565b610e4e83838360405180602001604052806000815250611acb565b505050565b6000610e5d610bac565b8210610e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9590614ec7565b60405180910390fd5b60088281548110610ed8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000600b60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610faa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa190614d87565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101b90614d67565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611073611e0c565b73ffffffffffffffffffffffffffffffffffffffff1661109161118a565b73ffffffffffffffffffffffffffffffffffffffff16146110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de90614e27565b60405180910390fd5b6110f1600061248b565b565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6111417fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b611180576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117790614e87565b60405180910390fd5b611188612551565b565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111de7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b61121d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121490614e87565b60405180910390fd5b80600f8190555050565b6000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546112a1906151d9565b80601f01602080910402602001604051908101604052809291908181526020018280546112cd906151d9565b801561131a5780601f106112ef5761010080835404028352916020019161131a565b820191906000526020600020905b8154815290600101906020018083116112fd57829003601f168201915b5050505050905090565b60006113748484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506125f4565b90509392505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156113e5573d6000803e3d6000fd5b50565b6000801b81565b6114016113fa611e0c565b838361261b565b5050565b601254611412600d612788565b106040518060400160405280600981526020017f4d696e74204c65737300000000000000000000000000000000000000000000008152509061148a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114819190614b65565b60405180910390fd5b50600f5434146040518060400160405280600f81526020017f4e656564204d6f7265204d6f6e6579000000000000000000000000000000000081525090611507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe9190614b65565b60405180910390fd5b50611510610eea565b156040518060400160405280600981526020017f4e6565642057616974000000000000000000000000000000000000000000000081525090611588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157f9190614b65565b60405180910390fd5b506000611595600d612788565b90506115a1600d612796565b60006115ac33611b2d565b905060006115b9826127ac565b905060006115c8828787611324565b90506115d261118a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600981526020017f4e6164612042727568000000000000000000000000000000000000000000000081525090611677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166e9190614b65565b60405180910390fd5b506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116c89190614fbb565b925050819055506116d933856127dc565b6012546116e4610bac565b11156040518060400160405280600981526020017f4d696e74204c65737300000000000000000000000000000000000000000000008152509061175d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117549190614b65565b60405180910390fd5b506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156040518060400160405280600981526020017f4d696e74204c657373000000000000000000000000000000000000000000000081525090611819576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118109190614b65565b60405180910390fd5b50505050505050565b61184c7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b61188b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188290614e87565b60405180910390fd5b601254611898600d612788565b106040518060400160405280600981526020017f4d696e74204c657373000000000000000000000000000000000000000000000081525090611910576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119079190614b65565b60405180910390fd5b50611919610eea565b156040518060400160405280600981526020017f4e6565642057616974000000000000000000000000000000000000000000000081525090611991576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119889190614b65565b60405180910390fd5b50600061199e600d612788565b90506119aa600d612796565b6001600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119fa9190614fbb565b92505081905550611a0b82826127dc565b6001600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156040518060400160405280600981526020017f4d696e74204c657373000000000000000000000000000000000000000000000081525090611ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abd9190614b65565b60405180910390fd5b505050565b611adc611ad6611e0c565b83611ecd565b611b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1290614ea7565b60405180910390fd5b611b27848484846127fa565b50505050565b6000308246604051602001611b4493929190614a67565b604051602081830303815290604052805190602001209050919050565b6060611b6c82612856565b9050919050565b611b7c82610c57565b611b8581612212565b611b8f8383612307565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60125481565b611c36611e0c565b73ffffffffffffffffffffffffffffffffffffffff16611c5461118a565b73ffffffffffffffffffffffffffffffffffffffff1614611caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca190614e27565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1190614c47565b60405180910390fd5b611d238161248b565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d995750611d98826129a8565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e8783610f01565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ed882611da0565b611f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0e90614d07565b60405180910390fd5b6000611f2283610f01565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f645750611f638185611b94565b5b80611fa257508373ffffffffffffffffffffffffffffffffffffffff16611f8a84610a0a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fcb82610f01565b73ffffffffffffffffffffffffffffffffffffffff1614612021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201890614c67565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208890614ca7565b60405180910390fd5b61209c838383612a22565b6120a7600082611e14565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f7919061509c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461214e9190614fbb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461220d838383612a7a565b505050565b6122238161221e611e0c565b612a7f565b50565b6122308282611227565b612303576001600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122a8611e0c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6123118282611227565b156123e5576000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061238a611e0c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6123f1610eea565b612430576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242790614bc7565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612474611e0c565b6040516124819190614a31565b60405180910390a1565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612559610eea565b15612599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259090614d27565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125dd611e0c565b6040516125ea9190614a31565b60405180910390a1565b60008060006126038585612b1c565b9150915061261081612b9f565b819250505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561268a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268190614cc7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161277b9190614aea565b60405180910390a3505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6000816040516020016127bf91906149d1565b604051602081830303815290604052805190602001209050919050565b6127f6828260405180602001604052806000815250612ef0565b5050565b612805848484611fab565b61281184848484612f4b565b612850576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284790614c27565b60405180910390fd5b50505050565b606061286182611da0565b6128a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289790614de7565b60405180910390fd5b6000600a600084815260200190815260200160002080546128c0906151d9565b80601f01602080910402602001604051908101604052809291908181526020018280546128ec906151d9565b80156129395780601f1061290e57610100808354040283529160200191612939565b820191906000526020600020905b81548152906001019060200180831161291c57829003601f168201915b50505050509050600061294a6130e2565b90506000815114156129605781925050506129a3565b60008251111561299557808260405160200161297d9291906149ad565b604051602081830303815290604052925050506129a3565b61299e84613174565b925050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a1b5750612a1a8261321b565b5b9050919050565b612a2a610eea565b15612a6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6190614d27565b60405180910390fd5b612a758383836132fd565b505050565b505050565b612a898282611227565b612b1857612aae8173ffffffffffffffffffffffffffffffffffffffff166014613411565b612abc8360001c6020613411565b604051602001612acd9291906149f7565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0f9190614b65565b60405180910390fd5b5050565b600080604183511415612b5e5760008060006020860151925060408601519150606086015160001a9050612b528782858561370b565b94509450505050612b98565b604083511415612b8f576000806020850151915060408501519050612b84868383613818565b935093505050612b98565b60006002915091505b9250929050565b60006004811115612bd9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c12577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612c1d57612eed565b60016004811115612c57577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c90577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc890614b87565b60405180910390fd5b60026004811115612d0b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612d44577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7c90614be7565b60405180910390fd5b60036004811115612dbf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612df8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3090614ce7565b60405180910390fd5b600480811115612e72577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612eab577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ee390614da7565b60405180910390fd5b5b50565b612efa8383613877565b612f076000848484612f4b565b612f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3d90614c27565b60405180910390fd5b505050565b6000612f6c8473ffffffffffffffffffffffffffffffffffffffff16613a51565b156130d5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f95611e0c565b8786866040518563ffffffff1660e01b8152600401612fb79493929190614a9e565b602060405180830381600087803b158015612fd157600080fd5b505af192505050801561300257506040513d601f19601f82011682018060405250810190612fff91906143c5565b60015b613085573d8060008114613032576040519150601f19603f3d011682016040523d82523d6000602084013e613037565b606091505b5060008151141561307d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307490614c27565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130da565b600190505b949350505050565b6060601080546130f1906151d9565b80601f016020809104026020016040519081016040528092919081815260200182805461311d906151d9565b801561316a5780601f1061313f5761010080835404028352916020019161316a565b820191906000526020600020905b81548152906001019060200180831161314d57829003601f168201915b5050505050905090565b606061317f82611da0565b6131be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b590614e47565b60405180910390fd5b60006131c86130e2565b905060008151116131e85760405180602001604052806000815250613213565b806131f284613a74565b6040516020016132039291906149ad565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132e657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806132f657506132f582613c21565b5b9050919050565b613308838383613c8b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561334b5761334681613c90565b61338a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613389576133888382613cd9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133cd576133c881613e46565b61340c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461340b5761340a8282613f89565b5b5b505050565b6060600060028360026134249190615042565b61342e9190614fbb565b67ffffffffffffffff81111561346d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561349f5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106134fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613587577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026135c79190615042565b6135d19190614fbb565b90505b60018111156136bd577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613639577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110613676577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806136b6906151af565b90506135d4565b5060008414613701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f890614ba7565b60405180910390fd5b8091505092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561374657600060039150915061380f565b601b8560ff161415801561375e5750601c8560ff1614155b1561377057600060049150915061380f565b6000600187878787604051600081526020016040526040516137959493929190614b20565b6020604051602081039080840390855afa1580156137b7573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156138065760006001925092505061380f565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61385b9190614fbb565b90506138698782888561370b565b935093505050935093915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138de90614dc7565b60405180910390fd5b6138f081611da0565b15613930576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392790614c87565b60405180910390fd5b61393c60008383612a22565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461398c9190614fbb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a4d60008383612a7a565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60606000821415613abc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c1c565b600082905060005b60008214613aee578080613ad79061523c565b915050600a82613ae79190615011565b9150613ac4565b60008167ffffffffffffffff811115613b30577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613b625781602001600182028036833780820191505090505b5090505b60008514613c1557600182613b7b919061509c565b9150600a85613b8a919061528f565b6030613b969190614fbb565b60f81b818381518110613bd2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c0e9190615011565b9450613b66565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ce684610fb3565b613cf0919061509c565b9050600060076000848152602001908152602001600020549050818114613dd5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613e5a919061509c565b9050600060096000848152602001908152602001600020549050600060088381548110613eb0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613ef8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613f9483610fb3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600061401b61401684614f47565b614f22565b90508281526020810184848401111561403357600080fd5b61403e84828561516d565b509392505050565b60008135905061405581615b30565b92915050565b60008135905061406a81615b47565b92915050565b60008135905061407f81615b5e565b92915050565b60008135905061409481615b75565b92915050565b6000815190506140a981615b75565b92915050565b60008083601f8401126140c157600080fd5b8235905067ffffffffffffffff8111156140da57600080fd5b6020830191508360018202830111156140f257600080fd5b9250929050565b600082601f83011261410a57600080fd5b813561411a848260208601614008565b91505092915050565b60008135905061413281615b8c565b92915050565b60006020828403121561414a57600080fd5b600061415884828501614046565b91505092915050565b6000806040838503121561417457600080fd5b600061418285828601614046565b925050602061419385828601614046565b9150509250929050565b6000806000606084860312156141b257600080fd5b60006141c086828701614046565b93505060206141d186828701614046565b92505060406141e286828701614123565b9150509250925092565b6000806000806080858703121561420257600080fd5b600061421087828801614046565b945050602061422187828801614046565b935050604061423287828801614123565b925050606085013567ffffffffffffffff81111561424f57600080fd5b61425b878288016140f9565b91505092959194509250565b6000806040838503121561427a57600080fd5b600061428885828601614046565b92505060206142998582860161405b565b9150509250929050565b600080604083850312156142b657600080fd5b60006142c485828601614046565b92505060206142d585828601614123565b9150509250929050565b6000602082840312156142f157600080fd5b60006142ff84828501614070565b91505092915050565b6000806040838503121561431b57600080fd5b600061432985828601614070565b925050602061433a85828601614046565b9150509250929050565b60008060006040848603121561435957600080fd5b600061436786828701614070565b935050602084013567ffffffffffffffff81111561438457600080fd5b614390868287016140af565b92509250509250925092565b6000602082840312156143ae57600080fd5b60006143bc84828501614085565b91505092915050565b6000602082840312156143d757600080fd5b60006143e58482850161409a565b91505092915050565b6000806020838503121561440157600080fd5b600083013567ffffffffffffffff81111561441b57600080fd5b614427858286016140af565b92509250509250929050565b60006020828403121561444557600080fd5b600061445384828501614123565b91505092915050565b614465816150e2565b82525050565b614474816150d0565b82525050565b614483816150f4565b82525050565b61449281615100565b82525050565b6144a96144a482615100565b615285565b82525050565b60006144ba82614f78565b6144c48185614f8e565b93506144d481856020860161517c565b6144dd8161537c565b840191505092915050565b60006144f382614f83565b6144fd8185614f9f565b935061450d81856020860161517c565b6145168161537c565b840191505092915050565b600061452c82614f83565b6145368185614fb0565b935061454681856020860161517c565b80840191505092915050565b600061455f601883614f9f565b915061456a8261538d565b602082019050919050565b6000614582602083614f9f565b915061458d826153b6565b602082019050919050565b60006145a5601483614f9f565b91506145b0826153df565b602082019050919050565b60006145c8601f83614f9f565b91506145d382615408565b602082019050919050565b60006145eb601c83614fb0565b91506145f682615431565b601c82019050919050565b600061460e602b83614f9f565b91506146198261545a565b604082019050919050565b6000614631603283614f9f565b915061463c826154a9565b604082019050919050565b6000614654602683614f9f565b915061465f826154f8565b604082019050919050565b6000614677602583614f9f565b915061468282615547565b604082019050919050565b600061469a601c83614f9f565b91506146a582615596565b602082019050919050565b60006146bd602483614f9f565b91506146c8826155bf565b604082019050919050565b60006146e0601983614f9f565b91506146eb8261560e565b602082019050919050565b6000614703602283614f9f565b915061470e82615637565b604082019050919050565b6000614726602c83614f9f565b915061473182615686565b604082019050919050565b6000614749601083614f9f565b9150614754826156d5565b602082019050919050565b600061476c603883614f9f565b9150614777826156fe565b604082019050919050565b600061478f602a83614f9f565b915061479a8261574d565b604082019050919050565b60006147b2602983614f9f565b91506147bd8261579c565b604082019050919050565b60006147d5602283614f9f565b91506147e0826157eb565b604082019050919050565b60006147f8602083614f9f565b91506148038261583a565b602082019050919050565b600061481b603183614f9f565b915061482682615863565b604082019050919050565b600061483e602c83614f9f565b9150614849826158b2565b604082019050919050565b6000614861602083614f9f565b915061486c82615901565b602082019050919050565b6000614884602f83614f9f565b915061488f8261592a565b604082019050919050565b60006148a7602183614f9f565b91506148b282615979565b604082019050919050565b60006148ca601683614f9f565b91506148d5826159c8565b602082019050919050565b60006148ed603183614f9f565b91506148f8826159f1565b604082019050919050565b6000614910602c83614f9f565b915061491b82615a40565b604082019050919050565b6000614933601783614fb0565b915061493e82615a8f565b601782019050919050565b6000614956601183614fb0565b915061496182615ab8565b601182019050919050565b6000614979602f83614f9f565b915061498482615ae1565b604082019050919050565b61499881615156565b82525050565b6149a781615160565b82525050565b60006149b98285614521565b91506149c58284614521565b91508190509392505050565b60006149dc826145de565b91506149e88284614498565b60208201915081905092915050565b6000614a0282614926565b9150614a0e8285614521565b9150614a1982614949565b9150614a258284614521565b91508190509392505050565b6000602082019050614a46600083018461446b565b92915050565b6000602082019050614a61600083018461445c565b92915050565b6000606082019050614a7c600083018661446b565b614a89602083018561446b565b614a96604083018461498f565b949350505050565b6000608082019050614ab3600083018761446b565b614ac0602083018661446b565b614acd604083018561498f565b8181036060830152614adf81846144af565b905095945050505050565b6000602082019050614aff600083018461447a565b92915050565b6000602082019050614b1a6000830184614489565b92915050565b6000608082019050614b356000830187614489565b614b42602083018661499e565b614b4f6040830185614489565b614b5c6060830184614489565b95945050505050565b60006020820190508181036000830152614b7f81846144e8565b905092915050565b60006020820190508181036000830152614ba081614552565b9050919050565b60006020820190508181036000830152614bc081614575565b9050919050565b60006020820190508181036000830152614be081614598565b9050919050565b60006020820190508181036000830152614c00816145bb565b9050919050565b60006020820190508181036000830152614c2081614601565b9050919050565b60006020820190508181036000830152614c4081614624565b9050919050565b60006020820190508181036000830152614c6081614647565b9050919050565b60006020820190508181036000830152614c808161466a565b9050919050565b60006020820190508181036000830152614ca08161468d565b9050919050565b60006020820190508181036000830152614cc0816146b0565b9050919050565b60006020820190508181036000830152614ce0816146d3565b9050919050565b60006020820190508181036000830152614d00816146f6565b9050919050565b60006020820190508181036000830152614d2081614719565b9050919050565b60006020820190508181036000830152614d408161473c565b9050919050565b60006020820190508181036000830152614d608161475f565b9050919050565b60006020820190508181036000830152614d8081614782565b9050919050565b60006020820190508181036000830152614da0816147a5565b9050919050565b60006020820190508181036000830152614dc0816147c8565b9050919050565b60006020820190508181036000830152614de0816147eb565b9050919050565b60006020820190508181036000830152614e008161480e565b9050919050565b60006020820190508181036000830152614e2081614831565b9050919050565b60006020820190508181036000830152614e4081614854565b9050919050565b60006020820190508181036000830152614e6081614877565b9050919050565b60006020820190508181036000830152614e808161489a565b9050919050565b60006020820190508181036000830152614ea0816148bd565b9050919050565b60006020820190508181036000830152614ec0816148e0565b9050919050565b60006020820190508181036000830152614ee081614903565b9050919050565b60006020820190508181036000830152614f008161496c565b9050919050565b6000602082019050614f1c600083018461498f565b92915050565b6000614f2c614f3d565b9050614f38828261520b565b919050565b6000604051905090565b600067ffffffffffffffff821115614f6257614f6161534d565b5b614f6b8261537c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614fc682615156565b9150614fd183615156565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615006576150056152c0565b5b828201905092915050565b600061501c82615156565b915061502783615156565b925082615037576150366152ef565b5b828204905092915050565b600061504d82615156565b915061505883615156565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615091576150906152c0565b5b828202905092915050565b60006150a782615156565b91506150b283615156565b9250828210156150c5576150c46152c0565b5b828203905092915050565b60006150db82615136565b9050919050565b60006150ed82615136565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561519a57808201518184015260208101905061517f565b838111156151a9576000848401525b50505050565b60006151ba82615156565b915060008214156151ce576151cd6152c0565b5b600182039050919050565b600060028204905060018216806151f157607f821691505b602082108114156152055761520461531e565b5b50919050565b6152148261537c565b810181811067ffffffffffffffff821117156152335761523261534d565b5b80604052505050565b600061524782615156565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561527a576152796152c0565b5b600182019050919050565b6000819050919050565b600061529a82615156565b91506152a583615156565b9250826152b5576152b46152ef565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f7420616e2061646d696e00000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615b39816150d0565b8114615b4457600080fd5b50565b615b50816150f4565b8114615b5b57600080fd5b50565b615b6781615100565b8114615b7257600080fd5b50565b615b7e8161510a565b8114615b8957600080fd5b50565b615b9581615156565b8114615ba057600080fd5b5056fea2646970667358221220b93a33ca5b034609915246eaccd405bbccd0c0fadcfba70b93f83e56ac47895664736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000002d90000000000000000000000005e72984f9f907cb85c8ef4a48c210d2b0651800a000000000000000000000000320aa640fb9ce98b4466ae45be271ddfb1f80cfb000000000000000000000000000000000000000000000000000000000000001c54484520544849524420415350454354204f4620544845204e494e450000000000000000000000000000000000000000000000000000000000000000000000094153504543543732390000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004168747470733a2f2f63392d6d657461646174612d70726f642e73332e75732d776573742d312e616d617a6f6e6177732e636f6d2f7468652d3732392f6a736f6e2f00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061023b5760003560e01c8063715018a61161012e578063a22cb465116100ab578063c87b56dd1161006f578063c87b56dd14610869578063d547741f146108a6578063e985e9c5146108cf578063f1cf64091461090c578063f2fde38b146109375761023b565b8063a22cb46514610795578063af1e86c7146107be578063b712f5fa146107da578063b88d4fde14610803578063c2e2f7851461082c5761023b565b806391d14854116100f257806391d14854146106bb57806395d89b41146106f857806397aba7f9146107235780639890220b14610760578063a217fddf1461076a5761023b565b8063715018a61461060e57806375b238fc146106255780638456cb59146106505780638da5cb5b1461066757806391b7f5ed146106925761023b565b8063248a9ca3116101bc57806342842e0e1161018057806342842e0e146105035780634f6ccce71461052c5780635c975abb146105695780636352211e1461059457806370a08231146105d15761023b565b8063248a9ca3146104205780632f2ff15d1461045d5780632f745c591461048657806336568abe146104c35780633f4ba83a146104ec5761023b565b80630c5776de116102035780630c5776de1461033957806318160ddd146103645780631e7269c51461038f5780631fb869fc146103cc57806323b872dd146103f75761023b565b806301ffc9a7146102405780630387da421461027d57806306fdde03146102a8578063081812fc146102d3578063095ea7b314610310575b600080fd5b34801561024c57600080fd5b506102676004803603810190610262919061439c565b610960565b6040516102749190614aea565b60405180910390f35b34801561028957600080fd5b50610292610972565b60405161029f9190614f07565b60405180910390f35b3480156102b457600080fd5b506102bd610978565b6040516102ca9190614b65565b60405180910390f35b3480156102df57600080fd5b506102fa60048036038101906102f59190614433565b610a0a565b6040516103079190614a31565b60405180910390f35b34801561031c57600080fd5b50610337600480360381019061033291906142a3565b610a8f565b005b34801561034557600080fd5b5061034e610ba7565b60405161035b9190614f07565b60405180910390f35b34801561037057600080fd5b50610379610bac565b6040516103869190614f07565b60405180910390f35b34801561039b57600080fd5b506103b660048036038101906103b19190614138565b610bb9565b6040516103c39190614f07565b60405180910390f35b3480156103d857600080fd5b506103e1610bd1565b6040516103ee9190614a4c565b60405180910390f35b34801561040357600080fd5b5061041e6004803603810190610419919061419d565b610bf7565b005b34801561042c57600080fd5b50610447600480360381019061044291906142df565b610c57565b6040516104549190614b05565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190614308565b610c77565b005b34801561049257600080fd5b506104ad60048036038101906104a891906142a3565b610c98565b6040516104ba9190614f07565b60405180910390f35b3480156104cf57600080fd5b506104ea60048036038101906104e59190614308565b610d3d565b005b3480156104f857600080fd5b50610501610dc0565b005b34801561050f57600080fd5b5061052a6004803603810190610525919061419d565b610e33565b005b34801561053857600080fd5b50610553600480360381019061054e9190614433565b610e53565b6040516105609190614f07565b60405180910390f35b34801561057557600080fd5b5061057e610eea565b60405161058b9190614aea565b60405180910390f35b3480156105a057600080fd5b506105bb60048036038101906105b69190614433565b610f01565b6040516105c89190614a31565b60405180910390f35b3480156105dd57600080fd5b506105f860048036038101906105f39190614138565b610fb3565b6040516106059190614f07565b60405180910390f35b34801561061a57600080fd5b5061062361106b565b005b34801561063157600080fd5b5061063a6110f3565b6040516106479190614b05565b60405180910390f35b34801561065c57600080fd5b50610665611117565b005b34801561067357600080fd5b5061067c61118a565b6040516106899190614a31565b60405180910390f35b34801561069e57600080fd5b506106b960048036038101906106b49190614433565b6111b4565b005b3480156106c757600080fd5b506106e260048036038101906106dd9190614308565b611227565b6040516106ef9190614aea565b60405180910390f35b34801561070457600080fd5b5061070d611292565b60405161071a9190614b65565b60405180910390f35b34801561072f57600080fd5b5061074a60048036038101906107459190614344565b611324565b6040516107579190614a31565b60405180910390f35b61076861137d565b005b34801561077657600080fd5b5061077f6113e8565b60405161078c9190614b05565b60405180910390f35b3480156107a157600080fd5b506107bc60048036038101906107b79190614267565b6113ef565b005b6107d860048036038101906107d391906143ee565b611405565b005b3480156107e657600080fd5b5061080160048036038101906107fc9190614138565b611822565b005b34801561080f57600080fd5b5061082a600480360381019061082591906141ec565b611acb565b005b34801561083857600080fd5b50610853600480360381019061084e9190614138565b611b2d565b6040516108609190614b05565b60405180910390f35b34801561087557600080fd5b50610890600480360381019061088b9190614433565b611b61565b60405161089d9190614b65565b60405180910390f35b3480156108b257600080fd5b506108cd60048036038101906108c89190614308565b611b73565b005b3480156108db57600080fd5b506108f660048036038101906108f19190614161565b611b94565b6040516109039190614aea565b60405180910390f35b34801561091857600080fd5b50610921611c28565b60405161092e9190614f07565b60405180910390f35b34801561094357600080fd5b5061095e60048036038101906109599190614138565b611c2e565b005b600061096b82611d26565b9050919050565b600f5481565b606060008054610987906151d9565b80601f01602080910402602001604051908101604052809291908181526020018280546109b3906151d9565b8015610a005780601f106109d557610100808354040283529160200191610a00565b820191906000526020600020905b8154815290600101906020018083116109e357829003601f168201915b5050505050905090565b6000610a1582611da0565b610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b90614e07565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a9a82610f01565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0290614e67565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b2a611e0c565b73ffffffffffffffffffffffffffffffffffffffff161480610b595750610b5881610b53611e0c565b611b94565b5b610b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8f90614d47565b60405180910390fd5b610ba28383611e14565b505050565b600181565b6000600880549050905090565b600e6020528060005260406000206000915090505481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610c08610c02611e0c565b82611ecd565b610c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3e90614ea7565b60405180910390fd5b610c52838383611fab565b505050565b6000600c6000838152602001908152602001600020600101549050919050565b610c8082610c57565b610c8981612212565b610c938383612226565b505050565b6000610ca383610fb3565b8210610ce4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdb90614c07565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d45611e0c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da990614ee7565b60405180910390fd5b610dbc8282612307565b5050565b610dea7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2090614e87565b60405180910390fd5b610e316123e9565b565b610e4e83838360405180602001604052806000815250611acb565b505050565b6000610e5d610bac565b8210610e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9590614ec7565b60405180910390fd5b60088281548110610ed8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000600b60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610faa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa190614d87565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101b90614d67565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611073611e0c565b73ffffffffffffffffffffffffffffffffffffffff1661109161118a565b73ffffffffffffffffffffffffffffffffffffffff16146110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de90614e27565b60405180910390fd5b6110f1600061248b565b565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6111417fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b611180576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117790614e87565b60405180910390fd5b611188612551565b565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111de7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b61121d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121490614e87565b60405180910390fd5b80600f8190555050565b6000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546112a1906151d9565b80601f01602080910402602001604051908101604052809291908181526020018280546112cd906151d9565b801561131a5780601f106112ef5761010080835404028352916020019161131a565b820191906000526020600020905b8154815290600101906020018083116112fd57829003601f168201915b5050505050905090565b60006113748484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506125f4565b90509392505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156113e5573d6000803e3d6000fd5b50565b6000801b81565b6114016113fa611e0c565b838361261b565b5050565b601254611412600d612788565b106040518060400160405280600981526020017f4d696e74204c65737300000000000000000000000000000000000000000000008152509061148a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114819190614b65565b60405180910390fd5b50600f5434146040518060400160405280600f81526020017f4e656564204d6f7265204d6f6e6579000000000000000000000000000000000081525090611507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe9190614b65565b60405180910390fd5b50611510610eea565b156040518060400160405280600981526020017f4e6565642057616974000000000000000000000000000000000000000000000081525090611588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157f9190614b65565b60405180910390fd5b506000611595600d612788565b90506115a1600d612796565b60006115ac33611b2d565b905060006115b9826127ac565b905060006115c8828787611324565b90506115d261118a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600981526020017f4e6164612042727568000000000000000000000000000000000000000000000081525090611677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166e9190614b65565b60405180910390fd5b506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116c89190614fbb565b925050819055506116d933856127dc565b6012546116e4610bac565b11156040518060400160405280600981526020017f4d696e74204c65737300000000000000000000000000000000000000000000008152509061175d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117549190614b65565b60405180910390fd5b506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156040518060400160405280600981526020017f4d696e74204c657373000000000000000000000000000000000000000000000081525090611819576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118109190614b65565b60405180910390fd5b50505050505050565b61184c7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611227565b61188b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188290614e87565b60405180910390fd5b601254611898600d612788565b106040518060400160405280600981526020017f4d696e74204c657373000000000000000000000000000000000000000000000081525090611910576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119079190614b65565b60405180910390fd5b50611919610eea565b156040518060400160405280600981526020017f4e6565642057616974000000000000000000000000000000000000000000000081525090611991576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119889190614b65565b60405180910390fd5b50600061199e600d612788565b90506119aa600d612796565b6001600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119fa9190614fbb565b92505081905550611a0b82826127dc565b6001600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156040518060400160405280600981526020017f4d696e74204c657373000000000000000000000000000000000000000000000081525090611ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abd9190614b65565b60405180910390fd5b505050565b611adc611ad6611e0c565b83611ecd565b611b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1290614ea7565b60405180910390fd5b611b27848484846127fa565b50505050565b6000308246604051602001611b4493929190614a67565b604051602081830303815290604052805190602001209050919050565b6060611b6c82612856565b9050919050565b611b7c82610c57565b611b8581612212565b611b8f8383612307565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60125481565b611c36611e0c565b73ffffffffffffffffffffffffffffffffffffffff16611c5461118a565b73ffffffffffffffffffffffffffffffffffffffff1614611caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca190614e27565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1190614c47565b60405180910390fd5b611d238161248b565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d995750611d98826129a8565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e8783610f01565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ed882611da0565b611f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0e90614d07565b60405180910390fd5b6000611f2283610f01565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f645750611f638185611b94565b5b80611fa257508373ffffffffffffffffffffffffffffffffffffffff16611f8a84610a0a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fcb82610f01565b73ffffffffffffffffffffffffffffffffffffffff1614612021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201890614c67565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208890614ca7565b60405180910390fd5b61209c838383612a22565b6120a7600082611e14565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f7919061509c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461214e9190614fbb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461220d838383612a7a565b505050565b6122238161221e611e0c565b612a7f565b50565b6122308282611227565b612303576001600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122a8611e0c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6123118282611227565b156123e5576000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061238a611e0c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6123f1610eea565b612430576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242790614bc7565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612474611e0c565b6040516124819190614a31565b60405180910390a1565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612559610eea565b15612599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259090614d27565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125dd611e0c565b6040516125ea9190614a31565b60405180910390a1565b60008060006126038585612b1c565b9150915061261081612b9f565b819250505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561268a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268190614cc7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161277b9190614aea565b60405180910390a3505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6000816040516020016127bf91906149d1565b604051602081830303815290604052805190602001209050919050565b6127f6828260405180602001604052806000815250612ef0565b5050565b612805848484611fab565b61281184848484612f4b565b612850576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284790614c27565b60405180910390fd5b50505050565b606061286182611da0565b6128a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289790614de7565b60405180910390fd5b6000600a600084815260200190815260200160002080546128c0906151d9565b80601f01602080910402602001604051908101604052809291908181526020018280546128ec906151d9565b80156129395780601f1061290e57610100808354040283529160200191612939565b820191906000526020600020905b81548152906001019060200180831161291c57829003601f168201915b50505050509050600061294a6130e2565b90506000815114156129605781925050506129a3565b60008251111561299557808260405160200161297d9291906149ad565b604051602081830303815290604052925050506129a3565b61299e84613174565b925050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a1b5750612a1a8261321b565b5b9050919050565b612a2a610eea565b15612a6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6190614d27565b60405180910390fd5b612a758383836132fd565b505050565b505050565b612a898282611227565b612b1857612aae8173ffffffffffffffffffffffffffffffffffffffff166014613411565b612abc8360001c6020613411565b604051602001612acd9291906149f7565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0f9190614b65565b60405180910390fd5b5050565b600080604183511415612b5e5760008060006020860151925060408601519150606086015160001a9050612b528782858561370b565b94509450505050612b98565b604083511415612b8f576000806020850151915060408501519050612b84868383613818565b935093505050612b98565b60006002915091505b9250929050565b60006004811115612bd9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c12577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612c1d57612eed565b60016004811115612c57577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612c90577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc890614b87565b60405180910390fd5b60026004811115612d0b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612d44577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7c90614be7565b60405180910390fd5b60036004811115612dbf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612df8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3090614ce7565b60405180910390fd5b600480811115612e72577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612eab577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ee390614da7565b60405180910390fd5b5b50565b612efa8383613877565b612f076000848484612f4b565b612f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3d90614c27565b60405180910390fd5b505050565b6000612f6c8473ffffffffffffffffffffffffffffffffffffffff16613a51565b156130d5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f95611e0c565b8786866040518563ffffffff1660e01b8152600401612fb79493929190614a9e565b602060405180830381600087803b158015612fd157600080fd5b505af192505050801561300257506040513d601f19601f82011682018060405250810190612fff91906143c5565b60015b613085573d8060008114613032576040519150601f19603f3d011682016040523d82523d6000602084013e613037565b606091505b5060008151141561307d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307490614c27565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130da565b600190505b949350505050565b6060601080546130f1906151d9565b80601f016020809104026020016040519081016040528092919081815260200182805461311d906151d9565b801561316a5780601f1061313f5761010080835404028352916020019161316a565b820191906000526020600020905b81548152906001019060200180831161314d57829003601f168201915b5050505050905090565b606061317f82611da0565b6131be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b590614e47565b60405180910390fd5b60006131c86130e2565b905060008151116131e85760405180602001604052806000815250613213565b806131f284613a74565b6040516020016132039291906149ad565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132e657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806132f657506132f582613c21565b5b9050919050565b613308838383613c8b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561334b5761334681613c90565b61338a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613389576133888382613cd9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133cd576133c881613e46565b61340c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461340b5761340a8282613f89565b5b5b505050565b6060600060028360026134249190615042565b61342e9190614fbb565b67ffffffffffffffff81111561346d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561349f5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106134fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613587577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026135c79190615042565b6135d19190614fbb565b90505b60018111156136bd577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613639577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110613676577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806136b6906151af565b90506135d4565b5060008414613701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f890614ba7565b60405180910390fd5b8091505092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561374657600060039150915061380f565b601b8560ff161415801561375e5750601c8560ff1614155b1561377057600060049150915061380f565b6000600187878787604051600081526020016040526040516137959493929190614b20565b6020604051602081039080840390855afa1580156137b7573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156138065760006001925092505061380f565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61385b9190614fbb565b90506138698782888561370b565b935093505050935093915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138de90614dc7565b60405180910390fd5b6138f081611da0565b15613930576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392790614c87565b60405180910390fd5b61393c60008383612a22565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461398c9190614fbb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a4d60008383612a7a565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60606000821415613abc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c1c565b600082905060005b60008214613aee578080613ad79061523c565b915050600a82613ae79190615011565b9150613ac4565b60008167ffffffffffffffff811115613b30577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613b625781602001600182028036833780820191505090505b5090505b60008514613c1557600182613b7b919061509c565b9150600a85613b8a919061528f565b6030613b969190614fbb565b60f81b818381518110613bd2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c0e9190615011565b9450613b66565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ce684610fb3565b613cf0919061509c565b9050600060076000848152602001908152602001600020549050818114613dd5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613e5a919061509c565b9050600060096000848152602001908152602001600020549050600060088381548110613eb0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613ef8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613f9483610fb3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600061401b61401684614f47565b614f22565b90508281526020810184848401111561403357600080fd5b61403e84828561516d565b509392505050565b60008135905061405581615b30565b92915050565b60008135905061406a81615b47565b92915050565b60008135905061407f81615b5e565b92915050565b60008135905061409481615b75565b92915050565b6000815190506140a981615b75565b92915050565b60008083601f8401126140c157600080fd5b8235905067ffffffffffffffff8111156140da57600080fd5b6020830191508360018202830111156140f257600080fd5b9250929050565b600082601f83011261410a57600080fd5b813561411a848260208601614008565b91505092915050565b60008135905061413281615b8c565b92915050565b60006020828403121561414a57600080fd5b600061415884828501614046565b91505092915050565b6000806040838503121561417457600080fd5b600061418285828601614046565b925050602061419385828601614046565b9150509250929050565b6000806000606084860312156141b257600080fd5b60006141c086828701614046565b93505060206141d186828701614046565b92505060406141e286828701614123565b9150509250925092565b6000806000806080858703121561420257600080fd5b600061421087828801614046565b945050602061422187828801614046565b935050604061423287828801614123565b925050606085013567ffffffffffffffff81111561424f57600080fd5b61425b878288016140f9565b91505092959194509250565b6000806040838503121561427a57600080fd5b600061428885828601614046565b92505060206142998582860161405b565b9150509250929050565b600080604083850312156142b657600080fd5b60006142c485828601614046565b92505060206142d585828601614123565b9150509250929050565b6000602082840312156142f157600080fd5b60006142ff84828501614070565b91505092915050565b6000806040838503121561431b57600080fd5b600061432985828601614070565b925050602061433a85828601614046565b9150509250929050565b60008060006040848603121561435957600080fd5b600061436786828701614070565b935050602084013567ffffffffffffffff81111561438457600080fd5b614390868287016140af565b92509250509250925092565b6000602082840312156143ae57600080fd5b60006143bc84828501614085565b91505092915050565b6000602082840312156143d757600080fd5b60006143e58482850161409a565b91505092915050565b6000806020838503121561440157600080fd5b600083013567ffffffffffffffff81111561441b57600080fd5b614427858286016140af565b92509250509250929050565b60006020828403121561444557600080fd5b600061445384828501614123565b91505092915050565b614465816150e2565b82525050565b614474816150d0565b82525050565b614483816150f4565b82525050565b61449281615100565b82525050565b6144a96144a482615100565b615285565b82525050565b60006144ba82614f78565b6144c48185614f8e565b93506144d481856020860161517c565b6144dd8161537c565b840191505092915050565b60006144f382614f83565b6144fd8185614f9f565b935061450d81856020860161517c565b6145168161537c565b840191505092915050565b600061452c82614f83565b6145368185614fb0565b935061454681856020860161517c565b80840191505092915050565b600061455f601883614f9f565b915061456a8261538d565b602082019050919050565b6000614582602083614f9f565b915061458d826153b6565b602082019050919050565b60006145a5601483614f9f565b91506145b0826153df565b602082019050919050565b60006145c8601f83614f9f565b91506145d382615408565b602082019050919050565b60006145eb601c83614fb0565b91506145f682615431565b601c82019050919050565b600061460e602b83614f9f565b91506146198261545a565b604082019050919050565b6000614631603283614f9f565b915061463c826154a9565b604082019050919050565b6000614654602683614f9f565b915061465f826154f8565b604082019050919050565b6000614677602583614f9f565b915061468282615547565b604082019050919050565b600061469a601c83614f9f565b91506146a582615596565b602082019050919050565b60006146bd602483614f9f565b91506146c8826155bf565b604082019050919050565b60006146e0601983614f9f565b91506146eb8261560e565b602082019050919050565b6000614703602283614f9f565b915061470e82615637565b604082019050919050565b6000614726602c83614f9f565b915061473182615686565b604082019050919050565b6000614749601083614f9f565b9150614754826156d5565b602082019050919050565b600061476c603883614f9f565b9150614777826156fe565b604082019050919050565b600061478f602a83614f9f565b915061479a8261574d565b604082019050919050565b60006147b2602983614f9f565b91506147bd8261579c565b604082019050919050565b60006147d5602283614f9f565b91506147e0826157eb565b604082019050919050565b60006147f8602083614f9f565b91506148038261583a565b602082019050919050565b600061481b603183614f9f565b915061482682615863565b604082019050919050565b600061483e602c83614f9f565b9150614849826158b2565b604082019050919050565b6000614861602083614f9f565b915061486c82615901565b602082019050919050565b6000614884602f83614f9f565b915061488f8261592a565b604082019050919050565b60006148a7602183614f9f565b91506148b282615979565b604082019050919050565b60006148ca601683614f9f565b91506148d5826159c8565b602082019050919050565b60006148ed603183614f9f565b91506148f8826159f1565b604082019050919050565b6000614910602c83614f9f565b915061491b82615a40565b604082019050919050565b6000614933601783614fb0565b915061493e82615a8f565b601782019050919050565b6000614956601183614fb0565b915061496182615ab8565b601182019050919050565b6000614979602f83614f9f565b915061498482615ae1565b604082019050919050565b61499881615156565b82525050565b6149a781615160565b82525050565b60006149b98285614521565b91506149c58284614521565b91508190509392505050565b60006149dc826145de565b91506149e88284614498565b60208201915081905092915050565b6000614a0282614926565b9150614a0e8285614521565b9150614a1982614949565b9150614a258284614521565b91508190509392505050565b6000602082019050614a46600083018461446b565b92915050565b6000602082019050614a61600083018461445c565b92915050565b6000606082019050614a7c600083018661446b565b614a89602083018561446b565b614a96604083018461498f565b949350505050565b6000608082019050614ab3600083018761446b565b614ac0602083018661446b565b614acd604083018561498f565b8181036060830152614adf81846144af565b905095945050505050565b6000602082019050614aff600083018461447a565b92915050565b6000602082019050614b1a6000830184614489565b92915050565b6000608082019050614b356000830187614489565b614b42602083018661499e565b614b4f6040830185614489565b614b5c6060830184614489565b95945050505050565b60006020820190508181036000830152614b7f81846144e8565b905092915050565b60006020820190508181036000830152614ba081614552565b9050919050565b60006020820190508181036000830152614bc081614575565b9050919050565b60006020820190508181036000830152614be081614598565b9050919050565b60006020820190508181036000830152614c00816145bb565b9050919050565b60006020820190508181036000830152614c2081614601565b9050919050565b60006020820190508181036000830152614c4081614624565b9050919050565b60006020820190508181036000830152614c6081614647565b9050919050565b60006020820190508181036000830152614c808161466a565b9050919050565b60006020820190508181036000830152614ca08161468d565b9050919050565b60006020820190508181036000830152614cc0816146b0565b9050919050565b60006020820190508181036000830152614ce0816146d3565b9050919050565b60006020820190508181036000830152614d00816146f6565b9050919050565b60006020820190508181036000830152614d2081614719565b9050919050565b60006020820190508181036000830152614d408161473c565b9050919050565b60006020820190508181036000830152614d608161475f565b9050919050565b60006020820190508181036000830152614d8081614782565b9050919050565b60006020820190508181036000830152614da0816147a5565b9050919050565b60006020820190508181036000830152614dc0816147c8565b9050919050565b60006020820190508181036000830152614de0816147eb565b9050919050565b60006020820190508181036000830152614e008161480e565b9050919050565b60006020820190508181036000830152614e2081614831565b9050919050565b60006020820190508181036000830152614e4081614854565b9050919050565b60006020820190508181036000830152614e6081614877565b9050919050565b60006020820190508181036000830152614e808161489a565b9050919050565b60006020820190508181036000830152614ea0816148bd565b9050919050565b60006020820190508181036000830152614ec0816148e0565b9050919050565b60006020820190508181036000830152614ee081614903565b9050919050565b60006020820190508181036000830152614f008161496c565b9050919050565b6000602082019050614f1c600083018461498f565b92915050565b6000614f2c614f3d565b9050614f38828261520b565b919050565b6000604051905090565b600067ffffffffffffffff821115614f6257614f6161534d565b5b614f6b8261537c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614fc682615156565b9150614fd183615156565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615006576150056152c0565b5b828201905092915050565b600061501c82615156565b915061502783615156565b925082615037576150366152ef565b5b828204905092915050565b600061504d82615156565b915061505883615156565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615091576150906152c0565b5b828202905092915050565b60006150a782615156565b91506150b283615156565b9250828210156150c5576150c46152c0565b5b828203905092915050565b60006150db82615136565b9050919050565b60006150ed82615136565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561519a57808201518184015260208101905061517f565b838111156151a9576000848401525b50505050565b60006151ba82615156565b915060008214156151ce576151cd6152c0565b5b600182039050919050565b600060028204905060018216806151f157607f821691505b602082108114156152055761520461531e565b5b50919050565b6152148261537c565b810181811067ffffffffffffffff821117156152335761523261534d565b5b80604052505050565b600061524782615156565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561527a576152796152c0565b5b600182019050919050565b6000819050919050565b600061529a82615156565b91506152a583615156565b9250826152b5576152b46152ef565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f7420616e2061646d696e00000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615b39816150d0565b8114615b4457600080fd5b50565b615b50816150f4565b8114615b5b57600080fd5b50565b615b6781615100565b8114615b7257600080fd5b50565b615b7e8161510a565b8114615b8957600080fd5b50565b615b9581615156565b8114615ba057600080fd5b5056fea2646970667358221220b93a33ca5b034609915246eaccd405bbccd0c0fadcfba70b93f83e56ac47895664736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000002d90000000000000000000000005e72984f9f907cb85c8ef4a48c210d2b0651800a000000000000000000000000320aa640fb9ce98b4466ae45be271ddfb1f80cfb000000000000000000000000000000000000000000000000000000000000001c54484520544849524420415350454354204f4620544845204e494e450000000000000000000000000000000000000000000000000000000000000000000000094153504543543732390000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004168747470733a2f2f63392d6d657461646174612d70726f642e73332e75732d776573742d312e616d617a6f6e6177732e636f6d2f7468652d3732392f6a736f6e2f00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : collectionName (string): THE THIRD ASPECT OF THE NINE
Arg [1] : tokenName (string): ASPECT729
Arg [2] : baseURI (string): https://c9-metadata-prod.s3.us-west-1.amazonaws.com/the-729/json/
Arg [3] : mintLimit (uint256): 729
Arg [4] : admin (address): 0x5E72984f9f907CB85C8eF4A48C210d2b0651800a
Arg [5] : drainAddress (address): 0x320AA640fB9cE98B4466Ae45Be271dDfb1F80cFb
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000000000000000000000000000000000000000002d9
Arg [4] : 0000000000000000000000005e72984f9f907cb85c8ef4a48c210d2b0651800a
Arg [5] : 000000000000000000000000320aa640fb9ce98b4466ae45be271ddfb1f80cfb
Arg [6] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [7] : 54484520544849524420415350454354204f4620544845204e494e4500000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [9] : 4153504543543732390000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [11] : 68747470733a2f2f63392d6d657461646174612d70726f642e73332e75732d77
Arg [12] : 6573742d312e616d617a6f6e6177732e636f6d2f7468652d3732392f6a736f6e
Arg [13] : 2f00000000000000000000000000000000000000000000000000000000000000
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.