ERC-721
Overview
Max Total Supply
4,444 AA
Holders
1,945
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 AALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AwesomeApes
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* * Contract by pr0xy.io * _______ _ _ _______ _______ _______ __ __ _______ _______ _______ _______ _______ * | _ || | _ | || || || || |_| || | | _ || || || | * | |_| || || || || ___|| _____|| _ || || ___| | |_| || _ || ___|| _____| * | || || |___ | |_____ | | | || || |___ | || |_| || |___ | |_____ * | || || ___||_____ || |_| || || ___| | || ___|| ___||_____ | * | _ || _ || |___ _____| || || ||_|| || |___ | _ || | | |___ _____| | * |__| |__||__| |__||_______||_______||_______||_| |_||_______| |__| |__||___| |_______||_______| */ pragma solidity ^0.8.7; import './ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; contract AwesomeApes is ERC721Enumerable, Ownable { using Strings for uint256; // Contract to recieve ETH raised in sales address public vault; // Control for public sale bool public isActive; // Control for presale bool public isPresaleActive; // Used for verification that an address is included in presale bytes32 public merkleRoot; // Reference to image and metadata storage string public baseTokenURI; // Amount of ETH required per mint uint256 public price; // Storage of addresses that have minted with the `presale()` function mapping(address => bool) public presaleParticipants; // Sets `price` upon deployment constructor(uint256 _price) ERC721("AwesomeApes", "AA") { setPrice(_price); } // Override of `_baseURI()` that returns `baseTokenURI` function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } // Sets `isActive` to turn on/off minting in `mint()` function setActive(bool _isActive) external onlyOwner { isActive = _isActive; } // Sets `merkleRoot` to be used in `presale()` function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } // Sets `baseTokenURI` to be returned by `_baseURI()` function setBaseTokenURI(string calldata _baseTokenURI) external onlyOwner { baseTokenURI = _baseTokenURI; } // Sets `isPresaleActive` to turn on/off minting in `presale()` function setPresaleActive(bool _isPresaleActive) external onlyOwner { isPresaleActive = _isPresaleActive; } // Sets `price` to be used in `presale()` and `mint()` (called on deployment) function setPrice(uint256 _price) public onlyOwner { price = _price; } // Sets `vault` to recieve ETH from sales and used within `withdraw()` function setVault(address _vault) external onlyOwner { vault = _vault; } // Minting function used in the gifting process function gift(address to, uint256 _amount) external onlyOwner { uint256 supply = totalSupply(); require(supply + _amount < 10001, 'Supply Denied'); for(uint256 i; i < _amount; i++){ _safeMint( to, supply + i ); } } // Minting function used in the presale function presale(bytes32[] calldata _merkleProof, uint256 _amount) external payable { uint256 supply = totalSupply(); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(_amount < 4, 'Amount Denied'); require(isPresaleActive, 'Not Active'); require(supply + _amount < 10001, 'Supply Denied'); require(tx.origin == msg.sender, 'Contract Denied'); require(!presaleParticipants[msg.sender], 'Mint Claimed'); require(msg.value >= price * _amount, 'Ether Amount Denied'); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Proof Invalid'); for(uint256 i; i < _amount; i++){ _safeMint( msg.sender, supply + i ); } presaleParticipants[msg.sender] = true; } // Minting function used in the public sale function mint(uint256 _amount) external payable { uint256 supply = totalSupply(); require(isActive, 'Not Active'); require(_amount < 6, 'Amount Denied'); require(supply + _amount < 10001, 'Supply Denied'); require(tx.origin == msg.sender, 'Contract Denied'); require(msg.value >= price * _amount, 'Ether Amount Denied'); for(uint256 i; i < _amount; i++){ _safeMint( msg.sender, supply + i ); } } // Send balance of contract to address referenced in `vault` function withdraw() external payable onlyOwner { require(vault != address(0), 'Vault Invalid'); require(payable(vault).send(address(this).balance)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "./ERC721.sol"; abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // See {IERC721Enumerable-totalSupply}. function totalSupply() public view virtual override returns (uint256) { return _owners.length; } // See {IERC721Enumerable-tokenByIndex}. function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < _owners.length, "ERC721Enumerable: global index out of bounds"); return index; } // See {IERC721Enumerable-tokenOfOwnerByIndex}. function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) { require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); uint count; for(uint i; i < _owners.length; i++){ if(owner == _owners[i]){ if(count == index) return i; else count++; } } revert("ERC721Enumerable: owner index out of bounds"); } // See {IERC165-supportsInterface}. function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; // 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_; } // See {IERC721Metadata-name}. function name() public view virtual override returns (string memory) { return _name; } // See {IERC721Metadata-symbol}. function symbol() public view virtual override returns (string memory) { return _symbol; } // Base URI for computing {tokenURI}. function _baseURI() internal view virtual returns (string memory) { return ""; } // 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())) : ""; } // Returns whether `tokenId` exists. function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } // See {IERC721-balanceOf}. function balanceOf(address owner) public view virtual override returns (uint) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count; for(uint i; i < _owners.length; ++i){ if(owner == _owners[i]) ++count; } return count; } // 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; } // Approve `to` to operate on `tokenId` function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } // 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); } // 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]; } // 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); } // Returns whether `spender` is allowed to manage `tokenId`. 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)); } // See {IERC721-isApprovedForAll}. function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } // Transfers `tokenId` from `from` to `to`. (No restrictions on sender) 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); _approve(address(0), tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } // See {IERC721-transferFrom}. function transferFrom(address from, address to, uint256 tokenId) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } // Safely transfers `tokenId` token from `from` to `to`. 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"); } // 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); } // See {IERC721-safeTransferFrom}. function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } // Mints `tokenId` and transfers it to `to`. 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); _owners.push(to); emit Transfer(address(0), to, tokenId); } // Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter. 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"); } // Safely mints `tokenId` and transfers it to `to`. function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } // Destroys `tokenId`. function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); _approve(address(0), tokenId); _owners[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } // 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); } // Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. 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; } } // Hook that is called before any token transfer. function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"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":"to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"presale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleParticipants","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"bool","name":"_isActive","type":"bool"}],"name":"setActive","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":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPresaleActive","type":"bool"}],"name":"setPresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162004c7a38038062004c7a833981810160405281019062000037919062000390565b6040518060400160405280600b81526020017f417765736f6d65417065730000000000000000000000000000000000000000008152506040518060400160405280600281526020017f41410000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb929190620002a0565b508060019080519060200190620000d4929190620002a0565b505050620000f7620000eb6200010f60201b60201c565b6200011760201b60201c565b6200010881620001dd60201b60201c565b50620004aa565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001ed6200010f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002136200027660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200026c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002639062000423565b60405180910390fd5b8060098190555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620002ae9062000474565b90600052602060002090601f016020900481019282620002d257600085556200031e565b82601f10620002ed57805160ff19168380011785556200031e565b828001600101855582156200031e579182015b828111156200031d57825182559160200191906001019062000300565b5b5090506200032d919062000331565b5090565b5b808211156200034c57600081600090555060010162000332565b5090565b600080fd5b6000819050919050565b6200036a8162000355565b81146200037657600080fd5b50565b6000815190506200038a816200035f565b92915050565b600060208284031215620003a957620003a862000350565b5b6000620003b98482850162000379565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200040b602083620003c2565b91506200041882620003d3565b602082019050919050565b600060208201905081810360008301526200043e81620003fc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200048d57607f821691505b60208210811415620004a457620004a362000445565b5b50919050565b6147c080620004ba6000396000f3fe60806040526004361061020f5760003560e01c80636817031b11610118578063a22cb465116100a0578063cbce4c971161006f578063cbce4c9714610770578063d547cfb714610799578063e985e9c5146107c4578063f2fde38b14610801578063fbfa77cf1461082a5761020f565b8063a22cb465146106b8578063acec338a146106e1578063b88d4fde1461070a578063c87b56dd146107335761020f565b80638da5cb5b116100e75780638da5cb5b146105f257806391b7f5ed1461061d57806395d89b4114610646578063a035b1fe14610671578063a0712d681461069c5761020f565b80636817031b1461054c57806370a0823114610575578063715018a6146105b25780637cb64759146105c95761020f565b80632eb4a7ab1161019b5780633f8121a21161016a5780633f8121a21461045557806342842e0e1461047e5780634f6ccce7146104a757806360d938dc146104e45780636352211e1461050f5761020f565b80632eb4a7ab146103ba5780632f745c59146103e557806330176e13146104225780633ccfd60b1461044b5761020f565b8063095ea7b3116101e2578063095ea7b3146102f657806318160ddd1461031f57806322f3e2d41461034a57806323b872dd1461037557806327ed3dce1461039e5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063083a7baa146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612e9a565b610855565b6040516102489190612ee2565b60405180910390f35b34801561025d57600080fd5b506102666108cf565b6040516102739190612f96565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190612fee565b610961565b6040516102b0919061305c565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db91906130a3565b6109e6565b6040516102ed9190612ee2565b60405180910390f35b34801561030257600080fd5b5061031d600480360381019061031891906130d0565b610a06565b005b34801561032b57600080fd5b50610334610b1e565b604051610341919061311f565b60405180910390f35b34801561035657600080fd5b5061035f610b2b565b60405161036c9190612ee2565b60405180910390f35b34801561038157600080fd5b5061039c6004803603810190610397919061313a565b610b3e565b005b6103b860048036038101906103b391906131f2565b610b9e565b005b3480156103c657600080fd5b506103cf610f21565b6040516103dc919061326b565b60405180910390f35b3480156103f157600080fd5b5061040c600480360381019061040791906130d0565b610f27565b604051610419919061311f565b60405180910390f35b34801561042e57600080fd5b50610449600480360381019061044491906132dc565b61106c565b005b6104536110fe565b005b34801561046157600080fd5b5061047c60048036038101906104779190613355565b61126e565b005b34801561048a57600080fd5b506104a560048036038101906104a0919061313a565b611307565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190612fee565b611327565b6040516104db919061311f565b60405180910390f35b3480156104f057600080fd5b506104f9611378565b6040516105069190612ee2565b60405180910390f35b34801561051b57600080fd5b5061053660048036038101906105319190612fee565b61138b565b604051610543919061305c565b60405180910390f35b34801561055857600080fd5b50610573600480360381019061056e91906130a3565b611448565b005b34801561058157600080fd5b5061059c600480360381019061059791906130a3565b611508565b6040516105a9919061311f565b60405180910390f35b3480156105be57600080fd5b506105c7611624565b005b3480156105d557600080fd5b506105f060048036038101906105eb91906133ae565b6116ac565b005b3480156105fe57600080fd5b50610607611732565b604051610614919061305c565b60405180910390f35b34801561062957600080fd5b50610644600480360381019061063f9190612fee565b61175c565b005b34801561065257600080fd5b5061065b6117e2565b6040516106689190612f96565b60405180910390f35b34801561067d57600080fd5b50610686611874565b604051610693919061311f565b60405180910390f35b6106b660048036038101906106b19190612fee565b61187a565b005b3480156106c457600080fd5b506106df60048036038101906106da91906133db565b611a5d565b005b3480156106ed57600080fd5b5061070860048036038101906107039190613355565b611bde565b005b34801561071657600080fd5b50610731600480360381019061072c919061354b565b611c77565b005b34801561073f57600080fd5b5061075a60048036038101906107559190612fee565b611cd9565b6040516107679190612f96565b60405180910390f35b34801561077c57600080fd5b50610797600480360381019061079291906130d0565b611d80565b005b3480156107a557600080fd5b506107ae611e90565b6040516107bb9190612f96565b60405180910390f35b3480156107d057600080fd5b506107eb60048036038101906107e691906135ce565b611f1e565b6040516107f89190612ee2565b60405180910390f35b34801561080d57600080fd5b50610828600480360381019061082391906130a3565b611fb2565b005b34801561083657600080fd5b5061083f6120aa565b60405161084c919061305c565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108c857506108c7826120d0565b5b9050919050565b6060600080546108de9061363d565b80601f016020809104026020016040519081016040528092919081815260200182805461090a9061363d565b80156109575780601f1061092c57610100808354040283529160200191610957565b820191906000526020600020905b81548152906001019060200180831161093a57829003601f168201915b5050505050905090565b600061096c826121b2565b6109ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a2906136e1565b60405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000610a118261138b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7990613773565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa161223a565b73ffffffffffffffffffffffffffffffffffffffff161480610ad05750610acf81610aca61223a565b611f1e565b5b610b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0690613805565b60405180910390fd5b610b198383612242565b505050565b6000600280549050905090565b600660149054906101000a900460ff1681565b610b4f610b4961223a565b826122fb565b610b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8590613897565b60405180910390fd5b610b998383836123d9565b505050565b6000610ba8610b1e565b9050600033604051602001610bbd91906138ff565b60405160208183030381529060405280519060200120905060048310610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f90613966565b60405180910390fd5b600660159054906101000a900460ff16610c67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5e906139d2565b60405180910390fd5b6127118383610c769190613a21565b10610cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cad90613ac3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1b90613b2f565b60405180910390fd5b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da890613b9b565b60405180910390fd5b82600954610dbf9190613bbb565b341015610e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df890613c61565b60405180910390fd5b610e4f858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060075483612592565b610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590613ccd565b60405180910390fd5b60005b83811015610ec157610eae338285610ea99190613a21565b6125a9565b8080610eb990613ced565b915050610e91565b506001600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050505050565b60075481565b6000610f3283611508565b8210610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a90613da8565b60405180910390fd5b6000805b60028054905081101561102a5760028181548110610f9857610f97613dc8565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156110175783821415611008578092505050611066565b818061101390613ced565b9250505b808061102290613ced565b915050610f77565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105d90613da8565b60405180910390fd5b92915050565b61107461223a565b73ffffffffffffffffffffffffffffffffffffffff16611092611732565b73ffffffffffffffffffffffffffffffffffffffff16146110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90613e43565b60405180910390fd5b8181600891906110f9929190612d8b565b505050565b61110661223a565b73ffffffffffffffffffffffffffffffffffffffff16611124611732565b73ffffffffffffffffffffffffffffffffffffffff161461117a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117190613e43565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561120c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120390613eaf565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061126c57600080fd5b565b61127661223a565b73ffffffffffffffffffffffffffffffffffffffff16611294611732565b73ffffffffffffffffffffffffffffffffffffffff16146112ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e190613e43565b60405180910390fd5b80600660156101000a81548160ff02191690831515021790555050565b61132283838360405180602001604052806000815250611c77565b505050565b60006002805490508210611370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136790613f41565b60405180910390fd5b819050919050565b600660159054906101000a900460ff1681565b600080600283815481106113a2576113a1613dc8565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143690613fd3565b60405180910390fd5b80915050919050565b61145061223a565b73ffffffffffffffffffffffffffffffffffffffff1661146e611732565b73ffffffffffffffffffffffffffffffffffffffff16146114c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bb90613e43565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157090614065565b60405180910390fd5b6000805b60028054905081101561161a576002818154811061159e5761159d613dc8565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611609578161160690613ced565b91505b8061161390613ced565b905061157d565b5080915050919050565b61162c61223a565b73ffffffffffffffffffffffffffffffffffffffff1661164a611732565b73ffffffffffffffffffffffffffffffffffffffff16146116a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169790613e43565b60405180910390fd5b6116aa60006125c7565b565b6116b461223a565b73ffffffffffffffffffffffffffffffffffffffff166116d2611732565b73ffffffffffffffffffffffffffffffffffffffff1614611728576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171f90613e43565b60405180910390fd5b8060078190555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61176461223a565b73ffffffffffffffffffffffffffffffffffffffff16611782611732565b73ffffffffffffffffffffffffffffffffffffffff16146117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf90613e43565b60405180910390fd5b8060098190555050565b6060600180546117f19061363d565b80601f016020809104026020016040519081016040528092919081815260200182805461181d9061363d565b801561186a5780601f1061183f5761010080835404028352916020019161186a565b820191906000526020600020905b81548152906001019060200180831161184d57829003601f168201915b5050505050905090565b60095481565b6000611884610b1e565b9050600660149054906101000a900460ff166118d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cc906139d2565b60405180910390fd5b60068210611918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190f90613966565b60405180910390fd5b61271182826119279190613a21565b10611967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195e90613ac3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146119d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cc90613b2f565b60405180910390fd5b816009546119e39190613bbb565b341015611a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1c90613c61565b60405180910390fd5b60005b82811015611a5857611a45338284611a409190613a21565b6125a9565b8080611a5090613ced565b915050611a28565b505050565b611a6561223a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aca906140d1565b60405180910390fd5b8060046000611ae061223a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b8d61223a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bd29190612ee2565b60405180910390a35050565b611be661223a565b73ffffffffffffffffffffffffffffffffffffffff16611c04611732565b73ffffffffffffffffffffffffffffffffffffffff1614611c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5190613e43565b60405180910390fd5b80600660146101000a81548160ff02191690831515021790555050565b611c88611c8261223a565b836122fb565b611cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbe90613897565b60405180910390fd5b611cd38484848461268d565b50505050565b6060611ce4826121b2565b611d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1a90614163565b60405180910390fd5b6000611d2d6126e9565b90506000815111611d4d5760405180602001604052806000815250611d78565b80611d578461277b565b604051602001611d689291906141bf565b6040516020818303038152906040525b915050919050565b611d8861223a565b73ffffffffffffffffffffffffffffffffffffffff16611da6611732565b73ffffffffffffffffffffffffffffffffffffffff1614611dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df390613e43565b60405180910390fd5b6000611e06610b1e565b90506127118282611e179190613a21565b10611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90613ac3565b60405180910390fd5b60005b82811015611e8a57611e77848284611e729190613a21565b6125a9565b8080611e8290613ced565b915050611e5a565b50505050565b60088054611e9d9061363d565b80601f0160208091040260200160405190810160405280929190818152602001828054611ec99061363d565b8015611f165780601f10611eeb57610100808354040283529160200191611f16565b820191906000526020600020905b815481529060010190602001808311611ef957829003601f168201915b505050505081565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611fba61223a565b73ffffffffffffffffffffffffffffffffffffffff16611fd8611732565b73ffffffffffffffffffffffffffffffffffffffff161461202e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202590613e43565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561209e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209590614255565b60405180910390fd5b6120a7816125c7565b50565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061219b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121ab57506121aa826128dc565b5b9050919050565b6000600280549050821080156122335750600073ffffffffffffffffffffffffffffffffffffffff16600283815481106121ef576121ee613dc8565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122b58361138b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612306826121b2565b612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233c906142e7565b60405180910390fd5b60006123508361138b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123bf57508373ffffffffffffffffffffffffffffffffffffffff166123a784610961565b73ffffffffffffffffffffffffffffffffffffffff16145b806123d057506123cf8185611f1e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123f98261138b565b73ffffffffffffffffffffffffffffffffffffffff161461244f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244690614379565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b69061440b565b60405180910390fd5b6124ca838383612946565b6124d5600082612242565b81600282815481106124ea576124e9613dc8565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008261259f858461294b565b1490509392505050565b6125c38282604051806020016040528060008152506129fe565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126988484846123d9565b6126a484848484612a59565b6126e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126da9061449d565b60405180910390fd5b50505050565b6060600880546126f89061363d565b80601f01602080910402602001604051908101604052809291908181526020018280546127249061363d565b80156127715780601f1061274657610100808354040283529160200191612771565b820191906000526020600020905b81548152906001019060200180831161275457829003601f168201915b5050505050905090565b606060008214156127c3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128d7565b600082905060005b600082146127f55780806127de90613ced565b915050600a826127ee91906144ec565b91506127cb565b60008167ffffffffffffffff81111561281157612810613420565b5b6040519080825280601f01601f1916602001820160405280156128435781602001600182028036833780820191505090505b5090505b600085146128d05760018261285c919061451d565b9150600a8561286b9190614551565b60306128779190613a21565b60f81b81838151811061288d5761288c613dc8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128c991906144ec565b9450612847565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b60008082905060005b84518110156129f357600085828151811061297257612971613dc8565b5b602002602001015190508083116129b35782816040516020016129969291906145a3565b6040516020818303038152906040528051906020012092506129df565b80836040516020016129c69291906145a3565b6040516020818303038152906040528051906020012092505b5080806129eb90613ced565b915050612954565b508091505092915050565b612a088383612bf0565b612a156000848484612a59565b612a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4b9061449d565b60405180910390fd5b505050565b6000612a7a8473ffffffffffffffffffffffffffffffffffffffff16612d78565b15612be3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612aa361223a565b8786866040518563ffffffff1660e01b8152600401612ac59493929190614624565b602060405180830381600087803b158015612adf57600080fd5b505af1925050508015612b1057506040513d601f19601f82011682018060405250810190612b0d9190614685565b60015b612b93573d8060008114612b40576040519150601f19603f3d011682016040523d82523d6000602084013e612b45565b606091505b50600081511415612b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b829061449d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612be8565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c57906146fe565b60405180910390fd5b612c69816121b2565b15612ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca09061476a565b60405180910390fd5b612cb560008383612946565b6002829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612d979061363d565b90600052602060002090601f016020900481019282612db95760008555612e00565b82601f10612dd257803560ff1916838001178555612e00565b82800160010185558215612e00579182015b82811115612dff578235825591602001919060010190612de4565b5b509050612e0d9190612e11565b5090565b5b80821115612e2a576000816000905550600101612e12565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612e7781612e42565b8114612e8257600080fd5b50565b600081359050612e9481612e6e565b92915050565b600060208284031215612eb057612eaf612e38565b5b6000612ebe84828501612e85565b91505092915050565b60008115159050919050565b612edc81612ec7565b82525050565b6000602082019050612ef76000830184612ed3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f37578082015181840152602081019050612f1c565b83811115612f46576000848401525b50505050565b6000601f19601f8301169050919050565b6000612f6882612efd565b612f728185612f08565b9350612f82818560208601612f19565b612f8b81612f4c565b840191505092915050565b60006020820190508181036000830152612fb08184612f5d565b905092915050565b6000819050919050565b612fcb81612fb8565b8114612fd657600080fd5b50565b600081359050612fe881612fc2565b92915050565b60006020828403121561300457613003612e38565b5b600061301284828501612fd9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130468261301b565b9050919050565b6130568161303b565b82525050565b6000602082019050613071600083018461304d565b92915050565b6130808161303b565b811461308b57600080fd5b50565b60008135905061309d81613077565b92915050565b6000602082840312156130b9576130b8612e38565b5b60006130c78482850161308e565b91505092915050565b600080604083850312156130e7576130e6612e38565b5b60006130f58582860161308e565b925050602061310685828601612fd9565b9150509250929050565b61311981612fb8565b82525050565b60006020820190506131346000830184613110565b92915050565b60008060006060848603121561315357613152612e38565b5b60006131618682870161308e565b93505060206131728682870161308e565b925050604061318386828701612fd9565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126131b2576131b161318d565b5b8235905067ffffffffffffffff8111156131cf576131ce613192565b5b6020830191508360208202830111156131eb576131ea613197565b5b9250929050565b60008060006040848603121561320b5761320a612e38565b5b600084013567ffffffffffffffff81111561322957613228612e3d565b5b6132358682870161319c565b9350935050602061324886828701612fd9565b9150509250925092565b6000819050919050565b61326581613252565b82525050565b6000602082019050613280600083018461325c565b92915050565b60008083601f84011261329c5761329b61318d565b5b8235905067ffffffffffffffff8111156132b9576132b8613192565b5b6020830191508360018202830111156132d5576132d4613197565b5b9250929050565b600080602083850312156132f3576132f2612e38565b5b600083013567ffffffffffffffff81111561331157613310612e3d565b5b61331d85828601613286565b92509250509250929050565b61333281612ec7565b811461333d57600080fd5b50565b60008135905061334f81613329565b92915050565b60006020828403121561336b5761336a612e38565b5b600061337984828501613340565b91505092915050565b61338b81613252565b811461339657600080fd5b50565b6000813590506133a881613382565b92915050565b6000602082840312156133c4576133c3612e38565b5b60006133d284828501613399565b91505092915050565b600080604083850312156133f2576133f1612e38565b5b60006134008582860161308e565b925050602061341185828601613340565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61345882612f4c565b810181811067ffffffffffffffff8211171561347757613476613420565b5b80604052505050565b600061348a612e2e565b9050613496828261344f565b919050565b600067ffffffffffffffff8211156134b6576134b5613420565b5b6134bf82612f4c565b9050602081019050919050565b82818337600083830152505050565b60006134ee6134e98461349b565b613480565b90508281526020810184848401111561350a5761350961341b565b5b6135158482856134cc565b509392505050565b600082601f8301126135325761353161318d565b5b81356135428482602086016134db565b91505092915050565b6000806000806080858703121561356557613564612e38565b5b60006135738782880161308e565b94505060206135848782880161308e565b935050604061359587828801612fd9565b925050606085013567ffffffffffffffff8111156135b6576135b5612e3d565b5b6135c28782880161351d565b91505092959194509250565b600080604083850312156135e5576135e4612e38565b5b60006135f38582860161308e565b92505060206136048582860161308e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061365557607f821691505b602082108114156136695761366861360e565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006136cb602c83612f08565b91506136d68261366f565b604082019050919050565b600060208201905081810360008301526136fa816136be565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061375d602183612f08565b915061376882613701565b604082019050919050565b6000602082019050818103600083015261378c81613750565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006137ef603883612f08565b91506137fa82613793565b604082019050919050565b6000602082019050818103600083015261381e816137e2565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613881603183612f08565b915061388c82613825565b604082019050919050565b600060208201905081810360008301526138b081613874565b9050919050565b60008160601b9050919050565b60006138cf826138b7565b9050919050565b60006138e1826138c4565b9050919050565b6138f96138f48261303b565b6138d6565b82525050565b600061390b82846138e8565b60148201915081905092915050565b7f416d6f756e742044656e69656400000000000000000000000000000000000000600082015250565b6000613950600d83612f08565b915061395b8261391a565b602082019050919050565b6000602082019050818103600083015261397f81613943565b9050919050565b7f4e6f742041637469766500000000000000000000000000000000000000000000600082015250565b60006139bc600a83612f08565b91506139c782613986565b602082019050919050565b600060208201905081810360008301526139eb816139af565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a2c82612fb8565b9150613a3783612fb8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a6c57613a6b6139f2565b5b828201905092915050565b7f537570706c792044656e69656400000000000000000000000000000000000000600082015250565b6000613aad600d83612f08565b9150613ab882613a77565b602082019050919050565b60006020820190508181036000830152613adc81613aa0565b9050919050565b7f436f6e74726163742044656e6965640000000000000000000000000000000000600082015250565b6000613b19600f83612f08565b9150613b2482613ae3565b602082019050919050565b60006020820190508181036000830152613b4881613b0c565b9050919050565b7f4d696e7420436c61696d65640000000000000000000000000000000000000000600082015250565b6000613b85600c83612f08565b9150613b9082613b4f565b602082019050919050565b60006020820190508181036000830152613bb481613b78565b9050919050565b6000613bc682612fb8565b9150613bd183612fb8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c0a57613c096139f2565b5b828202905092915050565b7f457468657220416d6f756e742044656e69656400000000000000000000000000600082015250565b6000613c4b601383612f08565b9150613c5682613c15565b602082019050919050565b60006020820190508181036000830152613c7a81613c3e565b9050919050565b7f50726f6f6620496e76616c696400000000000000000000000000000000000000600082015250565b6000613cb7600d83612f08565b9150613cc282613c81565b602082019050919050565b60006020820190508181036000830152613ce681613caa565b9050919050565b6000613cf882612fb8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d2b57613d2a6139f2565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613d92602b83612f08565b9150613d9d82613d36565b604082019050919050565b60006020820190508181036000830152613dc181613d85565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e2d602083612f08565b9150613e3882613df7565b602082019050919050565b60006020820190508181036000830152613e5c81613e20565b9050919050565b7f5661756c7420496e76616c696400000000000000000000000000000000000000600082015250565b6000613e99600d83612f08565b9150613ea482613e63565b602082019050919050565b60006020820190508181036000830152613ec881613e8c565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613f2b602c83612f08565b9150613f3682613ecf565b604082019050919050565b60006020820190508181036000830152613f5a81613f1e565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613fbd602983612f08565b9150613fc882613f61565b604082019050919050565b60006020820190508181036000830152613fec81613fb0565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061404f602a83612f08565b915061405a82613ff3565b604082019050919050565b6000602082019050818103600083015261407e81614042565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006140bb601983612f08565b91506140c682614085565b602082019050919050565b600060208201905081810360008301526140ea816140ae565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061414d602f83612f08565b9150614158826140f1565b604082019050919050565b6000602082019050818103600083015261417c81614140565b9050919050565b600081905092915050565b600061419982612efd565b6141a38185614183565b93506141b3818560208601612f19565b80840191505092915050565b60006141cb828561418e565b91506141d7828461418e565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061423f602683612f08565b915061424a826141e3565b604082019050919050565b6000602082019050818103600083015261426e81614232565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006142d1602c83612f08565b91506142dc82614275565b604082019050919050565b60006020820190508181036000830152614300816142c4565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614363602983612f08565b915061436e82614307565b604082019050919050565b6000602082019050818103600083015261439281614356565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006143f5602483612f08565b915061440082614399565b604082019050919050565b60006020820190508181036000830152614424816143e8565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614487603283612f08565b91506144928261442b565b604082019050919050565b600060208201905081810360008301526144b68161447a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006144f782612fb8565b915061450283612fb8565b925082614512576145116144bd565b5b828204905092915050565b600061452882612fb8565b915061453383612fb8565b925082821015614546576145456139f2565b5b828203905092915050565b600061455c82612fb8565b915061456783612fb8565b925082614577576145766144bd565b5b828206905092915050565b6000819050919050565b61459d61459882613252565b614582565b82525050565b60006145af828561458c565b6020820191506145bf828461458c565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006145f6826145cf565b61460081856145da565b9350614610818560208601612f19565b61461981612f4c565b840191505092915050565b6000608082019050614639600083018761304d565b614646602083018661304d565b6146536040830185613110565b818103606083015261466581846145eb565b905095945050505050565b60008151905061467f81612e6e565b92915050565b60006020828403121561469b5761469a612e38565b5b60006146a984828501614670565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006146e8602083612f08565b91506146f3826146b2565b602082019050919050565b60006020820190508181036000830152614717816146db565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614754601c83612f08565b915061475f8261471e565b602082019050919050565b6000602082019050818103600083015261478381614747565b905091905056fea2646970667358221220dfaea9cb193de671d0dd6d8dfdfd2078bf59215bd77070b9249a307491af3d3064736f6c634300080900330000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80636817031b11610118578063a22cb465116100a0578063cbce4c971161006f578063cbce4c9714610770578063d547cfb714610799578063e985e9c5146107c4578063f2fde38b14610801578063fbfa77cf1461082a5761020f565b8063a22cb465146106b8578063acec338a146106e1578063b88d4fde1461070a578063c87b56dd146107335761020f565b80638da5cb5b116100e75780638da5cb5b146105f257806391b7f5ed1461061d57806395d89b4114610646578063a035b1fe14610671578063a0712d681461069c5761020f565b80636817031b1461054c57806370a0823114610575578063715018a6146105b25780637cb64759146105c95761020f565b80632eb4a7ab1161019b5780633f8121a21161016a5780633f8121a21461045557806342842e0e1461047e5780634f6ccce7146104a757806360d938dc146104e45780636352211e1461050f5761020f565b80632eb4a7ab146103ba5780632f745c59146103e557806330176e13146104225780633ccfd60b1461044b5761020f565b8063095ea7b3116101e2578063095ea7b3146102f657806318160ddd1461031f57806322f3e2d41461034a57806323b872dd1461037557806327ed3dce1461039e5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063083a7baa146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612e9a565b610855565b6040516102489190612ee2565b60405180910390f35b34801561025d57600080fd5b506102666108cf565b6040516102739190612f96565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190612fee565b610961565b6040516102b0919061305c565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db91906130a3565b6109e6565b6040516102ed9190612ee2565b60405180910390f35b34801561030257600080fd5b5061031d600480360381019061031891906130d0565b610a06565b005b34801561032b57600080fd5b50610334610b1e565b604051610341919061311f565b60405180910390f35b34801561035657600080fd5b5061035f610b2b565b60405161036c9190612ee2565b60405180910390f35b34801561038157600080fd5b5061039c6004803603810190610397919061313a565b610b3e565b005b6103b860048036038101906103b391906131f2565b610b9e565b005b3480156103c657600080fd5b506103cf610f21565b6040516103dc919061326b565b60405180910390f35b3480156103f157600080fd5b5061040c600480360381019061040791906130d0565b610f27565b604051610419919061311f565b60405180910390f35b34801561042e57600080fd5b50610449600480360381019061044491906132dc565b61106c565b005b6104536110fe565b005b34801561046157600080fd5b5061047c60048036038101906104779190613355565b61126e565b005b34801561048a57600080fd5b506104a560048036038101906104a0919061313a565b611307565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190612fee565b611327565b6040516104db919061311f565b60405180910390f35b3480156104f057600080fd5b506104f9611378565b6040516105069190612ee2565b60405180910390f35b34801561051b57600080fd5b5061053660048036038101906105319190612fee565b61138b565b604051610543919061305c565b60405180910390f35b34801561055857600080fd5b50610573600480360381019061056e91906130a3565b611448565b005b34801561058157600080fd5b5061059c600480360381019061059791906130a3565b611508565b6040516105a9919061311f565b60405180910390f35b3480156105be57600080fd5b506105c7611624565b005b3480156105d557600080fd5b506105f060048036038101906105eb91906133ae565b6116ac565b005b3480156105fe57600080fd5b50610607611732565b604051610614919061305c565b60405180910390f35b34801561062957600080fd5b50610644600480360381019061063f9190612fee565b61175c565b005b34801561065257600080fd5b5061065b6117e2565b6040516106689190612f96565b60405180910390f35b34801561067d57600080fd5b50610686611874565b604051610693919061311f565b60405180910390f35b6106b660048036038101906106b19190612fee565b61187a565b005b3480156106c457600080fd5b506106df60048036038101906106da91906133db565b611a5d565b005b3480156106ed57600080fd5b5061070860048036038101906107039190613355565b611bde565b005b34801561071657600080fd5b50610731600480360381019061072c919061354b565b611c77565b005b34801561073f57600080fd5b5061075a60048036038101906107559190612fee565b611cd9565b6040516107679190612f96565b60405180910390f35b34801561077c57600080fd5b50610797600480360381019061079291906130d0565b611d80565b005b3480156107a557600080fd5b506107ae611e90565b6040516107bb9190612f96565b60405180910390f35b3480156107d057600080fd5b506107eb60048036038101906107e691906135ce565b611f1e565b6040516107f89190612ee2565b60405180910390f35b34801561080d57600080fd5b50610828600480360381019061082391906130a3565b611fb2565b005b34801561083657600080fd5b5061083f6120aa565b60405161084c919061305c565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108c857506108c7826120d0565b5b9050919050565b6060600080546108de9061363d565b80601f016020809104026020016040519081016040528092919081815260200182805461090a9061363d565b80156109575780601f1061092c57610100808354040283529160200191610957565b820191906000526020600020905b81548152906001019060200180831161093a57829003601f168201915b5050505050905090565b600061096c826121b2565b6109ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a2906136e1565b60405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000610a118261138b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7990613773565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa161223a565b73ffffffffffffffffffffffffffffffffffffffff161480610ad05750610acf81610aca61223a565b611f1e565b5b610b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0690613805565b60405180910390fd5b610b198383612242565b505050565b6000600280549050905090565b600660149054906101000a900460ff1681565b610b4f610b4961223a565b826122fb565b610b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8590613897565b60405180910390fd5b610b998383836123d9565b505050565b6000610ba8610b1e565b9050600033604051602001610bbd91906138ff565b60405160208183030381529060405280519060200120905060048310610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f90613966565b60405180910390fd5b600660159054906101000a900460ff16610c67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5e906139d2565b60405180910390fd5b6127118383610c769190613a21565b10610cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cad90613ac3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1b90613b2f565b60405180910390fd5b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da890613b9b565b60405180910390fd5b82600954610dbf9190613bbb565b341015610e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df890613c61565b60405180910390fd5b610e4f858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060075483612592565b610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590613ccd565b60405180910390fd5b60005b83811015610ec157610eae338285610ea99190613a21565b6125a9565b8080610eb990613ced565b915050610e91565b506001600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050505050565b60075481565b6000610f3283611508565b8210610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a90613da8565b60405180910390fd5b6000805b60028054905081101561102a5760028181548110610f9857610f97613dc8565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156110175783821415611008578092505050611066565b818061101390613ced565b9250505b808061102290613ced565b915050610f77565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105d90613da8565b60405180910390fd5b92915050565b61107461223a565b73ffffffffffffffffffffffffffffffffffffffff16611092611732565b73ffffffffffffffffffffffffffffffffffffffff16146110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90613e43565b60405180910390fd5b8181600891906110f9929190612d8b565b505050565b61110661223a565b73ffffffffffffffffffffffffffffffffffffffff16611124611732565b73ffffffffffffffffffffffffffffffffffffffff161461117a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117190613e43565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561120c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120390613eaf565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061126c57600080fd5b565b61127661223a565b73ffffffffffffffffffffffffffffffffffffffff16611294611732565b73ffffffffffffffffffffffffffffffffffffffff16146112ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e190613e43565b60405180910390fd5b80600660156101000a81548160ff02191690831515021790555050565b61132283838360405180602001604052806000815250611c77565b505050565b60006002805490508210611370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136790613f41565b60405180910390fd5b819050919050565b600660159054906101000a900460ff1681565b600080600283815481106113a2576113a1613dc8565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143690613fd3565b60405180910390fd5b80915050919050565b61145061223a565b73ffffffffffffffffffffffffffffffffffffffff1661146e611732565b73ffffffffffffffffffffffffffffffffffffffff16146114c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bb90613e43565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157090614065565b60405180910390fd5b6000805b60028054905081101561161a576002818154811061159e5761159d613dc8565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611609578161160690613ced565b91505b8061161390613ced565b905061157d565b5080915050919050565b61162c61223a565b73ffffffffffffffffffffffffffffffffffffffff1661164a611732565b73ffffffffffffffffffffffffffffffffffffffff16146116a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169790613e43565b60405180910390fd5b6116aa60006125c7565b565b6116b461223a565b73ffffffffffffffffffffffffffffffffffffffff166116d2611732565b73ffffffffffffffffffffffffffffffffffffffff1614611728576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171f90613e43565b60405180910390fd5b8060078190555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61176461223a565b73ffffffffffffffffffffffffffffffffffffffff16611782611732565b73ffffffffffffffffffffffffffffffffffffffff16146117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf90613e43565b60405180910390fd5b8060098190555050565b6060600180546117f19061363d565b80601f016020809104026020016040519081016040528092919081815260200182805461181d9061363d565b801561186a5780601f1061183f5761010080835404028352916020019161186a565b820191906000526020600020905b81548152906001019060200180831161184d57829003601f168201915b5050505050905090565b60095481565b6000611884610b1e565b9050600660149054906101000a900460ff166118d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cc906139d2565b60405180910390fd5b60068210611918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190f90613966565b60405180910390fd5b61271182826119279190613a21565b10611967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195e90613ac3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146119d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cc90613b2f565b60405180910390fd5b816009546119e39190613bbb565b341015611a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1c90613c61565b60405180910390fd5b60005b82811015611a5857611a45338284611a409190613a21565b6125a9565b8080611a5090613ced565b915050611a28565b505050565b611a6561223a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aca906140d1565b60405180910390fd5b8060046000611ae061223a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b8d61223a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bd29190612ee2565b60405180910390a35050565b611be661223a565b73ffffffffffffffffffffffffffffffffffffffff16611c04611732565b73ffffffffffffffffffffffffffffffffffffffff1614611c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5190613e43565b60405180910390fd5b80600660146101000a81548160ff02191690831515021790555050565b611c88611c8261223a565b836122fb565b611cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbe90613897565b60405180910390fd5b611cd38484848461268d565b50505050565b6060611ce4826121b2565b611d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1a90614163565b60405180910390fd5b6000611d2d6126e9565b90506000815111611d4d5760405180602001604052806000815250611d78565b80611d578461277b565b604051602001611d689291906141bf565b6040516020818303038152906040525b915050919050565b611d8861223a565b73ffffffffffffffffffffffffffffffffffffffff16611da6611732565b73ffffffffffffffffffffffffffffffffffffffff1614611dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df390613e43565b60405180910390fd5b6000611e06610b1e565b90506127118282611e179190613a21565b10611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90613ac3565b60405180910390fd5b60005b82811015611e8a57611e77848284611e729190613a21565b6125a9565b8080611e8290613ced565b915050611e5a565b50505050565b60088054611e9d9061363d565b80601f0160208091040260200160405190810160405280929190818152602001828054611ec99061363d565b8015611f165780601f10611eeb57610100808354040283529160200191611f16565b820191906000526020600020905b815481529060010190602001808311611ef957829003601f168201915b505050505081565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611fba61223a565b73ffffffffffffffffffffffffffffffffffffffff16611fd8611732565b73ffffffffffffffffffffffffffffffffffffffff161461202e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202590613e43565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561209e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209590614255565b60405180910390fd5b6120a7816125c7565b50565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061219b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121ab57506121aa826128dc565b5b9050919050565b6000600280549050821080156122335750600073ffffffffffffffffffffffffffffffffffffffff16600283815481106121ef576121ee613dc8565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122b58361138b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612306826121b2565b612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233c906142e7565b60405180910390fd5b60006123508361138b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123bf57508373ffffffffffffffffffffffffffffffffffffffff166123a784610961565b73ffffffffffffffffffffffffffffffffffffffff16145b806123d057506123cf8185611f1e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123f98261138b565b73ffffffffffffffffffffffffffffffffffffffff161461244f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244690614379565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b69061440b565b60405180910390fd5b6124ca838383612946565b6124d5600082612242565b81600282815481106124ea576124e9613dc8565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008261259f858461294b565b1490509392505050565b6125c38282604051806020016040528060008152506129fe565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126988484846123d9565b6126a484848484612a59565b6126e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126da9061449d565b60405180910390fd5b50505050565b6060600880546126f89061363d565b80601f01602080910402602001604051908101604052809291908181526020018280546127249061363d565b80156127715780601f1061274657610100808354040283529160200191612771565b820191906000526020600020905b81548152906001019060200180831161275457829003601f168201915b5050505050905090565b606060008214156127c3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128d7565b600082905060005b600082146127f55780806127de90613ced565b915050600a826127ee91906144ec565b91506127cb565b60008167ffffffffffffffff81111561281157612810613420565b5b6040519080825280601f01601f1916602001820160405280156128435781602001600182028036833780820191505090505b5090505b600085146128d05760018261285c919061451d565b9150600a8561286b9190614551565b60306128779190613a21565b60f81b81838151811061288d5761288c613dc8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128c991906144ec565b9450612847565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b60008082905060005b84518110156129f357600085828151811061297257612971613dc8565b5b602002602001015190508083116129b35782816040516020016129969291906145a3565b6040516020818303038152906040528051906020012092506129df565b80836040516020016129c69291906145a3565b6040516020818303038152906040528051906020012092505b5080806129eb90613ced565b915050612954565b508091505092915050565b612a088383612bf0565b612a156000848484612a59565b612a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4b9061449d565b60405180910390fd5b505050565b6000612a7a8473ffffffffffffffffffffffffffffffffffffffff16612d78565b15612be3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612aa361223a565b8786866040518563ffffffff1660e01b8152600401612ac59493929190614624565b602060405180830381600087803b158015612adf57600080fd5b505af1925050508015612b1057506040513d601f19601f82011682018060405250810190612b0d9190614685565b60015b612b93573d8060008114612b40576040519150601f19603f3d011682016040523d82523d6000602084013e612b45565b606091505b50600081511415612b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b829061449d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612be8565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c57906146fe565b60405180910390fd5b612c69816121b2565b15612ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca09061476a565b60405180910390fd5b612cb560008383612946565b6002829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612d979061363d565b90600052602060002090601f016020900481019282612db95760008555612e00565b82601f10612dd257803560ff1916838001178555612e00565b82800160010185558215612e00579182015b82811115612dff578235825591602001919060010190612de4565b5b509050612e0d9190612e11565b5090565b5b80821115612e2a576000816000905550600101612e12565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612e7781612e42565b8114612e8257600080fd5b50565b600081359050612e9481612e6e565b92915050565b600060208284031215612eb057612eaf612e38565b5b6000612ebe84828501612e85565b91505092915050565b60008115159050919050565b612edc81612ec7565b82525050565b6000602082019050612ef76000830184612ed3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f37578082015181840152602081019050612f1c565b83811115612f46576000848401525b50505050565b6000601f19601f8301169050919050565b6000612f6882612efd565b612f728185612f08565b9350612f82818560208601612f19565b612f8b81612f4c565b840191505092915050565b60006020820190508181036000830152612fb08184612f5d565b905092915050565b6000819050919050565b612fcb81612fb8565b8114612fd657600080fd5b50565b600081359050612fe881612fc2565b92915050565b60006020828403121561300457613003612e38565b5b600061301284828501612fd9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130468261301b565b9050919050565b6130568161303b565b82525050565b6000602082019050613071600083018461304d565b92915050565b6130808161303b565b811461308b57600080fd5b50565b60008135905061309d81613077565b92915050565b6000602082840312156130b9576130b8612e38565b5b60006130c78482850161308e565b91505092915050565b600080604083850312156130e7576130e6612e38565b5b60006130f58582860161308e565b925050602061310685828601612fd9565b9150509250929050565b61311981612fb8565b82525050565b60006020820190506131346000830184613110565b92915050565b60008060006060848603121561315357613152612e38565b5b60006131618682870161308e565b93505060206131728682870161308e565b925050604061318386828701612fd9565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126131b2576131b161318d565b5b8235905067ffffffffffffffff8111156131cf576131ce613192565b5b6020830191508360208202830111156131eb576131ea613197565b5b9250929050565b60008060006040848603121561320b5761320a612e38565b5b600084013567ffffffffffffffff81111561322957613228612e3d565b5b6132358682870161319c565b9350935050602061324886828701612fd9565b9150509250925092565b6000819050919050565b61326581613252565b82525050565b6000602082019050613280600083018461325c565b92915050565b60008083601f84011261329c5761329b61318d565b5b8235905067ffffffffffffffff8111156132b9576132b8613192565b5b6020830191508360018202830111156132d5576132d4613197565b5b9250929050565b600080602083850312156132f3576132f2612e38565b5b600083013567ffffffffffffffff81111561331157613310612e3d565b5b61331d85828601613286565b92509250509250929050565b61333281612ec7565b811461333d57600080fd5b50565b60008135905061334f81613329565b92915050565b60006020828403121561336b5761336a612e38565b5b600061337984828501613340565b91505092915050565b61338b81613252565b811461339657600080fd5b50565b6000813590506133a881613382565b92915050565b6000602082840312156133c4576133c3612e38565b5b60006133d284828501613399565b91505092915050565b600080604083850312156133f2576133f1612e38565b5b60006134008582860161308e565b925050602061341185828601613340565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61345882612f4c565b810181811067ffffffffffffffff8211171561347757613476613420565b5b80604052505050565b600061348a612e2e565b9050613496828261344f565b919050565b600067ffffffffffffffff8211156134b6576134b5613420565b5b6134bf82612f4c565b9050602081019050919050565b82818337600083830152505050565b60006134ee6134e98461349b565b613480565b90508281526020810184848401111561350a5761350961341b565b5b6135158482856134cc565b509392505050565b600082601f8301126135325761353161318d565b5b81356135428482602086016134db565b91505092915050565b6000806000806080858703121561356557613564612e38565b5b60006135738782880161308e565b94505060206135848782880161308e565b935050604061359587828801612fd9565b925050606085013567ffffffffffffffff8111156135b6576135b5612e3d565b5b6135c28782880161351d565b91505092959194509250565b600080604083850312156135e5576135e4612e38565b5b60006135f38582860161308e565b92505060206136048582860161308e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061365557607f821691505b602082108114156136695761366861360e565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006136cb602c83612f08565b91506136d68261366f565b604082019050919050565b600060208201905081810360008301526136fa816136be565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061375d602183612f08565b915061376882613701565b604082019050919050565b6000602082019050818103600083015261378c81613750565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006137ef603883612f08565b91506137fa82613793565b604082019050919050565b6000602082019050818103600083015261381e816137e2565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613881603183612f08565b915061388c82613825565b604082019050919050565b600060208201905081810360008301526138b081613874565b9050919050565b60008160601b9050919050565b60006138cf826138b7565b9050919050565b60006138e1826138c4565b9050919050565b6138f96138f48261303b565b6138d6565b82525050565b600061390b82846138e8565b60148201915081905092915050565b7f416d6f756e742044656e69656400000000000000000000000000000000000000600082015250565b6000613950600d83612f08565b915061395b8261391a565b602082019050919050565b6000602082019050818103600083015261397f81613943565b9050919050565b7f4e6f742041637469766500000000000000000000000000000000000000000000600082015250565b60006139bc600a83612f08565b91506139c782613986565b602082019050919050565b600060208201905081810360008301526139eb816139af565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a2c82612fb8565b9150613a3783612fb8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a6c57613a6b6139f2565b5b828201905092915050565b7f537570706c792044656e69656400000000000000000000000000000000000000600082015250565b6000613aad600d83612f08565b9150613ab882613a77565b602082019050919050565b60006020820190508181036000830152613adc81613aa0565b9050919050565b7f436f6e74726163742044656e6965640000000000000000000000000000000000600082015250565b6000613b19600f83612f08565b9150613b2482613ae3565b602082019050919050565b60006020820190508181036000830152613b4881613b0c565b9050919050565b7f4d696e7420436c61696d65640000000000000000000000000000000000000000600082015250565b6000613b85600c83612f08565b9150613b9082613b4f565b602082019050919050565b60006020820190508181036000830152613bb481613b78565b9050919050565b6000613bc682612fb8565b9150613bd183612fb8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c0a57613c096139f2565b5b828202905092915050565b7f457468657220416d6f756e742044656e69656400000000000000000000000000600082015250565b6000613c4b601383612f08565b9150613c5682613c15565b602082019050919050565b60006020820190508181036000830152613c7a81613c3e565b9050919050565b7f50726f6f6620496e76616c696400000000000000000000000000000000000000600082015250565b6000613cb7600d83612f08565b9150613cc282613c81565b602082019050919050565b60006020820190508181036000830152613ce681613caa565b9050919050565b6000613cf882612fb8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d2b57613d2a6139f2565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613d92602b83612f08565b9150613d9d82613d36565b604082019050919050565b60006020820190508181036000830152613dc181613d85565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e2d602083612f08565b9150613e3882613df7565b602082019050919050565b60006020820190508181036000830152613e5c81613e20565b9050919050565b7f5661756c7420496e76616c696400000000000000000000000000000000000000600082015250565b6000613e99600d83612f08565b9150613ea482613e63565b602082019050919050565b60006020820190508181036000830152613ec881613e8c565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613f2b602c83612f08565b9150613f3682613ecf565b604082019050919050565b60006020820190508181036000830152613f5a81613f1e565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613fbd602983612f08565b9150613fc882613f61565b604082019050919050565b60006020820190508181036000830152613fec81613fb0565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061404f602a83612f08565b915061405a82613ff3565b604082019050919050565b6000602082019050818103600083015261407e81614042565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006140bb601983612f08565b91506140c682614085565b602082019050919050565b600060208201905081810360008301526140ea816140ae565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061414d602f83612f08565b9150614158826140f1565b604082019050919050565b6000602082019050818103600083015261417c81614140565b9050919050565b600081905092915050565b600061419982612efd565b6141a38185614183565b93506141b3818560208601612f19565b80840191505092915050565b60006141cb828561418e565b91506141d7828461418e565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061423f602683612f08565b915061424a826141e3565b604082019050919050565b6000602082019050818103600083015261426e81614232565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006142d1602c83612f08565b91506142dc82614275565b604082019050919050565b60006020820190508181036000830152614300816142c4565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614363602983612f08565b915061436e82614307565b604082019050919050565b6000602082019050818103600083015261439281614356565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006143f5602483612f08565b915061440082614399565b604082019050919050565b60006020820190508181036000830152614424816143e8565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614487603283612f08565b91506144928261442b565b604082019050919050565b600060208201905081810360008301526144b68161447a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006144f782612fb8565b915061450283612fb8565b925082614512576145116144bd565b5b828204905092915050565b600061452882612fb8565b915061453383612fb8565b925082821015614546576145456139f2565b5b828203905092915050565b600061455c82612fb8565b915061456783612fb8565b925082614577576145766144bd565b5b828206905092915050565b6000819050919050565b61459d61459882613252565b614582565b82525050565b60006145af828561458c565b6020820191506145bf828461458c565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006145f6826145cf565b61460081856145da565b9350614610818560208601612f19565b61461981612f4c565b840191505092915050565b6000608082019050614639600083018761304d565b614646602083018661304d565b6146536040830185613110565b818103606083015261466581846145eb565b905095945050505050565b60008151905061467f81612e6e565b92915050565b60006020828403121561469b5761469a612e38565b5b60006146a984828501614670565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006146e8602083612f08565b91506146f3826146b2565b602082019050919050565b60006020820190508181036000830152614717816146db565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614754601c83612f08565b915061475f8261471e565b602082019050919050565b6000602082019050818103600083015261478381614747565b905091905056fea2646970667358221220dfaea9cb193de671d0dd6d8dfdfd2078bf59215bd77070b9249a307491af3d3064736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _price (uint256): 0
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.