ERC-721
Overview
Max Total Supply
2,343 PTHL
Holders
634
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
12 PTHLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Paw
Compiler Version
v0.8.0+commit.c7dfd78e
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.0; import "./ERC721Tradable.sol"; /** * @title Paw * Paw - a contract for non-fungible PAW THE HYPER LYNX. */ contract Paw is ERC721Tradable { using SafeMath for uint256; uint256 private _pawSupply = 10296; uint256 private _price = 20000000000000000; // O: inactive, 1: limitted, 2: public uint8 private _saleState = 0; mapping(address => bool) private _whitelist; mapping(address => uint256) private _whitelistBalances; constructor(address _proxyRegistryAddress) ERC721Tradable("PAW THE HYPER LYNX", "PTHL", _proxyRegistryAddress) {} function baseTokenURI() override public pure returns (string memory) { return "https://ipfs.io/ipfs/QmSa554zsuZKdxLWThLUM92t7AJbGuxd23nvY2d2tnbKcj/"; } function contractURI() public pure returns (string memory) { return "https://ipfs.io/ipfs/QmUvGTgJYyKhreGKJb1xi8zpYZmrgR88FC4wivPz6JfMfo"; } function changePrice(uint256 price) public onlyOwner { _price = price; } function changePawSupply(uint256 pawSupply) public onlyOwner { _pawSupply = pawSupply; } function getSaleState() public view returns (uint8) { return _saleState; } function changeSaleState(uint8 state) public onlyOwner { _saleState = state; } function buyPaw(uint256 amount) public payable { require(_saleState == 2, "It's not public sales"); require(amount <= 20, "You can not buy more than 20 Paws"); require(totalSupply().add(amount) <= _pawSupply, "Purchase would exceed max supply of Paws"); require(msg.value >= (_price * amount), "Insufficient funds to purchase"); address payable receiver = payable(owner()); receiver.transfer(msg.value); for (uint256 j = 0; j < amount; j++) { safeMint(msg.sender); } } function whitelistBuyPaw(uint256 amount) public payable { require(_saleState == 1, "It's not private sales"); uint256 _balance = whitelistBalanceOf(msg.sender); require(_balance < 2, "This account has more than 2 NFTs"); require(_balance.add(amount) <= 2, "this account buy more than 2 NFTs"); require(totalSupply().add(amount) <= _pawSupply, "Purchase would exceed max supply of Paws"); require(msg.value >= (_price * amount), "Insufficient funds to purchase"); require(whitelistHas(msg.sender), "This account is not available"); address payable receiver = payable(owner()); receiver.transfer(msg.value); _whitelistBalances[msg.sender] += amount; for (uint256 j = 0; j < amount; j++) { safeMint(msg.sender); } } function mintToOwner(uint256 amount) public onlyOwner { require(totalSupply().add(amount) <= _pawSupply, "Mint would exceed max supply of Paws"); for (uint256 i = 0; i < amount; i++) { mintTo(msg.sender); } } function transferNFTs(address[] memory targetAccounts, uint16 startTokenId) public onlyOwner { require(startTokenId == totalSupply().add(1), "Wrong token id"); require(targetAccounts.length > 0, "No one to transfer"); for (uint256 k = 0; k < targetAccounts.length; k++) { safeMint(targetAccounts[k]); } } function addAccountsToWhitelist(address[] memory accounts) public onlyOwner { require(accounts.length > 0, "There are not accounts to add"); for (uint256 i = 0; i < accounts.length; i++) { _whitelist[accounts[i]] = true; } } function removeAccountsFromWhitelist(address[] memory accounts) public onlyOwner { require(accounts.length > 0, "There are not accounts to delete"); for (uint256 i = 0; i < accounts.length; i++) { if (whitelistHas(accounts[i])) { delete _whitelist[accounts[i]]; } } } function whitelistHas(address account) public view returns (bool) { return _whitelist[account]; } function whitelistBalanceOf(address account) public view returns (uint256) { return _whitelistBalances[account]; } }
// SPDX-License-Identifier: MIT 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 no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {SafeMath} from "openzeppelin-solidity/contracts/utils/math/SafeMath.sol"; import {EIP712Base} from "./EIP712Base.sol"; contract NativeMetaTransaction is EIP712Base { using SafeMath for uint256; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256( bytes( "MetaTransaction(uint256 nonce,address from,bytes functionSignature)" ) ); event MetaTransactionExecuted( address userAddress, address payable relayerAddress, bytes functionSignature ); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce: nonces[userAddress], from: userAddress, functionSignature: functionSignature }); require( verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match" ); // increase nonce for user (to avoid re-use) nonces[userAddress] = nonces[userAddress].add(1); emit MetaTransactionExecuted( userAddress, payable(msg.sender), functionSignature ); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call( abi.encodePacked(functionSignature, userAddress) ); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode( META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature) ) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover( toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Initializable} from "./Initializable.sol"; contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string constant public ERC712_VERSION = "1"; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256( bytes( "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)" ) ); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contracts that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712( string memory name ) internal initializer { _setDomainSeperator(name); } function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256( abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash) ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and( mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff ) } } else { sender = payable(msg.sender); } return sender; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "openzeppelin-solidity/contracts/token/ERC721/ERC721.sol"; import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "openzeppelin-solidity/contracts/access/Ownable.sol"; import "openzeppelin-solidity/contracts/utils/math/SafeMath.sol"; import "openzeppelin-solidity/contracts/utils/Strings.sol"; import "./common/meta-transactions/ContentMixin.sol"; import "./common/meta-transactions/NativeMetaTransaction.sol"; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } /** * @title ERC721Tradable * ERC721Tradable - ERC721 contract that whitelists a trading address, and has minting functionality. */ abstract contract ERC721Tradable is ContextMixin, ERC721Enumerable, NativeMetaTransaction, Ownable { using SafeMath for uint256; address proxyRegistryAddress; uint256 private _currentTokenId = 0; constructor( string memory _name, string memory _symbol, address _proxyRegistryAddress ) ERC721(_name, _symbol) { proxyRegistryAddress = _proxyRegistryAddress; _initializeEIP712(_name); } /** * @dev Mints a token to an address with a tokenURI. * @param _to address of the future owner of the token */ function mintTo(address _to) public onlyOwner { uint256 newTokenId = _getNextTokenId(); _mint(_to, newTokenId); _incrementTokenId(); } /** * @dev Safely mints a token to an address with a tokenURI. * @param _to address of the future owner of the token */ function safeMint(address _to) internal { uint256 newTokenId = _getNextTokenId(); _safeMint(_to, newTokenId); _incrementTokenId(); } /** * @dev calculates the next token ID based on value of _currentTokenId * @return uint256 for the next token ID */ function _getNextTokenId() private view returns (uint256) { return _currentTokenId.add(1); } /** * @dev increments the value of _currentTokenId */ function _incrementTokenId() private { _currentTokenId++; } function baseTokenURI() virtual public pure returns (string memory); function tokenURI(uint256 _tokenId) override public pure returns (string memory) { return string(abi.encodePacked(baseTokenURI(), Strings.toString(_tokenId))); } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) override public view returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } /** * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea. */ function _msgSender() internal override view returns (address sender) { return ContextMixin.msgSender(); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","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":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"addAccountsToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyPaw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pawSupply","type":"uint256"}],"name":"changePawSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"state","type":"uint8"}],"name":"changeSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSaleState","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintToOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"removeAccountsFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"pure","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":"targetAccounts","type":"address[]"},{"internalType":"uint16","name":"startTokenId","type":"uint16"}],"name":"transferNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"whitelistBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"whitelistBuyPaw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"whitelistHas","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600a60006101000a81548160ff0219169083151502179055506000600f5561283860105566470de4df8200006011556000601260006101000a81548160ff021916908360ff1602179055503480156200005e57600080fd5b50604051620060133803806200601383398181016040528101906200008491906200053d565b6040518060400160405280601281526020017f50415720544845204859504552204c594e5800000000000000000000000000008152506040518060400160405280600481526020017f5054484c0000000000000000000000000000000000000000000000000000000081525082828281600090805190602001906200010b92919062000476565b5080600190805190602001906200012492919062000476565b505050620001476200013b620001a360201b60201c565b620001bf60201b60201c565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000199836200028560201b60201c565b505050506200071a565b6000620001ba6200030760201b620025161760201c565b905090565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600a60009054906101000a900460ff1615620002d8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002cf906200062a565b60405180910390fd5b620002e981620003ba60201b60201c565b6001600a60006101000a81548160ff02191690831515021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415620003b357600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050620003b7565b3390505b90565b6040518060800160405280604f815260200162005fc4604f91398051906020012081805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012030620004316200046960201b60201c565b60001b6040516020016200044a959493929190620005cd565b60405160208183030381529060405280519060200120600b8190555050565b6000804690508091505090565b82805462000484906200069b565b90600052602060002090601f016020900481019282620004a85760008555620004f4565b82601f10620004c357805160ff1916838001178555620004f4565b82800160010185558215620004f4579182015b82811115620004f3578251825591602001919060010190620004d6565b5b50905062000503919062000507565b5090565b5b808211156200052257600081600090555060010162000508565b5090565b600081519050620005378162000700565b92915050565b6000602082840312156200055057600080fd5b6000620005608482850162000526565b91505092915050565b62000574816200065d565b82525050565b620005858162000671565b82525050565b60006200059a600e836200064c565b91507f616c726561647920696e697465640000000000000000000000000000000000006000830152602082019050919050565b600060a082019050620005e460008301886200057a565b620005f360208301876200057a565b6200060260408301866200057a565b62000611606083018562000569565b6200062060808301846200057a565b9695505050505050565b6000602082019050818103600083015262000645816200058b565b9050919050565b600082825260208201905092915050565b60006200066a826200067b565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620006b457607f821691505b60208210811415620006cb57620006ca620006d1565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200070b816200065d565b81146200071757600080fd5b50565b61589a806200072a6000396000f3fe6080604052600436106102305760003560e01c80634f6ccce71161012e578063a2b40d19116100ab578063e8a3d4851161006f578063e8a3d48514610855578063e985e9c514610880578063f2fde38b146108bd578063fc33bb0d146108e6578063fe30cf9a1461090257610230565b8063a2b40d191461075e578063b88d4fde14610787578063ba399dd5146107b0578063c87b56dd146107ed578063d547cfb71461082a57610230565b806376cc269f116100f257806376cc269f1461069a5780638143d8ee146106c35780638da5cb5b146106df57806395d89b411461070a578063a22cb4651461073557610230565b80634f6ccce7146105a35780636352211e146105e057806370a082311461061d578063715018a61461065a578063755edd171461067157610230565b806323b872dd116101bc5780632f745c59116101805780632f745c59146104c05780632f99fe55146104fd5780633408e4701461052657806342842e0e1461055157806348043f0d1461057a57610230565b806323b872dd146103dd578063245dfc141461040657806325bdb2a81461042f57806328d0c5f21461045a5780632d0335ab1461048357610230565b80630c53c51c116102035780630c53c51c146103035780630f7e597014610333578063108d17a31461035e57806318160ddd1461038757806320379ee5146103b257610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613e05565b61093f565b6040516102699190614ce5565b60405180910390f35b34801561027e57600080fd5b506102876109b9565b6040516102949190614dc7565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190613e80565b610a4b565b6040516102d19190614c40565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613d34565b610ad0565b005b61031d60048036038101906103189190613ca5565b610be8565b60405161032a9190614da5565b60405180910390f35b34801561033f57600080fd5b50610348610e5a565b6040516103559190614dc7565b60405180910390f35b34801561036a57600080fd5b5061038560048036038101906103809190613db1565b610e93565b005b34801561039357600080fd5b5061039c611020565b6040516103a99190615209565b60405180910390f35b3480156103be57600080fd5b506103c761102d565b6040516103d49190614d00565b60405180910390f35b3480156103e957600080fd5b5061040460048036038101906103ff9190613b9f565b611037565b005b34801561041257600080fd5b5061042d60048036038101906104289190613d70565b611097565b005b34801561043b57600080fd5b50610444611258565b6040516104519190615224565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c9190613d70565b61126f565b005b34801561048f57600080fd5b506104aa60048036038101906104a59190613b3a565b6113ea565b6040516104b79190615209565b60405180910390f35b3480156104cc57600080fd5b506104e760048036038101906104e29190613d34565b611433565b6040516104f49190615209565b60405180910390f35b34801561050957600080fd5b50610524600480360381019061051f9190613e80565b6114d8565b005b34801561053257600080fd5b5061053b61155e565b6040516105489190615209565b60405180910390f35b34801561055d57600080fd5b5061057860048036038101906105739190613b9f565b61156b565b005b34801561058657600080fd5b506105a1600480360381019061059c9190613e80565b61158b565b005b3480156105af57600080fd5b506105ca60048036038101906105c59190613e80565b611690565b6040516105d79190615209565b60405180910390f35b3480156105ec57600080fd5b5061060760048036038101906106029190613e80565b611727565b6040516106149190614c40565b60405180910390f35b34801561062957600080fd5b50610644600480360381019061063f9190613b3a565b6117d9565b6040516106519190615209565b60405180910390f35b34801561066657600080fd5b5061066f611891565b005b34801561067d57600080fd5b5061069860048036038101906106939190613b3a565b611919565b005b3480156106a657600080fd5b506106c160048036038101906106bc9190613ea9565b6119b7565b005b6106dd60048036038101906106d89190613e80565b611a51565b005b3480156106eb57600080fd5b506106f4611d18565b6040516107019190614c40565b60405180910390f35b34801561071657600080fd5b5061071f611d42565b60405161072c9190614dc7565b60405180910390f35b34801561074157600080fd5b5061075c60048036038101906107579190613c69565b611dd4565b005b34801561076a57600080fd5b5061078560048036038101906107809190613e80565b611f55565b005b34801561079357600080fd5b506107ae60048036038101906107a99190613bee565b611fdb565b005b3480156107bc57600080fd5b506107d760048036038101906107d29190613b3a565b61203d565b6040516107e49190614ce5565b60405180910390f35b3480156107f957600080fd5b50610814600480360381019061080f9190613e80565b612093565b6040516108219190614dc7565b60405180910390f35b34801561083657600080fd5b5061083f6120cd565b60405161084c9190614dc7565b60405180910390f35b34801561086157600080fd5b5061086a6120ed565b6040516108779190614dc7565b60405180910390f35b34801561088c57600080fd5b506108a760048036038101906108a29190613b63565b61210d565b6040516108b49190614ce5565b60405180910390f35b3480156108c957600080fd5b506108e460048036038101906108df9190613b3a565b61220f565b005b61090060048036038101906108fb9190613e80565b612307565b005b34801561090e57600080fd5b5061092960048036038101906109249190613b3a565b6124cd565b6040516109369190615209565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b257506109b1826125c7565b5b9050919050565b6060600080546109c89061552e565b80601f01602080910402602001604051908101604052809291908181526020018280546109f49061552e565b8015610a415780601f10610a1657610100808354040283529160200191610a41565b820191906000526020600020905b815481529060010190602001808311610a2457829003601f168201915b5050505050905090565b6000610a56826126a9565b610a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8c90615029565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610adb82611727565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b43906150e9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6b612715565b73ffffffffffffffffffffffffffffffffffffffff161480610b9a5750610b9981610b94612715565b61210d565b5b610bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd090614f89565b60405180910390fd5b610be38383612724565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610c6b87828787876127dd565b610caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca1906150a9565b60405180910390fd5b610cfd6001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128e690919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610d7393929190614c5b565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610da8929190614bbd565b604051602081830303815290604052604051610dc49190614ba6565b6000604051808303816000865af19150503d8060008114610e01576040519150601f19603f3d011682016040523d82523d6000602084013e610e06565b606091505b509150915081610e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4290614e49565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b610e9b612715565b73ffffffffffffffffffffffffffffffffffffffff16610eb9611d18565b73ffffffffffffffffffffffffffffffffffffffff1614610f0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0690615069565b60405180910390fd5b610f2a6001610f1c611020565b6128e690919063ffffffff16565b8161ffff1614610f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6690615049565b60405180910390fd5b6000825111610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa90615189565b60405180910390fd5b60005b825181101561101b57611008838281518110610ffb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516128fc565b808061101390615560565b915050610fb6565b505050565b6000600880549050905090565b6000600b54905090565b611048611042612715565b8261291e565b611087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107e90615149565b60405180910390fd5b6110928383836129fc565b505050565b61109f612715565b73ffffffffffffffffffffffffffffffffffffffff166110bd611d18565b73ffffffffffffffffffffffffffffffffffffffff1614611113576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110a90615069565b60405180910390fd5b6000815111611157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114e90614ee9565b60405180910390fd5b60005b8151811015611254576111ac82828151811061119f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161203d565b1561124157601360008383815181106111ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690555b808061124c90615560565b91505061115a565b5050565b6000601260009054906101000a900460ff16905090565b611277612715565b73ffffffffffffffffffffffffffffffffffffffff16611295611d18565b73ffffffffffffffffffffffffffffffffffffffff16146112eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e290615069565b60405180910390fd5b600081511161132f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611326906151c9565b60405180910390fd5b60005b81518110156113e65760016013600084848151811061137a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806113de90615560565b915050611332565b5050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600061143e836117d9565b821061147f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147690614de9565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6114e0612715565b73ffffffffffffffffffffffffffffffffffffffff166114fe611d18565b73ffffffffffffffffffffffffffffffffffffffff1614611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90615069565b60405180910390fd5b8060108190555050565b6000804690508091505090565b61158683838360405180602001604052806000815250611fdb565b505050565b611593612715565b73ffffffffffffffffffffffffffffffffffffffff166115b1611d18565b73ffffffffffffffffffffffffffffffffffffffff1614611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90615069565b60405180910390fd5b60105461162482611616611020565b6128e690919063ffffffff16565b1115611665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165c90614f29565b60405180910390fd5b60005b8181101561168c5761167933611919565b808061168490615560565b915050611668565b5050565b600061169a611020565b82106116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d290615169565b60405180910390fd5b60088281548110611715577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c790614fc9565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184190614fa9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611899612715565b73ffffffffffffffffffffffffffffffffffffffff166118b7611d18565b73ffffffffffffffffffffffffffffffffffffffff161461190d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190490615069565b60405180910390fd5b6119176000612c58565b565b611921612715565b73ffffffffffffffffffffffffffffffffffffffff1661193f611d18565b73ffffffffffffffffffffffffffffffffffffffff1614611995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198c90615069565b60405180910390fd5b600061199f612d1e565b90506119ab8282612d3b565b6119b3612f09565b5050565b6119bf612715565b73ffffffffffffffffffffffffffffffffffffffff166119dd611d18565b73ffffffffffffffffffffffffffffffffffffffff1614611a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2a90615069565b60405180910390fd5b80601260006101000a81548160ff021916908360ff16021790555050565b6001601260009054906101000a900460ff1660ff1614611aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9d90615129565b60405180910390fd5b6000611ab1336124cd565b905060028110611af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed90614fe9565b60405180910390fd5b6002611b0b83836128e690919063ffffffff16565b1115611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4390614f09565b60405180910390fd5b601054611b6983611b5b611020565b6128e690919063ffffffff16565b1115611baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba1906150c9565b60405180910390fd5b81601154611bb891906153a1565b341015611bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf1906151a9565b60405180910390fd5b611c033361203d565b611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3990615109565b60405180910390fd5b6000611c4c611d18565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611c94573d6000803e3d6000fd5b5082601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ce4919061531a565b9250508190555060005b83811015611d1257611cff336128fc565b8080611d0a90615560565b915050611cee565b50505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611d519061552e565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7d9061552e565b8015611dca5780601f10611d9f57610100808354040283529160200191611dca565b820191906000526020600020905b815481529060010190602001808311611dad57829003601f168201915b5050505050905090565b611ddc612715565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4190614ec9565b60405180910390fd5b8060056000611e57612715565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f04612715565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f499190614ce5565b60405180910390a35050565b611f5d612715565b73ffffffffffffffffffffffffffffffffffffffff16611f7b611d18565b73ffffffffffffffffffffffffffffffffffffffff1614611fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc890615069565b60405180910390fd5b8060118190555050565b611fec611fe6612715565b8361291e565b61202b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202290615149565b60405180910390fd5b61203784848484612f23565b50505050565b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b606061209d6120cd565b6120a683612f7f565b6040516020016120b7929190614be5565b6040516020818303038152906040529050919050565b60606040518060800160405280604481526020016157de60449139905090565b606060405180608001604052806043815260200161582260439139905090565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016121859190614c40565b60206040518083038186803b15801561219d57600080fd5b505afa1580156121b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d59190613e57565b73ffffffffffffffffffffffffffffffffffffffff1614156121fb576001915050612209565b612205848461312c565b9150505b92915050565b612217612715565b73ffffffffffffffffffffffffffffffffffffffff16612235611d18565b73ffffffffffffffffffffffffffffffffffffffff161461228b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228290615069565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f290614e29565b60405180910390fd5b61230481612c58565b50565b6002601260009054906101000a900460ff1660ff161461235c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235390614e89565b60405180910390fd5b60148111156123a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612397906151e9565b60405180910390fd5b6010546123bd826123af611020565b6128e690919063ffffffff16565b11156123fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f5906150c9565b60405180910390fd5b8060115461240c91906153a1565b34101561244e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612445906151a9565b60405180910390fd5b6000612458611d18565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156124a0573d6000803e3d6000fd5b5060005b828110156124c8576124b5336128fc565b80806124c090615560565b9150506124a4565b505050565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156125c057600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506125c4565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061269257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806126a257506126a1826131c0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061271f612516565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661279783611727565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561284e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284590614f69565b60405180910390fd5b600161286161285c8761322a565b613292565b838686604051600081526020016040526040516128819493929190614d60565b6020604051602081039080840390855afa1580156128a3573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836128f4919061531a565b905092915050565b6000612906612d1e565b905061291282826132cb565b61291a612f09565b5050565b6000612929826126a9565b612968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295f90614f49565b60405180910390fd5b600061297383611727565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129e257508373ffffffffffffffffffffffffffffffffffffffff166129ca84610a4b565b73ffffffffffffffffffffffffffffffffffffffff16145b806129f357506129f2818561210d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a1c82611727565b73ffffffffffffffffffffffffffffffffffffffff1614612a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6990615089565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ae2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad990614ea9565b60405180910390fd5b612aed8383836132e9565b612af8600082612724565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b4891906153fb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b9f919061531a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612d366001600f546128e690919063ffffffff16565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da290615009565b60405180910390fd5b612db4816126a9565b15612df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612deb90614e69565b60405180910390fd5b612e00600083836132e9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e50919061531a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600f6000815480929190612f1c90615560565b9190505550565b612f2e8484846129fc565b612f3a848484846133fd565b612f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7090614e09565b60405180910390fd5b50505050565b60606000821415612fc7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613127565b600082905060005b60008214612ff9578080612fe290615560565b915050600a82612ff29190615370565b9150612fcf565b60008167ffffffffffffffff81111561303b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561306d5781602001600182028036833780820191505090505b5090505b600085146131205760018261308691906153fb565b9150600a8561309591906155d7565b60306130a1919061531a565b60f81b8183815181106130dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131199190615370565b9450613071565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060405180608001604052806043815260200161579b6043913980519060200120826000015183602001518460400151805190602001206040516020016132759493929190614d1b565b604051602081830303815290604052805190602001209050919050565b600061329c61102d565b826040516020016132ae929190614c09565b604051602081830303815290604052805190602001209050919050565b6132e5828260405180602001604052806000815250613594565b5050565b6132f48383836135ef565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561333757613332816135f4565b613376565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461337557613374838261363d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133b9576133b4816137aa565b6133f8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146133f7576133f682826138ed565b5b5b505050565b600061341e8473ffffffffffffffffffffffffffffffffffffffff1661396c565b15613587578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613447612715565b8786866040518563ffffffff1660e01b81526004016134699493929190614c99565b602060405180830381600087803b15801561348357600080fd5b505af19250505080156134b457506040513d601f19601f820116820180604052508101906134b19190613e2e565b60015b613537573d80600081146134e4576040519150601f19603f3d011682016040523d82523d6000602084013e6134e9565b606091505b5060008151141561352f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352690614e09565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061358c565b600190505b949350505050565b61359e8383612d3b565b6135ab60008484846133fd565b6135ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e190614e09565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161364a846117d9565b61365491906153fb565b9050600060076000848152602001908152602001600020549050818114613739576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506137be91906153fb565b9050600060096000848152602001908152602001600020549050600060088381548110613814577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061385c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806138d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006138f8836117d9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600061399261398d84615270565b61523f565b905080838252602082019050828560208602820111156139b157600080fd5b60005b858110156139e157816139c78882613a29565b8452602084019350602083019250506001810190506139b4565b5050509392505050565b60006139fe6139f98461529c565b61523f565b905082815260208101848484011115613a1657600080fd5b613a218482856154ec565b509392505050565b600081359050613a38816156e2565b92915050565b600082601f830112613a4f57600080fd5b8135613a5f84826020860161397f565b91505092915050565b600081359050613a77816156f9565b92915050565b600081359050613a8c81615710565b92915050565b600081359050613aa181615727565b92915050565b600081519050613ab681615727565b92915050565b600082601f830112613acd57600080fd5b8135613add8482602086016139eb565b91505092915050565b600081519050613af58161573e565b92915050565b600081359050613b0a81615755565b92915050565b600081359050613b1f8161576c565b92915050565b600081359050613b3481615783565b92915050565b600060208284031215613b4c57600080fd5b6000613b5a84828501613a29565b91505092915050565b60008060408385031215613b7657600080fd5b6000613b8485828601613a29565b9250506020613b9585828601613a29565b9150509250929050565b600080600060608486031215613bb457600080fd5b6000613bc286828701613a29565b9350506020613bd386828701613a29565b9250506040613be486828701613b10565b9150509250925092565b60008060008060808587031215613c0457600080fd5b6000613c1287828801613a29565b9450506020613c2387828801613a29565b9350506040613c3487828801613b10565b925050606085013567ffffffffffffffff811115613c5157600080fd5b613c5d87828801613abc565b91505092959194509250565b60008060408385031215613c7c57600080fd5b6000613c8a85828601613a29565b9250506020613c9b85828601613a68565b9150509250929050565b600080600080600060a08688031215613cbd57600080fd5b6000613ccb88828901613a29565b955050602086013567ffffffffffffffff811115613ce857600080fd5b613cf488828901613abc565b9450506040613d0588828901613a7d565b9350506060613d1688828901613a7d565b9250506080613d2788828901613b25565b9150509295509295909350565b60008060408385031215613d4757600080fd5b6000613d5585828601613a29565b9250506020613d6685828601613b10565b9150509250929050565b600060208284031215613d8257600080fd5b600082013567ffffffffffffffff811115613d9c57600080fd5b613da884828501613a3e565b91505092915050565b60008060408385031215613dc457600080fd5b600083013567ffffffffffffffff811115613dde57600080fd5b613dea85828601613a3e565b9250506020613dfb85828601613afb565b9150509250929050565b600060208284031215613e1757600080fd5b6000613e2584828501613a92565b91505092915050565b600060208284031215613e4057600080fd5b6000613e4e84828501613aa7565b91505092915050565b600060208284031215613e6957600080fd5b6000613e7784828501613ae6565b91505092915050565b600060208284031215613e9257600080fd5b6000613ea084828501613b10565b91505092915050565b600060208284031215613ebb57600080fd5b6000613ec984828501613b25565b91505092915050565b613edb81615441565b82525050565b613eea8161542f565b82525050565b613f01613efc8261542f565b6155a9565b82525050565b613f1081615453565b82525050565b613f1f8161545f565b82525050565b613f36613f318261545f565b6155bb565b82525050565b6000613f47826152cc565b613f5181856152e2565b9350613f618185602086016154fb565b613f6a816156c4565b840191505092915050565b6000613f80826152cc565b613f8a81856152f3565b9350613f9a8185602086016154fb565b80840191505092915050565b6000613fb1826152d7565b613fbb81856152fe565b9350613fcb8185602086016154fb565b613fd4816156c4565b840191505092915050565b6000613fea826152d7565b613ff4818561530f565b93506140048185602086016154fb565b80840191505092915050565b600061401d602b836152fe565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006140836032836152fe565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006140e96026836152fe565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061414f601c836152fe565b91507f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006000830152602082019050919050565b600061418f601c836152fe565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006141cf6015836152fe565b91507f49742773206e6f74207075626c69632073616c657300000000000000000000006000830152602082019050919050565b600061420f60028361530f565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b600061424f6024836152fe565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142b56019836152fe565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006142f56020836152fe565b91507f546865726520617265206e6f74206163636f756e747320746f2064656c6574656000830152602082019050919050565b60006143356021836152fe565b91507f74686973206163636f756e7420627579206d6f7265207468616e2032204e465460008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061439b6024836152fe565b91507f4d696e7420776f756c6420657863656564206d617820737570706c79206f662060008301527f50617773000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614401602c836152fe565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006144676025836152fe565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008301527f49474e45520000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144cd6038836152fe565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614533602a836152fe565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006145996029836152fe565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006145ff6021836152fe565b91507f54686973206163636f756e7420686173206d6f7265207468616e2032204e465460008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146656020836152fe565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006146a5602c836152fe565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061470b600e836152fe565b91507f57726f6e6720746f6b656e2069640000000000000000000000000000000000006000830152602082019050919050565b600061474b6020836152fe565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061478b6029836152fe565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006147f16021836152fe565b91507f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008301527f68000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006148576028836152fe565b91507f507572636861736520776f756c6420657863656564206d617820737570706c7960008301527f206f6620506177730000000000000000000000000000000000000000000000006020830152604082019050919050565b60006148bd6021836152fe565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614923601d836152fe565b91507f54686973206163636f756e74206973206e6f7420617661696c61626c650000006000830152602082019050919050565b60006149636016836152fe565b91507f49742773206e6f7420707269766174652073616c6573000000000000000000006000830152602082019050919050565b60006149a36031836152fe565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614a09602c836152fe565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614a6f6012836152fe565b91507f4e6f206f6e6520746f207472616e7366657200000000000000000000000000006000830152602082019050919050565b6000614aaf601e836152fe565b91507f496e73756666696369656e742066756e647320746f20707572636861736500006000830152602082019050919050565b6000614aef601d836152fe565b91507f546865726520617265206e6f74206163636f756e747320746f206164640000006000830152602082019050919050565b6000614b2f6021836152fe565b91507f596f752063616e206e6f7420627579206d6f7265207468616e2032302050617760008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b614b91816154d5565b82525050565b614ba0816154df565b82525050565b6000614bb28284613f75565b915081905092915050565b6000614bc98285613f75565b9150614bd58284613ef0565b6014820191508190509392505050565b6000614bf18285613fdf565b9150614bfd8284613fdf565b91508190509392505050565b6000614c1482614202565b9150614c208285613f25565b602082019150614c308284613f25565b6020820191508190509392505050565b6000602082019050614c556000830184613ee1565b92915050565b6000606082019050614c706000830186613ee1565b614c7d6020830185613ed2565b8181036040830152614c8f8184613f3c565b9050949350505050565b6000608082019050614cae6000830187613ee1565b614cbb6020830186613ee1565b614cc86040830185614b88565b8181036060830152614cda8184613f3c565b905095945050505050565b6000602082019050614cfa6000830184613f07565b92915050565b6000602082019050614d156000830184613f16565b92915050565b6000608082019050614d306000830187613f16565b614d3d6020830186614b88565b614d4a6040830185613ee1565b614d576060830184613f16565b95945050505050565b6000608082019050614d756000830187613f16565b614d826020830186614b97565b614d8f6040830185613f16565b614d9c6060830184613f16565b95945050505050565b60006020820190508181036000830152614dbf8184613f3c565b905092915050565b60006020820190508181036000830152614de18184613fa6565b905092915050565b60006020820190508181036000830152614e0281614010565b9050919050565b60006020820190508181036000830152614e2281614076565b9050919050565b60006020820190508181036000830152614e42816140dc565b9050919050565b60006020820190508181036000830152614e6281614142565b9050919050565b60006020820190508181036000830152614e8281614182565b9050919050565b60006020820190508181036000830152614ea2816141c2565b9050919050565b60006020820190508181036000830152614ec281614242565b9050919050565b60006020820190508181036000830152614ee2816142a8565b9050919050565b60006020820190508181036000830152614f02816142e8565b9050919050565b60006020820190508181036000830152614f2281614328565b9050919050565b60006020820190508181036000830152614f428161438e565b9050919050565b60006020820190508181036000830152614f62816143f4565b9050919050565b60006020820190508181036000830152614f828161445a565b9050919050565b60006020820190508181036000830152614fa2816144c0565b9050919050565b60006020820190508181036000830152614fc281614526565b9050919050565b60006020820190508181036000830152614fe28161458c565b9050919050565b60006020820190508181036000830152615002816145f2565b9050919050565b6000602082019050818103600083015261502281614658565b9050919050565b6000602082019050818103600083015261504281614698565b9050919050565b60006020820190508181036000830152615062816146fe565b9050919050565b600060208201905081810360008301526150828161473e565b9050919050565b600060208201905081810360008301526150a28161477e565b9050919050565b600060208201905081810360008301526150c2816147e4565b9050919050565b600060208201905081810360008301526150e28161484a565b9050919050565b60006020820190508181036000830152615102816148b0565b9050919050565b6000602082019050818103600083015261512281614916565b9050919050565b6000602082019050818103600083015261514281614956565b9050919050565b6000602082019050818103600083015261516281614996565b9050919050565b60006020820190508181036000830152615182816149fc565b9050919050565b600060208201905081810360008301526151a281614a62565b9050919050565b600060208201905081810360008301526151c281614aa2565b9050919050565b600060208201905081810360008301526151e281614ae2565b9050919050565b6000602082019050818103600083015261520281614b22565b9050919050565b600060208201905061521e6000830184614b88565b92915050565b60006020820190506152396000830184614b97565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561526657615265615695565b5b8060405250919050565b600067ffffffffffffffff82111561528b5761528a615695565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156152b7576152b6615695565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615325826154d5565b9150615330836154d5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561536557615364615608565b5b828201905092915050565b600061537b826154d5565b9150615386836154d5565b92508261539657615395615637565b5b828204905092915050565b60006153ac826154d5565b91506153b7836154d5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153f0576153ef615608565b5b828202905092915050565b6000615406826154d5565b9150615411836154d5565b92508282101561542457615423615608565b5b828203905092915050565b600061543a826154b5565b9050919050565b600061544c826154b5565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006154a08261542f565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156155195780820151818401526020810190506154fe565b83811115615528576000848401525b50505050565b6000600282049050600182168061554657607f821691505b6020821081141561555a57615559615666565b5b50919050565b600061556b826154d5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561559e5761559d615608565b5b600182019050919050565b60006155b4826155c5565b9050919050565b6000819050919050565b60006155d0826156d5565b9050919050565b60006155e2826154d5565b91506155ed836154d5565b9250826155fd576155fc615637565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b6156eb8161542f565b81146156f657600080fd5b50565b61570281615453565b811461570d57600080fd5b50565b6157198161545f565b811461572457600080fd5b50565b61573081615469565b811461573b57600080fd5b50565b61574781615495565b811461575257600080fd5b50565b61575e816154a7565b811461576957600080fd5b50565b615775816154d5565b811461578057600080fd5b50565b61578c816154df565b811461579757600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652968747470733a2f2f697066732e696f2f697066732f516d53613535347a73755a4b64784c5754684c554d39327437414a624775786432336e7659326432746e624b636a2f68747470733a2f2f697066732e696f2f697066732f516d55764754674a59794b687265474b4a62317869387a70595a6d7267523838464334776976507a364a664d666fa2646970667358221220e56285a0b2d001b3b11c8b8e0da2a5ef9301ca68748546f8eb9f61b5e889f9fd64736f6c63430008000033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode
0x6080604052600436106102305760003560e01c80634f6ccce71161012e578063a2b40d19116100ab578063e8a3d4851161006f578063e8a3d48514610855578063e985e9c514610880578063f2fde38b146108bd578063fc33bb0d146108e6578063fe30cf9a1461090257610230565b8063a2b40d191461075e578063b88d4fde14610787578063ba399dd5146107b0578063c87b56dd146107ed578063d547cfb71461082a57610230565b806376cc269f116100f257806376cc269f1461069a5780638143d8ee146106c35780638da5cb5b146106df57806395d89b411461070a578063a22cb4651461073557610230565b80634f6ccce7146105a35780636352211e146105e057806370a082311461061d578063715018a61461065a578063755edd171461067157610230565b806323b872dd116101bc5780632f745c59116101805780632f745c59146104c05780632f99fe55146104fd5780633408e4701461052657806342842e0e1461055157806348043f0d1461057a57610230565b806323b872dd146103dd578063245dfc141461040657806325bdb2a81461042f57806328d0c5f21461045a5780632d0335ab1461048357610230565b80630c53c51c116102035780630c53c51c146103035780630f7e597014610333578063108d17a31461035e57806318160ddd1461038757806320379ee5146103b257610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613e05565b61093f565b6040516102699190614ce5565b60405180910390f35b34801561027e57600080fd5b506102876109b9565b6040516102949190614dc7565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190613e80565b610a4b565b6040516102d19190614c40565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613d34565b610ad0565b005b61031d60048036038101906103189190613ca5565b610be8565b60405161032a9190614da5565b60405180910390f35b34801561033f57600080fd5b50610348610e5a565b6040516103559190614dc7565b60405180910390f35b34801561036a57600080fd5b5061038560048036038101906103809190613db1565b610e93565b005b34801561039357600080fd5b5061039c611020565b6040516103a99190615209565b60405180910390f35b3480156103be57600080fd5b506103c761102d565b6040516103d49190614d00565b60405180910390f35b3480156103e957600080fd5b5061040460048036038101906103ff9190613b9f565b611037565b005b34801561041257600080fd5b5061042d60048036038101906104289190613d70565b611097565b005b34801561043b57600080fd5b50610444611258565b6040516104519190615224565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c9190613d70565b61126f565b005b34801561048f57600080fd5b506104aa60048036038101906104a59190613b3a565b6113ea565b6040516104b79190615209565b60405180910390f35b3480156104cc57600080fd5b506104e760048036038101906104e29190613d34565b611433565b6040516104f49190615209565b60405180910390f35b34801561050957600080fd5b50610524600480360381019061051f9190613e80565b6114d8565b005b34801561053257600080fd5b5061053b61155e565b6040516105489190615209565b60405180910390f35b34801561055d57600080fd5b5061057860048036038101906105739190613b9f565b61156b565b005b34801561058657600080fd5b506105a1600480360381019061059c9190613e80565b61158b565b005b3480156105af57600080fd5b506105ca60048036038101906105c59190613e80565b611690565b6040516105d79190615209565b60405180910390f35b3480156105ec57600080fd5b5061060760048036038101906106029190613e80565b611727565b6040516106149190614c40565b60405180910390f35b34801561062957600080fd5b50610644600480360381019061063f9190613b3a565b6117d9565b6040516106519190615209565b60405180910390f35b34801561066657600080fd5b5061066f611891565b005b34801561067d57600080fd5b5061069860048036038101906106939190613b3a565b611919565b005b3480156106a657600080fd5b506106c160048036038101906106bc9190613ea9565b6119b7565b005b6106dd60048036038101906106d89190613e80565b611a51565b005b3480156106eb57600080fd5b506106f4611d18565b6040516107019190614c40565b60405180910390f35b34801561071657600080fd5b5061071f611d42565b60405161072c9190614dc7565b60405180910390f35b34801561074157600080fd5b5061075c60048036038101906107579190613c69565b611dd4565b005b34801561076a57600080fd5b5061078560048036038101906107809190613e80565b611f55565b005b34801561079357600080fd5b506107ae60048036038101906107a99190613bee565b611fdb565b005b3480156107bc57600080fd5b506107d760048036038101906107d29190613b3a565b61203d565b6040516107e49190614ce5565b60405180910390f35b3480156107f957600080fd5b50610814600480360381019061080f9190613e80565b612093565b6040516108219190614dc7565b60405180910390f35b34801561083657600080fd5b5061083f6120cd565b60405161084c9190614dc7565b60405180910390f35b34801561086157600080fd5b5061086a6120ed565b6040516108779190614dc7565b60405180910390f35b34801561088c57600080fd5b506108a760048036038101906108a29190613b63565b61210d565b6040516108b49190614ce5565b60405180910390f35b3480156108c957600080fd5b506108e460048036038101906108df9190613b3a565b61220f565b005b61090060048036038101906108fb9190613e80565b612307565b005b34801561090e57600080fd5b5061092960048036038101906109249190613b3a565b6124cd565b6040516109369190615209565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b257506109b1826125c7565b5b9050919050565b6060600080546109c89061552e565b80601f01602080910402602001604051908101604052809291908181526020018280546109f49061552e565b8015610a415780601f10610a1657610100808354040283529160200191610a41565b820191906000526020600020905b815481529060010190602001808311610a2457829003601f168201915b5050505050905090565b6000610a56826126a9565b610a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8c90615029565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610adb82611727565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b43906150e9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6b612715565b73ffffffffffffffffffffffffffffffffffffffff161480610b9a5750610b9981610b94612715565b61210d565b5b610bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd090614f89565b60405180910390fd5b610be38383612724565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610c6b87828787876127dd565b610caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca1906150a9565b60405180910390fd5b610cfd6001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128e690919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610d7393929190614c5b565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610da8929190614bbd565b604051602081830303815290604052604051610dc49190614ba6565b6000604051808303816000865af19150503d8060008114610e01576040519150601f19603f3d011682016040523d82523d6000602084013e610e06565b606091505b509150915081610e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4290614e49565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b610e9b612715565b73ffffffffffffffffffffffffffffffffffffffff16610eb9611d18565b73ffffffffffffffffffffffffffffffffffffffff1614610f0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0690615069565b60405180910390fd5b610f2a6001610f1c611020565b6128e690919063ffffffff16565b8161ffff1614610f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6690615049565b60405180910390fd5b6000825111610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa90615189565b60405180910390fd5b60005b825181101561101b57611008838281518110610ffb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516128fc565b808061101390615560565b915050610fb6565b505050565b6000600880549050905090565b6000600b54905090565b611048611042612715565b8261291e565b611087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107e90615149565b60405180910390fd5b6110928383836129fc565b505050565b61109f612715565b73ffffffffffffffffffffffffffffffffffffffff166110bd611d18565b73ffffffffffffffffffffffffffffffffffffffff1614611113576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110a90615069565b60405180910390fd5b6000815111611157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114e90614ee9565b60405180910390fd5b60005b8151811015611254576111ac82828151811061119f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161203d565b1561124157601360008383815181106111ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690555b808061124c90615560565b91505061115a565b5050565b6000601260009054906101000a900460ff16905090565b611277612715565b73ffffffffffffffffffffffffffffffffffffffff16611295611d18565b73ffffffffffffffffffffffffffffffffffffffff16146112eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e290615069565b60405180910390fd5b600081511161132f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611326906151c9565b60405180910390fd5b60005b81518110156113e65760016013600084848151811061137a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806113de90615560565b915050611332565b5050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600061143e836117d9565b821061147f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147690614de9565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6114e0612715565b73ffffffffffffffffffffffffffffffffffffffff166114fe611d18565b73ffffffffffffffffffffffffffffffffffffffff1614611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90615069565b60405180910390fd5b8060108190555050565b6000804690508091505090565b61158683838360405180602001604052806000815250611fdb565b505050565b611593612715565b73ffffffffffffffffffffffffffffffffffffffff166115b1611d18565b73ffffffffffffffffffffffffffffffffffffffff1614611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90615069565b60405180910390fd5b60105461162482611616611020565b6128e690919063ffffffff16565b1115611665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165c90614f29565b60405180910390fd5b60005b8181101561168c5761167933611919565b808061168490615560565b915050611668565b5050565b600061169a611020565b82106116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d290615169565b60405180910390fd5b60088281548110611715577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c790614fc9565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184190614fa9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611899612715565b73ffffffffffffffffffffffffffffffffffffffff166118b7611d18565b73ffffffffffffffffffffffffffffffffffffffff161461190d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190490615069565b60405180910390fd5b6119176000612c58565b565b611921612715565b73ffffffffffffffffffffffffffffffffffffffff1661193f611d18565b73ffffffffffffffffffffffffffffffffffffffff1614611995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198c90615069565b60405180910390fd5b600061199f612d1e565b90506119ab8282612d3b565b6119b3612f09565b5050565b6119bf612715565b73ffffffffffffffffffffffffffffffffffffffff166119dd611d18565b73ffffffffffffffffffffffffffffffffffffffff1614611a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2a90615069565b60405180910390fd5b80601260006101000a81548160ff021916908360ff16021790555050565b6001601260009054906101000a900460ff1660ff1614611aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9d90615129565b60405180910390fd5b6000611ab1336124cd565b905060028110611af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed90614fe9565b60405180910390fd5b6002611b0b83836128e690919063ffffffff16565b1115611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4390614f09565b60405180910390fd5b601054611b6983611b5b611020565b6128e690919063ffffffff16565b1115611baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba1906150c9565b60405180910390fd5b81601154611bb891906153a1565b341015611bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf1906151a9565b60405180910390fd5b611c033361203d565b611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3990615109565b60405180910390fd5b6000611c4c611d18565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611c94573d6000803e3d6000fd5b5082601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ce4919061531a565b9250508190555060005b83811015611d1257611cff336128fc565b8080611d0a90615560565b915050611cee565b50505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611d519061552e565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7d9061552e565b8015611dca5780601f10611d9f57610100808354040283529160200191611dca565b820191906000526020600020905b815481529060010190602001808311611dad57829003601f168201915b5050505050905090565b611ddc612715565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4190614ec9565b60405180910390fd5b8060056000611e57612715565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f04612715565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f499190614ce5565b60405180910390a35050565b611f5d612715565b73ffffffffffffffffffffffffffffffffffffffff16611f7b611d18565b73ffffffffffffffffffffffffffffffffffffffff1614611fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc890615069565b60405180910390fd5b8060118190555050565b611fec611fe6612715565b8361291e565b61202b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202290615149565b60405180910390fd5b61203784848484612f23565b50505050565b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b606061209d6120cd565b6120a683612f7f565b6040516020016120b7929190614be5565b6040516020818303038152906040529050919050565b60606040518060800160405280604481526020016157de60449139905090565b606060405180608001604052806043815260200161582260439139905090565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016121859190614c40565b60206040518083038186803b15801561219d57600080fd5b505afa1580156121b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d59190613e57565b73ffffffffffffffffffffffffffffffffffffffff1614156121fb576001915050612209565b612205848461312c565b9150505b92915050565b612217612715565b73ffffffffffffffffffffffffffffffffffffffff16612235611d18565b73ffffffffffffffffffffffffffffffffffffffff161461228b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228290615069565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f290614e29565b60405180910390fd5b61230481612c58565b50565b6002601260009054906101000a900460ff1660ff161461235c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235390614e89565b60405180910390fd5b60148111156123a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612397906151e9565b60405180910390fd5b6010546123bd826123af611020565b6128e690919063ffffffff16565b11156123fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f5906150c9565b60405180910390fd5b8060115461240c91906153a1565b34101561244e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612445906151a9565b60405180910390fd5b6000612458611d18565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156124a0573d6000803e3d6000fd5b5060005b828110156124c8576124b5336128fc565b80806124c090615560565b9150506124a4565b505050565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156125c057600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506125c4565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061269257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806126a257506126a1826131c0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061271f612516565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661279783611727565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561284e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284590614f69565b60405180910390fd5b600161286161285c8761322a565b613292565b838686604051600081526020016040526040516128819493929190614d60565b6020604051602081039080840390855afa1580156128a3573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836128f4919061531a565b905092915050565b6000612906612d1e565b905061291282826132cb565b61291a612f09565b5050565b6000612929826126a9565b612968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295f90614f49565b60405180910390fd5b600061297383611727565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129e257508373ffffffffffffffffffffffffffffffffffffffff166129ca84610a4b565b73ffffffffffffffffffffffffffffffffffffffff16145b806129f357506129f2818561210d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a1c82611727565b73ffffffffffffffffffffffffffffffffffffffff1614612a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6990615089565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ae2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad990614ea9565b60405180910390fd5b612aed8383836132e9565b612af8600082612724565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b4891906153fb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b9f919061531a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612d366001600f546128e690919063ffffffff16565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da290615009565b60405180910390fd5b612db4816126a9565b15612df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612deb90614e69565b60405180910390fd5b612e00600083836132e9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e50919061531a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600f6000815480929190612f1c90615560565b9190505550565b612f2e8484846129fc565b612f3a848484846133fd565b612f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7090614e09565b60405180910390fd5b50505050565b60606000821415612fc7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613127565b600082905060005b60008214612ff9578080612fe290615560565b915050600a82612ff29190615370565b9150612fcf565b60008167ffffffffffffffff81111561303b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561306d5781602001600182028036833780820191505090505b5090505b600085146131205760018261308691906153fb565b9150600a8561309591906155d7565b60306130a1919061531a565b60f81b8183815181106130dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131199190615370565b9450613071565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060405180608001604052806043815260200161579b6043913980519060200120826000015183602001518460400151805190602001206040516020016132759493929190614d1b565b604051602081830303815290604052805190602001209050919050565b600061329c61102d565b826040516020016132ae929190614c09565b604051602081830303815290604052805190602001209050919050565b6132e5828260405180602001604052806000815250613594565b5050565b6132f48383836135ef565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561333757613332816135f4565b613376565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461337557613374838261363d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133b9576133b4816137aa565b6133f8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146133f7576133f682826138ed565b5b5b505050565b600061341e8473ffffffffffffffffffffffffffffffffffffffff1661396c565b15613587578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613447612715565b8786866040518563ffffffff1660e01b81526004016134699493929190614c99565b602060405180830381600087803b15801561348357600080fd5b505af19250505080156134b457506040513d601f19601f820116820180604052508101906134b19190613e2e565b60015b613537573d80600081146134e4576040519150601f19603f3d011682016040523d82523d6000602084013e6134e9565b606091505b5060008151141561352f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352690614e09565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061358c565b600190505b949350505050565b61359e8383612d3b565b6135ab60008484846133fd565b6135ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e190614e09565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161364a846117d9565b61365491906153fb565b9050600060076000848152602001908152602001600020549050818114613739576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506137be91906153fb565b9050600060096000848152602001908152602001600020549050600060088381548110613814577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061385c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806138d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006138f8836117d9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600061399261398d84615270565b61523f565b905080838252602082019050828560208602820111156139b157600080fd5b60005b858110156139e157816139c78882613a29565b8452602084019350602083019250506001810190506139b4565b5050509392505050565b60006139fe6139f98461529c565b61523f565b905082815260208101848484011115613a1657600080fd5b613a218482856154ec565b509392505050565b600081359050613a38816156e2565b92915050565b600082601f830112613a4f57600080fd5b8135613a5f84826020860161397f565b91505092915050565b600081359050613a77816156f9565b92915050565b600081359050613a8c81615710565b92915050565b600081359050613aa181615727565b92915050565b600081519050613ab681615727565b92915050565b600082601f830112613acd57600080fd5b8135613add8482602086016139eb565b91505092915050565b600081519050613af58161573e565b92915050565b600081359050613b0a81615755565b92915050565b600081359050613b1f8161576c565b92915050565b600081359050613b3481615783565b92915050565b600060208284031215613b4c57600080fd5b6000613b5a84828501613a29565b91505092915050565b60008060408385031215613b7657600080fd5b6000613b8485828601613a29565b9250506020613b9585828601613a29565b9150509250929050565b600080600060608486031215613bb457600080fd5b6000613bc286828701613a29565b9350506020613bd386828701613a29565b9250506040613be486828701613b10565b9150509250925092565b60008060008060808587031215613c0457600080fd5b6000613c1287828801613a29565b9450506020613c2387828801613a29565b9350506040613c3487828801613b10565b925050606085013567ffffffffffffffff811115613c5157600080fd5b613c5d87828801613abc565b91505092959194509250565b60008060408385031215613c7c57600080fd5b6000613c8a85828601613a29565b9250506020613c9b85828601613a68565b9150509250929050565b600080600080600060a08688031215613cbd57600080fd5b6000613ccb88828901613a29565b955050602086013567ffffffffffffffff811115613ce857600080fd5b613cf488828901613abc565b9450506040613d0588828901613a7d565b9350506060613d1688828901613a7d565b9250506080613d2788828901613b25565b9150509295509295909350565b60008060408385031215613d4757600080fd5b6000613d5585828601613a29565b9250506020613d6685828601613b10565b9150509250929050565b600060208284031215613d8257600080fd5b600082013567ffffffffffffffff811115613d9c57600080fd5b613da884828501613a3e565b91505092915050565b60008060408385031215613dc457600080fd5b600083013567ffffffffffffffff811115613dde57600080fd5b613dea85828601613a3e565b9250506020613dfb85828601613afb565b9150509250929050565b600060208284031215613e1757600080fd5b6000613e2584828501613a92565b91505092915050565b600060208284031215613e4057600080fd5b6000613e4e84828501613aa7565b91505092915050565b600060208284031215613e6957600080fd5b6000613e7784828501613ae6565b91505092915050565b600060208284031215613e9257600080fd5b6000613ea084828501613b10565b91505092915050565b600060208284031215613ebb57600080fd5b6000613ec984828501613b25565b91505092915050565b613edb81615441565b82525050565b613eea8161542f565b82525050565b613f01613efc8261542f565b6155a9565b82525050565b613f1081615453565b82525050565b613f1f8161545f565b82525050565b613f36613f318261545f565b6155bb565b82525050565b6000613f47826152cc565b613f5181856152e2565b9350613f618185602086016154fb565b613f6a816156c4565b840191505092915050565b6000613f80826152cc565b613f8a81856152f3565b9350613f9a8185602086016154fb565b80840191505092915050565b6000613fb1826152d7565b613fbb81856152fe565b9350613fcb8185602086016154fb565b613fd4816156c4565b840191505092915050565b6000613fea826152d7565b613ff4818561530f565b93506140048185602086016154fb565b80840191505092915050565b600061401d602b836152fe565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006140836032836152fe565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006140e96026836152fe565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061414f601c836152fe565b91507f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006000830152602082019050919050565b600061418f601c836152fe565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006141cf6015836152fe565b91507f49742773206e6f74207075626c69632073616c657300000000000000000000006000830152602082019050919050565b600061420f60028361530f565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b600061424f6024836152fe565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142b56019836152fe565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006142f56020836152fe565b91507f546865726520617265206e6f74206163636f756e747320746f2064656c6574656000830152602082019050919050565b60006143356021836152fe565b91507f74686973206163636f756e7420627579206d6f7265207468616e2032204e465460008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061439b6024836152fe565b91507f4d696e7420776f756c6420657863656564206d617820737570706c79206f662060008301527f50617773000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614401602c836152fe565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006144676025836152fe565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008301527f49474e45520000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144cd6038836152fe565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614533602a836152fe565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006145996029836152fe565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006145ff6021836152fe565b91507f54686973206163636f756e7420686173206d6f7265207468616e2032204e465460008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146656020836152fe565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006146a5602c836152fe565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061470b600e836152fe565b91507f57726f6e6720746f6b656e2069640000000000000000000000000000000000006000830152602082019050919050565b600061474b6020836152fe565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061478b6029836152fe565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006147f16021836152fe565b91507f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008301527f68000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006148576028836152fe565b91507f507572636861736520776f756c6420657863656564206d617820737570706c7960008301527f206f6620506177730000000000000000000000000000000000000000000000006020830152604082019050919050565b60006148bd6021836152fe565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614923601d836152fe565b91507f54686973206163636f756e74206973206e6f7420617661696c61626c650000006000830152602082019050919050565b60006149636016836152fe565b91507f49742773206e6f7420707269766174652073616c6573000000000000000000006000830152602082019050919050565b60006149a36031836152fe565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614a09602c836152fe565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614a6f6012836152fe565b91507f4e6f206f6e6520746f207472616e7366657200000000000000000000000000006000830152602082019050919050565b6000614aaf601e836152fe565b91507f496e73756666696369656e742066756e647320746f20707572636861736500006000830152602082019050919050565b6000614aef601d836152fe565b91507f546865726520617265206e6f74206163636f756e747320746f206164640000006000830152602082019050919050565b6000614b2f6021836152fe565b91507f596f752063616e206e6f7420627579206d6f7265207468616e2032302050617760008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b614b91816154d5565b82525050565b614ba0816154df565b82525050565b6000614bb28284613f75565b915081905092915050565b6000614bc98285613f75565b9150614bd58284613ef0565b6014820191508190509392505050565b6000614bf18285613fdf565b9150614bfd8284613fdf565b91508190509392505050565b6000614c1482614202565b9150614c208285613f25565b602082019150614c308284613f25565b6020820191508190509392505050565b6000602082019050614c556000830184613ee1565b92915050565b6000606082019050614c706000830186613ee1565b614c7d6020830185613ed2565b8181036040830152614c8f8184613f3c565b9050949350505050565b6000608082019050614cae6000830187613ee1565b614cbb6020830186613ee1565b614cc86040830185614b88565b8181036060830152614cda8184613f3c565b905095945050505050565b6000602082019050614cfa6000830184613f07565b92915050565b6000602082019050614d156000830184613f16565b92915050565b6000608082019050614d306000830187613f16565b614d3d6020830186614b88565b614d4a6040830185613ee1565b614d576060830184613f16565b95945050505050565b6000608082019050614d756000830187613f16565b614d826020830186614b97565b614d8f6040830185613f16565b614d9c6060830184613f16565b95945050505050565b60006020820190508181036000830152614dbf8184613f3c565b905092915050565b60006020820190508181036000830152614de18184613fa6565b905092915050565b60006020820190508181036000830152614e0281614010565b9050919050565b60006020820190508181036000830152614e2281614076565b9050919050565b60006020820190508181036000830152614e42816140dc565b9050919050565b60006020820190508181036000830152614e6281614142565b9050919050565b60006020820190508181036000830152614e8281614182565b9050919050565b60006020820190508181036000830152614ea2816141c2565b9050919050565b60006020820190508181036000830152614ec281614242565b9050919050565b60006020820190508181036000830152614ee2816142a8565b9050919050565b60006020820190508181036000830152614f02816142e8565b9050919050565b60006020820190508181036000830152614f2281614328565b9050919050565b60006020820190508181036000830152614f428161438e565b9050919050565b60006020820190508181036000830152614f62816143f4565b9050919050565b60006020820190508181036000830152614f828161445a565b9050919050565b60006020820190508181036000830152614fa2816144c0565b9050919050565b60006020820190508181036000830152614fc281614526565b9050919050565b60006020820190508181036000830152614fe28161458c565b9050919050565b60006020820190508181036000830152615002816145f2565b9050919050565b6000602082019050818103600083015261502281614658565b9050919050565b6000602082019050818103600083015261504281614698565b9050919050565b60006020820190508181036000830152615062816146fe565b9050919050565b600060208201905081810360008301526150828161473e565b9050919050565b600060208201905081810360008301526150a28161477e565b9050919050565b600060208201905081810360008301526150c2816147e4565b9050919050565b600060208201905081810360008301526150e28161484a565b9050919050565b60006020820190508181036000830152615102816148b0565b9050919050565b6000602082019050818103600083015261512281614916565b9050919050565b6000602082019050818103600083015261514281614956565b9050919050565b6000602082019050818103600083015261516281614996565b9050919050565b60006020820190508181036000830152615182816149fc565b9050919050565b600060208201905081810360008301526151a281614a62565b9050919050565b600060208201905081810360008301526151c281614aa2565b9050919050565b600060208201905081810360008301526151e281614ae2565b9050919050565b6000602082019050818103600083015261520281614b22565b9050919050565b600060208201905061521e6000830184614b88565b92915050565b60006020820190506152396000830184614b97565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561526657615265615695565b5b8060405250919050565b600067ffffffffffffffff82111561528b5761528a615695565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156152b7576152b6615695565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615325826154d5565b9150615330836154d5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561536557615364615608565b5b828201905092915050565b600061537b826154d5565b9150615386836154d5565b92508261539657615395615637565b5b828204905092915050565b60006153ac826154d5565b91506153b7836154d5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153f0576153ef615608565b5b828202905092915050565b6000615406826154d5565b9150615411836154d5565b92508282101561542457615423615608565b5b828203905092915050565b600061543a826154b5565b9050919050565b600061544c826154b5565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006154a08261542f565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156155195780820151818401526020810190506154fe565b83811115615528576000848401525b50505050565b6000600282049050600182168061554657607f821691505b6020821081141561555a57615559615666565b5b50919050565b600061556b826154d5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561559e5761559d615608565b5b600182019050919050565b60006155b4826155c5565b9050919050565b6000819050919050565b60006155d0826156d5565b9050919050565b60006155e2826154d5565b91506155ed836154d5565b9250826155fd576155fc615637565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b6156eb8161542f565b81146156f657600080fd5b50565b61570281615453565b811461570d57600080fd5b50565b6157198161545f565b811461572457600080fd5b50565b61573081615469565b811461573b57600080fd5b50565b61574781615495565b811461575257600080fd5b50565b61575e816154a7565b811461576957600080fd5b50565b615775816154d5565b811461578057600080fd5b50565b61578c816154df565b811461579757600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652968747470733a2f2f697066732e696f2f697066732f516d53613535347a73755a4b64784c5754684c554d39327437414a624775786432336e7659326432746e624b636a2f68747470733a2f2f697066732e696f2f697066732f516d55764754674a59794b687265474b4a62317869387a70595a6d7267523838464334776976507a364a664d666fa2646970667358221220e56285a0b2d001b3b11c8b8e0da2a5ef9301ca68748546f8eb9f61b5e889f9fd64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.