NFT
Overview
TokenID
1971
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Marbles
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./StripperVille.sol"; contract Marbles is ERC721, Ownable { string internal baseTokenURI = ''; uint public totalSupply = 3000; uint public nonce = 0; StripperVille public NFT; event Mint(address owner, uint qty); event Giveaway(address to, uint qty); event Withdraw(uint amount); mapping(uint => bool) public stripperMint; struct Asset { uint id; uint tokenType; } constructor(address nft) ERC721("StripperVille Marbles", "SMRB") { setStripperVilleAddress(nft); } function setStripperVilleAddress(address newAddress) public onlyOwner { NFT = StripperVille(newAddress); } function setBaseTokenURI(string calldata _uri) external onlyOwner { baseTokenURI = _uri; } function setTotalSupply(uint newSupply) external onlyOwner { totalSupply = newSupply; } function getAssetsByOwner(address _owner) public view returns(uint[] memory) { uint[] memory result = new uint[](balanceOf(_owner)); uint counter = 0; for (uint i = 0; i < nonce; i++) { if (ownerOf(i) == _owner) { result[counter] = i; counter++; } } return result; } function getMyAssets() external view returns(uint[] memory){ return getAssetsByOwner(tx.origin); } function _baseURI() internal override view returns (string memory) { return baseTokenURI; } function giveaway(address to, uint qty) external onlyOwner { require(qty + nonce <= totalSupply, "SUPPLY: Value exceeds totalSupply"); for(uint i = 0; i < qty; i++){ uint tokenId = nonce; _safeMint(to, tokenId); nonce++; } emit Giveaway(to, qty); } function getStrippersByOwner(address owner) public view returns (Asset[] memory) { uint balance = NFT.balanceOf(owner); require(balance > 0, "NOT A STRIPPER HOLDER"); Asset[] memory assets_ = new Asset[](balance); uint j = 0; for(uint i = 0; i < NFT.strippersCount(); i++){ (uint tokenId,uint tokenType,,,,,) = NFT.assets(i); if(NFT.ownerOf(tokenId) == owner && tokenType == 0){ assets_[j] = Asset(tokenId, tokenType); j++; if(balance == j){ break; } } i++; } return assets_; } function getStrippersCountByOwner(address owner) external view returns (uint) { Asset[] memory strippers = getStrippersByOwner(owner); return strippers.length; } function mint(uint[] memory ids) external { uint qty = 0; for(uint i=0; i < ids.length;i++){ uint tokenId = ids[i]; require(NFT.ownerOf(tokenId) == _msgSender(), "SENDER IS NOT OWNER"); if(stripperMint[tokenId] != true){ qty++; uint id = nonce; _safeMint(_msgSender(), id); nonce++; stripperMint[tokenId] = true; } } emit Mint(_msgSender(), qty); } function withdraw() external onlyOwner { payable(_msgSender()).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts/access/Ownable.sol"; contract Administration is Ownable { event SetAdmin(address indexed admin, bool active); mapping (address => bool) private admins; modifier onlyAdmin(){ require(admins[_msgSender()] || owner() == _msgSender(), "Admin: caller is not an admin"); _; } function setAdmin(address admin, bool active) external onlyOwner { admins[admin] = active; emit SetAdmin(admin, active); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "./Administration.sol"; import "./NFTEvents.sol"; import "./interface/IStrip.sol"; contract Assets is Administration, NFTEvents { uint public strippersCount = 0; uint public clubsCount = 0; uint public namePriceStripper = 200 ether; uint public stripperSupply = 3000; uint8 public STRIPPER = 0; uint8 public CLUB = 1; IStrip public COIN; struct Asset { uint id; uint tokenType; uint earn; uint withdraw; uint born; string name; bool active; } Asset[] public assets; function setCoinAddress(address addr) public onlyAdmin { COIN = IStrip(addr); } function getAssetByTokenId(uint tokenId) public view returns(Asset memory, uint idx) { uint i = 0; Asset memory asset; while(i < assets.length){ if(assets[i].id == tokenId){ asset = assets[i]; return(assets[i],i); } i++; } revert("tokenId not found"); } function setNamePriceStripper(uint newPrice) external onlyAdmin { namePriceStripper = newPrice; } function adminSetAssetName(uint tokenId, string calldata name) external onlyAdmin { (,uint idx) = getAssetByTokenId(tokenId); assets[idx].name = name; emit NewAssetName(_msgSender(), tokenId, name); } function setStripperSupply(uint supply) external onlyAdmin { stripperSupply = supply; emit NewTotalSupply(_msgSender(), supply); } function totalSupply() external view returns (uint) { return stripperSupply + clubsCount; } function withdraw() external onlyOwner { payable(_msgSender()).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; contract NFTEvents { event NewTotalSupply(address indexed caller, uint newSupply); event NewStripperPrice(address indexed caller, uint newPrice); event NewMaxMint(address indexed caller, uint newMaxMint); event MintStripper(address indexed buyer, uint qty); event MintClub(address indexed caller, string clubName); event CloseClub(address indexed caller, uint tokenId); event ReopenClub(address indexed caller, uint tokenId); event NewAssetName(address indexed caller, uint indexed tokenId, string newName); event Giveaway(address indexed from, address indexed to, uint qty); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "./Assets.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; contract StripperVille is Assets, ERC721 { uint public stripperPrice = 0.095 ether; uint private _maxMint = 1; string public baseTokenURI = 'https://strippervillebackend.herokuapp.com/'; constructor() ERC721("StripperVille", "SpV") {} modifier isMine(uint tokenId){ require(_msgSender() == ownerOf(tokenId), "OWNERSHIP: sender is not the owner"); _; } modifier canMint(uint qty){ require((qty + strippersCount) <= stripperSupply, "SUPPLY: qty exceeds total suply"); _; } function setStripperPrice(uint newPrice) external onlyAdmin { stripperPrice = newPrice; emit NewStripperPrice(_msgSender(), newPrice); } function setMaxMint(uint newMaxMint) external onlyAdmin { _maxMint = newMaxMint; emit NewMaxMint(_msgSender(), newMaxMint); } function buyStripper(uint qty) external payable canMint(qty) { require((msg.value == stripperPrice * qty),"BUY: wrong value"); require((qty <= _maxMint), "MINT LIMIT: cannot mint more than allowed"); for(uint i=0; i < qty; i++) { _mintTo(_msgSender()); } emit MintStripper(_msgSender(), qty); } function giveaway(address to, uint qty) external onlyOwner canMint(qty) { for(uint i=0; i < qty; i++) { _mintTo(to); } emit Giveaway(_msgSender(), to, qty); } function _mintTo(address to) internal { require(strippersCount < stripperSupply, "SUPPLY: qty exceeds total suply"); uint rand = uint(keccak256(abi.encodePacked(block.difficulty, block.timestamp, msg.sender, assets.length))); uint earn = ((rand % 31) + 70) * (10 ** 18); uint tokenId = strippersCount + 1; assets.push(Asset(tokenId, STRIPPER, earn, 0, block.timestamp, "", true)); _safeMint(to, tokenId); strippersCount++; } function createClub(string calldata clubName) external onlyAdmin { uint tokenId = clubsCount + 1000000; assets.push(Asset(tokenId, CLUB, 0, 0, block.timestamp, clubName, true)); _safeMint(owner(), tokenId); clubsCount++; emit MintClub(_msgSender(), clubName); } function closeClub(uint tokenId) external onlyAdmin { require(ownerOf(tokenId) == owner(), "Ownership: Cannot close this club"); (Asset memory asset, uint i) = getAssetByTokenId(tokenId); require(asset.tokenType == CLUB, "CLUB: asset is not a club"); assets[i].active = false; emit CloseClub(_msgSender(), tokenId); } function reopenClub(uint tokenId) external onlyAdmin { (Asset memory asset, uint i) = getAssetByTokenId(tokenId); require(asset.tokenType == CLUB, "CLUB: asset is not a club"); assets[i].active = true; emit ReopenClub(_msgSender(), tokenId); } function setStripperName(uint tokenId, string calldata name) external isMine(tokenId) { (Asset memory asset, uint i) = getAssetByTokenId(tokenId); require(asset.tokenType == STRIPPER, "ASSET: Asset is not a stripper"); require(COIN.balanceOf(_msgSender()) >= namePriceStripper, "COIN: Insuficient funds"); COIN.buy(namePriceStripper); assets[i].name = name; emit NewAssetName(_msgSender(), tokenId, name); } function withdrawAsset(uint tokenId, uint amount) external onlyAdmin { require(tx.origin == ownerOf(tokenId), "OWNERSHIP: sender is not the owner"); (, uint i) = getAssetByTokenId(tokenId); assets[i].withdraw += amount; } function getAssetsByOwner(address owner) public view returns (Asset[] memory) { uint balance = balanceOf(owner); Asset[] memory assets_ = new Asset[](balance); uint j = 0; for(uint i = 0; i < assets.length; i++){ if(ownerOf(assets[i].id) == owner){ assets_[j] = assets[i]; j++; if(balance == j){ break; } } i++; } return assets_; } function setBaseTokenURI(string calldata uri) external onlyOwner { baseTokenURI = uri; } function _baseURI() internal override view returns (string memory) { return baseTokenURI; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; interface IStrip { function balanceOf(address account) external view returns (uint256); function buy(uint price) external; function decimals() external view returns (uint); }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "berlin", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"nft","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"}],"name":"Giveaway","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"}],"name":"Mint","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"NFT","outputs":[{"internalType":"contract StripperVille","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getAssetsByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMyAssets","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getStrippersByOwner","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"tokenType","type":"uint256"}],"internalType":"struct Marbles.Asset[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getStrippersCountByOwner","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"giveaway","outputs":[],"stateMutability":"nonpayable","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":"ids","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setStripperVilleAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stripperMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"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
608060405260405180602001604052806000815250600790805190602001906200002b9291906200030d565b50610bb860085560006009553480156200004457600080fd5b50604051620047313803806200473183398181016040528101906200006a9190620003d4565b6040518060400160405280601581526020017f537472697070657256696c6c65204d6172626c657300000000000000000000008152506040518060400160405280600481526020017f534d5242000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000ee9291906200030d565b508060019080519060200190620001079291906200030d565b5050506200012a6200011e6200014260201b60201c565b6200014a60201b60201c565b6200013b816200021060201b60201c565b5062000541565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002206200014260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000246620002e360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200029f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000296906200042d565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200031b9062000494565b90600052602060002090601f0160209004810192826200033f57600085556200038b565b82601f106200035a57805160ff19168380011785556200038b565b828001600101855582156200038b579182015b828111156200038a5782518255916020019190600101906200036d565b5b5090506200039a91906200039e565b5090565b5b80821115620003b95760008160009055506001016200039f565b5090565b600081519050620003ce8162000527565b92915050565b600060208284031215620003ed57620003ec620004f9565b5b6000620003fd84828501620003bd565b91505092915050565b6000620004156020836200044f565b91506200042282620004fe565b602082019050919050565b60006020820190508181036000830152620004488162000406565b9050919050565b600082825260208201905092915050565b60006200046d8262000474565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620004ad57607f821691505b60208210811415620004c457620004c3620004ca565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b620005328162000460565b81146200053e57600080fd5b50565b6141e080620005516000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80636352211e11610104578063affed0e0116100a2578063ef3b684211610071578063ef3b684214610569578063f2fde38b14610585578063f7ea7a3d146105a1578063f8e93ef9146105bd576101da565b8063affed0e0146104cf578063b88d4fde146104ed578063c87b56dd14610509578063e985e9c514610539576101da565b80637c0b8de2116100de5780637c0b8de2146104595780638da5cb5b1461047757806395d89b4114610495578063a22cb465146104b3576101da565b80636352211e146103ef57806370a082311461041f578063715018a61461044f576101da565b806323b872dd1161017c5780633ccfd60b1161014b5780633ccfd60b1461037b57806342842e0e1461038557806347002d1d146103a157806351e6eedb146103bf576101da565b806323b872dd146102e3578063276f0934146102ff57806330176e131461032f5780633777b50b1461034b576101da565b8063081812fc116101b8578063081812fc14610249578063095ea7b31461027957806318160ddd146102955780632183c212146102b3576101da565b806301ffc9a7146101df578063050225ea1461020f57806306fdde031461022b575b600080fd5b6101f960048036038101906101f49190612d35565b6105d9565b604051610206919061348e565b60405180910390f35b61022960048036038101906102249190612cac565b6106bb565b005b61023361080f565b60405161024091906134c4565b60405180910390f35b610263600480360381019061025e9190612ddc565b6108a1565b60405161027091906133ba565b60405180910390f35b610293600480360381019061028e9190612cac565b610926565b005b61029d610a3e565b6040516102aa9190613746565b60405180910390f35b6102cd60048036038101906102c89190612afc565b610a44565b6040516102da919061344a565b60405180910390f35b6102fd60048036038101906102f89190612b96565b610e61565b005b61031960048036038101906103149190612afc565b610ec1565b604051610326919061346c565b60405180910390f35b61034960048036038101906103449190612d8f565b610faf565b005b61036560048036038101906103609190612afc565b611041565b6040516103729190613746565b60405180910390f35b610383611059565b005b61039f600480360381019061039a9190612b96565b611125565b005b6103a9611145565b6040516103b6919061346c565b60405180910390f35b6103d960048036038101906103d49190612ddc565b611155565b6040516103e6919061348e565b60405180910390f35b61040960048036038101906104049190612ddc565b611175565b60405161041691906133ba565b60405180910390f35b61043960048036038101906104349190612afc565b611227565b6040516104469190613746565b60405180910390f35b6104576112df565b005b610461611367565b60405161046e91906134a9565b60405180910390f35b61047f61138d565b60405161048c91906133ba565b60405180910390f35b61049d6113b7565b6040516104aa91906134c4565b60405180910390f35b6104cd60048036038101906104c89190612c6c565b611449565b005b6104d76115ca565b6040516104e49190613746565b60405180910390f35b61050760048036038101906105029190612be9565b6115d0565b005b610523600480360381019061051e9190612ddc565b611632565b60405161053091906134c4565b60405180910390f35b610553600480360381019061054e9190612b56565b6116d9565b604051610560919061348e565b60405180910390f35b610583600480360381019061057e9190612afc565b61176d565b005b61059f600480360381019061059a9190612afc565b61182d565b005b6105bb60048036038101906105b69190612ddc565b611925565b005b6105d760048036038101906105d29190612cec565b6119ab565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106a457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106b457506106b382611be7565b5b9050919050565b6106c3611c51565b73ffffffffffffffffffffffffffffffffffffffff166106e161138d565b73ffffffffffffffffffffffffffffffffffffffff1614610737576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072e90613666565b60405180910390fd5b6008546009548261074891906138c9565b1115610789576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610780906136e6565b60405180910390fd5b60005b818110156107d157600060095490506107a58482611c59565b600960008154809291906107b890613ac1565b91905055505080806107c990613ac1565b91505061078c565b507f2118eda2a5fcc2e5f909a608477a856272adadcb48e1373747c51d2d3f6fc2ef8282604051610803929190613421565b60405180910390a15050565b60606000805461081e90613a5e565b80601f016020809104026020016040519081016040528092919081815260200182805461084a90613a5e565b80156108975780601f1061086c57610100808354040283529160200191610897565b820191906000526020600020905b81548152906001019060200180831161087a57829003601f168201915b5050505050905090565b60006108ac82611c77565b6108eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e290613646565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061093182611175565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610999906136c6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109c1611c51565b73ffffffffffffffffffffffffffffffffffffffff1614806109f057506109ef816109ea611c51565b6116d9565b5b610a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a26906135a6565b60405180910390fd5b610a398383611ce3565b505050565b60085481565b60606000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610aa391906133ba565b60206040518083038186803b158015610abb57600080fd5b505afa158015610acf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af39190612e09565b905060008111610b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2f90613606565b60405180910390fd5b60008167ffffffffffffffff811115610b5457610b53613bf7565b5b604051908082528060200260200182016040528015610b8d57816020015b610b7a6127c3565b815260200190600190039081610b725790505b5090506000805b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c66502546040518163ffffffff1660e01b815260040160206040518083038186803b158015610bfc57600080fd5b505afa158015610c10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c349190612e09565b811015610e5557600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf35bdd0846040518263ffffffff1660e01b8152600401610c999190613746565b60006040518083038186803b158015610cb157600080fd5b505afa158015610cc5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610cee9190612e36565b5050505050915091508773ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401610d699190613746565b60206040518083038186803b158015610d8157600080fd5b505afa158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db99190612b29565b73ffffffffffffffffffffffffffffffffffffffff16148015610ddc5750600081145b15610e3257604051806040016040528083815260200182815250858581518110610e0957610e08613bc8565b5b60200260200101819052508380610e1f90613ac1565b94505083861415610e31575050610e55565b5b8280610e3d90613ac1565b93505050508080610e4d90613ac1565b915050610b94565b50819350505050919050565b610e72610e6c611c51565b82611d9c565b610eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea890613706565b60405180910390fd5b610ebc838383611e7a565b505050565b60606000610ece83611227565b67ffffffffffffffff811115610ee757610ee6613bf7565b5b604051908082528060200260200182016040528015610f155781602001602082028036833780820191505090505b5090506000805b600954811015610fa4578473ffffffffffffffffffffffffffffffffffffffff16610f4682611175565b73ffffffffffffffffffffffffffffffffffffffff161415610f915780838381518110610f7657610f75613bc8565b5b6020026020010181815250508180610f8d90613ac1565b9250505b8080610f9c90613ac1565b915050610f1c565b508192505050919050565b610fb7611c51565b73ffffffffffffffffffffffffffffffffffffffff16610fd561138d565b73ffffffffffffffffffffffffffffffffffffffff161461102b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102290613666565b60405180910390fd5b81816007919061103c9291906127dd565b505050565b60008061104d83610a44565b90508051915050919050565b611061611c51565b73ffffffffffffffffffffffffffffffffffffffff1661107f61138d565b73ffffffffffffffffffffffffffffffffffffffff16146110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc90613666565b60405180910390fd5b6110dd611c51565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611122573d6000803e3d6000fd5b50565b611140838383604051806020016040528060008152506115d0565b505050565b606061115032610ec1565b905090565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561121e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611215906135e6565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128f906135c6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112e7611c51565b73ffffffffffffffffffffffffffffffffffffffff1661130561138d565b73ffffffffffffffffffffffffffffffffffffffff161461135b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135290613666565b60405180910390fd5b61136560006120d6565b565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546113c690613a5e565b80601f01602080910402602001604051908101604052809291908181526020018280546113f290613a5e565b801561143f5780601f106114145761010080835404028352916020019161143f565b820191906000526020600020905b81548152906001019060200180831161142257829003601f168201915b5050505050905090565b611451611c51565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b690613566565b60405180910390fd5b80600560006114cc611c51565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611579611c51565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115be919061348e565b60405180910390a35050565b60095481565b6115e16115db611c51565b83611d9c565b611620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161790613706565b60405180910390fd5b61162c8484848461219c565b50505050565b606061163d82611c77565b61167c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611673906136a6565b60405180910390fd5b60006116866121f8565b905060008151116116a657604051806020016040528060008152506116d1565b806116b08461228a565b6040516020016116c1929190613396565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611775611c51565b73ffffffffffffffffffffffffffffffffffffffff1661179361138d565b73ffffffffffffffffffffffffffffffffffffffff16146117e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e090613666565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611835611c51565b73ffffffffffffffffffffffffffffffffffffffff1661185361138d565b73ffffffffffffffffffffffffffffffffffffffff16146118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a090613666565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611919576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191090613506565b60405180910390fd5b611922816120d6565b50565b61192d611c51565b73ffffffffffffffffffffffffffffffffffffffff1661194b61138d565b73ffffffffffffffffffffffffffffffffffffffff16146119a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199890613666565b60405180910390fd5b8060088190555050565b6000805b8251811015611ba25760008382815181106119cd576119cc613bc8565b5b602002602001015190506119df611c51565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611a509190613746565b60206040518083038186803b158015611a6857600080fd5b505afa158015611a7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa09190612b29565b73ffffffffffffffffffffffffffffffffffffffff1614611af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed90613726565b60405180910390fd5b60011515600b600083815260200190815260200160002060009054906101000a900460ff16151514611b8e578280611b2d90613ac1565b93505060006009549050611b48611b42611c51565b82611c59565b60096000815480929190611b5b90613ac1565b91905055506001600b600084815260200190815260200160002060006101000a81548160ff021916908315150217905550505b508080611b9a90613ac1565b9150506119af565b507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885611bcc611c51565b82604051611bdb929190613421565b60405180910390a15050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b611c738282604051806020016040528060008152506123eb565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d5683611175565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611da782611c77565b611de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddd90613586565b60405180910390fd5b6000611df183611175565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e6057508373ffffffffffffffffffffffffffffffffffffffff16611e48846108a1565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e715750611e7081856116d9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e9a82611175565b73ffffffffffffffffffffffffffffffffffffffff1614611ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee790613686565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5790613546565b60405180910390fd5b611f6b838383612446565b611f76600082611ce3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc69190613950565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461201d91906138c9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6121a7848484611e7a565b6121b38484848461244b565b6121f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e9906134e6565b60405180910390fd5b50505050565b60606007805461220790613a5e565b80601f016020809104026020016040519081016040528092919081815260200182805461223390613a5e565b80156122805780601f1061225557610100808354040283529160200191612280565b820191906000526020600020905b81548152906001019060200180831161226357829003601f168201915b5050505050905090565b606060008214156122d2576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123e6565b600082905060005b600082146123045780806122ed90613ac1565b915050600a826122fd919061391f565b91506122da565b60008167ffffffffffffffff8111156123205761231f613bf7565b5b6040519080825280601f01601f1916602001820160405280156123525781602001600182028036833780820191505090505b5090505b600085146123df5760018261236b9190613950565b9150600a8561237a9190613b0a565b603061238691906138c9565b60f81b81838151811061239c5761239b613bc8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123d8919061391f565b9450612356565b8093505050505b919050565b6123f583836125e2565b612402600084848461244b565b612441576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612438906134e6565b60405180910390fd5b505050565b505050565b600061246c8473ffffffffffffffffffffffffffffffffffffffff166127b0565b156125d5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612495611c51565b8786866040518563ffffffff1660e01b81526004016124b794939291906133d5565b602060405180830381600087803b1580156124d157600080fd5b505af192505050801561250257506040513d601f19601f820116820180604052508101906124ff9190612d62565b60015b612585573d8060008114612532576040519150601f19603f3d011682016040523d82523d6000602084013e612537565b606091505b5060008151141561257d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612574906134e6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506125da565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264990613626565b60405180910390fd5b61265b81611c77565b1561269b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269290613526565b60405180910390fd5b6126a760008383612446565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126f791906138c9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b604051806040016040528060008152602001600081525090565b8280546127e990613a5e565b90600052602060002090601f01602090048101928261280b5760008555612852565b82601f1061282457803560ff1916838001178555612852565b82800160010185558215612852579182015b82811115612851578235825591602001919060010190612836565b5b50905061285f9190612863565b5090565b5b8082111561287c576000816000905550600101612864565b5090565b600061289361288e84613786565b613761565b905080838252602082019050828560208602820111156128b6576128b5613c30565b5b60005b858110156128e657816128cc8882612ad2565b8452602084019350602083019250506001810190506128b9565b5050509392505050565b60006129036128fe846137b2565b613761565b90508281526020810184848401111561291f5761291e613c35565b5b61292a848285613a1c565b509392505050565b6000612945612940846137e3565b613761565b90508281526020810184848401111561296157612960613c35565b5b61296c848285613a2b565b509392505050565b6000813590506129838161414e565b92915050565b6000815190506129988161414e565b92915050565b600082601f8301126129b3576129b2613c2b565b5b81356129c3848260208601612880565b91505092915050565b6000813590506129db81614165565b92915050565b6000815190506129f081614165565b92915050565b600081359050612a058161417c565b92915050565b600081519050612a1a8161417c565b92915050565b600082601f830112612a3557612a34613c2b565b5b8135612a458482602086016128f0565b91505092915050565b60008083601f840112612a6457612a63613c2b565b5b8235905067ffffffffffffffff811115612a8157612a80613c26565b5b602083019150836001820283011115612a9d57612a9c613c30565b5b9250929050565b600082601f830112612ab957612ab8613c2b565b5b8151612ac9848260208601612932565b91505092915050565b600081359050612ae181614193565b92915050565b600081519050612af681614193565b92915050565b600060208284031215612b1257612b11613c3f565b5b6000612b2084828501612974565b91505092915050565b600060208284031215612b3f57612b3e613c3f565b5b6000612b4d84828501612989565b91505092915050565b60008060408385031215612b6d57612b6c613c3f565b5b6000612b7b85828601612974565b9250506020612b8c85828601612974565b9150509250929050565b600080600060608486031215612baf57612bae613c3f565b5b6000612bbd86828701612974565b9350506020612bce86828701612974565b9250506040612bdf86828701612ad2565b9150509250925092565b60008060008060808587031215612c0357612c02613c3f565b5b6000612c1187828801612974565b9450506020612c2287828801612974565b9350506040612c3387828801612ad2565b925050606085013567ffffffffffffffff811115612c5457612c53613c3a565b5b612c6087828801612a20565b91505092959194509250565b60008060408385031215612c8357612c82613c3f565b5b6000612c9185828601612974565b9250506020612ca2858286016129cc565b9150509250929050565b60008060408385031215612cc357612cc2613c3f565b5b6000612cd185828601612974565b9250506020612ce285828601612ad2565b9150509250929050565b600060208284031215612d0257612d01613c3f565b5b600082013567ffffffffffffffff811115612d2057612d1f613c3a565b5b612d2c8482850161299e565b91505092915050565b600060208284031215612d4b57612d4a613c3f565b5b6000612d59848285016129f6565b91505092915050565b600060208284031215612d7857612d77613c3f565b5b6000612d8684828501612a0b565b91505092915050565b60008060208385031215612da657612da5613c3f565b5b600083013567ffffffffffffffff811115612dc457612dc3613c3a565b5b612dd085828601612a4e565b92509250509250929050565b600060208284031215612df257612df1613c3f565b5b6000612e0084828501612ad2565b91505092915050565b600060208284031215612e1f57612e1e613c3f565b5b6000612e2d84828501612ae7565b91505092915050565b600080600080600080600060e0888a031215612e5557612e54613c3f565b5b6000612e638a828b01612ae7565b9750506020612e748a828b01612ae7565b9650506040612e858a828b01612ae7565b9550506060612e968a828b01612ae7565b9450506080612ea78a828b01612ae7565b93505060a088015167ffffffffffffffff811115612ec857612ec7613c3a565b5b612ed48a828b01612aa4565b92505060c0612ee58a828b016129e1565b91505092959891949750929550565b6000612f008383613349565b60408301905092915050565b6000612f188383613378565b60208301905092915050565b612f2d81613984565b82525050565b6000612f3e82613834565b612f48818561387a565b9350612f5383613814565b8060005b83811015612f84578151612f6b8882612ef4565b9750612f7683613860565b925050600181019050612f57565b5085935050505092915050565b6000612f9c8261383f565b612fa6818561388b565b9350612fb183613824565b8060005b83811015612fe2578151612fc98882612f0c565b9750612fd48361386d565b925050600181019050612fb5565b5085935050505092915050565b612ff881613996565b82525050565b60006130098261384a565b613013818561389c565b9350613023818560208601613a2b565b61302c81613c44565b840191505092915050565b613040816139f8565b82525050565b600061305182613855565b61305b81856138ad565b935061306b818560208601613a2b565b61307481613c44565b840191505092915050565b600061308a82613855565b61309481856138be565b93506130a4818560208601613a2b565b80840191505092915050565b60006130bd6032836138ad565b91506130c882613c55565b604082019050919050565b60006130e06026836138ad565b91506130eb82613ca4565b604082019050919050565b6000613103601c836138ad565b915061310e82613cf3565b602082019050919050565b60006131266024836138ad565b915061313182613d1c565b604082019050919050565b60006131496019836138ad565b915061315482613d6b565b602082019050919050565b600061316c602c836138ad565b915061317782613d94565b604082019050919050565b600061318f6038836138ad565b915061319a82613de3565b604082019050919050565b60006131b2602a836138ad565b91506131bd82613e32565b604082019050919050565b60006131d56029836138ad565b91506131e082613e81565b604082019050919050565b60006131f86015836138ad565b915061320382613ed0565b602082019050919050565b600061321b6020836138ad565b915061322682613ef9565b602082019050919050565b600061323e602c836138ad565b915061324982613f22565b604082019050919050565b60006132616020836138ad565b915061326c82613f71565b602082019050919050565b60006132846029836138ad565b915061328f82613f9a565b604082019050919050565b60006132a7602f836138ad565b91506132b282613fe9565b604082019050919050565b60006132ca6021836138ad565b91506132d582614038565b604082019050919050565b60006132ed6021836138ad565b91506132f882614087565b604082019050919050565b60006133106031836138ad565b915061331b826140d6565b604082019050919050565b60006133336013836138ad565b915061333e82614125565b602082019050919050565b60408201600082015161335f6000850182613378565b5060208201516133726020850182613378565b50505050565b613381816139ee565b82525050565b613390816139ee565b82525050565b60006133a2828561307f565b91506133ae828461307f565b91508190509392505050565b60006020820190506133cf6000830184612f24565b92915050565b60006080820190506133ea6000830187612f24565b6133f76020830186612f24565b6134046040830185613387565b81810360608301526134168184612ffe565b905095945050505050565b60006040820190506134366000830185612f24565b6134436020830184613387565b9392505050565b600060208201905081810360008301526134648184612f33565b905092915050565b600060208201905081810360008301526134868184612f91565b905092915050565b60006020820190506134a36000830184612fef565b92915050565b60006020820190506134be6000830184613037565b92915050565b600060208201905081810360008301526134de8184613046565b905092915050565b600060208201905081810360008301526134ff816130b0565b9050919050565b6000602082019050818103600083015261351f816130d3565b9050919050565b6000602082019050818103600083015261353f816130f6565b9050919050565b6000602082019050818103600083015261355f81613119565b9050919050565b6000602082019050818103600083015261357f8161313c565b9050919050565b6000602082019050818103600083015261359f8161315f565b9050919050565b600060208201905081810360008301526135bf81613182565b9050919050565b600060208201905081810360008301526135df816131a5565b9050919050565b600060208201905081810360008301526135ff816131c8565b9050919050565b6000602082019050818103600083015261361f816131eb565b9050919050565b6000602082019050818103600083015261363f8161320e565b9050919050565b6000602082019050818103600083015261365f81613231565b9050919050565b6000602082019050818103600083015261367f81613254565b9050919050565b6000602082019050818103600083015261369f81613277565b9050919050565b600060208201905081810360008301526136bf8161329a565b9050919050565b600060208201905081810360008301526136df816132bd565b9050919050565b600060208201905081810360008301526136ff816132e0565b9050919050565b6000602082019050818103600083015261371f81613303565b9050919050565b6000602082019050818103600083015261373f81613326565b9050919050565b600060208201905061375b6000830184613387565b92915050565b600061376b61377c565b90506137778282613a90565b919050565b6000604051905090565b600067ffffffffffffffff8211156137a1576137a0613bf7565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156137cd576137cc613bf7565b5b6137d682613c44565b9050602081019050919050565b600067ffffffffffffffff8211156137fe576137fd613bf7565b5b61380782613c44565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006138d4826139ee565b91506138df836139ee565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561391457613913613b3b565b5b828201905092915050565b600061392a826139ee565b9150613935836139ee565b92508261394557613944613b6a565b5b828204905092915050565b600061395b826139ee565b9150613966836139ee565b92508282101561397957613978613b3b565b5b828203905092915050565b600061398f826139ce565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613a0382613a0a565b9050919050565b6000613a15826139ce565b9050919050565b82818337600083830152505050565b60005b83811015613a49578082015181840152602081019050613a2e565b83811115613a58576000848401525b50505050565b60006002820490506001821680613a7657607f821691505b60208210811415613a8a57613a89613b99565b5b50919050565b613a9982613c44565b810181811067ffffffffffffffff82111715613ab857613ab7613bf7565b5b80604052505050565b6000613acc826139ee565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613aff57613afe613b3b565b5b600182019050919050565b6000613b15826139ee565b9150613b20836139ee565b925082613b3057613b2f613b6a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e4f54204120535452495050455220484f4c4445520000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f535550504c593a2056616c7565206578636565647320746f74616c537570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f53454e444552204953204e4f54204f574e455200000000000000000000000000600082015250565b61415781613984565b811461416257600080fd5b50565b61416e81613996565b811461417957600080fd5b50565b614185816139a2565b811461419057600080fd5b50565b61419c816139ee565b81146141a757600080fd5b5056fea26469706673582212206890c33594995022dce2aece7be571267fe76fe4282a9d091713b5a482fd4f3064736f6c634300080600330000000000000000000000009808226ed04e92f9380da67c5606354fae5891b0
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80636352211e11610104578063affed0e0116100a2578063ef3b684211610071578063ef3b684214610569578063f2fde38b14610585578063f7ea7a3d146105a1578063f8e93ef9146105bd576101da565b8063affed0e0146104cf578063b88d4fde146104ed578063c87b56dd14610509578063e985e9c514610539576101da565b80637c0b8de2116100de5780637c0b8de2146104595780638da5cb5b1461047757806395d89b4114610495578063a22cb465146104b3576101da565b80636352211e146103ef57806370a082311461041f578063715018a61461044f576101da565b806323b872dd1161017c5780633ccfd60b1161014b5780633ccfd60b1461037b57806342842e0e1461038557806347002d1d146103a157806351e6eedb146103bf576101da565b806323b872dd146102e3578063276f0934146102ff57806330176e131461032f5780633777b50b1461034b576101da565b8063081812fc116101b8578063081812fc14610249578063095ea7b31461027957806318160ddd146102955780632183c212146102b3576101da565b806301ffc9a7146101df578063050225ea1461020f57806306fdde031461022b575b600080fd5b6101f960048036038101906101f49190612d35565b6105d9565b604051610206919061348e565b60405180910390f35b61022960048036038101906102249190612cac565b6106bb565b005b61023361080f565b60405161024091906134c4565b60405180910390f35b610263600480360381019061025e9190612ddc565b6108a1565b60405161027091906133ba565b60405180910390f35b610293600480360381019061028e9190612cac565b610926565b005b61029d610a3e565b6040516102aa9190613746565b60405180910390f35b6102cd60048036038101906102c89190612afc565b610a44565b6040516102da919061344a565b60405180910390f35b6102fd60048036038101906102f89190612b96565b610e61565b005b61031960048036038101906103149190612afc565b610ec1565b604051610326919061346c565b60405180910390f35b61034960048036038101906103449190612d8f565b610faf565b005b61036560048036038101906103609190612afc565b611041565b6040516103729190613746565b60405180910390f35b610383611059565b005b61039f600480360381019061039a9190612b96565b611125565b005b6103a9611145565b6040516103b6919061346c565b60405180910390f35b6103d960048036038101906103d49190612ddc565b611155565b6040516103e6919061348e565b60405180910390f35b61040960048036038101906104049190612ddc565b611175565b60405161041691906133ba565b60405180910390f35b61043960048036038101906104349190612afc565b611227565b6040516104469190613746565b60405180910390f35b6104576112df565b005b610461611367565b60405161046e91906134a9565b60405180910390f35b61047f61138d565b60405161048c91906133ba565b60405180910390f35b61049d6113b7565b6040516104aa91906134c4565b60405180910390f35b6104cd60048036038101906104c89190612c6c565b611449565b005b6104d76115ca565b6040516104e49190613746565b60405180910390f35b61050760048036038101906105029190612be9565b6115d0565b005b610523600480360381019061051e9190612ddc565b611632565b60405161053091906134c4565b60405180910390f35b610553600480360381019061054e9190612b56565b6116d9565b604051610560919061348e565b60405180910390f35b610583600480360381019061057e9190612afc565b61176d565b005b61059f600480360381019061059a9190612afc565b61182d565b005b6105bb60048036038101906105b69190612ddc565b611925565b005b6105d760048036038101906105d29190612cec565b6119ab565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106a457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106b457506106b382611be7565b5b9050919050565b6106c3611c51565b73ffffffffffffffffffffffffffffffffffffffff166106e161138d565b73ffffffffffffffffffffffffffffffffffffffff1614610737576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072e90613666565b60405180910390fd5b6008546009548261074891906138c9565b1115610789576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610780906136e6565b60405180910390fd5b60005b818110156107d157600060095490506107a58482611c59565b600960008154809291906107b890613ac1565b91905055505080806107c990613ac1565b91505061078c565b507f2118eda2a5fcc2e5f909a608477a856272adadcb48e1373747c51d2d3f6fc2ef8282604051610803929190613421565b60405180910390a15050565b60606000805461081e90613a5e565b80601f016020809104026020016040519081016040528092919081815260200182805461084a90613a5e565b80156108975780601f1061086c57610100808354040283529160200191610897565b820191906000526020600020905b81548152906001019060200180831161087a57829003601f168201915b5050505050905090565b60006108ac82611c77565b6108eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e290613646565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061093182611175565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610999906136c6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109c1611c51565b73ffffffffffffffffffffffffffffffffffffffff1614806109f057506109ef816109ea611c51565b6116d9565b5b610a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a26906135a6565b60405180910390fd5b610a398383611ce3565b505050565b60085481565b60606000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610aa391906133ba565b60206040518083038186803b158015610abb57600080fd5b505afa158015610acf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af39190612e09565b905060008111610b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2f90613606565b60405180910390fd5b60008167ffffffffffffffff811115610b5457610b53613bf7565b5b604051908082528060200260200182016040528015610b8d57816020015b610b7a6127c3565b815260200190600190039081610b725790505b5090506000805b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c66502546040518163ffffffff1660e01b815260040160206040518083038186803b158015610bfc57600080fd5b505afa158015610c10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c349190612e09565b811015610e5557600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf35bdd0846040518263ffffffff1660e01b8152600401610c999190613746565b60006040518083038186803b158015610cb157600080fd5b505afa158015610cc5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610cee9190612e36565b5050505050915091508773ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401610d699190613746565b60206040518083038186803b158015610d8157600080fd5b505afa158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db99190612b29565b73ffffffffffffffffffffffffffffffffffffffff16148015610ddc5750600081145b15610e3257604051806040016040528083815260200182815250858581518110610e0957610e08613bc8565b5b60200260200101819052508380610e1f90613ac1565b94505083861415610e31575050610e55565b5b8280610e3d90613ac1565b93505050508080610e4d90613ac1565b915050610b94565b50819350505050919050565b610e72610e6c611c51565b82611d9c565b610eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea890613706565b60405180910390fd5b610ebc838383611e7a565b505050565b60606000610ece83611227565b67ffffffffffffffff811115610ee757610ee6613bf7565b5b604051908082528060200260200182016040528015610f155781602001602082028036833780820191505090505b5090506000805b600954811015610fa4578473ffffffffffffffffffffffffffffffffffffffff16610f4682611175565b73ffffffffffffffffffffffffffffffffffffffff161415610f915780838381518110610f7657610f75613bc8565b5b6020026020010181815250508180610f8d90613ac1565b9250505b8080610f9c90613ac1565b915050610f1c565b508192505050919050565b610fb7611c51565b73ffffffffffffffffffffffffffffffffffffffff16610fd561138d565b73ffffffffffffffffffffffffffffffffffffffff161461102b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102290613666565b60405180910390fd5b81816007919061103c9291906127dd565b505050565b60008061104d83610a44565b90508051915050919050565b611061611c51565b73ffffffffffffffffffffffffffffffffffffffff1661107f61138d565b73ffffffffffffffffffffffffffffffffffffffff16146110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc90613666565b60405180910390fd5b6110dd611c51565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611122573d6000803e3d6000fd5b50565b611140838383604051806020016040528060008152506115d0565b505050565b606061115032610ec1565b905090565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561121e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611215906135e6565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128f906135c6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112e7611c51565b73ffffffffffffffffffffffffffffffffffffffff1661130561138d565b73ffffffffffffffffffffffffffffffffffffffff161461135b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135290613666565b60405180910390fd5b61136560006120d6565b565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546113c690613a5e565b80601f01602080910402602001604051908101604052809291908181526020018280546113f290613a5e565b801561143f5780601f106114145761010080835404028352916020019161143f565b820191906000526020600020905b81548152906001019060200180831161142257829003601f168201915b5050505050905090565b611451611c51565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b690613566565b60405180910390fd5b80600560006114cc611c51565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611579611c51565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115be919061348e565b60405180910390a35050565b60095481565b6115e16115db611c51565b83611d9c565b611620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161790613706565b60405180910390fd5b61162c8484848461219c565b50505050565b606061163d82611c77565b61167c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611673906136a6565b60405180910390fd5b60006116866121f8565b905060008151116116a657604051806020016040528060008152506116d1565b806116b08461228a565b6040516020016116c1929190613396565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611775611c51565b73ffffffffffffffffffffffffffffffffffffffff1661179361138d565b73ffffffffffffffffffffffffffffffffffffffff16146117e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e090613666565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611835611c51565b73ffffffffffffffffffffffffffffffffffffffff1661185361138d565b73ffffffffffffffffffffffffffffffffffffffff16146118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a090613666565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611919576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191090613506565b60405180910390fd5b611922816120d6565b50565b61192d611c51565b73ffffffffffffffffffffffffffffffffffffffff1661194b61138d565b73ffffffffffffffffffffffffffffffffffffffff16146119a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199890613666565b60405180910390fd5b8060088190555050565b6000805b8251811015611ba25760008382815181106119cd576119cc613bc8565b5b602002602001015190506119df611c51565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611a509190613746565b60206040518083038186803b158015611a6857600080fd5b505afa158015611a7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa09190612b29565b73ffffffffffffffffffffffffffffffffffffffff1614611af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed90613726565b60405180910390fd5b60011515600b600083815260200190815260200160002060009054906101000a900460ff16151514611b8e578280611b2d90613ac1565b93505060006009549050611b48611b42611c51565b82611c59565b60096000815480929190611b5b90613ac1565b91905055506001600b600084815260200190815260200160002060006101000a81548160ff021916908315150217905550505b508080611b9a90613ac1565b9150506119af565b507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885611bcc611c51565b82604051611bdb929190613421565b60405180910390a15050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b611c738282604051806020016040528060008152506123eb565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d5683611175565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611da782611c77565b611de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddd90613586565b60405180910390fd5b6000611df183611175565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e6057508373ffffffffffffffffffffffffffffffffffffffff16611e48846108a1565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e715750611e7081856116d9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e9a82611175565b73ffffffffffffffffffffffffffffffffffffffff1614611ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee790613686565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5790613546565b60405180910390fd5b611f6b838383612446565b611f76600082611ce3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fc69190613950565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461201d91906138c9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6121a7848484611e7a565b6121b38484848461244b565b6121f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e9906134e6565b60405180910390fd5b50505050565b60606007805461220790613a5e565b80601f016020809104026020016040519081016040528092919081815260200182805461223390613a5e565b80156122805780601f1061225557610100808354040283529160200191612280565b820191906000526020600020905b81548152906001019060200180831161226357829003601f168201915b5050505050905090565b606060008214156122d2576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123e6565b600082905060005b600082146123045780806122ed90613ac1565b915050600a826122fd919061391f565b91506122da565b60008167ffffffffffffffff8111156123205761231f613bf7565b5b6040519080825280601f01601f1916602001820160405280156123525781602001600182028036833780820191505090505b5090505b600085146123df5760018261236b9190613950565b9150600a8561237a9190613b0a565b603061238691906138c9565b60f81b81838151811061239c5761239b613bc8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123d8919061391f565b9450612356565b8093505050505b919050565b6123f583836125e2565b612402600084848461244b565b612441576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612438906134e6565b60405180910390fd5b505050565b505050565b600061246c8473ffffffffffffffffffffffffffffffffffffffff166127b0565b156125d5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612495611c51565b8786866040518563ffffffff1660e01b81526004016124b794939291906133d5565b602060405180830381600087803b1580156124d157600080fd5b505af192505050801561250257506040513d601f19601f820116820180604052508101906124ff9190612d62565b60015b612585573d8060008114612532576040519150601f19603f3d011682016040523d82523d6000602084013e612537565b606091505b5060008151141561257d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612574906134e6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506125da565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264990613626565b60405180910390fd5b61265b81611c77565b1561269b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269290613526565b60405180910390fd5b6126a760008383612446565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126f791906138c9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b604051806040016040528060008152602001600081525090565b8280546127e990613a5e565b90600052602060002090601f01602090048101928261280b5760008555612852565b82601f1061282457803560ff1916838001178555612852565b82800160010185558215612852579182015b82811115612851578235825591602001919060010190612836565b5b50905061285f9190612863565b5090565b5b8082111561287c576000816000905550600101612864565b5090565b600061289361288e84613786565b613761565b905080838252602082019050828560208602820111156128b6576128b5613c30565b5b60005b858110156128e657816128cc8882612ad2565b8452602084019350602083019250506001810190506128b9565b5050509392505050565b60006129036128fe846137b2565b613761565b90508281526020810184848401111561291f5761291e613c35565b5b61292a848285613a1c565b509392505050565b6000612945612940846137e3565b613761565b90508281526020810184848401111561296157612960613c35565b5b61296c848285613a2b565b509392505050565b6000813590506129838161414e565b92915050565b6000815190506129988161414e565b92915050565b600082601f8301126129b3576129b2613c2b565b5b81356129c3848260208601612880565b91505092915050565b6000813590506129db81614165565b92915050565b6000815190506129f081614165565b92915050565b600081359050612a058161417c565b92915050565b600081519050612a1a8161417c565b92915050565b600082601f830112612a3557612a34613c2b565b5b8135612a458482602086016128f0565b91505092915050565b60008083601f840112612a6457612a63613c2b565b5b8235905067ffffffffffffffff811115612a8157612a80613c26565b5b602083019150836001820283011115612a9d57612a9c613c30565b5b9250929050565b600082601f830112612ab957612ab8613c2b565b5b8151612ac9848260208601612932565b91505092915050565b600081359050612ae181614193565b92915050565b600081519050612af681614193565b92915050565b600060208284031215612b1257612b11613c3f565b5b6000612b2084828501612974565b91505092915050565b600060208284031215612b3f57612b3e613c3f565b5b6000612b4d84828501612989565b91505092915050565b60008060408385031215612b6d57612b6c613c3f565b5b6000612b7b85828601612974565b9250506020612b8c85828601612974565b9150509250929050565b600080600060608486031215612baf57612bae613c3f565b5b6000612bbd86828701612974565b9350506020612bce86828701612974565b9250506040612bdf86828701612ad2565b9150509250925092565b60008060008060808587031215612c0357612c02613c3f565b5b6000612c1187828801612974565b9450506020612c2287828801612974565b9350506040612c3387828801612ad2565b925050606085013567ffffffffffffffff811115612c5457612c53613c3a565b5b612c6087828801612a20565b91505092959194509250565b60008060408385031215612c8357612c82613c3f565b5b6000612c9185828601612974565b9250506020612ca2858286016129cc565b9150509250929050565b60008060408385031215612cc357612cc2613c3f565b5b6000612cd185828601612974565b9250506020612ce285828601612ad2565b9150509250929050565b600060208284031215612d0257612d01613c3f565b5b600082013567ffffffffffffffff811115612d2057612d1f613c3a565b5b612d2c8482850161299e565b91505092915050565b600060208284031215612d4b57612d4a613c3f565b5b6000612d59848285016129f6565b91505092915050565b600060208284031215612d7857612d77613c3f565b5b6000612d8684828501612a0b565b91505092915050565b60008060208385031215612da657612da5613c3f565b5b600083013567ffffffffffffffff811115612dc457612dc3613c3a565b5b612dd085828601612a4e565b92509250509250929050565b600060208284031215612df257612df1613c3f565b5b6000612e0084828501612ad2565b91505092915050565b600060208284031215612e1f57612e1e613c3f565b5b6000612e2d84828501612ae7565b91505092915050565b600080600080600080600060e0888a031215612e5557612e54613c3f565b5b6000612e638a828b01612ae7565b9750506020612e748a828b01612ae7565b9650506040612e858a828b01612ae7565b9550506060612e968a828b01612ae7565b9450506080612ea78a828b01612ae7565b93505060a088015167ffffffffffffffff811115612ec857612ec7613c3a565b5b612ed48a828b01612aa4565b92505060c0612ee58a828b016129e1565b91505092959891949750929550565b6000612f008383613349565b60408301905092915050565b6000612f188383613378565b60208301905092915050565b612f2d81613984565b82525050565b6000612f3e82613834565b612f48818561387a565b9350612f5383613814565b8060005b83811015612f84578151612f6b8882612ef4565b9750612f7683613860565b925050600181019050612f57565b5085935050505092915050565b6000612f9c8261383f565b612fa6818561388b565b9350612fb183613824565b8060005b83811015612fe2578151612fc98882612f0c565b9750612fd48361386d565b925050600181019050612fb5565b5085935050505092915050565b612ff881613996565b82525050565b60006130098261384a565b613013818561389c565b9350613023818560208601613a2b565b61302c81613c44565b840191505092915050565b613040816139f8565b82525050565b600061305182613855565b61305b81856138ad565b935061306b818560208601613a2b565b61307481613c44565b840191505092915050565b600061308a82613855565b61309481856138be565b93506130a4818560208601613a2b565b80840191505092915050565b60006130bd6032836138ad565b91506130c882613c55565b604082019050919050565b60006130e06026836138ad565b91506130eb82613ca4565b604082019050919050565b6000613103601c836138ad565b915061310e82613cf3565b602082019050919050565b60006131266024836138ad565b915061313182613d1c565b604082019050919050565b60006131496019836138ad565b915061315482613d6b565b602082019050919050565b600061316c602c836138ad565b915061317782613d94565b604082019050919050565b600061318f6038836138ad565b915061319a82613de3565b604082019050919050565b60006131b2602a836138ad565b91506131bd82613e32565b604082019050919050565b60006131d56029836138ad565b91506131e082613e81565b604082019050919050565b60006131f86015836138ad565b915061320382613ed0565b602082019050919050565b600061321b6020836138ad565b915061322682613ef9565b602082019050919050565b600061323e602c836138ad565b915061324982613f22565b604082019050919050565b60006132616020836138ad565b915061326c82613f71565b602082019050919050565b60006132846029836138ad565b915061328f82613f9a565b604082019050919050565b60006132a7602f836138ad565b91506132b282613fe9565b604082019050919050565b60006132ca6021836138ad565b91506132d582614038565b604082019050919050565b60006132ed6021836138ad565b91506132f882614087565b604082019050919050565b60006133106031836138ad565b915061331b826140d6565b604082019050919050565b60006133336013836138ad565b915061333e82614125565b602082019050919050565b60408201600082015161335f6000850182613378565b5060208201516133726020850182613378565b50505050565b613381816139ee565b82525050565b613390816139ee565b82525050565b60006133a2828561307f565b91506133ae828461307f565b91508190509392505050565b60006020820190506133cf6000830184612f24565b92915050565b60006080820190506133ea6000830187612f24565b6133f76020830186612f24565b6134046040830185613387565b81810360608301526134168184612ffe565b905095945050505050565b60006040820190506134366000830185612f24565b6134436020830184613387565b9392505050565b600060208201905081810360008301526134648184612f33565b905092915050565b600060208201905081810360008301526134868184612f91565b905092915050565b60006020820190506134a36000830184612fef565b92915050565b60006020820190506134be6000830184613037565b92915050565b600060208201905081810360008301526134de8184613046565b905092915050565b600060208201905081810360008301526134ff816130b0565b9050919050565b6000602082019050818103600083015261351f816130d3565b9050919050565b6000602082019050818103600083015261353f816130f6565b9050919050565b6000602082019050818103600083015261355f81613119565b9050919050565b6000602082019050818103600083015261357f8161313c565b9050919050565b6000602082019050818103600083015261359f8161315f565b9050919050565b600060208201905081810360008301526135bf81613182565b9050919050565b600060208201905081810360008301526135df816131a5565b9050919050565b600060208201905081810360008301526135ff816131c8565b9050919050565b6000602082019050818103600083015261361f816131eb565b9050919050565b6000602082019050818103600083015261363f8161320e565b9050919050565b6000602082019050818103600083015261365f81613231565b9050919050565b6000602082019050818103600083015261367f81613254565b9050919050565b6000602082019050818103600083015261369f81613277565b9050919050565b600060208201905081810360008301526136bf8161329a565b9050919050565b600060208201905081810360008301526136df816132bd565b9050919050565b600060208201905081810360008301526136ff816132e0565b9050919050565b6000602082019050818103600083015261371f81613303565b9050919050565b6000602082019050818103600083015261373f81613326565b9050919050565b600060208201905061375b6000830184613387565b92915050565b600061376b61377c565b90506137778282613a90565b919050565b6000604051905090565b600067ffffffffffffffff8211156137a1576137a0613bf7565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156137cd576137cc613bf7565b5b6137d682613c44565b9050602081019050919050565b600067ffffffffffffffff8211156137fe576137fd613bf7565b5b61380782613c44565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006138d4826139ee565b91506138df836139ee565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561391457613913613b3b565b5b828201905092915050565b600061392a826139ee565b9150613935836139ee565b92508261394557613944613b6a565b5b828204905092915050565b600061395b826139ee565b9150613966836139ee565b92508282101561397957613978613b3b565b5b828203905092915050565b600061398f826139ce565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613a0382613a0a565b9050919050565b6000613a15826139ce565b9050919050565b82818337600083830152505050565b60005b83811015613a49578082015181840152602081019050613a2e565b83811115613a58576000848401525b50505050565b60006002820490506001821680613a7657607f821691505b60208210811415613a8a57613a89613b99565b5b50919050565b613a9982613c44565b810181811067ffffffffffffffff82111715613ab857613ab7613bf7565b5b80604052505050565b6000613acc826139ee565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613aff57613afe613b3b565b5b600182019050919050565b6000613b15826139ee565b9150613b20836139ee565b925082613b3057613b2f613b6a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e4f54204120535452495050455220484f4c4445520000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f535550504c593a2056616c7565206578636565647320746f74616c537570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f53454e444552204953204e4f54204f574e455200000000000000000000000000600082015250565b61415781613984565b811461416257600080fd5b50565b61416e81613996565b811461417957600080fd5b50565b614185816139a2565b811461419057600080fd5b50565b61419c816139ee565b81146141a757600080fd5b5056fea26469706673582212206890c33594995022dce2aece7be571267fe76fe4282a9d091713b5a482fd4f3064736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009808226ed04e92f9380da67c5606354fae5891b0
-----Decoded View---------------
Arg [0] : nft (address): 0x9808226ED04e92F9380DA67C5606354FAe5891b0
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009808226ed04e92f9380da67c5606354fae5891b0
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.