Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 7 from a total of 7 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Base URI | 14943165 | 939 days ago | IN | 0 ETH | 0.00085425 | ||||
Set Contract URI | 14943142 | 939 days ago | IN | 0 ETH | 0.00105312 | ||||
Pause | 14943141 | 939 days ago | IN | 0 ETH | 0.00158616 | ||||
Mint | 14943108 | 939 days ago | IN | 0 ETH | 0.00159806 | ||||
Mint | 14943096 | 939 days ago | IN | 0 ETH | 0.00137908 | ||||
Mint | 14943087 | 939 days ago | IN | 0 ETH | 0.00114607 | ||||
Mint | 14943084 | 939 days ago | IN | 0 ETH | 0.00191335 |
Loading...
Loading
Contract Name:
HappyPets
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** *Submitted for verification at Etherscan.io on 2022-02-23 */ /** *Submitted for verification at Etherscan.io on 2022-02-16 */ // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) /** * @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); } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @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); } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.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; } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) /** * @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); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.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); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.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); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) /** * @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); } } } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.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; } } // File contracts/ERC721A.sol // Creator: Chiru Labs /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). * * Assumes that an owner cannot have more than the 2**128 (max value of uint128) of supply */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 internal currentIndex = 0; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), 'ERC721A: global index out of bounds'); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), 'ERC721A: owner index out of bounds'); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert('ERC721A: unable to get token of owner by index'); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), 'ERC721A: balance query for the zero address'); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), 'ERC721A: number minted query for the zero address'); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), 'ERC721A: owner query for nonexistent token'); for (uint256 curr = tokenId; ; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert('ERC721A: unable to determine the owner of token'); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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 override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, 'ERC721A: approval to current owner'); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), 'ERC721A: approve caller is not owner nor approved for all' ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), 'ERC721A: approved query for nonexistent token'); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), 'ERC721A: 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 override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), 'ERC721A: 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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), 'ERC721A: mint to the zero address'); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), 'ERC721A: token already minted'); require(quantity > 0, 'ERC721A: quantity must be greater 0'); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved'); require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner'); require(to != address(0), 'ERC721A: transfer to the zero address'); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; } _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership(prevOwnership.addr, prevOwnership.startTimestamp); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, 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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert('ERC721A: transfer to non ERC721Receiver implementer'); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // File contracts/Happypets.sol contract HappyPets is ERC721A, Ownable { string public baseURI = "ipfs://QmYPq8DK5AEfbHJUWZfhf59a6hPaLMW6eT86QFbT8iEHtF/"; string public contractURI = "ipfs://QmTzQJt8qu36vAV71nqHXpqbL2idRh967HPJSGeyDvJGs4"; string public constant baseExtension = ".json"; // Mainnet - 0xa5409ec958C83C3f309868babACA7c86DCB077c1 // Rinkeby - 0xF57B2c51dED3A29e6891aba85459d600256Cf317 address public constant proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1; uint256 public constant MAX_PER_TX_FREE = 2; uint256 public constant MAX_PER_TX = 10; uint256 public constant FREE_MAX_SUPPLY = 222; uint256 public constant MAX_SUPPLY = 999; uint256 public constant price = 0.0069 ether; bool public paused = false; constructor() ERC721A("HappyPets", "Hpets") {} function mint(uint256 _amount) external payable { address _caller = _msgSender(); require(!paused, "Paused"); require(MAX_SUPPLY >= totalSupply() + _amount, "Exceeds max supply"); require(_amount > 0, "No 0 mints"); require(tx.origin == _caller, "No contracts"); if(FREE_MAX_SUPPLY >= totalSupply()){ require(MAX_PER_TX_FREE >= _amount , "Excess max per free tx"); }else{ require(MAX_PER_TX >= _amount , "Excess max per paid tx"); require(_amount * price == msg.value, "Invalid funds provided"); } _safeMint(_caller, _amount); } 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); } function withdraw() external onlyOwner { uint256 balance = address(this).balance; (bool success, ) = _msgSender().call{value: balance}(""); require(success, "Failed to send"); } function setupOS() external onlyOwner { _safeMint(_msgSender(), 1); } function pause(bool _state) external onlyOwner { paused = _state; } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function setContractURI(string memory _contractURI) external onlyOwner { contractURI = _contractURI; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, Strings.toString(_tokenId), baseExtension ) ) : ""; } } contract OwnableDelegateProxy { } contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX_FREE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setupOS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000805560405180606001604052806036815260200162004cc960369139600890805190602001906200003992919062000229565b5060405180606001604052806035815260200162004c9460359139600990805190602001906200006b92919062000229565b506000600a60006101000a81548160ff0219169083151502179055503480156200009457600080fd5b506040518060400160405280600981526020017f48617070795065747300000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f487065747300000000000000000000000000000000000000000000000000000081525081600190805190602001906200011992919062000229565b5080600290805190602001906200013292919062000229565b50505062000155620001496200015b60201b60201c565b6200016360201b60201c565b6200033e565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023790620002d9565b90600052602060002090601f0160209004810192826200025b5760008555620002a7565b82601f106200027657805160ff1916838001178555620002a7565b82800160010185558215620002a7579182015b82811115620002a657825182559160200191906001019062000289565b5b509050620002b69190620002ba565b5090565b5b80821115620002d5576000816000905550600101620002bb565b5090565b60006002820490506001821680620002f257607f821691505b602082108114156200030957620003086200030f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614946806200034e6000396000f3fe6080604052600436106102045760003560e01c80636c0360eb11610118578063a22cb465116100a0578063cd7c03261161006f578063cd7c032614610736578063e8a3d48514610761578063e985e9c51461078c578063f2fde38b146107c9578063f43a22dc146107f257610204565b8063a22cb4651461067c578063b88d4fde146106a5578063c6682862146106ce578063c87b56dd146106f957610204565b80638da5cb5b116100e75780638da5cb5b146105b6578063938e3d7b146105e157806395d89b411461060a578063a035b1fe14610635578063a0712d681461066057610204565b80636c0360eb1461050c57806370a0823114610537578063715018a6146105745780638069876d1461058b57610204565b806332cb6b0c1161019b5780634f6ccce71161016a5780634f6ccce71461042757806355f804b3146104645780635c975abb1461048d5780636352211e146104b8578063698982ba146104f557610204565b806332cb6b0c146103915780633ccfd60b146103bc57806342842e0e146103d3578063463fff79146103fc57610204565b8063095ea7b3116101d7578063095ea7b3146102d757806318160ddd1461030057806323b872dd1461032b5780632f745c591461035457610204565b806301ffc9a71461020957806302329a291461024657806306fdde031461026f578063081812fc1461029a575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190613248565b61081d565b60405161023d9190613915565b60405180910390f35b34801561025257600080fd5b5061026d6004803603810190610268919061321b565b610967565b005b34801561027b57600080fd5b50610284610a00565b6040516102919190613930565b60405180910390f35b3480156102a657600080fd5b506102c160048036038101906102bc9190613318565b610a92565b6040516102ce91906138ae565b60405180910390f35b3480156102e357600080fd5b506102fe60048036038101906102f991906131db565b610b17565b005b34801561030c57600080fd5b50610315610c30565b6040516103229190613cb2565b60405180910390f35b34801561033757600080fd5b50610352600480360381019061034d91906130c5565b610c39565b005b34801561036057600080fd5b5061037b600480360381019061037691906131db565b610c49565b6040516103889190613cb2565b60405180910390f35b34801561039d57600080fd5b506103a6610e47565b6040516103b39190613cb2565b60405180910390f35b3480156103c857600080fd5b506103d1610e4d565b005b3480156103df57600080fd5b506103fa60048036038101906103f591906130c5565b610f85565b005b34801561040857600080fd5b50610411610fa5565b60405161041e9190613cb2565b60405180910390f35b34801561043357600080fd5b5061044e60048036038101906104499190613318565b610faa565b60405161045b9190613cb2565b60405180910390f35b34801561047057600080fd5b5061048b600480360381019061048691906132cf565b610ffd565b005b34801561049957600080fd5b506104a2611093565b6040516104af9190613915565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da9190613318565b6110a6565b6040516104ec91906138ae565b60405180910390f35b34801561050157600080fd5b5061050a6110bc565b005b34801561051857600080fd5b5061052161114c565b60405161052e9190613930565b60405180910390f35b34801561054357600080fd5b5061055e60048036038101906105599190613058565b6111da565b60405161056b9190613cb2565b60405180910390f35b34801561058057600080fd5b506105896112c3565b005b34801561059757600080fd5b506105a061134b565b6040516105ad9190613cb2565b60405180910390f35b3480156105c257600080fd5b506105cb611350565b6040516105d891906138ae565b60405180910390f35b3480156105ed57600080fd5b50610608600480360381019061060391906132cf565b61137a565b005b34801561061657600080fd5b5061061f611410565b60405161062c9190613930565b60405180910390f35b34801561064157600080fd5b5061064a6114a2565b6040516106579190613cb2565b60405180910390f35b61067a60048036038101906106759190613318565b6114ad565b005b34801561068857600080fd5b506106a3600480360381019061069e919061319b565b611710565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190613118565b611891565b005b3480156106da57600080fd5b506106e36118ed565b6040516106f09190613930565b60405180910390f35b34801561070557600080fd5b50610720600480360381019061071b9190613318565b611926565b60405161072d9190613930565b60405180910390f35b34801561074257600080fd5b5061074b611a05565b60405161075891906138ae565b60405180910390f35b34801561076d57600080fd5b50610776611a1d565b6040516107839190613930565b60405180910390f35b34801561079857600080fd5b506107b360048036038101906107ae9190613085565b611aab565b6040516107c09190613915565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb9190613058565b611b9f565b005b3480156107fe57600080fd5b50610807611c97565b6040516108149190613cb2565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061095057507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610960575061095f82611c9c565b5b9050919050565b61096f611d06565b73ffffffffffffffffffffffffffffffffffffffff1661098d611350565b73ffffffffffffffffffffffffffffffffffffffff16146109e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109da90613b12565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b606060018054610a0f90614020565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3b90614020565b8015610a885780601f10610a5d57610100808354040283529160200191610a88565b820191906000526020600020905b815481529060010190602001808311610a6b57829003601f168201915b5050505050905090565b6000610a9d82611d0e565b610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad390613c72565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b22826110a6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8a90613b92565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bb2611d06565b73ffffffffffffffffffffffffffffffffffffffff161480610be15750610be081610bdb611d06565b611aab565b5b610c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1790613a72565b60405180910390fd5b610c2b838383611d1b565b505050565b60008054905090565b610c44838383611dcd565b505050565b6000610c54836111da565b8210610c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8c90613952565b60405180910390fd5b6000610c9f610c30565b905060008060005b83811015610e05576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610d9957806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610df15786841415610de2578195505050505050610e41565b8380610ded90614083565b9450505b508080610dfd90614083565b915050610ca7565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890613c52565b60405180910390fd5b92915050565b6103e781565b610e55611d06565b73ffffffffffffffffffffffffffffffffffffffff16610e73611350565b73ffffffffffffffffffffffffffffffffffffffff1614610ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec090613b12565b60405180910390fd5b60004790506000610ed8611d06565b73ffffffffffffffffffffffffffffffffffffffff1682604051610efb90613899565b60006040518083038185875af1925050503d8060008114610f38576040519150601f19603f3d011682016040523d82523d6000602084013e610f3d565b606091505b5050905080610f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7890613c32565b60405180910390fd5b5050565b610fa083838360405180602001604052806000815250611891565b505050565b600281565b6000610fb4610c30565b8210610ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fec90613a12565b60405180910390fd5b819050919050565b611005611d06565b73ffffffffffffffffffffffffffffffffffffffff16611023611350565b73ffffffffffffffffffffffffffffffffffffffff1614611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090613b12565b60405180910390fd5b806008908051906020019061108f929190612e1d565b5050565b600a60009054906101000a900460ff1681565b60006110b182612374565b600001519050919050565b6110c4611d06565b73ffffffffffffffffffffffffffffffffffffffff166110e2611350565b73ffffffffffffffffffffffffffffffffffffffff1614611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f90613b12565b60405180910390fd5b61114a611143611d06565b60016124cf565b565b6008805461115990614020565b80601f016020809104026020016040519081016040528092919081815260200182805461118590614020565b80156111d25780601f106111a7576101008083540402835291602001916111d2565b820191906000526020600020905b8154815290600101906020018083116111b557829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561124b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124290613ab2565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6112cb611d06565b73ffffffffffffffffffffffffffffffffffffffff166112e9611350565b73ffffffffffffffffffffffffffffffffffffffff161461133f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133690613b12565b60405180910390fd5b61134960006124ed565b565b60de81565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611382611d06565b73ffffffffffffffffffffffffffffffffffffffff166113a0611350565b73ffffffffffffffffffffffffffffffffffffffff16146113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed90613b12565b60405180910390fd5b806009908051906020019061140c929190612e1d565b5050565b60606002805461141f90614020565b80601f016020809104026020016040519081016040528092919081815260200182805461144b90614020565b80156114985780601f1061146d57610100808354040283529160200191611498565b820191906000526020600020905b81548152906001019060200180831161147b57829003601f168201915b5050505050905090565b6618838370f3400081565b60006114b7611d06565b9050600a60009054906101000a900460ff1615611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090613972565b60405180910390fd5b81611512610c30565b61151c9190613dfd565b6103e71015611560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155790613a92565b60405180910390fd5b600082116115a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159a906139d2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160890613c92565b60405180910390fd5b611619610c30565b60de10611669578160021015611664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165b90613a52565b60405180910390fd5b611702565b81600a10156116ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a4906139f2565b60405180910390fd5b346618838370f34000836116c19190613e84565b14611701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f890613b72565b60405180910390fd5b5b61170c81836124cf565b5050565b611718611d06565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177d90613b32565b60405180910390fd5b8060066000611793611d06565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611840611d06565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118859190613915565b60405180910390a35050565b61189c848484611dcd565b6118a8848484846125b3565b6118e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118de90613bd2565b60405180910390fd5b50505050565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525081565b606061193182611d0e565b611970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196790613ad2565b60405180910390fd5b60006008805461197f90614020565b90501161199b57604051806020016040528060008152506119fe565b60086119a68361274a565b6040518060400160405280600581526020017f2e6a736f6e0000000000000000000000000000000000000000000000000000008152506040516020016119ee93929190613868565b6040516020818303038152906040525b9050919050565b73a5409ec958c83c3f309868babaca7c86dcb077c181565b60098054611a2a90614020565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5690614020565b8015611aa35780601f10611a7857610100808354040283529160200191611aa3565b820191906000526020600020905b815481529060010190602001808311611a8657829003601f168201915b505050505081565b60008073a5409ec958c83c3f309868babaca7c86dcb077c190508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611b1591906138ae565b60206040518083038186803b158015611b2d57600080fd5b505afa158015611b41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6591906132a2565b73ffffffffffffffffffffffffffffffffffffffff161415611b8b576001915050611b99565b611b9584846128ab565b9150505b92915050565b611ba7611d06565b73ffffffffffffffffffffffffffffffffffffffff16611bc5611350565b73ffffffffffffffffffffffffffffffffffffffff1614611c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1290613b12565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8290613992565b60405180910390fd5b611c94816124ed565b50565b600a81565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6000805482109050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611dd882612374565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611dff611d06565b73ffffffffffffffffffffffffffffffffffffffff161480611e5b5750611e24611d06565b73ffffffffffffffffffffffffffffffffffffffff16611e4384610a92565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e775750611e768260000151611e71611d06565b611aab565b5b905080611eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb090613b52565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2290613af2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9290613a32565b60405180910390fd5b611fa8858585600161293f565b611fb86000848460000151611d1b565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846121be9190613dfd565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156123045761223481611d0e565b15612303576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461236c8686866001612945565b505050505050565b61237c612ea3565b61238582611d0e565b6123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb906139b2565b60405180910390fd5b60008290505b6000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124b65780925050506124ca565b5080806124c290613ff6565b9150506123ca565b919050565b6124e982826040518060200160405280600081525061294b565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006125d48473ffffffffffffffffffffffffffffffffffffffff16612e0a565b1561273d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125fd611d06565b8786866040518563ffffffff1660e01b815260040161261f94939291906138c9565b602060405180830381600087803b15801561263957600080fd5b505af192505050801561266a57506040513d601f19601f820116820180604052508101906126679190613275565b60015b6126ed573d806000811461269a576040519150601f19603f3d011682016040523d82523d6000602084013e61269f565b606091505b506000815114156126e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dc90613bd2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612742565b600190505b949350505050565b60606000821415612792576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128a6565b600082905060005b600082146127c45780806127ad90614083565b915050600a826127bd9190613e53565b915061279a565b60008167ffffffffffffffff8111156127e0576127df6141b9565b5b6040519080825280601f01601f1916602001820160405280156128125781602001600182028036833780820191505090505b5090505b6000851461289f5760018261282b9190613ede565b9150600a8561283a91906140cc565b60306128469190613dfd565b60f81b81838151811061285c5761285b61418a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128989190613e53565b9450612816565b8093505050505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b890613c12565b60405180910390fd5b6129ca81611d0e565b15612a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0190613bf2565b60405180910390fd5b60008311612a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4490613bb2565b60405180910390fd5b612a5a600085838661293f565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151612b579190613db7565b6fffffffffffffffffffffffffffffffff168152602001858360200151612b7e9190613db7565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015612ded57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d8d60008884886125b3565b612dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc390613bd2565b60405180910390fd5b8180612dd790614083565b9250508080612de590614083565b915050612d1c565b5080600081905550612e026000878588612945565b505050505050565b600080823b905060008111915050919050565b828054612e2990614020565b90600052602060002090601f016020900481019282612e4b5760008555612e92565b82601f10612e6457805160ff1916838001178555612e92565b82800160010185558215612e92579182015b82811115612e91578251825591602001919060010190612e76565b5b509050612e9f9190612edd565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115612ef6576000816000905550600101612ede565b5090565b6000612f0d612f0884613cf2565b613ccd565b905082815260208101848484011115612f2957612f286141ed565b5b612f34848285613fb4565b509392505050565b6000612f4f612f4a84613d23565b613ccd565b905082815260208101848484011115612f6b57612f6a6141ed565b5b612f76848285613fb4565b509392505050565b600081359050612f8d8161489d565b92915050565b600081359050612fa2816148b4565b92915050565b600081359050612fb7816148cb565b92915050565b600081519050612fcc816148cb565b92915050565b600082601f830112612fe757612fe66141e8565b5b8135612ff7848260208601612efa565b91505092915050565b60008151905061300f816148e2565b92915050565b600082601f83011261302a576130296141e8565b5b813561303a848260208601612f3c565b91505092915050565b600081359050613052816148f9565b92915050565b60006020828403121561306e5761306d6141f7565b5b600061307c84828501612f7e565b91505092915050565b6000806040838503121561309c5761309b6141f7565b5b60006130aa85828601612f7e565b92505060206130bb85828601612f7e565b9150509250929050565b6000806000606084860312156130de576130dd6141f7565b5b60006130ec86828701612f7e565b93505060206130fd86828701612f7e565b925050604061310e86828701613043565b9150509250925092565b60008060008060808587031215613132576131316141f7565b5b600061314087828801612f7e565b945050602061315187828801612f7e565b935050604061316287828801613043565b925050606085013567ffffffffffffffff811115613183576131826141f2565b5b61318f87828801612fd2565b91505092959194509250565b600080604083850312156131b2576131b16141f7565b5b60006131c085828601612f7e565b92505060206131d185828601612f93565b9150509250929050565b600080604083850312156131f2576131f16141f7565b5b600061320085828601612f7e565b925050602061321185828601613043565b9150509250929050565b600060208284031215613231576132306141f7565b5b600061323f84828501612f93565b91505092915050565b60006020828403121561325e5761325d6141f7565b5b600061326c84828501612fa8565b91505092915050565b60006020828403121561328b5761328a6141f7565b5b600061329984828501612fbd565b91505092915050565b6000602082840312156132b8576132b76141f7565b5b60006132c684828501613000565b91505092915050565b6000602082840312156132e5576132e46141f7565b5b600082013567ffffffffffffffff811115613303576133026141f2565b5b61330f84828501613015565b91505092915050565b60006020828403121561332e5761332d6141f7565b5b600061333c84828501613043565b91505092915050565b61334e81613f12565b82525050565b61335d81613f24565b82525050565b600061336e82613d69565b6133788185613d7f565b9350613388818560208601613fc3565b613391816141fc565b840191505092915050565b60006133a782613d74565b6133b18185613d9b565b93506133c1818560208601613fc3565b6133ca816141fc565b840191505092915050565b60006133e082613d74565b6133ea8185613dac565b93506133fa818560208601613fc3565b80840191505092915050565b6000815461341381614020565b61341d8186613dac565b9450600182166000811461343857600181146134495761347c565b60ff1983168652818601935061347c565b61345285613d54565b60005b8381101561347457815481890152600182019150602081019050613455565b838801955050505b50505092915050565b6000613492602283613d9b565b915061349d8261420d565b604082019050919050565b60006134b5600683613d9b565b91506134c08261425c565b602082019050919050565b60006134d8602683613d9b565b91506134e382614285565b604082019050919050565b60006134fb602a83613d9b565b9150613506826142d4565b604082019050919050565b600061351e600a83613d9b565b915061352982614323565b602082019050919050565b6000613541601683613d9b565b915061354c8261434c565b602082019050919050565b6000613564602383613d9b565b915061356f82614375565b604082019050919050565b6000613587602583613d9b565b9150613592826143c4565b604082019050919050565b60006135aa601683613d9b565b91506135b582614413565b602082019050919050565b60006135cd603983613d9b565b91506135d88261443c565b604082019050919050565b60006135f0601283613d9b565b91506135fb8261448b565b602082019050919050565b6000613613602b83613d9b565b915061361e826144b4565b604082019050919050565b6000613636601583613d9b565b915061364182614503565b602082019050919050565b6000613659602683613d9b565b91506136648261452c565b604082019050919050565b600061367c602083613d9b565b91506136878261457b565b602082019050919050565b600061369f601a83613d9b565b91506136aa826145a4565b602082019050919050565b60006136c2603283613d9b565b91506136cd826145cd565b604082019050919050565b60006136e5601683613d9b565b91506136f08261461c565b602082019050919050565b6000613708602283613d9b565b915061371382614645565b604082019050919050565b600061372b600083613d90565b915061373682614694565b600082019050919050565b600061374e602383613d9b565b915061375982614697565b604082019050919050565b6000613771603383613d9b565b915061377c826146e6565b604082019050919050565b6000613794601d83613d9b565b915061379f82614735565b602082019050919050565b60006137b7602183613d9b565b91506137c28261475e565b604082019050919050565b60006137da600e83613d9b565b91506137e5826147ad565b602082019050919050565b60006137fd602e83613d9b565b9150613808826147d6565b604082019050919050565b6000613820602d83613d9b565b915061382b82614825565b604082019050919050565b6000613843600c83613d9b565b915061384e82614874565b602082019050919050565b61386281613faa565b82525050565b60006138748286613406565b915061388082856133d5565b915061388c82846133d5565b9150819050949350505050565b60006138a48261371e565b9150819050919050565b60006020820190506138c36000830184613345565b92915050565b60006080820190506138de6000830187613345565b6138eb6020830186613345565b6138f86040830185613859565b818103606083015261390a8184613363565b905095945050505050565b600060208201905061392a6000830184613354565b92915050565b6000602082019050818103600083015261394a818461339c565b905092915050565b6000602082019050818103600083015261396b81613485565b9050919050565b6000602082019050818103600083015261398b816134a8565b9050919050565b600060208201905081810360008301526139ab816134cb565b9050919050565b600060208201905081810360008301526139cb816134ee565b9050919050565b600060208201905081810360008301526139eb81613511565b9050919050565b60006020820190508181036000830152613a0b81613534565b9050919050565b60006020820190508181036000830152613a2b81613557565b9050919050565b60006020820190508181036000830152613a4b8161357a565b9050919050565b60006020820190508181036000830152613a6b8161359d565b9050919050565b60006020820190508181036000830152613a8b816135c0565b9050919050565b60006020820190508181036000830152613aab816135e3565b9050919050565b60006020820190508181036000830152613acb81613606565b9050919050565b60006020820190508181036000830152613aeb81613629565b9050919050565b60006020820190508181036000830152613b0b8161364c565b9050919050565b60006020820190508181036000830152613b2b8161366f565b9050919050565b60006020820190508181036000830152613b4b81613692565b9050919050565b60006020820190508181036000830152613b6b816136b5565b9050919050565b60006020820190508181036000830152613b8b816136d8565b9050919050565b60006020820190508181036000830152613bab816136fb565b9050919050565b60006020820190508181036000830152613bcb81613741565b9050919050565b60006020820190508181036000830152613beb81613764565b9050919050565b60006020820190508181036000830152613c0b81613787565b9050919050565b60006020820190508181036000830152613c2b816137aa565b9050919050565b60006020820190508181036000830152613c4b816137cd565b9050919050565b60006020820190508181036000830152613c6b816137f0565b9050919050565b60006020820190508181036000830152613c8b81613813565b9050919050565b60006020820190508181036000830152613cab81613836565b9050919050565b6000602082019050613cc76000830184613859565b92915050565b6000613cd7613ce8565b9050613ce38282614052565b919050565b6000604051905090565b600067ffffffffffffffff821115613d0d57613d0c6141b9565b5b613d16826141fc565b9050602081019050919050565b600067ffffffffffffffff821115613d3e57613d3d6141b9565b5b613d47826141fc565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613dc282613f6e565b9150613dcd83613f6e565b9250826fffffffffffffffffffffffffffffffff03821115613df257613df16140fd565b5b828201905092915050565b6000613e0882613faa565b9150613e1383613faa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e4857613e476140fd565b5b828201905092915050565b6000613e5e82613faa565b9150613e6983613faa565b925082613e7957613e7861412c565b5b828204905092915050565b6000613e8f82613faa565b9150613e9a83613faa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ed357613ed26140fd565b5b828202905092915050565b6000613ee982613faa565b9150613ef483613faa565b925082821015613f0757613f066140fd565b5b828203905092915050565b6000613f1d82613f8a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613f6782613f12565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613fe1578082015181840152602081019050613fc6565b83811115613ff0576000848401525b50505050565b600061400182613faa565b91506000821415614015576140146140fd565b5b600182039050919050565b6000600282049050600182168061403857607f821691505b6020821081141561404c5761404b61415b565b5b50919050565b61405b826141fc565b810181811067ffffffffffffffff8211171561407a576140796141b9565b5b80604052505050565b600061408e82613faa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156140c1576140c06140fd565b5b600182019050919050565b60006140d782613faa565b91506140e283613faa565b9250826140f2576140f161412c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757365640000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f4e6f2030206d696e747300000000000000000000000000000000000000000000600082015250565b7f457863657373206d617820706572207061696420747800000000000000000000600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f457863657373206d617820706572206672656520747800000000000000000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f496e76616c69642066756e64732070726f766964656400000000000000000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f7220300000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e64000000000000000000000000000000000000600082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f4e6f20636f6e7472616374730000000000000000000000000000000000000000600082015250565b6148a681613f12565b81146148b157600080fd5b50565b6148bd81613f24565b81146148c857600080fd5b50565b6148d481613f30565b81146148df57600080fd5b50565b6148eb81613f5c565b81146148f657600080fd5b50565b61490281613faa565b811461490d57600080fd5b5056fea26469706673582212206275369bbb79976064fa9006f4c148cface44a6f3536ecdf925ba484dce4d39b64736f6c63430008070033697066733a2f2f516d547a514a74387175333676415637316e7148587071624c326964526839363748504a5347657944764a477334697066733a2f2f516d59507138444b3541456662484a55575a666866353961366850614c4d573665543836514662543869454874462f
Deployed Bytecode
0x6080604052600436106102045760003560e01c80636c0360eb11610118578063a22cb465116100a0578063cd7c03261161006f578063cd7c032614610736578063e8a3d48514610761578063e985e9c51461078c578063f2fde38b146107c9578063f43a22dc146107f257610204565b8063a22cb4651461067c578063b88d4fde146106a5578063c6682862146106ce578063c87b56dd146106f957610204565b80638da5cb5b116100e75780638da5cb5b146105b6578063938e3d7b146105e157806395d89b411461060a578063a035b1fe14610635578063a0712d681461066057610204565b80636c0360eb1461050c57806370a0823114610537578063715018a6146105745780638069876d1461058b57610204565b806332cb6b0c1161019b5780634f6ccce71161016a5780634f6ccce71461042757806355f804b3146104645780635c975abb1461048d5780636352211e146104b8578063698982ba146104f557610204565b806332cb6b0c146103915780633ccfd60b146103bc57806342842e0e146103d3578063463fff79146103fc57610204565b8063095ea7b3116101d7578063095ea7b3146102d757806318160ddd1461030057806323b872dd1461032b5780632f745c591461035457610204565b806301ffc9a71461020957806302329a291461024657806306fdde031461026f578063081812fc1461029a575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190613248565b61081d565b60405161023d9190613915565b60405180910390f35b34801561025257600080fd5b5061026d6004803603810190610268919061321b565b610967565b005b34801561027b57600080fd5b50610284610a00565b6040516102919190613930565b60405180910390f35b3480156102a657600080fd5b506102c160048036038101906102bc9190613318565b610a92565b6040516102ce91906138ae565b60405180910390f35b3480156102e357600080fd5b506102fe60048036038101906102f991906131db565b610b17565b005b34801561030c57600080fd5b50610315610c30565b6040516103229190613cb2565b60405180910390f35b34801561033757600080fd5b50610352600480360381019061034d91906130c5565b610c39565b005b34801561036057600080fd5b5061037b600480360381019061037691906131db565b610c49565b6040516103889190613cb2565b60405180910390f35b34801561039d57600080fd5b506103a6610e47565b6040516103b39190613cb2565b60405180910390f35b3480156103c857600080fd5b506103d1610e4d565b005b3480156103df57600080fd5b506103fa60048036038101906103f591906130c5565b610f85565b005b34801561040857600080fd5b50610411610fa5565b60405161041e9190613cb2565b60405180910390f35b34801561043357600080fd5b5061044e60048036038101906104499190613318565b610faa565b60405161045b9190613cb2565b60405180910390f35b34801561047057600080fd5b5061048b600480360381019061048691906132cf565b610ffd565b005b34801561049957600080fd5b506104a2611093565b6040516104af9190613915565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da9190613318565b6110a6565b6040516104ec91906138ae565b60405180910390f35b34801561050157600080fd5b5061050a6110bc565b005b34801561051857600080fd5b5061052161114c565b60405161052e9190613930565b60405180910390f35b34801561054357600080fd5b5061055e60048036038101906105599190613058565b6111da565b60405161056b9190613cb2565b60405180910390f35b34801561058057600080fd5b506105896112c3565b005b34801561059757600080fd5b506105a061134b565b6040516105ad9190613cb2565b60405180910390f35b3480156105c257600080fd5b506105cb611350565b6040516105d891906138ae565b60405180910390f35b3480156105ed57600080fd5b50610608600480360381019061060391906132cf565b61137a565b005b34801561061657600080fd5b5061061f611410565b60405161062c9190613930565b60405180910390f35b34801561064157600080fd5b5061064a6114a2565b6040516106579190613cb2565b60405180910390f35b61067a60048036038101906106759190613318565b6114ad565b005b34801561068857600080fd5b506106a3600480360381019061069e919061319b565b611710565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190613118565b611891565b005b3480156106da57600080fd5b506106e36118ed565b6040516106f09190613930565b60405180910390f35b34801561070557600080fd5b50610720600480360381019061071b9190613318565b611926565b60405161072d9190613930565b60405180910390f35b34801561074257600080fd5b5061074b611a05565b60405161075891906138ae565b60405180910390f35b34801561076d57600080fd5b50610776611a1d565b6040516107839190613930565b60405180910390f35b34801561079857600080fd5b506107b360048036038101906107ae9190613085565b611aab565b6040516107c09190613915565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb9190613058565b611b9f565b005b3480156107fe57600080fd5b50610807611c97565b6040516108149190613cb2565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061095057507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610960575061095f82611c9c565b5b9050919050565b61096f611d06565b73ffffffffffffffffffffffffffffffffffffffff1661098d611350565b73ffffffffffffffffffffffffffffffffffffffff16146109e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109da90613b12565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b606060018054610a0f90614020565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3b90614020565b8015610a885780601f10610a5d57610100808354040283529160200191610a88565b820191906000526020600020905b815481529060010190602001808311610a6b57829003601f168201915b5050505050905090565b6000610a9d82611d0e565b610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad390613c72565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b22826110a6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8a90613b92565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bb2611d06565b73ffffffffffffffffffffffffffffffffffffffff161480610be15750610be081610bdb611d06565b611aab565b5b610c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1790613a72565b60405180910390fd5b610c2b838383611d1b565b505050565b60008054905090565b610c44838383611dcd565b505050565b6000610c54836111da565b8210610c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8c90613952565b60405180910390fd5b6000610c9f610c30565b905060008060005b83811015610e05576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610d9957806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610df15786841415610de2578195505050505050610e41565b8380610ded90614083565b9450505b508080610dfd90614083565b915050610ca7565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890613c52565b60405180910390fd5b92915050565b6103e781565b610e55611d06565b73ffffffffffffffffffffffffffffffffffffffff16610e73611350565b73ffffffffffffffffffffffffffffffffffffffff1614610ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec090613b12565b60405180910390fd5b60004790506000610ed8611d06565b73ffffffffffffffffffffffffffffffffffffffff1682604051610efb90613899565b60006040518083038185875af1925050503d8060008114610f38576040519150601f19603f3d011682016040523d82523d6000602084013e610f3d565b606091505b5050905080610f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7890613c32565b60405180910390fd5b5050565b610fa083838360405180602001604052806000815250611891565b505050565b600281565b6000610fb4610c30565b8210610ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fec90613a12565b60405180910390fd5b819050919050565b611005611d06565b73ffffffffffffffffffffffffffffffffffffffff16611023611350565b73ffffffffffffffffffffffffffffffffffffffff1614611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090613b12565b60405180910390fd5b806008908051906020019061108f929190612e1d565b5050565b600a60009054906101000a900460ff1681565b60006110b182612374565b600001519050919050565b6110c4611d06565b73ffffffffffffffffffffffffffffffffffffffff166110e2611350565b73ffffffffffffffffffffffffffffffffffffffff1614611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f90613b12565b60405180910390fd5b61114a611143611d06565b60016124cf565b565b6008805461115990614020565b80601f016020809104026020016040519081016040528092919081815260200182805461118590614020565b80156111d25780601f106111a7576101008083540402835291602001916111d2565b820191906000526020600020905b8154815290600101906020018083116111b557829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561124b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124290613ab2565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6112cb611d06565b73ffffffffffffffffffffffffffffffffffffffff166112e9611350565b73ffffffffffffffffffffffffffffffffffffffff161461133f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133690613b12565b60405180910390fd5b61134960006124ed565b565b60de81565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611382611d06565b73ffffffffffffffffffffffffffffffffffffffff166113a0611350565b73ffffffffffffffffffffffffffffffffffffffff16146113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed90613b12565b60405180910390fd5b806009908051906020019061140c929190612e1d565b5050565b60606002805461141f90614020565b80601f016020809104026020016040519081016040528092919081815260200182805461144b90614020565b80156114985780601f1061146d57610100808354040283529160200191611498565b820191906000526020600020905b81548152906001019060200180831161147b57829003601f168201915b5050505050905090565b6618838370f3400081565b60006114b7611d06565b9050600a60009054906101000a900460ff1615611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090613972565b60405180910390fd5b81611512610c30565b61151c9190613dfd565b6103e71015611560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155790613a92565b60405180910390fd5b600082116115a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159a906139d2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160890613c92565b60405180910390fd5b611619610c30565b60de10611669578160021015611664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165b90613a52565b60405180910390fd5b611702565b81600a10156116ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a4906139f2565b60405180910390fd5b346618838370f34000836116c19190613e84565b14611701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f890613b72565b60405180910390fd5b5b61170c81836124cf565b5050565b611718611d06565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177d90613b32565b60405180910390fd5b8060066000611793611d06565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611840611d06565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118859190613915565b60405180910390a35050565b61189c848484611dcd565b6118a8848484846125b3565b6118e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118de90613bd2565b60405180910390fd5b50505050565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525081565b606061193182611d0e565b611970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196790613ad2565b60405180910390fd5b60006008805461197f90614020565b90501161199b57604051806020016040528060008152506119fe565b60086119a68361274a565b6040518060400160405280600581526020017f2e6a736f6e0000000000000000000000000000000000000000000000000000008152506040516020016119ee93929190613868565b6040516020818303038152906040525b9050919050565b73a5409ec958c83c3f309868babaca7c86dcb077c181565b60098054611a2a90614020565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5690614020565b8015611aa35780601f10611a7857610100808354040283529160200191611aa3565b820191906000526020600020905b815481529060010190602001808311611a8657829003601f168201915b505050505081565b60008073a5409ec958c83c3f309868babaca7c86dcb077c190508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611b1591906138ae565b60206040518083038186803b158015611b2d57600080fd5b505afa158015611b41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6591906132a2565b73ffffffffffffffffffffffffffffffffffffffff161415611b8b576001915050611b99565b611b9584846128ab565b9150505b92915050565b611ba7611d06565b73ffffffffffffffffffffffffffffffffffffffff16611bc5611350565b73ffffffffffffffffffffffffffffffffffffffff1614611c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1290613b12565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8290613992565b60405180910390fd5b611c94816124ed565b50565b600a81565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6000805482109050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611dd882612374565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611dff611d06565b73ffffffffffffffffffffffffffffffffffffffff161480611e5b5750611e24611d06565b73ffffffffffffffffffffffffffffffffffffffff16611e4384610a92565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e775750611e768260000151611e71611d06565b611aab565b5b905080611eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb090613b52565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2290613af2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9290613a32565b60405180910390fd5b611fa8858585600161293f565b611fb86000848460000151611d1b565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846121be9190613dfd565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156123045761223481611d0e565b15612303576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461236c8686866001612945565b505050505050565b61237c612ea3565b61238582611d0e565b6123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb906139b2565b60405180910390fd5b60008290505b6000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124b65780925050506124ca565b5080806124c290613ff6565b9150506123ca565b919050565b6124e982826040518060200160405280600081525061294b565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006125d48473ffffffffffffffffffffffffffffffffffffffff16612e0a565b1561273d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125fd611d06565b8786866040518563ffffffff1660e01b815260040161261f94939291906138c9565b602060405180830381600087803b15801561263957600080fd5b505af192505050801561266a57506040513d601f19601f820116820180604052508101906126679190613275565b60015b6126ed573d806000811461269a576040519150601f19603f3d011682016040523d82523d6000602084013e61269f565b606091505b506000815114156126e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dc90613bd2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612742565b600190505b949350505050565b60606000821415612792576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128a6565b600082905060005b600082146127c45780806127ad90614083565b915050600a826127bd9190613e53565b915061279a565b60008167ffffffffffffffff8111156127e0576127df6141b9565b5b6040519080825280601f01601f1916602001820160405280156128125781602001600182028036833780820191505090505b5090505b6000851461289f5760018261282b9190613ede565b9150600a8561283a91906140cc565b60306128469190613dfd565b60f81b81838151811061285c5761285b61418a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128989190613e53565b9450612816565b8093505050505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b890613c12565b60405180910390fd5b6129ca81611d0e565b15612a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0190613bf2565b60405180910390fd5b60008311612a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4490613bb2565b60405180910390fd5b612a5a600085838661293f565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151612b579190613db7565b6fffffffffffffffffffffffffffffffff168152602001858360200151612b7e9190613db7565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015612ded57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d8d60008884886125b3565b612dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc390613bd2565b60405180910390fd5b8180612dd790614083565b9250508080612de590614083565b915050612d1c565b5080600081905550612e026000878588612945565b505050505050565b600080823b905060008111915050919050565b828054612e2990614020565b90600052602060002090601f016020900481019282612e4b5760008555612e92565b82601f10612e6457805160ff1916838001178555612e92565b82800160010185558215612e92579182015b82811115612e91578251825591602001919060010190612e76565b5b509050612e9f9190612edd565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115612ef6576000816000905550600101612ede565b5090565b6000612f0d612f0884613cf2565b613ccd565b905082815260208101848484011115612f2957612f286141ed565b5b612f34848285613fb4565b509392505050565b6000612f4f612f4a84613d23565b613ccd565b905082815260208101848484011115612f6b57612f6a6141ed565b5b612f76848285613fb4565b509392505050565b600081359050612f8d8161489d565b92915050565b600081359050612fa2816148b4565b92915050565b600081359050612fb7816148cb565b92915050565b600081519050612fcc816148cb565b92915050565b600082601f830112612fe757612fe66141e8565b5b8135612ff7848260208601612efa565b91505092915050565b60008151905061300f816148e2565b92915050565b600082601f83011261302a576130296141e8565b5b813561303a848260208601612f3c565b91505092915050565b600081359050613052816148f9565b92915050565b60006020828403121561306e5761306d6141f7565b5b600061307c84828501612f7e565b91505092915050565b6000806040838503121561309c5761309b6141f7565b5b60006130aa85828601612f7e565b92505060206130bb85828601612f7e565b9150509250929050565b6000806000606084860312156130de576130dd6141f7565b5b60006130ec86828701612f7e565b93505060206130fd86828701612f7e565b925050604061310e86828701613043565b9150509250925092565b60008060008060808587031215613132576131316141f7565b5b600061314087828801612f7e565b945050602061315187828801612f7e565b935050604061316287828801613043565b925050606085013567ffffffffffffffff811115613183576131826141f2565b5b61318f87828801612fd2565b91505092959194509250565b600080604083850312156131b2576131b16141f7565b5b60006131c085828601612f7e565b92505060206131d185828601612f93565b9150509250929050565b600080604083850312156131f2576131f16141f7565b5b600061320085828601612f7e565b925050602061321185828601613043565b9150509250929050565b600060208284031215613231576132306141f7565b5b600061323f84828501612f93565b91505092915050565b60006020828403121561325e5761325d6141f7565b5b600061326c84828501612fa8565b91505092915050565b60006020828403121561328b5761328a6141f7565b5b600061329984828501612fbd565b91505092915050565b6000602082840312156132b8576132b76141f7565b5b60006132c684828501613000565b91505092915050565b6000602082840312156132e5576132e46141f7565b5b600082013567ffffffffffffffff811115613303576133026141f2565b5b61330f84828501613015565b91505092915050565b60006020828403121561332e5761332d6141f7565b5b600061333c84828501613043565b91505092915050565b61334e81613f12565b82525050565b61335d81613f24565b82525050565b600061336e82613d69565b6133788185613d7f565b9350613388818560208601613fc3565b613391816141fc565b840191505092915050565b60006133a782613d74565b6133b18185613d9b565b93506133c1818560208601613fc3565b6133ca816141fc565b840191505092915050565b60006133e082613d74565b6133ea8185613dac565b93506133fa818560208601613fc3565b80840191505092915050565b6000815461341381614020565b61341d8186613dac565b9450600182166000811461343857600181146134495761347c565b60ff1983168652818601935061347c565b61345285613d54565b60005b8381101561347457815481890152600182019150602081019050613455565b838801955050505b50505092915050565b6000613492602283613d9b565b915061349d8261420d565b604082019050919050565b60006134b5600683613d9b565b91506134c08261425c565b602082019050919050565b60006134d8602683613d9b565b91506134e382614285565b604082019050919050565b60006134fb602a83613d9b565b9150613506826142d4565b604082019050919050565b600061351e600a83613d9b565b915061352982614323565b602082019050919050565b6000613541601683613d9b565b915061354c8261434c565b602082019050919050565b6000613564602383613d9b565b915061356f82614375565b604082019050919050565b6000613587602583613d9b565b9150613592826143c4565b604082019050919050565b60006135aa601683613d9b565b91506135b582614413565b602082019050919050565b60006135cd603983613d9b565b91506135d88261443c565b604082019050919050565b60006135f0601283613d9b565b91506135fb8261448b565b602082019050919050565b6000613613602b83613d9b565b915061361e826144b4565b604082019050919050565b6000613636601583613d9b565b915061364182614503565b602082019050919050565b6000613659602683613d9b565b91506136648261452c565b604082019050919050565b600061367c602083613d9b565b91506136878261457b565b602082019050919050565b600061369f601a83613d9b565b91506136aa826145a4565b602082019050919050565b60006136c2603283613d9b565b91506136cd826145cd565b604082019050919050565b60006136e5601683613d9b565b91506136f08261461c565b602082019050919050565b6000613708602283613d9b565b915061371382614645565b604082019050919050565b600061372b600083613d90565b915061373682614694565b600082019050919050565b600061374e602383613d9b565b915061375982614697565b604082019050919050565b6000613771603383613d9b565b915061377c826146e6565b604082019050919050565b6000613794601d83613d9b565b915061379f82614735565b602082019050919050565b60006137b7602183613d9b565b91506137c28261475e565b604082019050919050565b60006137da600e83613d9b565b91506137e5826147ad565b602082019050919050565b60006137fd602e83613d9b565b9150613808826147d6565b604082019050919050565b6000613820602d83613d9b565b915061382b82614825565b604082019050919050565b6000613843600c83613d9b565b915061384e82614874565b602082019050919050565b61386281613faa565b82525050565b60006138748286613406565b915061388082856133d5565b915061388c82846133d5565b9150819050949350505050565b60006138a48261371e565b9150819050919050565b60006020820190506138c36000830184613345565b92915050565b60006080820190506138de6000830187613345565b6138eb6020830186613345565b6138f86040830185613859565b818103606083015261390a8184613363565b905095945050505050565b600060208201905061392a6000830184613354565b92915050565b6000602082019050818103600083015261394a818461339c565b905092915050565b6000602082019050818103600083015261396b81613485565b9050919050565b6000602082019050818103600083015261398b816134a8565b9050919050565b600060208201905081810360008301526139ab816134cb565b9050919050565b600060208201905081810360008301526139cb816134ee565b9050919050565b600060208201905081810360008301526139eb81613511565b9050919050565b60006020820190508181036000830152613a0b81613534565b9050919050565b60006020820190508181036000830152613a2b81613557565b9050919050565b60006020820190508181036000830152613a4b8161357a565b9050919050565b60006020820190508181036000830152613a6b8161359d565b9050919050565b60006020820190508181036000830152613a8b816135c0565b9050919050565b60006020820190508181036000830152613aab816135e3565b9050919050565b60006020820190508181036000830152613acb81613606565b9050919050565b60006020820190508181036000830152613aeb81613629565b9050919050565b60006020820190508181036000830152613b0b8161364c565b9050919050565b60006020820190508181036000830152613b2b8161366f565b9050919050565b60006020820190508181036000830152613b4b81613692565b9050919050565b60006020820190508181036000830152613b6b816136b5565b9050919050565b60006020820190508181036000830152613b8b816136d8565b9050919050565b60006020820190508181036000830152613bab816136fb565b9050919050565b60006020820190508181036000830152613bcb81613741565b9050919050565b60006020820190508181036000830152613beb81613764565b9050919050565b60006020820190508181036000830152613c0b81613787565b9050919050565b60006020820190508181036000830152613c2b816137aa565b9050919050565b60006020820190508181036000830152613c4b816137cd565b9050919050565b60006020820190508181036000830152613c6b816137f0565b9050919050565b60006020820190508181036000830152613c8b81613813565b9050919050565b60006020820190508181036000830152613cab81613836565b9050919050565b6000602082019050613cc76000830184613859565b92915050565b6000613cd7613ce8565b9050613ce38282614052565b919050565b6000604051905090565b600067ffffffffffffffff821115613d0d57613d0c6141b9565b5b613d16826141fc565b9050602081019050919050565b600067ffffffffffffffff821115613d3e57613d3d6141b9565b5b613d47826141fc565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613dc282613f6e565b9150613dcd83613f6e565b9250826fffffffffffffffffffffffffffffffff03821115613df257613df16140fd565b5b828201905092915050565b6000613e0882613faa565b9150613e1383613faa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e4857613e476140fd565b5b828201905092915050565b6000613e5e82613faa565b9150613e6983613faa565b925082613e7957613e7861412c565b5b828204905092915050565b6000613e8f82613faa565b9150613e9a83613faa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ed357613ed26140fd565b5b828202905092915050565b6000613ee982613faa565b9150613ef483613faa565b925082821015613f0757613f066140fd565b5b828203905092915050565b6000613f1d82613f8a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613f6782613f12565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613fe1578082015181840152602081019050613fc6565b83811115613ff0576000848401525b50505050565b600061400182613faa565b91506000821415614015576140146140fd565b5b600182039050919050565b6000600282049050600182168061403857607f821691505b6020821081141561404c5761404b61415b565b5b50919050565b61405b826141fc565b810181811067ffffffffffffffff8211171561407a576140796141b9565b5b80604052505050565b600061408e82613faa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156140c1576140c06140fd565b5b600182019050919050565b60006140d782613faa565b91506140e283613faa565b9250826140f2576140f161412c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757365640000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f4e6f2030206d696e747300000000000000000000000000000000000000000000600082015250565b7f457863657373206d617820706572207061696420747800000000000000000000600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f457863657373206d617820706572206672656520747800000000000000000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f496e76616c69642066756e64732070726f766964656400000000000000000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f7220300000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e64000000000000000000000000000000000000600082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f4e6f20636f6e7472616374730000000000000000000000000000000000000000600082015250565b6148a681613f12565b81146148b157600080fd5b50565b6148bd81613f24565b81146148c857600080fd5b50565b6148d481613f30565b81146148df57600080fd5b50565b6148eb81613f5c565b81146148f657600080fd5b50565b61490281613faa565b811461490d57600080fd5b5056fea26469706673582212206275369bbb79976064fa9006f4c148cface44a6f3536ecdf925ba484dce4d39b64736f6c63430008070033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.