Overview
TokenID
1354
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
CupcatCatGirls
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; interface CupCatInterface is IERC721 { function walletOfOwner(address _owner) external view returns(uint256[] memory); } contract CupcatCatGirls is ERC721Enumerable, Ownable, ReentrancyGuard { using SafeMath for uint256; uint256 public _tokenIdTrackerReserve = 0; uint256 public _tokenIdTrackerSale = 0; uint256 public constant MAXCLAIMSUPPLY = 5024; uint256 public constant MAX_TOTAL_SUPPLY = 10000; uint256 public constant MAXRESERVE = 176; uint256 public constant MAXSALE = MAX_TOTAL_SUPPLY - MAXCLAIMSUPPLY - MAXRESERVE; string public baseURI; address public authorizedSigner; uint256 public costWl = 0.035 ether; uint256 public costPublic = 0.05 ether; uint256 public costAl = 0.04 ether; bool public claimState = false; bool public saleState = false; bool public wlState = false; bool public alState = false; mapping(address => uint256) public addressMintedBalance; mapping(address => uint256) public addressAllowListMintedBalance; CupCatInterface public cupCats; constructor() ERC721("Cupcat Catgirls", "CCG") { setBaseURI("/"); setCupcatSigner(0x8Cd8155e1af6AD31dd9Eec2cEd37e04145aCFCb3, 0x486662389b41B3921491547A9ad0507CD3C8Dd5D); } // internal function _baseURI() internal view virtual override returns(string memory) { return baseURI; } // public function whiteListMint(bytes memory signature, uint8 _count, uint8 wlSpot) public payable nonReentrant { require(wlState, "Whitelist sale not started yet."); require(_tokenIdTrackerSale.add(_count) <= MAXSALE, "Sold Out!"); require(msg.value == costWl.mul(_count), "Ether value sent is not correct"); require(addressMintedBalance[msg.sender].add(_count)<= wlSpot, "All WL Spots have been consumed"); require(verifySig(wlSpot, signature) == authorizedSigner, "Signer address mismatch"); for (uint256 i = 0; i < _count; i++) { //Mark Mint addressMintedBalance[msg.sender]++; _safeMint(_msgSender(), MAXCLAIMSUPPLY + _tokenIdTrackerSale); _tokenIdTrackerSale += 1; } } function allowListMint(bytes memory signature) public payable nonReentrant{ require(alState, "AllowList sale not started yet."); require(_tokenIdTrackerSale.add(1) <= MAXSALE, "Sold Out!"); require(addressAllowListMintedBalance[msg.sender] < 1 , "AL Spots have been consumed"); require(msg.value == costAl.mul(1), "Ether value sent is not correct"); require(verifySig(1, signature) == authorizedSigner, "Signer address mismatch"); addressAllowListMintedBalance[msg.sender]++; _safeMint(_msgSender(), MAXCLAIMSUPPLY + _tokenIdTrackerSale); _tokenIdTrackerSale += 1; } function mint(uint256 _count) public payable nonReentrant { require(saleState, "sale not started yet"); require(_tokenIdTrackerSale.add(_count) <= MAXSALE, "Sold Out!"); require(_count > 0 && _count <= 9, "Can only mint 9 tokens at a time"); require(msg.value == costPublic.mul(_count), "Ether value sent is not correct"); for (uint256 i = 0; i < _count; i++) { _safeMint(_msgSender(), MAXCLAIMSUPPLY + _tokenIdTrackerSale); _tokenIdTrackerSale += 1; } } function claim(uint256[] memory _tokensId) public nonReentrant { require(claimState, "Claim period not started yet."); for (uint256 i = 0; i < _tokensId.length; i++) { uint256 tokenId = _tokensId[i]; require(_exists(tokenId) == false, "Already claimed!"); require(tokenId < MAXCLAIMSUPPLY, "Post-claim cupcat!"); require(cupCats.ownerOf(tokenId) == _msgSender(), "Bad owner!"); _safeMint(_msgSender(), tokenId); } } function reserve(uint256 _count) public onlyOwner { require(_tokenIdTrackerReserve + _count <= MAXRESERVE, "Exceeded giveaways."); for (uint256 i = 0; i < _count; i++) { _safeMint(_msgSender(), MAXCLAIMSUPPLY + MAXSALE + _tokenIdTrackerReserve); _tokenIdTrackerReserve += 1; } } function checkClaim(uint256 _tokenId) public view returns(bool) { return _exists(_tokenId) == false; } function walletOfOwner(address _owner) public view returns(uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } //only owner function setCupcatSigner(address _cupCats, address _authorizedSigner) public onlyOwner { authorizedSigner=_authorizedSigner; cupCats = CupCatInterface(_cupCats); } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setSaleState(bool _state) public onlyOwner { saleState = _state; } function setClaimState(bool _state) public onlyOwner { claimState = _state; } function setWlState(bool _state) public onlyOwner { wlState = _state; } function setAlState(bool _state) public onlyOwner { alState = _state; } function withdraw() public payable onlyOwner { (bool os, ) = payable(owner()).call { value: address(this).balance }(""); require(os); } //private function verifySig(uint8 wlSpot, bytes memory signature) private view returns(address) { bytes32 messageDigest = keccak256(abi.encodePacked(msg.sender, wlSpot)); bytes32 message = ECDSA.toEthSignedMessageHash(messageDigest); return ECDSA.recover(message, signature); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (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 subtraction 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 (last updated v4.7.3) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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); }
{ "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":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"MAXCLAIMSUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXRESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXSALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenIdTrackerReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenIdTrackerSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressAllowListMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"allowListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"authorizedSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"checkClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokensId","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costAl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costWl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cupCats","outputs":[{"internalType":"contract CupCatInterface","name":"","type":"address"}],"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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","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":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"reserve","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":[],"name":"saleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setAlState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setClaimState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_cupCats","type":"address"},{"internalType":"address","name":"_authorizedSigner","type":"address"}],"name":"setCupcatSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWlState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint8","name":"_count","type":"uint8"},{"internalType":"uint8","name":"wlSpot","type":"uint8"}],"name":"whiteListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600c556000600d55667c58508723800060105566b1a2bc2ec50000601155668e1bc9bf0400006012556000601360006101000a81548160ff0219169083151502179055506000601360016101000a81548160ff0219169083151502179055506000601360026101000a81548160ff0219169083151502179055506000601360036101000a81548160ff021916908315150217905550348015620000a857600080fd5b506040518060400160405280600f81526020017f437570636174204361746769726c7300000000000000000000000000000000008152506040518060400160405280600381526020017f434347000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200012d92919062000442565b5080600190805190602001906200014692919062000442565b505050620001696200015d620001f760201b60201c565b620001ff60201b60201c565b6001600b81905550620001b76040518060400160405280600181526020017f2f00000000000000000000000000000000000000000000000000000000000000815250620002c560201b60201c565b620001f1738cd8155e1af6ad31dd9eec2ced37e04145acfcb373486662389b41b3921491547a9ad0507cd3c8dd5d620002f160201b60201c565b620005da565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002d56200038760201b60201c565b80600e9080519060200190620002ed92919062000442565b5050565b620003016200038760201b60201c565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b62000397620001f760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003bd6200041860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000416576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200040d9062000519565b60405180910390fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b82805462000450906200054c565b90600052602060002090601f016020900481019282620004745760008555620004c0565b82601f106200048f57805160ff1916838001178555620004c0565b82800160010185558215620004c0579182015b82811115620004bf578251825591602001919060010190620004a2565b5b509050620004cf9190620004d3565b5090565b5b80821115620004ee576000816000905550600101620004d4565b5090565b6000620005016020836200053b565b91506200050e82620005b1565b602082019050919050565b600060208201905081810360008301526200053481620004f2565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200056557607f821691505b602082108114156200057c576200057b62000582565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b615e7680620005ea6000396000f3fe6080604052600436106102e45760003560e01c8063603f4d5211610190578063a22cb465116100dc578063c87b56dd11610095578063e985e9c51161006f578063e985e9c514610b18578063f1c51b3914610b55578063f2fde38b14610b80578063f94a279b14610ba9576102e4565b8063c87b56dd14610a94578063d138f21e14610ad1578063dc559fce14610aed576102e4565b8063a22cb46514610998578063aaa25f4e146109c1578063b88d4fde146109ec578063b90ae3ed14610a15578063c4e3709514610a40578063c771909c14610a69576102e4565b806370a08231116101495780638da5cb5b116101235780638da5cb5b146108fb57806395d89b41146109265780639a72580914610951578063a0712d681461097c576102e4565b806370a082311461087e578063715018a6146108bb578063819b25ba146108d2576102e4565b8063603f4d521461076c5780636352211e1461079757806363cc1113146107d4578063641bfa6b146107ff5780636ba4c1381461082a5780636c0360eb14610853576102e4565b80632f745c591161024f578063438b6300116102085780634b014e28116101e25780634b014e28146106c15780634f6ccce7146106ea5780635018ae6d1461072757806355f804b314610743576102e4565b8063438b63001461061e57806347fd942e1461065b5780634972137214610684576102e4565b80632f745c591461052d57806333039d3d1461056a5780633ccfd60b146105955780633ee0638c1461059f5780633efba36f146105ca57806342842e0e146105f5576102e4565b80630a42a355116102a15780630a42a3551461040b57806311270668146104345780631681d1581461045f57806318160ddd1461049c57806318cae269146104c757806323b872dd14610504576102e4565b806301e05ba4146102e957806301ffc9a7146103145780630631d5161461035157806306fdde031461037a578063081812fc146103a5578063095ea7b3146103e2575b600080fd5b3480156102f557600080fd5b506102fe610bd4565b60405161030b9190615108565b60405180910390f35b34801561032057600080fd5b5061033b60048036038101906103369190614300565b610bda565b6040516103489190614c2b565b60405180910390f35b34801561035d57600080fd5b50610378600480360381019061037391906142d7565b610c54565b005b34801561038657600080fd5b5061038f610c79565b60405161039c9190614ca6565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c7919061443b565b610d0b565b6040516103d99190614ba2565b60405180910390f35b3480156103ee57600080fd5b506104096004803603810190610404919061425a565b610d51565b005b34801561041757600080fd5b50610432600480360381019061042d91906142d7565b610e69565b005b34801561044057600080fd5b50610449610e8e565b6040516104569190615108565b60405180910390f35b34801561046b57600080fd5b506104866004803603810190610481919061443b565b610e94565b6040516104939190614c2b565b60405180910390f35b3480156104a857600080fd5b506104b1610eac565b6040516104be9190615108565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e991906140c6565b610eb9565b6040516104fb9190615108565b60405180910390f35b34801561051057600080fd5b5061052b60048036038101906105269190614154565b610ed1565b005b34801561053957600080fd5b50610554600480360381019061054f919061425a565b610f31565b6040516105619190615108565b60405180910390f35b34801561057657600080fd5b5061057f610fd6565b60405161058c9190615108565b60405180910390f35b61059d610fdc565b005b3480156105ab57600080fd5b506105b4611064565b6040516105c19190615108565b60405180910390f35b3480156105d657600080fd5b506105df61106a565b6040516105ec9190614c2b565b60405180910390f35b34801561060157600080fd5b5061061c60048036038101906106179190614154565b61107d565b005b34801561062a57600080fd5b50610645600480360381019061064091906140c6565b61109d565b6040516106529190614c09565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d9190614118565b611197565b005b34801561069057600080fd5b506106ab60048036038101906106a691906140c6565b611225565b6040516106b89190615108565b60405180910390f35b3480156106cd57600080fd5b506106e860048036038101906106e391906142d7565b61123d565b005b3480156106f657600080fd5b50610711600480360381019061070c919061443b565b611262565b60405161071e9190615108565b60405180910390f35b610741600480360381019061073c9190614352565b6112f9565b005b34801561074f57600080fd5b5061076a600480360381019061076591906143fa565b611616565b005b34801561077857600080fd5b50610781611638565b60405161078e9190614c2b565b60405180910390f35b3480156107a357600080fd5b506107be60048036038101906107b9919061443b565b61164b565b6040516107cb9190614ba2565b60405180910390f35b3480156107e057600080fd5b506107e96116fd565b6040516107f69190615108565b60405180910390f35b34801561080b57600080fd5b50610814611703565b6040516108219190614c2b565b60405180910390f35b34801561083657600080fd5b50610851600480360381019061084c9190614296565b611716565b005b34801561085f57600080fd5b506108686119e7565b6040516108759190614ca6565b60405180910390f35b34801561088a57600080fd5b506108a560048036038101906108a091906140c6565b611a75565b6040516108b29190615108565b60405180910390f35b3480156108c757600080fd5b506108d0611b2d565b005b3480156108de57600080fd5b506108f960048036038101906108f4919061443b565b611b41565b005b34801561090757600080fd5b50610910611c1c565b60405161091d9190614ba2565b60405180910390f35b34801561093257600080fd5b5061093b611c46565b6040516109489190614ca6565b60405180910390f35b34801561095d57600080fd5b50610966611cd8565b6040516109739190614c2b565b60405180910390f35b6109966004803603810190610991919061443b565b611ceb565b005b3480156109a457600080fd5b506109bf60048036038101906109ba919061421e565b611f04565b005b3480156109cd57600080fd5b506109d6611f1a565b6040516109e39190615108565b60405180910390f35b3480156109f857600080fd5b50610a136004803603810190610a0e91906141a3565b611f39565b005b348015610a2157600080fd5b50610a2a611f9b565b604051610a379190614c8b565b60405180910390f35b348015610a4c57600080fd5b50610a676004803603810190610a6291906142d7565b611fc1565b005b348015610a7557600080fd5b50610a7e611fe6565b604051610a8b9190614ba2565b60405180910390f35b348015610aa057600080fd5b50610abb6004803603810190610ab6919061443b565b61200c565b604051610ac89190614ca6565b60405180910390f35b610aeb6004803603810190610ae69190614393565b612074565b005b348015610af957600080fd5b50610b026123d0565b604051610b0f9190615108565b60405180910390f35b348015610b2457600080fd5b50610b3f6004803603810190610b3a9190614118565b6123d6565b604051610b4c9190614c2b565b60405180910390f35b348015610b6157600080fd5b50610b6a61246a565b604051610b779190615108565b60405180910390f35b348015610b8c57600080fd5b50610ba76004803603810190610ba291906140c6565b612470565b005b348015610bb557600080fd5b50610bbe6124f4565b604051610bcb9190615108565b60405180910390f35b6113a081565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c4d5750610c4c826124f9565b5b9050919050565b610c5c6125db565b80601360026101000a81548160ff02191690831515021790555050565b606060008054610c8890615463565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb490615463565b8015610d015780601f10610cd657610100808354040283529160200191610d01565b820191906000526020600020905b815481529060010190602001808311610ce457829003601f168201915b5050505050905090565b6000610d1682612659565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d5c8261164b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc490615008565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dec6126a4565b73ffffffffffffffffffffffffffffffffffffffff161480610e1b5750610e1a81610e156126a4565b6123d6565b5b610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5190614f48565b60405180910390fd5b610e6483836126ac565b505050565b610e716125db565b80601360036101000a81548160ff02191690831515021790555050565b60125481565b6000801515610ea283612765565b1515149050919050565b6000600880549050905090565b60146020528060005260406000206000915090505481565b610ee2610edc6126a4565b826127d1565b610f21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f18906150c8565b60405180910390fd5b610f2c838383612866565b505050565b6000610f3c83611a75565b8210610f7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7490614d68565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b610fe46125db565b6000610fee611c1c565b73ffffffffffffffffffffffffffffffffffffffff164760405161101190614b8d565b60006040518083038185875af1925050503d806000811461104e576040519150601f19603f3d011682016040523d82523d6000602084013e611053565b606091505b505090508061106157600080fd5b50565b60105481565b601360039054906101000a900460ff1681565b61109883838360405180602001604052806000815250611f39565b505050565b606060006110aa83611a75565b905060008167ffffffffffffffff8111156110ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561111c5781602001602082028036833780820191505090505b50905060005b8281101561118c576111348582610f31565b82828151811061116d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611184906154c6565b915050611122565b508092505050919050565b61119f6125db565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60156020528060005260406000206000915090505481565b6112456125db565b80601360006101000a81548160ff02191690831515021790555050565b600061126c610eac565b82106112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a490615068565b60405180910390fd5b600882815481106112e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6002600b54141561133f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611336906150e8565b60405180910390fd5b6002600b81905550601360039054906101000a900460ff16611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d90614e08565b60405180910390fd5b60b06113a06127106113a8919061533e565b6113b2919061533e565b6113c86001600d54612acd90919063ffffffff16565b1115611409576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140090614de8565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061148b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148290614d48565b60405180910390fd5b6114a16001601254612ae390919063ffffffff16565b34146114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990614ec8565b60405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611526600183612af9565b73ffffffffffffffffffffffffffffffffffffffff161461157c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157390615048565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906115cc906154c6565b91905055506115f16115dc6126a4565b600d546113a06115ec919061525d565b612b48565b6001600d6000828254611604919061525d565b925050819055506001600b8190555050565b61161e6125db565b80600e9080519060200190611634929190613e2a565b5050565b601360019054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116eb90614fe8565b60405180910390fd5b80915050919050565b60115481565b601360029054906101000a900460ff1681565b6002600b54141561175c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611753906150e8565b60405180910390fd5b6002600b81905550601360009054906101000a900460ff166117b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117aa90615028565b60405180910390fd5b60005b81518110156119db5760008282815181106117fa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000151561181182612765565b151514611853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184a90614d08565b60405180910390fd5b6113a08110611897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188e90614fc8565b60405180910390fd5b61189f6126a4565b73ffffffffffffffffffffffffffffffffffffffff16601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016119109190615108565b60206040518083038186803b15801561192857600080fd5b505afa15801561193c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196091906140ef565b73ffffffffffffffffffffffffffffffffffffffff16146119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad90614e48565b60405180910390fd5b6119c76119c16126a4565b82612b48565b5080806119d3906154c6565b9150506117b6565b506001600b8190555050565b600e80546119f490615463565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2090615463565b8015611a6d5780601f10611a4257610100808354040283529160200191611a6d565b820191906000526020600020905b815481529060010190602001808311611a5057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611add90614f08565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b356125db565b611b3f6000612b66565b565b611b496125db565b60b081600c54611b59919061525d565b1115611b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9190614ce8565b60405180910390fd5b60005b81811015611c1857611beb611bb06126a4565b600c5460b06113a0612710611bc5919061533e565b611bcf919061533e565b6113a0611bdc919061525d565b611be6919061525d565b612b48565b6001600c6000828254611bfe919061525d565b925050819055508080611c10906154c6565b915050611b9d565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611c5590615463565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8190615463565b8015611cce5780601f10611ca357610100808354040283529160200191611cce565b820191906000526020600020905b815481529060010190602001808311611cb157829003601f168201915b5050505050905090565b601360009054906101000a900460ff1681565b6002600b541415611d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d28906150e8565b60405180910390fd5b6002600b81905550601360019054906101000a900460ff16611d88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7f90615088565b60405180910390fd5b60b06113a0612710611d9a919061533e565b611da4919061533e565b611db982600d54612acd90919063ffffffff16565b1115611dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df190614de8565b60405180910390fd5b600081118015611e0b575060098111155b611e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e41906150a8565b60405180910390fd5b611e5f81601154612ae390919063ffffffff16565b3414611ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9790614ec8565b60405180910390fd5b60005b81811015611ef857611ecb611eb66126a4565b600d546113a0611ec6919061525d565b612b48565b6001600d6000828254611ede919061525d565b925050819055508080611ef0906154c6565b915050611ea3565b506001600b8190555050565b611f16611f0f6126a4565b8383612c2c565b5050565b60b06113a0612710611f2c919061533e565b611f36919061533e565b81565b611f4a611f446126a4565b836127d1565b611f89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f80906150c8565b60405180910390fd5b611f9584848484612d99565b50505050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611fc96125db565b80601360016101000a81548160ff02191690831515021790555050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606061201782612659565b6000612021612df5565b90506000815111612041576040518060200160405280600081525061206c565b8061204b84612e87565b60405160200161205c929190614b43565b6040516020818303038152906040525b915050919050565b6002600b5414156120ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b1906150e8565b60405180910390fd5b6002600b81905550601360029054906101000a900460ff16612111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210890614e68565b60405180910390fd5b60b06113a0612710612123919061533e565b61212d919061533e565b6121458360ff16600d54612acd90919063ffffffff16565b1115612186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217d90614de8565b60405180910390fd5b61219e8260ff16601054612ae390919063ffffffff16565b34146121df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d690614ec8565b60405180910390fd5b8060ff166122388360ff16601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612acd90919063ffffffff16565b1115612279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227090614f88565b60405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122bc8285612af9565b73ffffffffffffffffffffffffffffffffffffffff1614612312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230990615048565b60405180910390fd5b60005b8260ff168110156123c257601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190612370906154c6565b91905055506123956123806126a4565b600d546113a0612390919061525d565b612b48565b6001600d60008282546123a8919061525d565b9250508190555080806123ba906154c6565b915050612315565b506001600b81905550505050565b600d5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c5481565b6124786125db565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124df90614da8565b60405180910390fd5b6124f181612b66565b50565b60b081565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125c457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806125d457506125d382613034565b5b9050919050565b6125e36126a4565b73ffffffffffffffffffffffffffffffffffffffff16612601611c1c565b73ffffffffffffffffffffffffffffffffffffffff1614612657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264e90614fa8565b60405180910390fd5b565b61266281612765565b6126a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269890614fe8565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661271f8361164b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000806127dd8361164b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061281f575061281e81856123d6565b5b8061285d57508373ffffffffffffffffffffffffffffffffffffffff1661284584610d0b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128868261164b565b73ffffffffffffffffffffffffffffffffffffffff16146128dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d390614dc8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561294c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294390614e88565b60405180910390fd5b61295783838361309e565b6129626000826126ac565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129b2919061533e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a09919061525d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ac88383836131b2565b505050565b60008183612adb919061525d565b905092915050565b60008183612af191906152e4565b905092915050565b6000803384604051602001612b0f929190614b17565b6040516020818303038152906040528051906020012090506000612b32826131b7565b9050612b3e81856131e7565b9250505092915050565b612b6282826040518060200160405280600081525061320e565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9290614ea8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d8c9190614c2b565b60405180910390a3505050565b612da4848484612866565b612db084848484613269565b612def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de690614d88565b60405180910390fd5b50505050565b6060600e8054612e0490615463565b80601f0160208091040260200160405190810160405280929190818152602001828054612e3090615463565b8015612e7d5780601f10612e5257610100808354040283529160200191612e7d565b820191906000526020600020905b815481529060010190602001808311612e6057829003601f168201915b5050505050905090565b60606000821415612ecf576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061302f565b600082905060005b60008214612f01578080612eea906154c6565b915050600a82612efa91906152b3565b9150612ed7565b60008167ffffffffffffffff811115612f43577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f755781602001600182028036833780820191505090505b5090505b6000851461302857600182612f8e919061533e565b9150600a85612f9d919061554f565b6030612fa9919061525d565b60f81b818381518110612fe5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561302191906152b3565b9450612f79565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6130a9838383613400565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130ec576130e781613405565b61312b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461312a57613129838261344e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561316e57613169816135bb565b6131ad565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131ac576131ab82826136fe565b5b5b505050565b505050565b6000816040516020016131ca9190614b67565b604051602081830303815290604052805190602001209050919050565b60008060006131f6858561377d565b91509150613203816137cf565b819250505092915050565b6132188383613b20565b6132256000848484613269565b613264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325b90614d88565b60405180910390fd5b505050565b600061328a8473ffffffffffffffffffffffffffffffffffffffff16613cfa565b156133f3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132b36126a4565b8786866040518563ffffffff1660e01b81526004016132d59493929190614bbd565b602060405180830381600087803b1580156132ef57600080fd5b505af192505050801561332057506040513d601f19601f8201168201806040525081019061331d9190614329565b60015b6133a3573d8060008114613350576040519150601f19603f3d011682016040523d82523d6000602084013e613355565b606091505b5060008151141561339b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339290614d88565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133f8565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161345b84611a75565b613465919061533e565b905060006007600084815260200190815260200160002054905081811461354a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135cf919061533e565b9050600060096000848152602001908152602001600020549050600060088381548110613625577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061366d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806136e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061370983611a75565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000806041835114156137bf5760008060006020860151925060408601519150606086015160001a90506137b387828585613d1d565b945094505050506137c8565b60006002915091505b9250929050565b60006004811115613809577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613842577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561384d57613b1d565b60016004811115613887577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156138c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138f890614cc8565b60405180910390fd5b6002600481111561393b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613974577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156139b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139ac90614d28565b60405180910390fd5b600360048111156139ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613a28577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613a69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6090614ee8565b60405180910390fd5b600480811115613aa2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613adb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613b1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b1390614f28565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b8790614f68565b60405180910390fd5b613b9981612765565b15613bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bd090614e28565b60405180910390fd5b613be56000838361309e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c35919061525d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613cf6600083836131b2565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613d58576000600391509150613e21565b601b8560ff1614158015613d705750601c8560ff1614155b15613d82576000600491509150613e21565b600060018787878760405160008152602001604052604051613da79493929190614c46565b6020604051602081039080840390855afa158015613dc9573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613e1857600060019250925050613e21565b80600092509250505b94509492505050565b828054613e3690615463565b90600052602060002090601f016020900481019282613e585760008555613e9f565b82601f10613e7157805160ff1916838001178555613e9f565b82800160010185558215613e9f579182015b82811115613e9e578251825591602001919060010190613e83565b5b509050613eac9190613eb0565b5090565b5b80821115613ec9576000816000905550600101613eb1565b5090565b6000613ee0613edb84615148565b615123565b90508083825260208201905082856020860282011115613eff57600080fd5b60005b85811015613f2f5781613f15888261409c565b845260208401935060208301925050600181019050613f02565b5050509392505050565b6000613f4c613f4784615174565b615123565b905082815260208101848484011115613f6457600080fd5b613f6f848285615421565b509392505050565b6000613f8a613f85846151a5565b615123565b905082815260208101848484011115613fa257600080fd5b613fad848285615421565b509392505050565b600081359050613fc481615dcd565b92915050565b600081519050613fd981615dcd565b92915050565b600082601f830112613ff057600080fd5b8135614000848260208601613ecd565b91505092915050565b60008135905061401881615de4565b92915050565b60008135905061402d81615dfb565b92915050565b60008151905061404281615dfb565b92915050565b600082601f83011261405957600080fd5b8135614069848260208601613f39565b91505092915050565b600082601f83011261408357600080fd5b8135614093848260208601613f77565b91505092915050565b6000813590506140ab81615e12565b92915050565b6000813590506140c081615e29565b92915050565b6000602082840312156140d857600080fd5b60006140e684828501613fb5565b91505092915050565b60006020828403121561410157600080fd5b600061410f84828501613fca565b91505092915050565b6000806040838503121561412b57600080fd5b600061413985828601613fb5565b925050602061414a85828601613fb5565b9150509250929050565b60008060006060848603121561416957600080fd5b600061417786828701613fb5565b935050602061418886828701613fb5565b92505060406141998682870161409c565b9150509250925092565b600080600080608085870312156141b957600080fd5b60006141c787828801613fb5565b94505060206141d887828801613fb5565b93505060406141e98782880161409c565b925050606085013567ffffffffffffffff81111561420657600080fd5b61421287828801614048565b91505092959194509250565b6000806040838503121561423157600080fd5b600061423f85828601613fb5565b925050602061425085828601614009565b9150509250929050565b6000806040838503121561426d57600080fd5b600061427b85828601613fb5565b925050602061428c8582860161409c565b9150509250929050565b6000602082840312156142a857600080fd5b600082013567ffffffffffffffff8111156142c257600080fd5b6142ce84828501613fdf565b91505092915050565b6000602082840312156142e957600080fd5b60006142f784828501614009565b91505092915050565b60006020828403121561431257600080fd5b60006143208482850161401e565b91505092915050565b60006020828403121561433b57600080fd5b600061434984828501614033565b91505092915050565b60006020828403121561436457600080fd5b600082013567ffffffffffffffff81111561437e57600080fd5b61438a84828501614048565b91505092915050565b6000806000606084860312156143a857600080fd5b600084013567ffffffffffffffff8111156143c257600080fd5b6143ce86828701614048565b93505060206143df868287016140b1565b92505060406143f0868287016140b1565b9150509250925092565b60006020828403121561440c57600080fd5b600082013567ffffffffffffffff81111561442657600080fd5b61443284828501614072565b91505092915050565b60006020828403121561444d57600080fd5b600061445b8482850161409c565b91505092915050565b60006144708383614ad3565b60208301905092915050565b61448581615372565b82525050565b61449c61449782615372565b61550f565b82525050565b60006144ad826151e6565b6144b78185615214565b93506144c2836151d6565b8060005b838110156144f35781516144da8882614464565b97506144e583615207565b9250506001810190506144c6565b5085935050505092915050565b61450981615384565b82525050565b61451881615390565b82525050565b61452f61452a82615390565b615521565b82525050565b6000614540826151f1565b61454a8185615225565b935061455a818560208601615430565b6145638161563c565b840191505092915050565b614577816153fd565b82525050565b6000614588826151fc565b6145928185615241565b93506145a2818560208601615430565b6145ab8161563c565b840191505092915050565b60006145c1826151fc565b6145cb8185615252565b93506145db818560208601615430565b80840191505092915050565b60006145f4601883615241565b91506145ff82615667565b602082019050919050565b6000614617601383615241565b915061462282615690565b602082019050919050565b600061463a601083615241565b9150614645826156b9565b602082019050919050565b600061465d601f83615241565b9150614668826156e2565b602082019050919050565b6000614680601c83615252565b915061468b8261570b565b601c82019050919050565b60006146a3601b83615241565b91506146ae82615734565b602082019050919050565b60006146c6602b83615241565b91506146d18261575d565b604082019050919050565b60006146e9603283615241565b91506146f4826157ac565b604082019050919050565b600061470c602683615241565b9150614717826157fb565b604082019050919050565b600061472f602583615241565b915061473a8261584a565b604082019050919050565b6000614752600983615241565b915061475d82615899565b602082019050919050565b6000614775601f83615241565b9150614780826158c2565b602082019050919050565b6000614798601c83615241565b91506147a3826158eb565b602082019050919050565b60006147bb600a83615241565b91506147c682615914565b602082019050919050565b60006147de601f83615241565b91506147e98261593d565b602082019050919050565b6000614801602483615241565b915061480c82615966565b604082019050919050565b6000614824601983615241565b915061482f826159b5565b602082019050919050565b6000614847601f83615241565b9150614852826159de565b602082019050919050565b600061486a602283615241565b915061487582615a07565b604082019050919050565b600061488d602983615241565b915061489882615a56565b604082019050919050565b60006148b0602283615241565b91506148bb82615aa5565b604082019050919050565b60006148d3603e83615241565b91506148de82615af4565b604082019050919050565b60006148f6602083615241565b915061490182615b43565b602082019050919050565b6000614919601f83615241565b915061492482615b6c565b602082019050919050565b600061493c602083615241565b915061494782615b95565b602082019050919050565b600061495f601283615241565b915061496a82615bbe565b602082019050919050565b6000614982601883615241565b915061498d82615be7565b602082019050919050565b60006149a5602183615241565b91506149b082615c10565b604082019050919050565b60006149c8601d83615241565b91506149d382615c5f565b602082019050919050565b60006149eb600083615236565b91506149f682615c88565b600082019050919050565b6000614a0e601783615241565b9150614a1982615c8b565b602082019050919050565b6000614a31602c83615241565b9150614a3c82615cb4565b604082019050919050565b6000614a54601483615241565b9150614a5f82615d03565b602082019050919050565b6000614a77602083615241565b9150614a8282615d2c565b602082019050919050565b6000614a9a602e83615241565b9150614aa582615d55565b604082019050919050565b6000614abd601f83615241565b9150614ac882615da4565b602082019050919050565b614adc816153e6565b82525050565b614aeb816153e6565b82525050565b614afa816153f0565b82525050565b614b11614b0c826153f0565b61553d565b82525050565b6000614b23828561448b565b601482019150614b338284614b00565b6001820191508190509392505050565b6000614b4f82856145b6565b9150614b5b82846145b6565b91508190509392505050565b6000614b7282614673565b9150614b7e828461451e565b60208201915081905092915050565b6000614b98826149de565b9150819050919050565b6000602082019050614bb7600083018461447c565b92915050565b6000608082019050614bd2600083018761447c565b614bdf602083018661447c565b614bec6040830185614ae2565b8181036060830152614bfe8184614535565b905095945050505050565b60006020820190508181036000830152614c2381846144a2565b905092915050565b6000602082019050614c406000830184614500565b92915050565b6000608082019050614c5b600083018761450f565b614c686020830186614af1565b614c75604083018561450f565b614c82606083018461450f565b95945050505050565b6000602082019050614ca0600083018461456e565b92915050565b60006020820190508181036000830152614cc0818461457d565b905092915050565b60006020820190508181036000830152614ce1816145e7565b9050919050565b60006020820190508181036000830152614d018161460a565b9050919050565b60006020820190508181036000830152614d218161462d565b9050919050565b60006020820190508181036000830152614d4181614650565b9050919050565b60006020820190508181036000830152614d6181614696565b9050919050565b60006020820190508181036000830152614d81816146b9565b9050919050565b60006020820190508181036000830152614da1816146dc565b9050919050565b60006020820190508181036000830152614dc1816146ff565b9050919050565b60006020820190508181036000830152614de181614722565b9050919050565b60006020820190508181036000830152614e0181614745565b9050919050565b60006020820190508181036000830152614e2181614768565b9050919050565b60006020820190508181036000830152614e418161478b565b9050919050565b60006020820190508181036000830152614e61816147ae565b9050919050565b60006020820190508181036000830152614e81816147d1565b9050919050565b60006020820190508181036000830152614ea1816147f4565b9050919050565b60006020820190508181036000830152614ec181614817565b9050919050565b60006020820190508181036000830152614ee18161483a565b9050919050565b60006020820190508181036000830152614f018161485d565b9050919050565b60006020820190508181036000830152614f2181614880565b9050919050565b60006020820190508181036000830152614f41816148a3565b9050919050565b60006020820190508181036000830152614f61816148c6565b9050919050565b60006020820190508181036000830152614f81816148e9565b9050919050565b60006020820190508181036000830152614fa18161490c565b9050919050565b60006020820190508181036000830152614fc18161492f565b9050919050565b60006020820190508181036000830152614fe181614952565b9050919050565b6000602082019050818103600083015261500181614975565b9050919050565b6000602082019050818103600083015261502181614998565b9050919050565b60006020820190508181036000830152615041816149bb565b9050919050565b6000602082019050818103600083015261506181614a01565b9050919050565b6000602082019050818103600083015261508181614a24565b9050919050565b600060208201905081810360008301526150a181614a47565b9050919050565b600060208201905081810360008301526150c181614a6a565b9050919050565b600060208201905081810360008301526150e181614a8d565b9050919050565b6000602082019050818103600083015261510181614ab0565b9050919050565b600060208201905061511d6000830184614ae2565b92915050565b600061512d61513e565b90506151398282615495565b919050565b6000604051905090565b600067ffffffffffffffff8211156151635761516261560d565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561518f5761518e61560d565b5b6151988261563c565b9050602081019050919050565b600067ffffffffffffffff8211156151c0576151bf61560d565b5b6151c98261563c565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615268826153e6565b9150615273836153e6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152a8576152a7615580565b5b828201905092915050565b60006152be826153e6565b91506152c9836153e6565b9250826152d9576152d86155af565b5b828204905092915050565b60006152ef826153e6565b91506152fa836153e6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561533357615332615580565b5b828202905092915050565b6000615349826153e6565b9150615354836153e6565b92508282101561536757615366615580565b5b828203905092915050565b600061537d826153c6565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006154088261540f565b9050919050565b600061541a826153c6565b9050919050565b82818337600083830152505050565b60005b8381101561544e578082015181840152602081019050615433565b8381111561545d576000848401525b50505050565b6000600282049050600182168061547b57607f821691505b6020821081141561548f5761548e6155de565b5b50919050565b61549e8261563c565b810181811067ffffffffffffffff821117156154bd576154bc61560d565b5b80604052505050565b60006154d1826153e6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561550457615503615580565b5b600182019050919050565b600061551a8261552b565b9050919050565b6000819050919050565b60006155368261565a565b9050919050565b60006155488261564d565b9050919050565b600061555a826153e6565b9150615565836153e6565b925082615575576155746155af565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f81b9050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f4578636565646564206769766561776179732e00000000000000000000000000600082015250565b7f416c726561647920636c61696d65642100000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f414c2053706f74732068617665206265656e20636f6e73756d65640000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f536f6c64204f7574210000000000000000000000000000000000000000000000600082015250565b7f416c6c6f774c6973742073616c65206e6f742073746172746564207965742e00600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f426164206f776e65722100000000000000000000000000000000000000000000600082015250565b7f57686974656c6973742073616c65206e6f742073746172746564207965742e00600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f416c6c20574c2053706f74732068617665206265656e20636f6e73756d656400600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f506f73742d636c61696d20637570636174210000000000000000000000000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f436c61696d20706572696f64206e6f742073746172746564207965742e000000600082015250565b50565b7f5369676e65722061646472657373206d69736d61746368000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f73616c65206e6f74207374617274656420796574000000000000000000000000600082015250565b7f43616e206f6e6c79206d696e74203920746f6b656e7320617420612074696d65600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b615dd681615372565b8114615de157600080fd5b50565b615ded81615384565b8114615df857600080fd5b50565b615e048161539a565b8114615e0f57600080fd5b50565b615e1b816153e6565b8114615e2657600080fd5b50565b615e32816153f0565b8114615e3d57600080fd5b5056fea26469706673582212201057a1e7aa4b31fd85905f335636449c3bdaf5763bfd12c045c961f7e923244064736f6c63430008040033
Deployed Bytecode
0x6080604052600436106102e45760003560e01c8063603f4d5211610190578063a22cb465116100dc578063c87b56dd11610095578063e985e9c51161006f578063e985e9c514610b18578063f1c51b3914610b55578063f2fde38b14610b80578063f94a279b14610ba9576102e4565b8063c87b56dd14610a94578063d138f21e14610ad1578063dc559fce14610aed576102e4565b8063a22cb46514610998578063aaa25f4e146109c1578063b88d4fde146109ec578063b90ae3ed14610a15578063c4e3709514610a40578063c771909c14610a69576102e4565b806370a08231116101495780638da5cb5b116101235780638da5cb5b146108fb57806395d89b41146109265780639a72580914610951578063a0712d681461097c576102e4565b806370a082311461087e578063715018a6146108bb578063819b25ba146108d2576102e4565b8063603f4d521461076c5780636352211e1461079757806363cc1113146107d4578063641bfa6b146107ff5780636ba4c1381461082a5780636c0360eb14610853576102e4565b80632f745c591161024f578063438b6300116102085780634b014e28116101e25780634b014e28146106c15780634f6ccce7146106ea5780635018ae6d1461072757806355f804b314610743576102e4565b8063438b63001461061e57806347fd942e1461065b5780634972137214610684576102e4565b80632f745c591461052d57806333039d3d1461056a5780633ccfd60b146105955780633ee0638c1461059f5780633efba36f146105ca57806342842e0e146105f5576102e4565b80630a42a355116102a15780630a42a3551461040b57806311270668146104345780631681d1581461045f57806318160ddd1461049c57806318cae269146104c757806323b872dd14610504576102e4565b806301e05ba4146102e957806301ffc9a7146103145780630631d5161461035157806306fdde031461037a578063081812fc146103a5578063095ea7b3146103e2575b600080fd5b3480156102f557600080fd5b506102fe610bd4565b60405161030b9190615108565b60405180910390f35b34801561032057600080fd5b5061033b60048036038101906103369190614300565b610bda565b6040516103489190614c2b565b60405180910390f35b34801561035d57600080fd5b50610378600480360381019061037391906142d7565b610c54565b005b34801561038657600080fd5b5061038f610c79565b60405161039c9190614ca6565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c7919061443b565b610d0b565b6040516103d99190614ba2565b60405180910390f35b3480156103ee57600080fd5b506104096004803603810190610404919061425a565b610d51565b005b34801561041757600080fd5b50610432600480360381019061042d91906142d7565b610e69565b005b34801561044057600080fd5b50610449610e8e565b6040516104569190615108565b60405180910390f35b34801561046b57600080fd5b506104866004803603810190610481919061443b565b610e94565b6040516104939190614c2b565b60405180910390f35b3480156104a857600080fd5b506104b1610eac565b6040516104be9190615108565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e991906140c6565b610eb9565b6040516104fb9190615108565b60405180910390f35b34801561051057600080fd5b5061052b60048036038101906105269190614154565b610ed1565b005b34801561053957600080fd5b50610554600480360381019061054f919061425a565b610f31565b6040516105619190615108565b60405180910390f35b34801561057657600080fd5b5061057f610fd6565b60405161058c9190615108565b60405180910390f35b61059d610fdc565b005b3480156105ab57600080fd5b506105b4611064565b6040516105c19190615108565b60405180910390f35b3480156105d657600080fd5b506105df61106a565b6040516105ec9190614c2b565b60405180910390f35b34801561060157600080fd5b5061061c60048036038101906106179190614154565b61107d565b005b34801561062a57600080fd5b50610645600480360381019061064091906140c6565b61109d565b6040516106529190614c09565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d9190614118565b611197565b005b34801561069057600080fd5b506106ab60048036038101906106a691906140c6565b611225565b6040516106b89190615108565b60405180910390f35b3480156106cd57600080fd5b506106e860048036038101906106e391906142d7565b61123d565b005b3480156106f657600080fd5b50610711600480360381019061070c919061443b565b611262565b60405161071e9190615108565b60405180910390f35b610741600480360381019061073c9190614352565b6112f9565b005b34801561074f57600080fd5b5061076a600480360381019061076591906143fa565b611616565b005b34801561077857600080fd5b50610781611638565b60405161078e9190614c2b565b60405180910390f35b3480156107a357600080fd5b506107be60048036038101906107b9919061443b565b61164b565b6040516107cb9190614ba2565b60405180910390f35b3480156107e057600080fd5b506107e96116fd565b6040516107f69190615108565b60405180910390f35b34801561080b57600080fd5b50610814611703565b6040516108219190614c2b565b60405180910390f35b34801561083657600080fd5b50610851600480360381019061084c9190614296565b611716565b005b34801561085f57600080fd5b506108686119e7565b6040516108759190614ca6565b60405180910390f35b34801561088a57600080fd5b506108a560048036038101906108a091906140c6565b611a75565b6040516108b29190615108565b60405180910390f35b3480156108c757600080fd5b506108d0611b2d565b005b3480156108de57600080fd5b506108f960048036038101906108f4919061443b565b611b41565b005b34801561090757600080fd5b50610910611c1c565b60405161091d9190614ba2565b60405180910390f35b34801561093257600080fd5b5061093b611c46565b6040516109489190614ca6565b60405180910390f35b34801561095d57600080fd5b50610966611cd8565b6040516109739190614c2b565b60405180910390f35b6109966004803603810190610991919061443b565b611ceb565b005b3480156109a457600080fd5b506109bf60048036038101906109ba919061421e565b611f04565b005b3480156109cd57600080fd5b506109d6611f1a565b6040516109e39190615108565b60405180910390f35b3480156109f857600080fd5b50610a136004803603810190610a0e91906141a3565b611f39565b005b348015610a2157600080fd5b50610a2a611f9b565b604051610a379190614c8b565b60405180910390f35b348015610a4c57600080fd5b50610a676004803603810190610a6291906142d7565b611fc1565b005b348015610a7557600080fd5b50610a7e611fe6565b604051610a8b9190614ba2565b60405180910390f35b348015610aa057600080fd5b50610abb6004803603810190610ab6919061443b565b61200c565b604051610ac89190614ca6565b60405180910390f35b610aeb6004803603810190610ae69190614393565b612074565b005b348015610af957600080fd5b50610b026123d0565b604051610b0f9190615108565b60405180910390f35b348015610b2457600080fd5b50610b3f6004803603810190610b3a9190614118565b6123d6565b604051610b4c9190614c2b565b60405180910390f35b348015610b6157600080fd5b50610b6a61246a565b604051610b779190615108565b60405180910390f35b348015610b8c57600080fd5b50610ba76004803603810190610ba291906140c6565b612470565b005b348015610bb557600080fd5b50610bbe6124f4565b604051610bcb9190615108565b60405180910390f35b6113a081565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c4d5750610c4c826124f9565b5b9050919050565b610c5c6125db565b80601360026101000a81548160ff02191690831515021790555050565b606060008054610c8890615463565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb490615463565b8015610d015780601f10610cd657610100808354040283529160200191610d01565b820191906000526020600020905b815481529060010190602001808311610ce457829003601f168201915b5050505050905090565b6000610d1682612659565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d5c8261164b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc490615008565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dec6126a4565b73ffffffffffffffffffffffffffffffffffffffff161480610e1b5750610e1a81610e156126a4565b6123d6565b5b610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5190614f48565b60405180910390fd5b610e6483836126ac565b505050565b610e716125db565b80601360036101000a81548160ff02191690831515021790555050565b60125481565b6000801515610ea283612765565b1515149050919050565b6000600880549050905090565b60146020528060005260406000206000915090505481565b610ee2610edc6126a4565b826127d1565b610f21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f18906150c8565b60405180910390fd5b610f2c838383612866565b505050565b6000610f3c83611a75565b8210610f7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7490614d68565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b610fe46125db565b6000610fee611c1c565b73ffffffffffffffffffffffffffffffffffffffff164760405161101190614b8d565b60006040518083038185875af1925050503d806000811461104e576040519150601f19603f3d011682016040523d82523d6000602084013e611053565b606091505b505090508061106157600080fd5b50565b60105481565b601360039054906101000a900460ff1681565b61109883838360405180602001604052806000815250611f39565b505050565b606060006110aa83611a75565b905060008167ffffffffffffffff8111156110ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561111c5781602001602082028036833780820191505090505b50905060005b8281101561118c576111348582610f31565b82828151811061116d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611184906154c6565b915050611122565b508092505050919050565b61119f6125db565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60156020528060005260406000206000915090505481565b6112456125db565b80601360006101000a81548160ff02191690831515021790555050565b600061126c610eac565b82106112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a490615068565b60405180910390fd5b600882815481106112e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6002600b54141561133f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611336906150e8565b60405180910390fd5b6002600b81905550601360039054906101000a900460ff16611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d90614e08565b60405180910390fd5b60b06113a06127106113a8919061533e565b6113b2919061533e565b6113c86001600d54612acd90919063ffffffff16565b1115611409576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140090614de8565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061148b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148290614d48565b60405180910390fd5b6114a16001601254612ae390919063ffffffff16565b34146114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990614ec8565b60405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611526600183612af9565b73ffffffffffffffffffffffffffffffffffffffff161461157c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157390615048565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906115cc906154c6565b91905055506115f16115dc6126a4565b600d546113a06115ec919061525d565b612b48565b6001600d6000828254611604919061525d565b925050819055506001600b8190555050565b61161e6125db565b80600e9080519060200190611634929190613e2a565b5050565b601360019054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116eb90614fe8565b60405180910390fd5b80915050919050565b60115481565b601360029054906101000a900460ff1681565b6002600b54141561175c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611753906150e8565b60405180910390fd5b6002600b81905550601360009054906101000a900460ff166117b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117aa90615028565b60405180910390fd5b60005b81518110156119db5760008282815181106117fa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000151561181182612765565b151514611853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184a90614d08565b60405180910390fd5b6113a08110611897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188e90614fc8565b60405180910390fd5b61189f6126a4565b73ffffffffffffffffffffffffffffffffffffffff16601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016119109190615108565b60206040518083038186803b15801561192857600080fd5b505afa15801561193c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196091906140ef565b73ffffffffffffffffffffffffffffffffffffffff16146119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad90614e48565b60405180910390fd5b6119c76119c16126a4565b82612b48565b5080806119d3906154c6565b9150506117b6565b506001600b8190555050565b600e80546119f490615463565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2090615463565b8015611a6d5780601f10611a4257610100808354040283529160200191611a6d565b820191906000526020600020905b815481529060010190602001808311611a5057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611add90614f08565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b356125db565b611b3f6000612b66565b565b611b496125db565b60b081600c54611b59919061525d565b1115611b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9190614ce8565b60405180910390fd5b60005b81811015611c1857611beb611bb06126a4565b600c5460b06113a0612710611bc5919061533e565b611bcf919061533e565b6113a0611bdc919061525d565b611be6919061525d565b612b48565b6001600c6000828254611bfe919061525d565b925050819055508080611c10906154c6565b915050611b9d565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611c5590615463565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8190615463565b8015611cce5780601f10611ca357610100808354040283529160200191611cce565b820191906000526020600020905b815481529060010190602001808311611cb157829003601f168201915b5050505050905090565b601360009054906101000a900460ff1681565b6002600b541415611d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d28906150e8565b60405180910390fd5b6002600b81905550601360019054906101000a900460ff16611d88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7f90615088565b60405180910390fd5b60b06113a0612710611d9a919061533e565b611da4919061533e565b611db982600d54612acd90919063ffffffff16565b1115611dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df190614de8565b60405180910390fd5b600081118015611e0b575060098111155b611e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e41906150a8565b60405180910390fd5b611e5f81601154612ae390919063ffffffff16565b3414611ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9790614ec8565b60405180910390fd5b60005b81811015611ef857611ecb611eb66126a4565b600d546113a0611ec6919061525d565b612b48565b6001600d6000828254611ede919061525d565b925050819055508080611ef0906154c6565b915050611ea3565b506001600b8190555050565b611f16611f0f6126a4565b8383612c2c565b5050565b60b06113a0612710611f2c919061533e565b611f36919061533e565b81565b611f4a611f446126a4565b836127d1565b611f89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f80906150c8565b60405180910390fd5b611f9584848484612d99565b50505050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611fc96125db565b80601360016101000a81548160ff02191690831515021790555050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606061201782612659565b6000612021612df5565b90506000815111612041576040518060200160405280600081525061206c565b8061204b84612e87565b60405160200161205c929190614b43565b6040516020818303038152906040525b915050919050565b6002600b5414156120ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b1906150e8565b60405180910390fd5b6002600b81905550601360029054906101000a900460ff16612111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210890614e68565b60405180910390fd5b60b06113a0612710612123919061533e565b61212d919061533e565b6121458360ff16600d54612acd90919063ffffffff16565b1115612186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217d90614de8565b60405180910390fd5b61219e8260ff16601054612ae390919063ffffffff16565b34146121df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d690614ec8565b60405180910390fd5b8060ff166122388360ff16601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612acd90919063ffffffff16565b1115612279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227090614f88565b60405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122bc8285612af9565b73ffffffffffffffffffffffffffffffffffffffff1614612312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230990615048565b60405180910390fd5b60005b8260ff168110156123c257601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190612370906154c6565b91905055506123956123806126a4565b600d546113a0612390919061525d565b612b48565b6001600d60008282546123a8919061525d565b9250508190555080806123ba906154c6565b915050612315565b506001600b81905550505050565b600d5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c5481565b6124786125db565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124df90614da8565b60405180910390fd5b6124f181612b66565b50565b60b081565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125c457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806125d457506125d382613034565b5b9050919050565b6125e36126a4565b73ffffffffffffffffffffffffffffffffffffffff16612601611c1c565b73ffffffffffffffffffffffffffffffffffffffff1614612657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264e90614fa8565b60405180910390fd5b565b61266281612765565b6126a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269890614fe8565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661271f8361164b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000806127dd8361164b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061281f575061281e81856123d6565b5b8061285d57508373ffffffffffffffffffffffffffffffffffffffff1661284584610d0b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128868261164b565b73ffffffffffffffffffffffffffffffffffffffff16146128dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d390614dc8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561294c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294390614e88565b60405180910390fd5b61295783838361309e565b6129626000826126ac565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129b2919061533e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a09919061525d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ac88383836131b2565b505050565b60008183612adb919061525d565b905092915050565b60008183612af191906152e4565b905092915050565b6000803384604051602001612b0f929190614b17565b6040516020818303038152906040528051906020012090506000612b32826131b7565b9050612b3e81856131e7565b9250505092915050565b612b6282826040518060200160405280600081525061320e565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9290614ea8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d8c9190614c2b565b60405180910390a3505050565b612da4848484612866565b612db084848484613269565b612def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de690614d88565b60405180910390fd5b50505050565b6060600e8054612e0490615463565b80601f0160208091040260200160405190810160405280929190818152602001828054612e3090615463565b8015612e7d5780601f10612e5257610100808354040283529160200191612e7d565b820191906000526020600020905b815481529060010190602001808311612e6057829003601f168201915b5050505050905090565b60606000821415612ecf576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061302f565b600082905060005b60008214612f01578080612eea906154c6565b915050600a82612efa91906152b3565b9150612ed7565b60008167ffffffffffffffff811115612f43577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f755781602001600182028036833780820191505090505b5090505b6000851461302857600182612f8e919061533e565b9150600a85612f9d919061554f565b6030612fa9919061525d565b60f81b818381518110612fe5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561302191906152b3565b9450612f79565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6130a9838383613400565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130ec576130e781613405565b61312b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461312a57613129838261344e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561316e57613169816135bb565b6131ad565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131ac576131ab82826136fe565b5b5b505050565b505050565b6000816040516020016131ca9190614b67565b604051602081830303815290604052805190602001209050919050565b60008060006131f6858561377d565b91509150613203816137cf565b819250505092915050565b6132188383613b20565b6132256000848484613269565b613264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325b90614d88565b60405180910390fd5b505050565b600061328a8473ffffffffffffffffffffffffffffffffffffffff16613cfa565b156133f3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132b36126a4565b8786866040518563ffffffff1660e01b81526004016132d59493929190614bbd565b602060405180830381600087803b1580156132ef57600080fd5b505af192505050801561332057506040513d601f19601f8201168201806040525081019061331d9190614329565b60015b6133a3573d8060008114613350576040519150601f19603f3d011682016040523d82523d6000602084013e613355565b606091505b5060008151141561339b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339290614d88565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133f8565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161345b84611a75565b613465919061533e565b905060006007600084815260200190815260200160002054905081811461354a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135cf919061533e565b9050600060096000848152602001908152602001600020549050600060088381548110613625577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061366d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806136e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061370983611a75565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000806041835114156137bf5760008060006020860151925060408601519150606086015160001a90506137b387828585613d1d565b945094505050506137c8565b60006002915091505b9250929050565b60006004811115613809577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613842577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561384d57613b1d565b60016004811115613887577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156138c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138f890614cc8565b60405180910390fd5b6002600481111561393b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613974577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156139b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139ac90614d28565b60405180910390fd5b600360048111156139ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613a28577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613a69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6090614ee8565b60405180910390fd5b600480811115613aa2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613adb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613b1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b1390614f28565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b8790614f68565b60405180910390fd5b613b9981612765565b15613bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bd090614e28565b60405180910390fd5b613be56000838361309e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c35919061525d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613cf6600083836131b2565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613d58576000600391509150613e21565b601b8560ff1614158015613d705750601c8560ff1614155b15613d82576000600491509150613e21565b600060018787878760405160008152602001604052604051613da79493929190614c46565b6020604051602081039080840390855afa158015613dc9573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613e1857600060019250925050613e21565b80600092509250505b94509492505050565b828054613e3690615463565b90600052602060002090601f016020900481019282613e585760008555613e9f565b82601f10613e7157805160ff1916838001178555613e9f565b82800160010185558215613e9f579182015b82811115613e9e578251825591602001919060010190613e83565b5b509050613eac9190613eb0565b5090565b5b80821115613ec9576000816000905550600101613eb1565b5090565b6000613ee0613edb84615148565b615123565b90508083825260208201905082856020860282011115613eff57600080fd5b60005b85811015613f2f5781613f15888261409c565b845260208401935060208301925050600181019050613f02565b5050509392505050565b6000613f4c613f4784615174565b615123565b905082815260208101848484011115613f6457600080fd5b613f6f848285615421565b509392505050565b6000613f8a613f85846151a5565b615123565b905082815260208101848484011115613fa257600080fd5b613fad848285615421565b509392505050565b600081359050613fc481615dcd565b92915050565b600081519050613fd981615dcd565b92915050565b600082601f830112613ff057600080fd5b8135614000848260208601613ecd565b91505092915050565b60008135905061401881615de4565b92915050565b60008135905061402d81615dfb565b92915050565b60008151905061404281615dfb565b92915050565b600082601f83011261405957600080fd5b8135614069848260208601613f39565b91505092915050565b600082601f83011261408357600080fd5b8135614093848260208601613f77565b91505092915050565b6000813590506140ab81615e12565b92915050565b6000813590506140c081615e29565b92915050565b6000602082840312156140d857600080fd5b60006140e684828501613fb5565b91505092915050565b60006020828403121561410157600080fd5b600061410f84828501613fca565b91505092915050565b6000806040838503121561412b57600080fd5b600061413985828601613fb5565b925050602061414a85828601613fb5565b9150509250929050565b60008060006060848603121561416957600080fd5b600061417786828701613fb5565b935050602061418886828701613fb5565b92505060406141998682870161409c565b9150509250925092565b600080600080608085870312156141b957600080fd5b60006141c787828801613fb5565b94505060206141d887828801613fb5565b93505060406141e98782880161409c565b925050606085013567ffffffffffffffff81111561420657600080fd5b61421287828801614048565b91505092959194509250565b6000806040838503121561423157600080fd5b600061423f85828601613fb5565b925050602061425085828601614009565b9150509250929050565b6000806040838503121561426d57600080fd5b600061427b85828601613fb5565b925050602061428c8582860161409c565b9150509250929050565b6000602082840312156142a857600080fd5b600082013567ffffffffffffffff8111156142c257600080fd5b6142ce84828501613fdf565b91505092915050565b6000602082840312156142e957600080fd5b60006142f784828501614009565b91505092915050565b60006020828403121561431257600080fd5b60006143208482850161401e565b91505092915050565b60006020828403121561433b57600080fd5b600061434984828501614033565b91505092915050565b60006020828403121561436457600080fd5b600082013567ffffffffffffffff81111561437e57600080fd5b61438a84828501614048565b91505092915050565b6000806000606084860312156143a857600080fd5b600084013567ffffffffffffffff8111156143c257600080fd5b6143ce86828701614048565b93505060206143df868287016140b1565b92505060406143f0868287016140b1565b9150509250925092565b60006020828403121561440c57600080fd5b600082013567ffffffffffffffff81111561442657600080fd5b61443284828501614072565b91505092915050565b60006020828403121561444d57600080fd5b600061445b8482850161409c565b91505092915050565b60006144708383614ad3565b60208301905092915050565b61448581615372565b82525050565b61449c61449782615372565b61550f565b82525050565b60006144ad826151e6565b6144b78185615214565b93506144c2836151d6565b8060005b838110156144f35781516144da8882614464565b97506144e583615207565b9250506001810190506144c6565b5085935050505092915050565b61450981615384565b82525050565b61451881615390565b82525050565b61452f61452a82615390565b615521565b82525050565b6000614540826151f1565b61454a8185615225565b935061455a818560208601615430565b6145638161563c565b840191505092915050565b614577816153fd565b82525050565b6000614588826151fc565b6145928185615241565b93506145a2818560208601615430565b6145ab8161563c565b840191505092915050565b60006145c1826151fc565b6145cb8185615252565b93506145db818560208601615430565b80840191505092915050565b60006145f4601883615241565b91506145ff82615667565b602082019050919050565b6000614617601383615241565b915061462282615690565b602082019050919050565b600061463a601083615241565b9150614645826156b9565b602082019050919050565b600061465d601f83615241565b9150614668826156e2565b602082019050919050565b6000614680601c83615252565b915061468b8261570b565b601c82019050919050565b60006146a3601b83615241565b91506146ae82615734565b602082019050919050565b60006146c6602b83615241565b91506146d18261575d565b604082019050919050565b60006146e9603283615241565b91506146f4826157ac565b604082019050919050565b600061470c602683615241565b9150614717826157fb565b604082019050919050565b600061472f602583615241565b915061473a8261584a565b604082019050919050565b6000614752600983615241565b915061475d82615899565b602082019050919050565b6000614775601f83615241565b9150614780826158c2565b602082019050919050565b6000614798601c83615241565b91506147a3826158eb565b602082019050919050565b60006147bb600a83615241565b91506147c682615914565b602082019050919050565b60006147de601f83615241565b91506147e98261593d565b602082019050919050565b6000614801602483615241565b915061480c82615966565b604082019050919050565b6000614824601983615241565b915061482f826159b5565b602082019050919050565b6000614847601f83615241565b9150614852826159de565b602082019050919050565b600061486a602283615241565b915061487582615a07565b604082019050919050565b600061488d602983615241565b915061489882615a56565b604082019050919050565b60006148b0602283615241565b91506148bb82615aa5565b604082019050919050565b60006148d3603e83615241565b91506148de82615af4565b604082019050919050565b60006148f6602083615241565b915061490182615b43565b602082019050919050565b6000614919601f83615241565b915061492482615b6c565b602082019050919050565b600061493c602083615241565b915061494782615b95565b602082019050919050565b600061495f601283615241565b915061496a82615bbe565b602082019050919050565b6000614982601883615241565b915061498d82615be7565b602082019050919050565b60006149a5602183615241565b91506149b082615c10565b604082019050919050565b60006149c8601d83615241565b91506149d382615c5f565b602082019050919050565b60006149eb600083615236565b91506149f682615c88565b600082019050919050565b6000614a0e601783615241565b9150614a1982615c8b565b602082019050919050565b6000614a31602c83615241565b9150614a3c82615cb4565b604082019050919050565b6000614a54601483615241565b9150614a5f82615d03565b602082019050919050565b6000614a77602083615241565b9150614a8282615d2c565b602082019050919050565b6000614a9a602e83615241565b9150614aa582615d55565b604082019050919050565b6000614abd601f83615241565b9150614ac882615da4565b602082019050919050565b614adc816153e6565b82525050565b614aeb816153e6565b82525050565b614afa816153f0565b82525050565b614b11614b0c826153f0565b61553d565b82525050565b6000614b23828561448b565b601482019150614b338284614b00565b6001820191508190509392505050565b6000614b4f82856145b6565b9150614b5b82846145b6565b91508190509392505050565b6000614b7282614673565b9150614b7e828461451e565b60208201915081905092915050565b6000614b98826149de565b9150819050919050565b6000602082019050614bb7600083018461447c565b92915050565b6000608082019050614bd2600083018761447c565b614bdf602083018661447c565b614bec6040830185614ae2565b8181036060830152614bfe8184614535565b905095945050505050565b60006020820190508181036000830152614c2381846144a2565b905092915050565b6000602082019050614c406000830184614500565b92915050565b6000608082019050614c5b600083018761450f565b614c686020830186614af1565b614c75604083018561450f565b614c82606083018461450f565b95945050505050565b6000602082019050614ca0600083018461456e565b92915050565b60006020820190508181036000830152614cc0818461457d565b905092915050565b60006020820190508181036000830152614ce1816145e7565b9050919050565b60006020820190508181036000830152614d018161460a565b9050919050565b60006020820190508181036000830152614d218161462d565b9050919050565b60006020820190508181036000830152614d4181614650565b9050919050565b60006020820190508181036000830152614d6181614696565b9050919050565b60006020820190508181036000830152614d81816146b9565b9050919050565b60006020820190508181036000830152614da1816146dc565b9050919050565b60006020820190508181036000830152614dc1816146ff565b9050919050565b60006020820190508181036000830152614de181614722565b9050919050565b60006020820190508181036000830152614e0181614745565b9050919050565b60006020820190508181036000830152614e2181614768565b9050919050565b60006020820190508181036000830152614e418161478b565b9050919050565b60006020820190508181036000830152614e61816147ae565b9050919050565b60006020820190508181036000830152614e81816147d1565b9050919050565b60006020820190508181036000830152614ea1816147f4565b9050919050565b60006020820190508181036000830152614ec181614817565b9050919050565b60006020820190508181036000830152614ee18161483a565b9050919050565b60006020820190508181036000830152614f018161485d565b9050919050565b60006020820190508181036000830152614f2181614880565b9050919050565b60006020820190508181036000830152614f41816148a3565b9050919050565b60006020820190508181036000830152614f61816148c6565b9050919050565b60006020820190508181036000830152614f81816148e9565b9050919050565b60006020820190508181036000830152614fa18161490c565b9050919050565b60006020820190508181036000830152614fc18161492f565b9050919050565b60006020820190508181036000830152614fe181614952565b9050919050565b6000602082019050818103600083015261500181614975565b9050919050565b6000602082019050818103600083015261502181614998565b9050919050565b60006020820190508181036000830152615041816149bb565b9050919050565b6000602082019050818103600083015261506181614a01565b9050919050565b6000602082019050818103600083015261508181614a24565b9050919050565b600060208201905081810360008301526150a181614a47565b9050919050565b600060208201905081810360008301526150c181614a6a565b9050919050565b600060208201905081810360008301526150e181614a8d565b9050919050565b6000602082019050818103600083015261510181614ab0565b9050919050565b600060208201905061511d6000830184614ae2565b92915050565b600061512d61513e565b90506151398282615495565b919050565b6000604051905090565b600067ffffffffffffffff8211156151635761516261560d565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561518f5761518e61560d565b5b6151988261563c565b9050602081019050919050565b600067ffffffffffffffff8211156151c0576151bf61560d565b5b6151c98261563c565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615268826153e6565b9150615273836153e6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152a8576152a7615580565b5b828201905092915050565b60006152be826153e6565b91506152c9836153e6565b9250826152d9576152d86155af565b5b828204905092915050565b60006152ef826153e6565b91506152fa836153e6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561533357615332615580565b5b828202905092915050565b6000615349826153e6565b9150615354836153e6565b92508282101561536757615366615580565b5b828203905092915050565b600061537d826153c6565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006154088261540f565b9050919050565b600061541a826153c6565b9050919050565b82818337600083830152505050565b60005b8381101561544e578082015181840152602081019050615433565b8381111561545d576000848401525b50505050565b6000600282049050600182168061547b57607f821691505b6020821081141561548f5761548e6155de565b5b50919050565b61549e8261563c565b810181811067ffffffffffffffff821117156154bd576154bc61560d565b5b80604052505050565b60006154d1826153e6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561550457615503615580565b5b600182019050919050565b600061551a8261552b565b9050919050565b6000819050919050565b60006155368261565a565b9050919050565b60006155488261564d565b9050919050565b600061555a826153e6565b9150615565836153e6565b925082615575576155746155af565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f81b9050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f4578636565646564206769766561776179732e00000000000000000000000000600082015250565b7f416c726561647920636c61696d65642100000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f414c2053706f74732068617665206265656e20636f6e73756d65640000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f536f6c64204f7574210000000000000000000000000000000000000000000000600082015250565b7f416c6c6f774c6973742073616c65206e6f742073746172746564207965742e00600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f426164206f776e65722100000000000000000000000000000000000000000000600082015250565b7f57686974656c6973742073616c65206e6f742073746172746564207965742e00600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f416c6c20574c2053706f74732068617665206265656e20636f6e73756d656400600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f506f73742d636c61696d20637570636174210000000000000000000000000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f436c61696d20706572696f64206e6f742073746172746564207965742e000000600082015250565b50565b7f5369676e65722061646472657373206d69736d61746368000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f73616c65206e6f74207374617274656420796574000000000000000000000000600082015250565b7f43616e206f6e6c79206d696e74203920746f6b656e7320617420612074696d65600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b615dd681615372565b8114615de157600080fd5b50565b615ded81615384565b8114615df857600080fd5b50565b615e048161539a565b8114615e0f57600080fd5b50565b615e1b816153e6565b8114615e2657600080fd5b50565b615e32816153f0565b8114615e3d57600080fd5b5056fea26469706673582212201057a1e7aa4b31fd85905f335636449c3bdaf5763bfd12c045c961f7e923244064736f6c63430008040033
Loading...
Loading
Loading...
Loading
[ 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.