Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
999 CRYPT
Holders
422
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 CRYPTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Crypts
Compiler Version
v0.8.9+commit.e5eed63a
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.9; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "./ERC721Optimized.sol"; import "./Ownable.sol"; /// @title Graveyard NFT Project's Graveyard Interface /// @author @0xyamyam interface IGraveyard { function releaseStage() external returns (uint256); function isWhitelisted(address from, uint256 qty) external returns (bool); function updateWhitelist(address from, uint256 qty) external; function updateClaimable(address to, uint256 amount) external; } /// @title Graveyard NFT Project's Data Contract Interface /// @author @0xyamyam interface ICryptData { function tokenURI(uint256 tokenId) external view returns (string memory); function getRewardRate(uint256 tokenId) external view returns (uint256); } /// @title Graveyard NFT Project's CRYPT Token /// @author @0xyamyam /// CRYPT's are the centerpiece of the Graveyard NFT project. contract Crypts is ERC721Optimized, ReentrancyGuard, Ownable(5, true, true) { using SafeMath for uint256; /// Fixed variables set on deployment address public immutable GRAVEYARD_ADDRESS; /// Data address address public _dataAddress; /// Team Accounts address[] private _addresses; uint256[] private _shares; /// @param graveyardAddress The address of the IGraveyard contract /// @param addresses List of team wallets for payouts /// @param shares List of percentages for team wallets constructor(address graveyardAddress, address[] memory addresses, uint256[] memory shares) ERC721Optimized("Graveyard CRYPTS", "CRYPT", 6969) { require(graveyardAddress != address(0), "Missing graveyard address"); require(addresses.length == shares.length, "Invalid args"); GRAVEYARD_ADDRESS = graveyardAddress; _addresses = addresses; _shares = shares; } /// Mint tokens when the release stage is whitelist (2). /// @param qty Number of tokens to mint (max 3) function whitelistMint(uint256 qty) external payable nonReentrant { IGraveyard graveyard = IGraveyard(GRAVEYARD_ADDRESS); address sender = _msgSender(); require(graveyard.releaseStage() == 2, "Whitelist inactive"); require(qty > 0 && graveyard.isWhitelisted(sender, qty), "Invalid whitelist address/qty"); graveyard.updateClaimable(sender, 1e18 * 1000 * qty); _mintTo(sender, qty); graveyard.updateWhitelist(sender, qty); } /// Mint tokens when the release stage is public (>= 3). /// @param qty Number of tokens to mint (max 3) function mint(uint256 qty) external payable nonReentrant { IGraveyard graveyard = IGraveyard(GRAVEYARD_ADDRESS); address sender = _msgSender(); require(graveyard.releaseStage() >= 3, "Mint inactive"); require(qty > 0 && qty < 4, "Max 3 per tx"); graveyard.updateClaimable(sender, 1e18 * 1000 * qty); _mintTo(sender, qty); } /// @dev Here we simply extract to reuse the actual minting across multiple methods. function _mintTo(address to, uint256 qty) internal { require(0.025 ether * qty <= msg.value, "Insufficient ether"); _mint(to, qty); } /// Sets the data address for reveal. /// @param dataAddress The token data address function setDataAddress(address dataAddress) external onlyOwner { _dataAddress = dataAddress; } /// @param maxSupply alter the max supply, used to prevent new mints should all crypts not mint out during public sale function setMaxSupply(uint256 maxSupply) external onlyOwner { _setMaxSupply(maxSupply); } /// Claim tokens for team/giveaways. /// @param addresses An array of addresses to mint tokens for /// @param quantities An array of quantities for each respective address to mint /// @dev This method does NOT increment an addresses minting total function ownerClaim(address[] calldata addresses, uint256[] calldata quantities) external onlyOwner nonReentrant { require(addresses.length == quantities.length, "Invalid args"); IGraveyard graveyard = IGraveyard(GRAVEYARD_ADDRESS); for (uint256 a = 0;a < addresses.length;a++) { graveyard.updateClaimable(addresses[a], 1e18 * 1000 * quantities[a]); _mint(addresses[a], quantities[a]); } } /// Set team shares, required should an address be compromised, team members change etc. /// @param addresses List of team wallets for payouts /// @param shares List of percentages for team wallets /// @notice Verify the addresses supplied, you wouldn't want to send to a contract or incorrect address function setShares(address[] memory addresses, uint256[] memory shares) external onlyOwner { require(addresses.length == shares.length, "Invalid args"); _addresses = addresses; _shares = shares; } /// Withdraw funds for the team. /// @notice Overrides the default withdraw method to divide between team members function withdraw() external override onlyOwner { uint256 balance = address(this).balance; for (uint256 i = 0;i < _addresses.length;i++) { payable(_addresses[i]).call{value: balance.mul(_shares[i]).div(100)}(""); } } /// @dev tokenURI is handled by the data contract /// @inheritdoc ERC721Optimized function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "Invalid tokenId"); if (_dataAddress == address(0)) return "https://graveyardnft.com/unrevealed.json"; return ICryptData(_dataAddress).tokenURI(tokenId); } /// Returns rewards for address for committal actions. /// Multiplier of 1000 * token balance. /// @param from The address to calculate committal rewards for function getCommittalReward(address from) external view returns (uint256) { return 1e18 * 1000 * balanceOf(from); } /// Returns rewards for address for reward actions. /// Multiplier of 10 * token balance + multiplier if set. /// @param from The address to calculate reward rate for function getRewardRate(address from) external view returns (uint256) { uint256 balance = balanceOf(from); if (_dataAddress == address(0)) return 1e18 * 10 * balance; ICryptData data = ICryptData(_dataAddress); uint256 rate = 0; for (uint256 i = 0;i < balance;i++) { rate += data.getRewardRate(tokenOfOwnerByIndex(from, i)); } return rate; } /// @dev triggers reward updates before transferring tokens for both addresses /// @dev we DONT do this during mint (0 address) as we can optimize by doing it in the mint function function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override { if (from != address(0)) { IGraveyard graveyard = IGraveyard(GRAVEYARD_ADDRESS); graveyard.updateClaimable(from, 0); if(to != address(0)) graveyard.updateClaimable(to, 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _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 || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./Ownable.sol"; /// @title Graveyard NFT Project's Optimized ERC721 enumerable /// @author @0xyamyam /// Roughly 16% for 1, to 31% for 3 mints more efficient with no negative impact on transfer/read methods while still implementing the Enumerable interface. contract ERC721Optimized is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; /// Tracks last token minted uint256 private _tokensMinted; /// Set max supply uint256 private _maxSupply; /// Token name string private _name; /// Token symbol string private _symbol; /// Mapping from token ID to owner address mapping(uint256 => address) internal _owners; /// Mapping owner address to tokenIds mapping(address => uint256[]) internal _ownedTokens; /// Mapping tokenId to owned tokens indexes mapping(uint256 => uint256) internal _ownedTokensIndexes; /// 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`, a `symbol` and a `supply` to the token collection. */ constructor(string memory name, string memory symbol, uint256 supply) { _name = name; _symbol = symbol; _maxSupply = supply; } /** * @param supply The maximum tokens that can be minted. */ function _setMaxSupply(uint256 supply) internal virtual { require(supply >= _tokensMinted, "Invalid args"); _maxSupply = supply; } /** * @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 || interfaceId == type(IERC721Enumerable).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 _ownedTokens[owner].length; } /** * @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"); return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721Optimized.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 = ERC721Optimized.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @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 qty) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(_tokensMinted + qty <= _maxSupply, "Max reached"); for (uint256 i = 0;i < qty;i++) { uint256 tokenId = ++_tokensMinted; _beforeTokenTransfer(address(0), to, tokenId); _ownedTokensIndexes[tokenId] = _ownedTokens[to].length; _ownedTokens[to].push(tokenId); _owners[tokenId] = to; require(_checkOnERC721Received(address(0), to, tokenId, ""), "ERC721: transfer to non ERC721Receiver implementer"); emit Transfer(address(0), to, 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(ERC721Optimized.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); // find the tokenId index in the owners balance uint256 tokenIndex = _ownedTokensIndexes[tokenId]; // if its not the last index, place the last item in the tokenIds index position if (tokenIndex != _ownedTokens[from].length) { uint256 lastToken = _ownedTokens[from][_ownedTokens[from].length - 1]; _ownedTokens[from][tokenIndex] = lastToken; _ownedTokensIndexes[lastToken] = tokenIndex; } // pop the last array index _ownedTokens[from].pop(); _ownedTokensIndexes[tokenId] = _ownedTokens[to].length; _ownedTokens[to].push(tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721Optimized.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 See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721Optimized.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 _tokensMinted; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Optimized.totalSupply(), "ERC721Enumerable: global index out of bounds"); return index + 1; } /** * Returns the maximum supply of mintable tokens. */ function maxSupply() external view returns (uint256) { return _maxSupply; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; /// @title ENS main interface to fetch the resolver for a name interface IENS { function resolver(bytes32 node) external view returns (IResolver); } /// @title ENS resolver to address interface interface IResolver { function addr(bytes32 node) external view returns (address); } /// @title Graveyard NFT Project's ENSOwnable implementation /// @author [email protected] /// Contract ownership is tied to an ens token, once set the resolved address of the ens name is the contract owner. abstract contract Ownable is Context { using SafeERC20 for IERC20; using SafeMath for uint256; /// Apply a fee to release funds sent to the contract /// A very small price to pay for being able to regain tokens incorrectly sent here uint256 private _releaseFee; /// Configure if this contract allows release bool private _releasesERC20; bool private _releasesERC721; /// Ownership is set to the contract creator until a nameHash is set address private _owner; /// The ENS namehash who controls the contracts bytes32 public _nameHash; /// @dev Initializes the contract setting the deployer as the initial owner constructor(uint256 releaseFee, bool releasesERC20, bool releasesERC721) { _owner = _msgSender(); _releaseFee = releaseFee; _releasesERC20 = releasesERC20; _releasesERC721 = releasesERC721; } /// @dev Returns the address of the current owner function owner() public view virtual returns (address) { if (_nameHash == "") return _owner; bytes32 node = _nameHash; IENS ens = IENS(0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e); IResolver resolver = ens.resolver(node); return resolver.addr(node); } /// @dev Throws if called by any account other than the owner modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /// Set the ENS name as owner /// @param nameHash The bytes32 hash of the ens name function setNameHash(bytes32 nameHash) external onlyOwner { _nameHash = nameHash; } /// Return ERC20 tokens sent to the contract, an optional fee is automatically applied. /// @notice If your reading this you are very lucky, most tokens sent to contracts can never be recovered. /// @param token The ERC20 token address /// @param to The address to send funds to /// @param amount The amount of tokens to send (minus any fee) function releaseERC20(IERC20 token, address to, uint256 amount) external onlyOwner { require(_releasesERC20, "Not allowed"); require(token.balanceOf(address(this)) >= amount, "Insufficient balance"); uint share = 100; if (_releaseFee > 0) token.safeTransfer(_msgSender(), amount.mul(_releaseFee).div(100)); token.safeTransfer(to, amount.mul(share.sub(_releaseFee)).div(100)); } /// Return ERC721 tokens sent to the contract, a fee may be required. /// @notice If your reading this you are very lucky, most tokens sent to contracts can never be recovered. /// @param tokenAddress The ERC721 token address /// @param to The address to the send the token to /// @param tokenId The ERC721 tokenId to send function releaseERC721(IERC721 tokenAddress, address to, uint256 tokenId) external onlyOwner { require(_releasesERC721, "Not allowed"); require(tokenAddress.ownerOf(tokenId) == address(this), "Invalid tokenId"); tokenAddress.safeTransferFrom(address(this), to, tokenId); } /// Withdraw eth from contract. /// @dev many contracts are guarded by default against this, but should a contract have receive/fallback methods /// a bug could be introduced that make this a great help. function withdraw() external virtual onlyOwner { payable(_msgSender()).call{value: address(this).balance}(""); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 `IERC721.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 v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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 (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 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
{ "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":"address","name":"graveyardAddress","type":"address"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"GRAVEYARD_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_dataAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_nameHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"}],"name":"getCommittalReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"}],"name":"getRewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"ownerClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"releaseERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"tokenAddress","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"releaseERC721","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":"address","name":"dataAddress","type":"address"}],"name":"setDataAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"nameHash","type":"bytes32"}],"name":"setNameHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"name":"setShares","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":"uint256","name":"qty","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b50604051620062713803806200627183398181016040528101906200003791906200073e565b60056001806040518060400160405280601081526020017f47726176657961726420435259505453000000000000000000000000000000008152506040518060400160405280600581526020017f4352595054000000000000000000000000000000000000000000000000000000815250611b398260029080519060200190620000c3929190620002ae565b508160039080519060200190620000dc929190620002ae565b50806001819055505050506001600981905550620000ff620002a660201b60201c565b600b60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600a8190555081600b60006101000a81548160ff02191690831515021790555080600b60016101000a81548160ff021916908315150217905550505050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620001f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001e79062000839565b60405180910390fd5b805182511462000237576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200022e90620008ab565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505081600e9080519060200190620002839291906200033f565b5080600f90805190602001906200029c929190620003ce565b5050505062000932565b600033905090565b828054620002bc90620008fc565b90600052602060002090601f016020900481019282620002e057600085556200032c565b82601f10620002fb57805160ff19168380011785556200032c565b828001600101855582156200032c579182015b828111156200032b5782518255916020019190600101906200030e565b5b5090506200033b919062000420565b5090565b828054828255906000526020600020908101928215620003bb579160200282015b82811115620003ba5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000360565b5b509050620003ca919062000420565b5090565b8280548282559060005260206000209081019282156200040d579160200282015b828111156200040c578251825591602001919060010190620003ef565b5b5090506200041c919062000420565b5090565b5b808211156200043b57600081600090555060010162000421565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004808262000453565b9050919050565b620004928162000473565b81146200049e57600080fd5b50565b600081519050620004b28162000487565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200050882620004bd565b810181811067ffffffffffffffff821117156200052a5762000529620004ce565b5b80604052505050565b60006200053f6200043f565b90506200054d8282620004fd565b919050565b600067ffffffffffffffff82111562000570576200056f620004ce565b5b602082029050602081019050919050565b600080fd5b60006200059d620005978462000552565b62000533565b90508083825260208201905060208402830185811115620005c357620005c262000581565b5b835b81811015620005f05780620005db8882620004a1565b845260208401935050602081019050620005c5565b5050509392505050565b600082601f830112620006125762000611620004b8565b5b81516200062484826020860162000586565b91505092915050565b600067ffffffffffffffff8211156200064b576200064a620004ce565b5b602082029050602081019050919050565b6000819050919050565b62000671816200065c565b81146200067d57600080fd5b50565b600081519050620006918162000666565b92915050565b6000620006ae620006a8846200062d565b62000533565b90508083825260208201905060208402830185811115620006d457620006d362000581565b5b835b81811015620007015780620006ec888262000680565b845260208401935050602081019050620006d6565b5050509392505050565b600082601f830112620007235762000722620004b8565b5b81516200073584826020860162000697565b91505092915050565b6000806000606084860312156200075a576200075962000449565b5b60006200076a86828701620004a1565b935050602084015167ffffffffffffffff8111156200078e576200078d6200044e565b5b6200079c86828701620005fa565b925050604084015167ffffffffffffffff811115620007c057620007bf6200044e565b5b620007ce868287016200070b565b9150509250925092565b600082825260208201905092915050565b7f4d697373696e6720677261766579617264206164647265737300000000000000600082015250565b600062000821601983620007d8565b91506200082e82620007e9565b602082019050919050565b60006020820190508181036000830152620008548162000812565b9050919050565b7f496e76616c696420617267730000000000000000000000000000000000000000600082015250565b600062000893600c83620007d8565b9150620008a0826200085b565b602082019050919050565b60006020820190508181036000830152620008c68162000884565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200091557607f821691505b602082108114156200092c576200092b620008cd565b5b50919050565b6080516159076200096a60003960008181610c23015281816111e90152818161174601528181611c6601526132ac01526159076000f3fe6080604052600436106101ee5760003560e01c8063687115711161010d578063a22cb465116100a0578063d5abeb011161006f578063d5abeb01146106f1578063d82658461461071c578063e985e9c514610745578063ea7cbff114610782578063fd636b26146107bf576101ee565b8063a22cb46514610625578063b23e96161461064e578063b88d4fde1461068b578063c87b56dd146106b4576101ee565b8063868ff4a2116100dc578063868ff4a2146105975780638da5cb5b146105b357806395d89b41146105de578063a0712d6814610609576101ee565b806368711571146104df5780636cd533d8146105085780636f8b44b01461053157806370a082311461055a576101ee565b80632f745c59116101855780634f6ccce7116101545780634f6ccce71461040f578063632cd8b21461044c5780636352211e1461047757806367c08ef1146104b4576101ee565b80632f745c59146103695780633afbdcf4146103a65780633ccfd60b146103cf57806342842e0e146103e6576101ee565b806311b01145116101c157806311b01145146102c15780631689281e146102ea57806318160ddd1461031557806323b872dd14610340576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613949565b6107e8565b6040516102279190613991565b60405180910390f35b34801561023c57600080fd5b50610245610932565b6040516102529190613a45565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190613a9d565b6109c4565b60405161028f9190613b0b565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190613b52565b610a49565b005b3480156102cd57600080fd5b506102e860048036038101906102e39190613b92565b610b61565b005b3480156102f657600080fd5b506102ff610c21565b60405161030c9190613b0b565b60405180910390f35b34801561032157600080fd5b5061032a610c45565b6040516103379190613bce565b60405180910390f35b34801561034c57600080fd5b5061036760048036038101906103629190613be9565b610c4e565b005b34801561037557600080fd5b50610390600480360381019061038b9190613b52565b610cae565b60405161039d9190613bce565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c89190613c72565b610d5e565b005b3480156103db57600080fd5b506103e4610de4565b005b3480156103f257600080fd5b5061040d60048036038101906104089190613be9565b610f76565b005b34801561041b57600080fd5b5061043660048036038101906104319190613a9d565b610f96565b6040516104439190613bce565b60405180910390f35b34801561045857600080fd5b50610461610ff5565b60405161046e9190613b0b565b60405180910390f35b34801561048357600080fd5b5061049e60048036038101906104999190613a9d565b61101b565b6040516104ab9190613b0b565b60405180910390f35b3480156104c057600080fd5b506104c96110cd565b6040516104d69190613cae565b60405180910390f35b3480156104eb57600080fd5b5061050660048036038101906105019190613d84565b6110d3565b005b34801561051457600080fd5b5061052f600480360381019061052a9190613e43565b611346565b005b34801561053d57600080fd5b5061055860048036038101906105539190613a9d565b6115b1565b005b34801561056657600080fd5b50610581600480360381019061057c9190613b92565b611639565b60405161058e9190613bce565b60405180910390f35b6105b160048036038101906105ac9190613a9d565b6116f4565b005b3480156105bf57600080fd5b506105c8611a12565b6040516105d59190613b0b565b60405180910390f35b3480156105ea57600080fd5b506105f3611b82565b6040516106009190613a45565b60405180910390f35b610623600480360381019061061e9190613a9d565b611c14565b005b34801561063157600080fd5b5061064c60048036038101906106479190613ec2565b611e3d565b005b34801561065a57600080fd5b5061067560048036038101906106709190613b92565b611e53565b6040516106829190613bce565b60405180910390f35b34801561069757600080fd5b506106b260048036038101906106ad9190614032565b611e79565b005b3480156106c057600080fd5b506106db60048036038101906106d69190613a9d565b611edb565b6040516106e89190613a45565b60405180910390f35b3480156106fd57600080fd5b50610706612054565b6040516107139190613bce565b60405180910390f35b34801561072857600080fd5b50610743600480360381019061073e91906140f3565b61205e565b005b34801561075157600080fd5b5061076c60048036038101906107679190614146565b612293565b6040516107799190613991565b60405180910390f35b34801561078e57600080fd5b506107a960048036038101906107a49190613b92565b612327565b6040516107b69190613bce565b60405180910390f35b3480156107cb57600080fd5b506107e660048036038101906107e1919061430c565b61249a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108b357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061091b57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061092b575061092a8261258c565b5b9050919050565b606060028054610941906143b3565b80601f016020809104026020016040519081016040528092919081815260200182805461096d906143b3565b80156109ba5780601f1061098f576101008083540402835291602001916109ba565b820191906000526020600020905b81548152906001019060200180831161099d57829003601f168201915b5050505050905090565b60006109cf826125f6565b610a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0590614457565b60405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a548261101b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abc906144e9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ae4612662565b73ffffffffffffffffffffffffffffffffffffffff161480610b135750610b1281610b0d612662565b612293565b5b610b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b499061457b565b60405180910390fd5b610b5c838361266a565b505050565b610b69612662565b73ffffffffffffffffffffffffffffffffffffffff16610b87611a12565b73ffffffffffffffffffffffffffffffffffffffff1614610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd4906145e7565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008054905090565b610c5f610c59612662565b82612723565b610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590614679565b60405180910390fd5b610ca9838383612801565b505050565b6000610cb983611639565b8210610cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf19061470b565b60405180910390fd5b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110610d4b57610d4a61472b565b5b9060005260206000200154905092915050565b610d66612662565b73ffffffffffffffffffffffffffffffffffffffff16610d84611a12565b73ffffffffffffffffffffffffffffffffffffffff1614610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd1906145e7565b60405180910390fd5b80600c8190555050565b610dec612662565b73ffffffffffffffffffffffffffffffffffffffff16610e0a611a12565b73ffffffffffffffffffffffffffffffffffffffff1614610e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e57906145e7565b60405180910390fd5b600047905060005b600e80549050811015610f7257600e8181548110610e8957610e8861472b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f0e6064610f00600f8581548110610ee657610ee561472b565b5b906000526020600020015486612c5e90919063ffffffff16565b612c7490919063ffffffff16565b604051610f1a9061478b565b60006040518083038185875af1925050503d8060008114610f57576040519150601f19603f3d011682016040523d82523d6000602084013e610f5c565b606091505b5050508080610f6a906147cf565b915050610e68565b5050565b610f9183838360405180602001604052806000815250611e79565b505050565b6000610fa0610c45565b8210610fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd89061488a565b60405180910390fd5b600182610fee91906148aa565b9050919050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bb90614972565b60405180910390fd5b80915050919050565b600c5481565b6110db612662565b73ffffffffffffffffffffffffffffffffffffffff166110f9611a12565b73ffffffffffffffffffffffffffffffffffffffff161461114f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611146906145e7565b60405180910390fd5b60026009541415611195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118c906149de565b60405180910390fd5b60026009819055508181905084849050146111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc90614a4a565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000905060005b85859050811015611336578173ffffffffffffffffffffffffffffffffffffffff1663f80cde3b8787848181106112475761124661472b565b5b905060200201602081019061125c9190613b92565b86868581811061126f5761126e61472b565b5b90506020020135683635c9adc5dea0000061128a9190614a6a565b6040518363ffffffff1660e01b81526004016112a7929190614ac4565b600060405180830381600087803b1580156112c157600080fd5b505af11580156112d5573d6000803e3d6000fd5b505050506113238686838181106112ef576112ee61472b565b5b90506020020160208101906113049190613b92565b8585848181106113175761131661472b565b5b90506020020135612c8a565b808061132e906147cf565b91505061120d565b5050600160098190555050505050565b61134e612662565b73ffffffffffffffffffffffffffffffffffffffff1661136c611a12565b73ffffffffffffffffffffffffffffffffffffffff16146113c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b9906145e7565b60405180910390fd5b600b60009054906101000a900460ff16611411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140890614b39565b60405180910390fd5b808373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161144b9190613b0b565b60206040518083038186803b15801561146357600080fd5b505afa158015611477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149b9190614b6e565b10156114dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d390614be7565b60405180910390fd5b6000606490506000600a541115611547576115466114f8612662565b6115206064611512600a5487612c5e90919063ffffffff16565b612c7490919063ffffffff16565b8673ffffffffffffffffffffffffffffffffffffffff16612f5d9092919063ffffffff16565b5b6115ab836115856064611577611568600a5487612fe390919063ffffffff16565b87612c5e90919063ffffffff16565b612c7490919063ffffffff16565b8673ffffffffffffffffffffffffffffffffffffffff16612f5d9092919063ffffffff16565b50505050565b6115b9612662565b73ffffffffffffffffffffffffffffffffffffffff166115d7611a12565b73ffffffffffffffffffffffffffffffffffffffff161461162d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611624906145e7565b60405180910390fd5b61163681612ff9565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a190614c79565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6002600954141561173a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611731906149de565b60405180910390fd5b600260098190555060007f000000000000000000000000000000000000000000000000000000000000000090506000611771612662565b905060028273ffffffffffffffffffffffffffffffffffffffff166373a682c86040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156117bd57600080fd5b505af11580156117d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f59190614b6e565b14611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90614ce5565b60405180910390fd5b6000831180156118ce57508173ffffffffffffffffffffffffffffffffffffffff1663830639ac82856040518363ffffffff1660e01b815260040161187b929190614ac4565b602060405180830381600087803b15801561189557600080fd5b505af11580156118a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cd9190614d1a565b5b61190d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190490614d93565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663f80cde3b8285683635c9adc5dea0000061193f9190614a6a565b6040518363ffffffff1660e01b815260040161195c929190614ac4565b600060405180830381600087803b15801561197657600080fd5b505af115801561198a573d6000803e3d6000fd5b505050506119988184613048565b8173ffffffffffffffffffffffffffffffffffffffff16631a73293d82856040518363ffffffff1660e01b81526004016119d3929190614ac4565b600060405180830381600087803b1580156119ed57600080fd5b505af1158015611a01573d6000803e3d6000fd5b505050505050600160098190555050565b600080600c541415611a4857600b60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050611b7f565b6000600c54905060006e0c2e074ec69a0dfb2997ba6c7d2e1e905060008173ffffffffffffffffffffffffffffffffffffffff16630178b8bf846040518263ffffffff1660e01b8152600401611a9e9190613cae565b60206040518083038186803b158015611ab657600080fd5b505afa158015611aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aee9190614df1565b90508073ffffffffffffffffffffffffffffffffffffffff16633b3b57de846040518263ffffffff1660e01b8152600401611b299190613cae565b60206040518083038186803b158015611b4157600080fd5b505afa158015611b55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b799190614e33565b93505050505b90565b606060038054611b91906143b3565b80601f0160208091040260200160405190810160405280929190818152602001828054611bbd906143b3565b8015611c0a5780601f10611bdf57610100808354040283529160200191611c0a565b820191906000526020600020905b815481529060010190602001808311611bed57829003601f168201915b5050505050905090565b60026009541415611c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c51906149de565b60405180910390fd5b600260098190555060007f000000000000000000000000000000000000000000000000000000000000000090506000611c91612662565b905060038273ffffffffffffffffffffffffffffffffffffffff166373a682c86040518163ffffffff1660e01b8152600401602060405180830381600087803b158015611cdd57600080fd5b505af1158015611cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d159190614b6e565b1015611d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4d90614eac565b60405180910390fd5b600083118015611d665750600483105b611da5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9c90614f18565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663f80cde3b8285683635c9adc5dea00000611dd79190614a6a565b6040518363ffffffff1660e01b8152600401611df4929190614ac4565b600060405180830381600087803b158015611e0e57600080fd5b505af1158015611e22573d6000803e3d6000fd5b50505050611e308184613048565b5050600160098190555050565b611e4f611e48612662565b83836130ab565b5050565b6000611e5e82611639565b683635c9adc5dea00000611e729190614a6a565b9050919050565b611e8a611e84612662565b83612723565b611ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec090614679565b60405180910390fd5b611ed584848484613218565b50505050565b6060611ee6826125f6565b611f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1c90614f84565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611f9c576040518060600160405280602881526020016158aa60289139905061204f565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b8152600401611ff79190613bce565b60006040518083038186803b15801561200f57600080fd5b505afa158015612023573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061204c9190615045565b90505b919050565b6000600154905090565b612066612662565b73ffffffffffffffffffffffffffffffffffffffff16612084611a12565b73ffffffffffffffffffffffffffffffffffffffff16146120da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d1906145e7565b60405180910390fd5b600b60019054906101000a900460ff16612129576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212090614b39565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016121799190613bce565b60206040518083038186803b15801561219157600080fd5b505afa1580156121a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c99190614e33565b73ffffffffffffffffffffffffffffffffffffffff161461221f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221690614f84565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166342842e0e3084846040518463ffffffff1660e01b815260040161225c9392919061508e565b600060405180830381600087803b15801561227657600080fd5b505af115801561228a573d6000803e3d6000fd5b50505050505050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60008061233383611639565b9050600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156123a85780678ac7230489e800006123a09190614a6a565b915050612495565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000805b8381101561248d578273ffffffffffffffffffffffffffffffffffffffff1663a65135626124018884610cae565b6040518263ffffffff1660e01b815260040161241d9190613bce565b60206040518083038186803b15801561243557600080fd5b505afa158015612449573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246d9190614b6e565b8261247891906148aa565b91508080612485906147cf565b9150506123d3565b508093505050505b919050565b6124a2612662565b73ffffffffffffffffffffffffffffffffffffffff166124c0611a12565b73ffffffffffffffffffffffffffffffffffffffff1614612516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250d906145e7565b60405180910390fd5b805182511461255a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255190614a4a565b60405180910390fd5b81600e90805190602001906125709291906137e9565b5080600f9080519060200190612587929190613873565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126dd8361101b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061272e826125f6565b61276d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276490615137565b60405180910390fd5b60006127788361101b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127e757508373ffffffffffffffffffffffffffffffffffffffff166127cf846109c4565b73ffffffffffffffffffffffffffffffffffffffff16145b806127f857506127f78185612293565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128218261101b565b73ffffffffffffffffffffffffffffffffffffffff1614612877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286e906151c9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128de9061525b565b60405180910390fd5b6128f2838383613274565b6128fd60008261266a565b600060066000838152602001908152602001600020549050600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508114612a86576000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506129ee919061527b565b815481106129ff576129fe61472b565b5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110612a5e57612a5d61472b565b5b9060005260206000200181905550816006600083815260200190815260200160002081905550505b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480612ad557612ad46152af565b5b60019003818190600052602060002001600090559055600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506006600084815260200190815260200160002081905550600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020829080600181540180825580915050600190039060005260206000200160009091909190915055826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b60008183612c6c9190614a6a565b905092915050565b60008183612c82919061530d565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf19061538a565b60405180910390fd5b60015481600054612d0b91906148aa565b1115612d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d43906153f6565b60405180910390fd5b60005b81811015612f585760008060008154612d67906147cf565b9190508190559050612d7b60008583613274565b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506006600083815260200190815260200160002081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055836004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612ea960008583604051806020016040528060008152506133e5565b612ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612edf90615488565b60405180910390fd5b808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4508080612f50906147cf565b915050612d4f565b505050565b612fde8363a9059cbb60e01b8484604051602401612f7c929190614ac4565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061357c565b505050565b60008183612ff1919061527b565b905092915050565b60005481101561303e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303590614a4a565b60405180910390fd5b8060018190555050565b34816658d15e1762800061305c9190614a6a565b111561309d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613094906154f4565b60405180910390fd5b6130a78282612c8a565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561311a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311190615560565b60405180910390fd5b80600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161320b9190613991565b60405180910390a3505050565b613223848484612801565b61322f848484846133e5565b61326e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326590615488565b60405180910390fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146133e05760007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff1663f80cde3b8560006040518363ffffffff1660e01b81526004016133099291906155c5565b600060405180830381600087803b15801561332357600080fd5b505af1158015613337573d6000803e3d6000fd5b50505050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146133de578073ffffffffffffffffffffffffffffffffffffffff1663f80cde3b8460006040518363ffffffff1660e01b81526004016133ab9291906155c5565b600060405180830381600087803b1580156133c557600080fd5b505af11580156133d9573d6000803e3d6000fd5b505050505b505b505050565b60006134068473ffffffffffffffffffffffffffffffffffffffff16613643565b1561356f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261342f612662565b8786866040518563ffffffff1660e01b81526004016134519493929190615643565b602060405180830381600087803b15801561346b57600080fd5b505af192505050801561349c57506040513d601f19601f8201168201806040525081019061349991906156a4565b60015b61351f573d80600081146134cc576040519150601f19603f3d011682016040523d82523d6000602084013e6134d1565b606091505b50600081511415613517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350e90615488565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613574565b600190505b949350505050565b60006135de826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166136569092919063ffffffff16565b905060008151111561363e57808060200190518101906135fe9190614d1a565b61363d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363490615743565b60405180910390fd5b5b505050565b600080823b905060008111915050919050565b6060613665848460008561366e565b90509392505050565b6060824710156136b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136aa906157d5565b60405180910390fd5b6136bc85613643565b6136fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f290615841565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516137249190615892565b60006040518083038185875af1925050503d8060008114613761576040519150601f19603f3d011682016040523d82523d6000602084013e613766565b606091505b5091509150613776828286613782565b92505050949350505050565b60608315613792578290506137e2565b6000835111156137a55782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137d99190613a45565b60405180910390fd5b9392505050565b828054828255906000526020600020908101928215613862579160200282015b828111156138615782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613809565b5b50905061386f91906138c0565b5090565b8280548282559060005260206000209081019282156138af579160200282015b828111156138ae578251825591602001919060010190613893565b5b5090506138bc91906138c0565b5090565b5b808211156138d95760008160009055506001016138c1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613926816138f1565b811461393157600080fd5b50565b6000813590506139438161391d565b92915050565b60006020828403121561395f5761395e6138e7565b5b600061396d84828501613934565b91505092915050565b60008115159050919050565b61398b81613976565b82525050565b60006020820190506139a66000830184613982565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139e65780820151818401526020810190506139cb565b838111156139f5576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a17826139ac565b613a2181856139b7565b9350613a318185602086016139c8565b613a3a816139fb565b840191505092915050565b60006020820190508181036000830152613a5f8184613a0c565b905092915050565b6000819050919050565b613a7a81613a67565b8114613a8557600080fd5b50565b600081359050613a9781613a71565b92915050565b600060208284031215613ab357613ab26138e7565b5b6000613ac184828501613a88565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613af582613aca565b9050919050565b613b0581613aea565b82525050565b6000602082019050613b206000830184613afc565b92915050565b613b2f81613aea565b8114613b3a57600080fd5b50565b600081359050613b4c81613b26565b92915050565b60008060408385031215613b6957613b686138e7565b5b6000613b7785828601613b3d565b9250506020613b8885828601613a88565b9150509250929050565b600060208284031215613ba857613ba76138e7565b5b6000613bb684828501613b3d565b91505092915050565b613bc881613a67565b82525050565b6000602082019050613be36000830184613bbf565b92915050565b600080600060608486031215613c0257613c016138e7565b5b6000613c1086828701613b3d565b9350506020613c2186828701613b3d565b9250506040613c3286828701613a88565b9150509250925092565b6000819050919050565b613c4f81613c3c565b8114613c5a57600080fd5b50565b600081359050613c6c81613c46565b92915050565b600060208284031215613c8857613c876138e7565b5b6000613c9684828501613c5d565b91505092915050565b613ca881613c3c565b82525050565b6000602082019050613cc36000830184613c9f565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613cee57613ced613cc9565b5b8235905067ffffffffffffffff811115613d0b57613d0a613cce565b5b602083019150836020820283011115613d2757613d26613cd3565b5b9250929050565b60008083601f840112613d4457613d43613cc9565b5b8235905067ffffffffffffffff811115613d6157613d60613cce565b5b602083019150836020820283011115613d7d57613d7c613cd3565b5b9250929050565b60008060008060408587031215613d9e57613d9d6138e7565b5b600085013567ffffffffffffffff811115613dbc57613dbb6138ec565b5b613dc887828801613cd8565b9450945050602085013567ffffffffffffffff811115613deb57613dea6138ec565b5b613df787828801613d2e565b925092505092959194509250565b6000613e1082613aea565b9050919050565b613e2081613e05565b8114613e2b57600080fd5b50565b600081359050613e3d81613e17565b92915050565b600080600060608486031215613e5c57613e5b6138e7565b5b6000613e6a86828701613e2e565b9350506020613e7b86828701613b3d565b9250506040613e8c86828701613a88565b9150509250925092565b613e9f81613976565b8114613eaa57600080fd5b50565b600081359050613ebc81613e96565b92915050565b60008060408385031215613ed957613ed86138e7565b5b6000613ee785828601613b3d565b9250506020613ef885828601613ead565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f3f826139fb565b810181811067ffffffffffffffff82111715613f5e57613f5d613f07565b5b80604052505050565b6000613f716138dd565b9050613f7d8282613f36565b919050565b600067ffffffffffffffff821115613f9d57613f9c613f07565b5b613fa6826139fb565b9050602081019050919050565b82818337600083830152505050565b6000613fd5613fd084613f82565b613f67565b905082815260208101848484011115613ff157613ff0613f02565b5b613ffc848285613fb3565b509392505050565b600082601f83011261401957614018613cc9565b5b8135614029848260208601613fc2565b91505092915050565b6000806000806080858703121561404c5761404b6138e7565b5b600061405a87828801613b3d565b945050602061406b87828801613b3d565b935050604061407c87828801613a88565b925050606085013567ffffffffffffffff81111561409d5761409c6138ec565b5b6140a987828801614004565b91505092959194509250565b60006140c082613aea565b9050919050565b6140d0816140b5565b81146140db57600080fd5b50565b6000813590506140ed816140c7565b92915050565b60008060006060848603121561410c5761410b6138e7565b5b600061411a868287016140de565b935050602061412b86828701613b3d565b925050604061413c86828701613a88565b9150509250925092565b6000806040838503121561415d5761415c6138e7565b5b600061416b85828601613b3d565b925050602061417c85828601613b3d565b9150509250929050565b600067ffffffffffffffff8211156141a1576141a0613f07565b5b602082029050602081019050919050565b60006141c56141c084614186565b613f67565b905080838252602082019050602084028301858111156141e8576141e7613cd3565b5b835b8181101561421157806141fd8882613b3d565b8452602084019350506020810190506141ea565b5050509392505050565b600082601f8301126142305761422f613cc9565b5b81356142408482602086016141b2565b91505092915050565b600067ffffffffffffffff82111561426457614263613f07565b5b602082029050602081019050919050565b600061428861428384614249565b613f67565b905080838252602082019050602084028301858111156142ab576142aa613cd3565b5b835b818110156142d457806142c08882613a88565b8452602084019350506020810190506142ad565b5050509392505050565b600082601f8301126142f3576142f2613cc9565b5b8135614303848260208601614275565b91505092915050565b60008060408385031215614323576143226138e7565b5b600083013567ffffffffffffffff811115614341576143406138ec565b5b61434d8582860161421b565b925050602083013567ffffffffffffffff81111561436e5761436d6138ec565b5b61437a858286016142de565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143cb57607f821691505b602082108114156143df576143de614384565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614441602c836139b7565b915061444c826143e5565b604082019050919050565b6000602082019050818103600083015261447081614434565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006144d36021836139b7565b91506144de82614477565b604082019050919050565b60006020820190508181036000830152614502816144c6565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006145656038836139b7565b915061457082614509565b604082019050919050565b6000602082019050818103600083015261459481614558565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006145d16020836139b7565b91506145dc8261459b565b602082019050919050565b60006020820190508181036000830152614600816145c4565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006146636031836139b7565b915061466e82614607565b604082019050919050565b6000602082019050818103600083015261469281614656565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006146f5602b836139b7565b915061470082614699565b604082019050919050565b60006020820190508181036000830152614724816146e8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b50565b600061477560008361475a565b915061478082614765565b600082019050919050565b600061479682614768565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147da82613a67565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561480d5761480c6147a0565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614874602c836139b7565b915061487f82614818565b604082019050919050565b600060208201905081810360008301526148a381614867565b9050919050565b60006148b582613a67565b91506148c083613a67565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148f5576148f46147a0565b5b828201905092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061495c6029836139b7565b915061496782614900565b604082019050919050565b6000602082019050818103600083015261498b8161494f565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006149c8601f836139b7565b91506149d382614992565b602082019050919050565b600060208201905081810360008301526149f7816149bb565b9050919050565b7f496e76616c696420617267730000000000000000000000000000000000000000600082015250565b6000614a34600c836139b7565b9150614a3f826149fe565b602082019050919050565b60006020820190508181036000830152614a6381614a27565b9050919050565b6000614a7582613a67565b9150614a8083613a67565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ab957614ab86147a0565b5b828202905092915050565b6000604082019050614ad96000830185613afc565b614ae66020830184613bbf565b9392505050565b7f4e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b6000614b23600b836139b7565b9150614b2e82614aed565b602082019050919050565b60006020820190508181036000830152614b5281614b16565b9050919050565b600081519050614b6881613a71565b92915050565b600060208284031215614b8457614b836138e7565b5b6000614b9284828501614b59565b91505092915050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000614bd16014836139b7565b9150614bdc82614b9b565b602082019050919050565b60006020820190508181036000830152614c0081614bc4565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614c63602a836139b7565b9150614c6e82614c07565b604082019050919050565b60006020820190508181036000830152614c9281614c56565b9050919050565b7f57686974656c69737420696e6163746976650000000000000000000000000000600082015250565b6000614ccf6012836139b7565b9150614cda82614c99565b602082019050919050565b60006020820190508181036000830152614cfe81614cc2565b9050919050565b600081519050614d1481613e96565b92915050565b600060208284031215614d3057614d2f6138e7565b5b6000614d3e84828501614d05565b91505092915050565b7f496e76616c69642077686974656c69737420616464726573732f717479000000600082015250565b6000614d7d601d836139b7565b9150614d8882614d47565b602082019050919050565b60006020820190508181036000830152614dac81614d70565b9050919050565b6000614dbe82613aea565b9050919050565b614dce81614db3565b8114614dd957600080fd5b50565b600081519050614deb81614dc5565b92915050565b600060208284031215614e0757614e066138e7565b5b6000614e1584828501614ddc565b91505092915050565b600081519050614e2d81613b26565b92915050565b600060208284031215614e4957614e486138e7565b5b6000614e5784828501614e1e565b91505092915050565b7f4d696e7420696e61637469766500000000000000000000000000000000000000600082015250565b6000614e96600d836139b7565b9150614ea182614e60565b602082019050919050565b60006020820190508181036000830152614ec581614e89565b9050919050565b7f4d61782033207065722074780000000000000000000000000000000000000000600082015250565b6000614f02600c836139b7565b9150614f0d82614ecc565b602082019050919050565b60006020820190508181036000830152614f3181614ef5565b9050919050565b7f496e76616c696420746f6b656e49640000000000000000000000000000000000600082015250565b6000614f6e600f836139b7565b9150614f7982614f38565b602082019050919050565b60006020820190508181036000830152614f9d81614f61565b9050919050565b600067ffffffffffffffff821115614fbf57614fbe613f07565b5b614fc8826139fb565b9050602081019050919050565b6000614fe8614fe384614fa4565b613f67565b90508281526020810184848401111561500457615003613f02565b5b61500f8482856139c8565b509392505050565b600082601f83011261502c5761502b613cc9565b5b815161503c848260208601614fd5565b91505092915050565b60006020828403121561505b5761505a6138e7565b5b600082015167ffffffffffffffff811115615079576150786138ec565b5b61508584828501615017565b91505092915050565b60006060820190506150a36000830186613afc565b6150b06020830185613afc565b6150bd6040830184613bbf565b949350505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615121602c836139b7565b915061512c826150c5565b604082019050919050565b6000602082019050818103600083015261515081615114565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006151b36029836139b7565b91506151be82615157565b604082019050919050565b600060208201905081810360008301526151e2816151a6565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006152456024836139b7565b9150615250826151e9565b604082019050919050565b6000602082019050818103600083015261527481615238565b9050919050565b600061528682613a67565b915061529183613a67565b9250828210156152a4576152a36147a0565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061531882613a67565b915061532383613a67565b925082615333576153326152de565b5b828204905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006153746020836139b7565b915061537f8261533e565b602082019050919050565b600060208201905081810360008301526153a381615367565b9050919050565b7f4d61782072656163686564000000000000000000000000000000000000000000600082015250565b60006153e0600b836139b7565b91506153eb826153aa565b602082019050919050565b6000602082019050818103600083015261540f816153d3565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006154726032836139b7565b915061547d82615416565b604082019050919050565b600060208201905081810360008301526154a181615465565b9050919050565b7f496e73756666696369656e742065746865720000000000000000000000000000600082015250565b60006154de6012836139b7565b91506154e9826154a8565b602082019050919050565b6000602082019050818103600083015261550d816154d1565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061554a6019836139b7565b915061555582615514565b602082019050919050565b600060208201905081810360008301526155798161553d565b9050919050565b6000819050919050565b6000819050919050565b60006155af6155aa6155a584615580565b61558a565b613a67565b9050919050565b6155bf81615594565b82525050565b60006040820190506155da6000830185613afc565b6155e760208301846155b6565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000615615826155ee565b61561f81856155f9565b935061562f8185602086016139c8565b615638816139fb565b840191505092915050565b60006080820190506156586000830187613afc565b6156656020830186613afc565b6156726040830185613bbf565b8181036060830152615684818461560a565b905095945050505050565b60008151905061569e8161391d565b92915050565b6000602082840312156156ba576156b96138e7565b5b60006156c88482850161568f565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061572d602a836139b7565b9150615738826156d1565b604082019050919050565b6000602082019050818103600083015261575c81615720565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006157bf6026836139b7565b91506157ca82615763565b604082019050919050565b600060208201905081810360008301526157ee816157b2565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061582b601d836139b7565b9150615836826157f5565b602082019050919050565b6000602082019050818103600083015261585a8161581e565b9050919050565b600061586c826155ee565b615876818561475a565b93506158868185602086016139c8565b80840191505092915050565b600061589e8284615861565b91508190509291505056fe68747470733a2f2f6772617665796172646e66742e636f6d2f756e72657665616c65642e6a736f6ea264697066735822122063a2308da7d47beb5ce7f2ee8ca268e583465323d92753f0ba270120c61fecda64736f6c63430008090033000000000000000000000000b96c44c007b2cf979cc30fd6650bed39823c8be5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000053c42e3e9ba62b260cd0fb51c68b473a5d547d8c00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000064
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c8063687115711161010d578063a22cb465116100a0578063d5abeb011161006f578063d5abeb01146106f1578063d82658461461071c578063e985e9c514610745578063ea7cbff114610782578063fd636b26146107bf576101ee565b8063a22cb46514610625578063b23e96161461064e578063b88d4fde1461068b578063c87b56dd146106b4576101ee565b8063868ff4a2116100dc578063868ff4a2146105975780638da5cb5b146105b357806395d89b41146105de578063a0712d6814610609576101ee565b806368711571146104df5780636cd533d8146105085780636f8b44b01461053157806370a082311461055a576101ee565b80632f745c59116101855780634f6ccce7116101545780634f6ccce71461040f578063632cd8b21461044c5780636352211e1461047757806367c08ef1146104b4576101ee565b80632f745c59146103695780633afbdcf4146103a65780633ccfd60b146103cf57806342842e0e146103e6576101ee565b806311b01145116101c157806311b01145146102c15780631689281e146102ea57806318160ddd1461031557806323b872dd14610340576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613949565b6107e8565b6040516102279190613991565b60405180910390f35b34801561023c57600080fd5b50610245610932565b6040516102529190613a45565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190613a9d565b6109c4565b60405161028f9190613b0b565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190613b52565b610a49565b005b3480156102cd57600080fd5b506102e860048036038101906102e39190613b92565b610b61565b005b3480156102f657600080fd5b506102ff610c21565b60405161030c9190613b0b565b60405180910390f35b34801561032157600080fd5b5061032a610c45565b6040516103379190613bce565b60405180910390f35b34801561034c57600080fd5b5061036760048036038101906103629190613be9565b610c4e565b005b34801561037557600080fd5b50610390600480360381019061038b9190613b52565b610cae565b60405161039d9190613bce565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c89190613c72565b610d5e565b005b3480156103db57600080fd5b506103e4610de4565b005b3480156103f257600080fd5b5061040d60048036038101906104089190613be9565b610f76565b005b34801561041b57600080fd5b5061043660048036038101906104319190613a9d565b610f96565b6040516104439190613bce565b60405180910390f35b34801561045857600080fd5b50610461610ff5565b60405161046e9190613b0b565b60405180910390f35b34801561048357600080fd5b5061049e60048036038101906104999190613a9d565b61101b565b6040516104ab9190613b0b565b60405180910390f35b3480156104c057600080fd5b506104c96110cd565b6040516104d69190613cae565b60405180910390f35b3480156104eb57600080fd5b5061050660048036038101906105019190613d84565b6110d3565b005b34801561051457600080fd5b5061052f600480360381019061052a9190613e43565b611346565b005b34801561053d57600080fd5b5061055860048036038101906105539190613a9d565b6115b1565b005b34801561056657600080fd5b50610581600480360381019061057c9190613b92565b611639565b60405161058e9190613bce565b60405180910390f35b6105b160048036038101906105ac9190613a9d565b6116f4565b005b3480156105bf57600080fd5b506105c8611a12565b6040516105d59190613b0b565b60405180910390f35b3480156105ea57600080fd5b506105f3611b82565b6040516106009190613a45565b60405180910390f35b610623600480360381019061061e9190613a9d565b611c14565b005b34801561063157600080fd5b5061064c60048036038101906106479190613ec2565b611e3d565b005b34801561065a57600080fd5b5061067560048036038101906106709190613b92565b611e53565b6040516106829190613bce565b60405180910390f35b34801561069757600080fd5b506106b260048036038101906106ad9190614032565b611e79565b005b3480156106c057600080fd5b506106db60048036038101906106d69190613a9d565b611edb565b6040516106e89190613a45565b60405180910390f35b3480156106fd57600080fd5b50610706612054565b6040516107139190613bce565b60405180910390f35b34801561072857600080fd5b50610743600480360381019061073e91906140f3565b61205e565b005b34801561075157600080fd5b5061076c60048036038101906107679190614146565b612293565b6040516107799190613991565b60405180910390f35b34801561078e57600080fd5b506107a960048036038101906107a49190613b92565b612327565b6040516107b69190613bce565b60405180910390f35b3480156107cb57600080fd5b506107e660048036038101906107e1919061430c565b61249a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108b357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061091b57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061092b575061092a8261258c565b5b9050919050565b606060028054610941906143b3565b80601f016020809104026020016040519081016040528092919081815260200182805461096d906143b3565b80156109ba5780601f1061098f576101008083540402835291602001916109ba565b820191906000526020600020905b81548152906001019060200180831161099d57829003601f168201915b5050505050905090565b60006109cf826125f6565b610a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0590614457565b60405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a548261101b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abc906144e9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ae4612662565b73ffffffffffffffffffffffffffffffffffffffff161480610b135750610b1281610b0d612662565b612293565b5b610b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b499061457b565b60405180910390fd5b610b5c838361266a565b505050565b610b69612662565b73ffffffffffffffffffffffffffffffffffffffff16610b87611a12565b73ffffffffffffffffffffffffffffffffffffffff1614610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd4906145e7565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f000000000000000000000000b96c44c007b2cf979cc30fd6650bed39823c8be581565b60008054905090565b610c5f610c59612662565b82612723565b610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590614679565b60405180910390fd5b610ca9838383612801565b505050565b6000610cb983611639565b8210610cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf19061470b565b60405180910390fd5b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110610d4b57610d4a61472b565b5b9060005260206000200154905092915050565b610d66612662565b73ffffffffffffffffffffffffffffffffffffffff16610d84611a12565b73ffffffffffffffffffffffffffffffffffffffff1614610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd1906145e7565b60405180910390fd5b80600c8190555050565b610dec612662565b73ffffffffffffffffffffffffffffffffffffffff16610e0a611a12565b73ffffffffffffffffffffffffffffffffffffffff1614610e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e57906145e7565b60405180910390fd5b600047905060005b600e80549050811015610f7257600e8181548110610e8957610e8861472b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f0e6064610f00600f8581548110610ee657610ee561472b565b5b906000526020600020015486612c5e90919063ffffffff16565b612c7490919063ffffffff16565b604051610f1a9061478b565b60006040518083038185875af1925050503d8060008114610f57576040519150601f19603f3d011682016040523d82523d6000602084013e610f5c565b606091505b5050508080610f6a906147cf565b915050610e68565b5050565b610f9183838360405180602001604052806000815250611e79565b505050565b6000610fa0610c45565b8210610fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd89061488a565b60405180910390fd5b600182610fee91906148aa565b9050919050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bb90614972565b60405180910390fd5b80915050919050565b600c5481565b6110db612662565b73ffffffffffffffffffffffffffffffffffffffff166110f9611a12565b73ffffffffffffffffffffffffffffffffffffffff161461114f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611146906145e7565b60405180910390fd5b60026009541415611195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118c906149de565b60405180910390fd5b60026009819055508181905084849050146111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc90614a4a565b60405180910390fd5b60007f000000000000000000000000b96c44c007b2cf979cc30fd6650bed39823c8be5905060005b85859050811015611336578173ffffffffffffffffffffffffffffffffffffffff1663f80cde3b8787848181106112475761124661472b565b5b905060200201602081019061125c9190613b92565b86868581811061126f5761126e61472b565b5b90506020020135683635c9adc5dea0000061128a9190614a6a565b6040518363ffffffff1660e01b81526004016112a7929190614ac4565b600060405180830381600087803b1580156112c157600080fd5b505af11580156112d5573d6000803e3d6000fd5b505050506113238686838181106112ef576112ee61472b565b5b90506020020160208101906113049190613b92565b8585848181106113175761131661472b565b5b90506020020135612c8a565b808061132e906147cf565b91505061120d565b5050600160098190555050505050565b61134e612662565b73ffffffffffffffffffffffffffffffffffffffff1661136c611a12565b73ffffffffffffffffffffffffffffffffffffffff16146113c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b9906145e7565b60405180910390fd5b600b60009054906101000a900460ff16611411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140890614b39565b60405180910390fd5b808373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161144b9190613b0b565b60206040518083038186803b15801561146357600080fd5b505afa158015611477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149b9190614b6e565b10156114dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d390614be7565b60405180910390fd5b6000606490506000600a541115611547576115466114f8612662565b6115206064611512600a5487612c5e90919063ffffffff16565b612c7490919063ffffffff16565b8673ffffffffffffffffffffffffffffffffffffffff16612f5d9092919063ffffffff16565b5b6115ab836115856064611577611568600a5487612fe390919063ffffffff16565b87612c5e90919063ffffffff16565b612c7490919063ffffffff16565b8673ffffffffffffffffffffffffffffffffffffffff16612f5d9092919063ffffffff16565b50505050565b6115b9612662565b73ffffffffffffffffffffffffffffffffffffffff166115d7611a12565b73ffffffffffffffffffffffffffffffffffffffff161461162d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611624906145e7565b60405180910390fd5b61163681612ff9565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a190614c79565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6002600954141561173a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611731906149de565b60405180910390fd5b600260098190555060007f000000000000000000000000b96c44c007b2cf979cc30fd6650bed39823c8be590506000611771612662565b905060028273ffffffffffffffffffffffffffffffffffffffff166373a682c86040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156117bd57600080fd5b505af11580156117d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f59190614b6e565b14611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90614ce5565b60405180910390fd5b6000831180156118ce57508173ffffffffffffffffffffffffffffffffffffffff1663830639ac82856040518363ffffffff1660e01b815260040161187b929190614ac4565b602060405180830381600087803b15801561189557600080fd5b505af11580156118a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cd9190614d1a565b5b61190d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190490614d93565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663f80cde3b8285683635c9adc5dea0000061193f9190614a6a565b6040518363ffffffff1660e01b815260040161195c929190614ac4565b600060405180830381600087803b15801561197657600080fd5b505af115801561198a573d6000803e3d6000fd5b505050506119988184613048565b8173ffffffffffffffffffffffffffffffffffffffff16631a73293d82856040518363ffffffff1660e01b81526004016119d3929190614ac4565b600060405180830381600087803b1580156119ed57600080fd5b505af1158015611a01573d6000803e3d6000fd5b505050505050600160098190555050565b600080600c541415611a4857600b60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050611b7f565b6000600c54905060006e0c2e074ec69a0dfb2997ba6c7d2e1e905060008173ffffffffffffffffffffffffffffffffffffffff16630178b8bf846040518263ffffffff1660e01b8152600401611a9e9190613cae565b60206040518083038186803b158015611ab657600080fd5b505afa158015611aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aee9190614df1565b90508073ffffffffffffffffffffffffffffffffffffffff16633b3b57de846040518263ffffffff1660e01b8152600401611b299190613cae565b60206040518083038186803b158015611b4157600080fd5b505afa158015611b55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b799190614e33565b93505050505b90565b606060038054611b91906143b3565b80601f0160208091040260200160405190810160405280929190818152602001828054611bbd906143b3565b8015611c0a5780601f10611bdf57610100808354040283529160200191611c0a565b820191906000526020600020905b815481529060010190602001808311611bed57829003601f168201915b5050505050905090565b60026009541415611c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c51906149de565b60405180910390fd5b600260098190555060007f000000000000000000000000b96c44c007b2cf979cc30fd6650bed39823c8be590506000611c91612662565b905060038273ffffffffffffffffffffffffffffffffffffffff166373a682c86040518163ffffffff1660e01b8152600401602060405180830381600087803b158015611cdd57600080fd5b505af1158015611cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d159190614b6e565b1015611d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4d90614eac565b60405180910390fd5b600083118015611d665750600483105b611da5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9c90614f18565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663f80cde3b8285683635c9adc5dea00000611dd79190614a6a565b6040518363ffffffff1660e01b8152600401611df4929190614ac4565b600060405180830381600087803b158015611e0e57600080fd5b505af1158015611e22573d6000803e3d6000fd5b50505050611e308184613048565b5050600160098190555050565b611e4f611e48612662565b83836130ab565b5050565b6000611e5e82611639565b683635c9adc5dea00000611e729190614a6a565b9050919050565b611e8a611e84612662565b83612723565b611ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec090614679565b60405180910390fd5b611ed584848484613218565b50505050565b6060611ee6826125f6565b611f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1c90614f84565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611f9c576040518060600160405280602881526020016158aa60289139905061204f565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b8152600401611ff79190613bce565b60006040518083038186803b15801561200f57600080fd5b505afa158015612023573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061204c9190615045565b90505b919050565b6000600154905090565b612066612662565b73ffffffffffffffffffffffffffffffffffffffff16612084611a12565b73ffffffffffffffffffffffffffffffffffffffff16146120da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d1906145e7565b60405180910390fd5b600b60019054906101000a900460ff16612129576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212090614b39565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016121799190613bce565b60206040518083038186803b15801561219157600080fd5b505afa1580156121a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c99190614e33565b73ffffffffffffffffffffffffffffffffffffffff161461221f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221690614f84565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166342842e0e3084846040518463ffffffff1660e01b815260040161225c9392919061508e565b600060405180830381600087803b15801561227657600080fd5b505af115801561228a573d6000803e3d6000fd5b50505050505050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60008061233383611639565b9050600073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156123a85780678ac7230489e800006123a09190614a6a565b915050612495565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000805b8381101561248d578273ffffffffffffffffffffffffffffffffffffffff1663a65135626124018884610cae565b6040518263ffffffff1660e01b815260040161241d9190613bce565b60206040518083038186803b15801561243557600080fd5b505afa158015612449573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246d9190614b6e565b8261247891906148aa565b91508080612485906147cf565b9150506123d3565b508093505050505b919050565b6124a2612662565b73ffffffffffffffffffffffffffffffffffffffff166124c0611a12565b73ffffffffffffffffffffffffffffffffffffffff1614612516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250d906145e7565b60405180910390fd5b805182511461255a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255190614a4a565b60405180910390fd5b81600e90805190602001906125709291906137e9565b5080600f9080519060200190612587929190613873565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126dd8361101b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061272e826125f6565b61276d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276490615137565b60405180910390fd5b60006127788361101b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127e757508373ffffffffffffffffffffffffffffffffffffffff166127cf846109c4565b73ffffffffffffffffffffffffffffffffffffffff16145b806127f857506127f78185612293565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128218261101b565b73ffffffffffffffffffffffffffffffffffffffff1614612877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286e906151c9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128de9061525b565b60405180910390fd5b6128f2838383613274565b6128fd60008261266a565b600060066000838152602001908152602001600020549050600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508114612a86576000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506129ee919061527b565b815481106129ff576129fe61472b565b5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110612a5e57612a5d61472b565b5b9060005260206000200181905550816006600083815260200190815260200160002081905550505b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480612ad557612ad46152af565b5b60019003818190600052602060002001600090559055600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506006600084815260200190815260200160002081905550600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020829080600181540180825580915050600190039060005260206000200160009091909190915055826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b60008183612c6c9190614a6a565b905092915050565b60008183612c82919061530d565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf19061538a565b60405180910390fd5b60015481600054612d0b91906148aa565b1115612d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d43906153f6565b60405180910390fd5b60005b81811015612f585760008060008154612d67906147cf565b9190508190559050612d7b60008583613274565b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506006600083815260200190815260200160002081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055836004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612ea960008583604051806020016040528060008152506133e5565b612ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612edf90615488565b60405180910390fd5b808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4508080612f50906147cf565b915050612d4f565b505050565b612fde8363a9059cbb60e01b8484604051602401612f7c929190614ac4565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061357c565b505050565b60008183612ff1919061527b565b905092915050565b60005481101561303e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303590614a4a565b60405180910390fd5b8060018190555050565b34816658d15e1762800061305c9190614a6a565b111561309d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613094906154f4565b60405180910390fd5b6130a78282612c8a565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561311a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311190615560565b60405180910390fd5b80600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161320b9190613991565b60405180910390a3505050565b613223848484612801565b61322f848484846133e5565b61326e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326590615488565b60405180910390fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146133e05760007f000000000000000000000000b96c44c007b2cf979cc30fd6650bed39823c8be590508073ffffffffffffffffffffffffffffffffffffffff1663f80cde3b8560006040518363ffffffff1660e01b81526004016133099291906155c5565b600060405180830381600087803b15801561332357600080fd5b505af1158015613337573d6000803e3d6000fd5b50505050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146133de578073ffffffffffffffffffffffffffffffffffffffff1663f80cde3b8460006040518363ffffffff1660e01b81526004016133ab9291906155c5565b600060405180830381600087803b1580156133c557600080fd5b505af11580156133d9573d6000803e3d6000fd5b505050505b505b505050565b60006134068473ffffffffffffffffffffffffffffffffffffffff16613643565b1561356f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261342f612662565b8786866040518563ffffffff1660e01b81526004016134519493929190615643565b602060405180830381600087803b15801561346b57600080fd5b505af192505050801561349c57506040513d601f19601f8201168201806040525081019061349991906156a4565b60015b61351f573d80600081146134cc576040519150601f19603f3d011682016040523d82523d6000602084013e6134d1565b606091505b50600081511415613517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350e90615488565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613574565b600190505b949350505050565b60006135de826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166136569092919063ffffffff16565b905060008151111561363e57808060200190518101906135fe9190614d1a565b61363d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363490615743565b60405180910390fd5b5b505050565b600080823b905060008111915050919050565b6060613665848460008561366e565b90509392505050565b6060824710156136b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136aa906157d5565b60405180910390fd5b6136bc85613643565b6136fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f290615841565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516137249190615892565b60006040518083038185875af1925050503d8060008114613761576040519150601f19603f3d011682016040523d82523d6000602084013e613766565b606091505b5091509150613776828286613782565b92505050949350505050565b60608315613792578290506137e2565b6000835111156137a55782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137d99190613a45565b60405180910390fd5b9392505050565b828054828255906000526020600020908101928215613862579160200282015b828111156138615782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613809565b5b50905061386f91906138c0565b5090565b8280548282559060005260206000209081019282156138af579160200282015b828111156138ae578251825591602001919060010190613893565b5b5090506138bc91906138c0565b5090565b5b808211156138d95760008160009055506001016138c1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613926816138f1565b811461393157600080fd5b50565b6000813590506139438161391d565b92915050565b60006020828403121561395f5761395e6138e7565b5b600061396d84828501613934565b91505092915050565b60008115159050919050565b61398b81613976565b82525050565b60006020820190506139a66000830184613982565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139e65780820151818401526020810190506139cb565b838111156139f5576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a17826139ac565b613a2181856139b7565b9350613a318185602086016139c8565b613a3a816139fb565b840191505092915050565b60006020820190508181036000830152613a5f8184613a0c565b905092915050565b6000819050919050565b613a7a81613a67565b8114613a8557600080fd5b50565b600081359050613a9781613a71565b92915050565b600060208284031215613ab357613ab26138e7565b5b6000613ac184828501613a88565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613af582613aca565b9050919050565b613b0581613aea565b82525050565b6000602082019050613b206000830184613afc565b92915050565b613b2f81613aea565b8114613b3a57600080fd5b50565b600081359050613b4c81613b26565b92915050565b60008060408385031215613b6957613b686138e7565b5b6000613b7785828601613b3d565b9250506020613b8885828601613a88565b9150509250929050565b600060208284031215613ba857613ba76138e7565b5b6000613bb684828501613b3d565b91505092915050565b613bc881613a67565b82525050565b6000602082019050613be36000830184613bbf565b92915050565b600080600060608486031215613c0257613c016138e7565b5b6000613c1086828701613b3d565b9350506020613c2186828701613b3d565b9250506040613c3286828701613a88565b9150509250925092565b6000819050919050565b613c4f81613c3c565b8114613c5a57600080fd5b50565b600081359050613c6c81613c46565b92915050565b600060208284031215613c8857613c876138e7565b5b6000613c9684828501613c5d565b91505092915050565b613ca881613c3c565b82525050565b6000602082019050613cc36000830184613c9f565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613cee57613ced613cc9565b5b8235905067ffffffffffffffff811115613d0b57613d0a613cce565b5b602083019150836020820283011115613d2757613d26613cd3565b5b9250929050565b60008083601f840112613d4457613d43613cc9565b5b8235905067ffffffffffffffff811115613d6157613d60613cce565b5b602083019150836020820283011115613d7d57613d7c613cd3565b5b9250929050565b60008060008060408587031215613d9e57613d9d6138e7565b5b600085013567ffffffffffffffff811115613dbc57613dbb6138ec565b5b613dc887828801613cd8565b9450945050602085013567ffffffffffffffff811115613deb57613dea6138ec565b5b613df787828801613d2e565b925092505092959194509250565b6000613e1082613aea565b9050919050565b613e2081613e05565b8114613e2b57600080fd5b50565b600081359050613e3d81613e17565b92915050565b600080600060608486031215613e5c57613e5b6138e7565b5b6000613e6a86828701613e2e565b9350506020613e7b86828701613b3d565b9250506040613e8c86828701613a88565b9150509250925092565b613e9f81613976565b8114613eaa57600080fd5b50565b600081359050613ebc81613e96565b92915050565b60008060408385031215613ed957613ed86138e7565b5b6000613ee785828601613b3d565b9250506020613ef885828601613ead565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f3f826139fb565b810181811067ffffffffffffffff82111715613f5e57613f5d613f07565b5b80604052505050565b6000613f716138dd565b9050613f7d8282613f36565b919050565b600067ffffffffffffffff821115613f9d57613f9c613f07565b5b613fa6826139fb565b9050602081019050919050565b82818337600083830152505050565b6000613fd5613fd084613f82565b613f67565b905082815260208101848484011115613ff157613ff0613f02565b5b613ffc848285613fb3565b509392505050565b600082601f83011261401957614018613cc9565b5b8135614029848260208601613fc2565b91505092915050565b6000806000806080858703121561404c5761404b6138e7565b5b600061405a87828801613b3d565b945050602061406b87828801613b3d565b935050604061407c87828801613a88565b925050606085013567ffffffffffffffff81111561409d5761409c6138ec565b5b6140a987828801614004565b91505092959194509250565b60006140c082613aea565b9050919050565b6140d0816140b5565b81146140db57600080fd5b50565b6000813590506140ed816140c7565b92915050565b60008060006060848603121561410c5761410b6138e7565b5b600061411a868287016140de565b935050602061412b86828701613b3d565b925050604061413c86828701613a88565b9150509250925092565b6000806040838503121561415d5761415c6138e7565b5b600061416b85828601613b3d565b925050602061417c85828601613b3d565b9150509250929050565b600067ffffffffffffffff8211156141a1576141a0613f07565b5b602082029050602081019050919050565b60006141c56141c084614186565b613f67565b905080838252602082019050602084028301858111156141e8576141e7613cd3565b5b835b8181101561421157806141fd8882613b3d565b8452602084019350506020810190506141ea565b5050509392505050565b600082601f8301126142305761422f613cc9565b5b81356142408482602086016141b2565b91505092915050565b600067ffffffffffffffff82111561426457614263613f07565b5b602082029050602081019050919050565b600061428861428384614249565b613f67565b905080838252602082019050602084028301858111156142ab576142aa613cd3565b5b835b818110156142d457806142c08882613a88565b8452602084019350506020810190506142ad565b5050509392505050565b600082601f8301126142f3576142f2613cc9565b5b8135614303848260208601614275565b91505092915050565b60008060408385031215614323576143226138e7565b5b600083013567ffffffffffffffff811115614341576143406138ec565b5b61434d8582860161421b565b925050602083013567ffffffffffffffff81111561436e5761436d6138ec565b5b61437a858286016142de565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143cb57607f821691505b602082108114156143df576143de614384565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614441602c836139b7565b915061444c826143e5565b604082019050919050565b6000602082019050818103600083015261447081614434565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006144d36021836139b7565b91506144de82614477565b604082019050919050565b60006020820190508181036000830152614502816144c6565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006145656038836139b7565b915061457082614509565b604082019050919050565b6000602082019050818103600083015261459481614558565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006145d16020836139b7565b91506145dc8261459b565b602082019050919050565b60006020820190508181036000830152614600816145c4565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006146636031836139b7565b915061466e82614607565b604082019050919050565b6000602082019050818103600083015261469281614656565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006146f5602b836139b7565b915061470082614699565b604082019050919050565b60006020820190508181036000830152614724816146e8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b50565b600061477560008361475a565b915061478082614765565b600082019050919050565b600061479682614768565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147da82613a67565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561480d5761480c6147a0565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614874602c836139b7565b915061487f82614818565b604082019050919050565b600060208201905081810360008301526148a381614867565b9050919050565b60006148b582613a67565b91506148c083613a67565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148f5576148f46147a0565b5b828201905092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061495c6029836139b7565b915061496782614900565b604082019050919050565b6000602082019050818103600083015261498b8161494f565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006149c8601f836139b7565b91506149d382614992565b602082019050919050565b600060208201905081810360008301526149f7816149bb565b9050919050565b7f496e76616c696420617267730000000000000000000000000000000000000000600082015250565b6000614a34600c836139b7565b9150614a3f826149fe565b602082019050919050565b60006020820190508181036000830152614a6381614a27565b9050919050565b6000614a7582613a67565b9150614a8083613a67565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ab957614ab86147a0565b5b828202905092915050565b6000604082019050614ad96000830185613afc565b614ae66020830184613bbf565b9392505050565b7f4e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b6000614b23600b836139b7565b9150614b2e82614aed565b602082019050919050565b60006020820190508181036000830152614b5281614b16565b9050919050565b600081519050614b6881613a71565b92915050565b600060208284031215614b8457614b836138e7565b5b6000614b9284828501614b59565b91505092915050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000614bd16014836139b7565b9150614bdc82614b9b565b602082019050919050565b60006020820190508181036000830152614c0081614bc4565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614c63602a836139b7565b9150614c6e82614c07565b604082019050919050565b60006020820190508181036000830152614c9281614c56565b9050919050565b7f57686974656c69737420696e6163746976650000000000000000000000000000600082015250565b6000614ccf6012836139b7565b9150614cda82614c99565b602082019050919050565b60006020820190508181036000830152614cfe81614cc2565b9050919050565b600081519050614d1481613e96565b92915050565b600060208284031215614d3057614d2f6138e7565b5b6000614d3e84828501614d05565b91505092915050565b7f496e76616c69642077686974656c69737420616464726573732f717479000000600082015250565b6000614d7d601d836139b7565b9150614d8882614d47565b602082019050919050565b60006020820190508181036000830152614dac81614d70565b9050919050565b6000614dbe82613aea565b9050919050565b614dce81614db3565b8114614dd957600080fd5b50565b600081519050614deb81614dc5565b92915050565b600060208284031215614e0757614e066138e7565b5b6000614e1584828501614ddc565b91505092915050565b600081519050614e2d81613b26565b92915050565b600060208284031215614e4957614e486138e7565b5b6000614e5784828501614e1e565b91505092915050565b7f4d696e7420696e61637469766500000000000000000000000000000000000000600082015250565b6000614e96600d836139b7565b9150614ea182614e60565b602082019050919050565b60006020820190508181036000830152614ec581614e89565b9050919050565b7f4d61782033207065722074780000000000000000000000000000000000000000600082015250565b6000614f02600c836139b7565b9150614f0d82614ecc565b602082019050919050565b60006020820190508181036000830152614f3181614ef5565b9050919050565b7f496e76616c696420746f6b656e49640000000000000000000000000000000000600082015250565b6000614f6e600f836139b7565b9150614f7982614f38565b602082019050919050565b60006020820190508181036000830152614f9d81614f61565b9050919050565b600067ffffffffffffffff821115614fbf57614fbe613f07565b5b614fc8826139fb565b9050602081019050919050565b6000614fe8614fe384614fa4565b613f67565b90508281526020810184848401111561500457615003613f02565b5b61500f8482856139c8565b509392505050565b600082601f83011261502c5761502b613cc9565b5b815161503c848260208601614fd5565b91505092915050565b60006020828403121561505b5761505a6138e7565b5b600082015167ffffffffffffffff811115615079576150786138ec565b5b61508584828501615017565b91505092915050565b60006060820190506150a36000830186613afc565b6150b06020830185613afc565b6150bd6040830184613bbf565b949350505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615121602c836139b7565b915061512c826150c5565b604082019050919050565b6000602082019050818103600083015261515081615114565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006151b36029836139b7565b91506151be82615157565b604082019050919050565b600060208201905081810360008301526151e2816151a6565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006152456024836139b7565b9150615250826151e9565b604082019050919050565b6000602082019050818103600083015261527481615238565b9050919050565b600061528682613a67565b915061529183613a67565b9250828210156152a4576152a36147a0565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061531882613a67565b915061532383613a67565b925082615333576153326152de565b5b828204905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006153746020836139b7565b915061537f8261533e565b602082019050919050565b600060208201905081810360008301526153a381615367565b9050919050565b7f4d61782072656163686564000000000000000000000000000000000000000000600082015250565b60006153e0600b836139b7565b91506153eb826153aa565b602082019050919050565b6000602082019050818103600083015261540f816153d3565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006154726032836139b7565b915061547d82615416565b604082019050919050565b600060208201905081810360008301526154a181615465565b9050919050565b7f496e73756666696369656e742065746865720000000000000000000000000000600082015250565b60006154de6012836139b7565b91506154e9826154a8565b602082019050919050565b6000602082019050818103600083015261550d816154d1565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061554a6019836139b7565b915061555582615514565b602082019050919050565b600060208201905081810360008301526155798161553d565b9050919050565b6000819050919050565b6000819050919050565b60006155af6155aa6155a584615580565b61558a565b613a67565b9050919050565b6155bf81615594565b82525050565b60006040820190506155da6000830185613afc565b6155e760208301846155b6565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000615615826155ee565b61561f81856155f9565b935061562f8185602086016139c8565b615638816139fb565b840191505092915050565b60006080820190506156586000830187613afc565b6156656020830186613afc565b6156726040830185613bbf565b8181036060830152615684818461560a565b905095945050505050565b60008151905061569e8161391d565b92915050565b6000602082840312156156ba576156b96138e7565b5b60006156c88482850161568f565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061572d602a836139b7565b9150615738826156d1565b604082019050919050565b6000602082019050818103600083015261575c81615720565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006157bf6026836139b7565b91506157ca82615763565b604082019050919050565b600060208201905081810360008301526157ee816157b2565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061582b601d836139b7565b9150615836826157f5565b602082019050919050565b6000602082019050818103600083015261585a8161581e565b9050919050565b600061586c826155ee565b615876818561475a565b93506158868185602086016139c8565b80840191505092915050565b600061589e8284615861565b91508190509291505056fe68747470733a2f2f6772617665796172646e66742e636f6d2f756e72657665616c65642e6a736f6ea264697066735822122063a2308da7d47beb5ce7f2ee8ca268e583465323d92753f0ba270120c61fecda64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b96c44c007b2cf979cc30fd6650bed39823c8be5000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000053c42e3e9ba62b260cd0fb51c68b473a5d547d8c00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000064
-----Decoded View---------------
Arg [0] : graveyardAddress (address): 0xB96C44c007B2cf979cC30fD6650bEd39823c8BE5
Arg [1] : addresses (address[]): 0x53C42e3E9BA62b260cd0Fb51C68b473A5D547d8c
Arg [2] : shares (uint256[]): 100
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000b96c44c007b2cf979cc30fd6650bed39823c8be5
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 00000000000000000000000053c42e3e9ba62b260cd0fb51c68b473a5d547d8c
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000064
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.