ERC-721
NFT
Overview
Max Total Supply
200 CS+
Holders
193
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 CS+Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CactusSoftNFT
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract CactusSoftNFT is ERC721, ERC721Enumerable { using Strings for uint256; bool public revealed = false; // 0 - is not activated, 1 - presale, 2 - public, 3 - deactivated uint public state = 0; string private baseURI; string private preRevealedURI; uint256 public price = 0.3 ether; uint256 public maxSupply = 200; mapping(address => bool) private owners; mapping(address => bool) private alreadyMinted; bytes32 public root; modifier onlyOwners { require(owners[msg.sender], "Only owners"); _; } constructor() ERC721("CactusSoft+ license", "CS+") { owners[msg.sender] = true; } function mint(bytes32[] memory _proof) public payable returns (uint256){ require(state != 0, "Minting not active yet"); require(state != 3, "Minting is stopped"); uint256 supply = totalSupply(); require(msg.value == price, "Incorrect ether value"); require(supply < maxSupply, "NFT limit was reached"); require(!alreadyMinted[msg.sender], "Each address can mint only once"); if (state == 1) { require(MerkleProof.verify(_proof, root, keccak256(abi.encodePacked(msg.sender))), "Only available for premium minters during presale!"); } uint256 tokenId = supply + 1; _safeMint(msg.sender, tokenId); alreadyMinted[msg.sender] = true; return tokenId; } function setRoot(uint256 _root) public onlyOwners { root = bytes32(_root); } function reveal() public onlyOwners { revealed = true; } function activate() public onlyOwners { state = 1; } function endPresale() public onlyOwners { state = 2; } function deactivate() public onlyOwners { state = 3; } function changeState(uint8 _state) public onlyOwners { require(_state < 4, "State number is too high."); state = _state; } function setURIs(string memory _baseURI, string memory _preRevealedURI) public onlyOwners { preRevealedURI = _preRevealedURI; baseURI = _baseURI; } function addOwner(address _newOwner) public onlyOwners { require(!owners[_newOwner], "Already is an owner"); owners[_newOwner] = true; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); if (!revealed) { return preRevealedURI; } return string(abi.encodePacked(baseURI, tokenId.toString())); } function withdraw() public onlyOwners { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function _beforeTokenTransfer(address _from, address _to, uint256 _tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(_from, _to, _tokenId); } function supportsInterface (bytes4 _interfaceId) public view override (ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(_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/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 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // 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/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/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 (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 (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/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":[],"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"activate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"addOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_state","type":"uint8"}],"name":"changeState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deactivate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_root","type":"uint256"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"string","name":"_preRevealedURI","type":"string"}],"name":"setURIs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"state","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a60006101000a81548160ff0219169083151502179055506000600b55670429d069189e0000600e5560c8600f553480156200004257600080fd5b506040518060400160405280601381526020017f436163747573536f66742b206c6963656e7365000000000000000000000000008152506040518060400160405280600381526020017f43532b00000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c792919062000141565b508060019080519060200190620000e092919062000141565b5050506001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000256565b8280546200014f90620001f1565b90600052602060002090601f016020900481019282620001735760008555620001bf565b82601f106200018e57805160ff1916838001178555620001bf565b82800160010185558215620001bf579182015b82811115620001be578251825591602001919060010190620001a1565b5b509050620001ce9190620001d2565b5090565b5b80821115620001ed576000816000905550600101620001d3565b5090565b600060028204905060018216806200020a57607f821691505b6020821081141562000221576200022062000227565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61468c80620002666000396000f3fe6080604052600436106101d85760003560e01c80637065cb4811610102578063b88d4fde11610095578063e825417411610064578063e825417414610677578063e985e9c5146106a0578063ebf0c717146106dd578063f2f5a7e514610708576101d8565b8063b88d4fde146105bb578063c19d93fb146105e4578063c87b56dd1461060f578063d5abeb011461064c576101d8565b8063a22cb465116100d1578063a22cb46514610534578063a43be57b1461055d578063a475b5dd14610574578063b77a147b1461058b576101d8565b80637065cb481461047857806370a08231146104a157806395d89b41146104de578063a035b1fe14610509576101d8565b8063268f11531161017a5780634f6ccce7116101495780634f6ccce7146103bc57806351830227146103f957806351b42b00146104245780636352211e1461043b576101d8565b8063268f1153146103165780632f745c591461033f5780633ccfd60b1461037c57806342842e0e14610393576101d8565b8063095ea7b3116101b6578063095ea7b3146102825780630f15f4c0146102ab57806318160ddd146102c257806323b872dd146102ed576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff91906130d3565b610731565b60405161021191906137ac565b60405180910390f35b34801561022657600080fd5b5061022f610743565b60405161023c91906137e2565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190613191565b6107d5565b6040516102799190613745565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190613056565b61085a565b005b3480156102b757600080fd5b506102c0610972565b005b3480156102ce57600080fd5b506102d7610a08565b6040516102e49190613b24565b60405180910390f35b3480156102f957600080fd5b50610314600480360381019061030f9190612f50565b610a15565b005b34801561032257600080fd5b5061033d600480360381019061033891906131ba565b610a75565b005b34801561034b57600080fd5b5061036660048036038101906103619190613056565b610b54565b6040516103739190613b24565b60405180910390f35b34801561038857600080fd5b50610391610bf9565b005b34801561039f57600080fd5b506103ba60048036038101906103b59190612f50565b610cd4565b005b3480156103c857600080fd5b506103e360048036038101906103de9190613191565b610cf4565b6040516103f09190613b24565b60405180910390f35b34801561040557600080fd5b5061040e610d8b565b60405161041b91906137ac565b60405180910390f35b34801561043057600080fd5b50610439610d9e565b005b34801561044757600080fd5b50610462600480360381019061045d9190613191565b610e34565b60405161046f9190613745565b60405180910390f35b34801561048457600080fd5b5061049f600480360381019061049a9190612eeb565b610ee6565b005b3480156104ad57600080fd5b506104c860048036038101906104c39190612eeb565b61105a565b6040516104d59190613b24565b60405180910390f35b3480156104ea57600080fd5b506104f3611112565b60405161050091906137e2565b60405180910390f35b34801561051557600080fd5b5061051e6111a4565b60405161052b9190613b24565b60405180910390f35b34801561054057600080fd5b5061055b6004803603810190610556919061301a565b6111aa565b005b34801561056957600080fd5b506105726111c0565b005b34801561058057600080fd5b50610589611256565b005b6105a560048036038101906105a09190613092565b6112ff565b6040516105b29190613b24565b60405180910390f35b3480156105c757600080fd5b506105e260048036038101906105dd9190612f9f565b6115a8565b005b3480156105f057600080fd5b506105f961160a565b6040516106069190613b24565b60405180910390f35b34801561061b57600080fd5b5061063660048036038101906106319190613191565b611610565b60405161064391906137e2565b60405180910390f35b34801561065857600080fd5b50610661611733565b60405161066e9190613b24565b60405180910390f35b34801561068357600080fd5b5061069e60048036038101906106999190613125565b611739565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190612f14565b6117f7565b6040516106d491906137ac565b60405180910390f35b3480156106e957600080fd5b506106f261188b565b6040516106ff91906137c7565b60405180910390f35b34801561071457600080fd5b5061072f600480360381019061072a9190613191565b611891565b005b600061073c8261192a565b9050919050565b60606000805461075290613dd2565b80601f016020809104026020016040519081016040528092919081815260200182805461077e90613dd2565b80156107cb5780601f106107a0576101008083540402835291602001916107cb565b820191906000526020600020905b8154815290600101906020018083116107ae57829003601f168201915b5050505050905090565b60006107e0826119a4565b61081f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081690613a44565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061086582610e34565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108cd90613aa4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108f5611a10565b73ffffffffffffffffffffffffffffffffffffffff16148061092457506109238161091e611a10565b6117f7565b5b610963576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095a906139a4565b60405180910390fd5b61096d8383611a18565b505050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166109fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f590613864565b60405180910390fd5b6001600b81905550565b6000600880549050905090565b610a26610a20611a10565b82611ad1565b610a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5c90613ac4565b60405180910390fd5b610a70838383611baf565b505050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af890613864565b60405180910390fd5b60048160ff1610610b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3e90613904565b60405180910390fd5b8060ff16600b8190555050565b6000610b5f8361105a565b8210610ba0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9790613824565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610c85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7c90613864565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610cd0573d6000803e3d6000fd5b5050565b610cef838383604051806020016040528060008152506115a8565b505050565b6000610cfe610a08565b8210610d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3690613ae4565b60405180910390fd5b60088281548110610d79577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600a60009054906101000a900460ff1681565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190613864565b60405180910390fd5b6003600b81905550565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed4906139e4565b60405180910390fd5b80915050919050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6990613864565b60405180910390fd5b601060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff690613924565b60405180910390fd5b6001601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c2906139c4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606001805461112190613dd2565b80601f016020809104026020016040519081016040528092919081815260200182805461114d90613dd2565b801561119a5780601f1061116f5761010080835404028352916020019161119a565b820191906000526020600020905b81548152906001019060200180831161117d57829003601f168201915b5050505050905090565b600e5481565b6111bc6111b5611a10565b8383611e0b565b5050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661124c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124390613864565b60405180910390fd5b6002600b81905550565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166112e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d990613864565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550565b600080600b541415611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d90613984565b60405180910390fd5b6003600b54141561138c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138390613a04565b60405180910390fd5b6000611396610a08565b9050600e5434146113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d390613b04565b60405180910390fd5b600f548110611420576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141790613944565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156114ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a490613804565b60405180910390fd5b6001600b54141561152b576114eb83601254336040516020016114d091906136da565b60405160208183030381529060405280519060200120611f78565b61152a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152190613884565b60405180910390fd5b5b600060018261153a9190613c4a565b90506115463382611f8f565b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508092505050919050565b6115b96115b3611a10565b83611ad1565b6115f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ef90613ac4565b60405180910390fd5b61160484848484611fad565b50505050565b600b5481565b606061161b826119a4565b61165a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165190613a84565b60405180910390fd5b600a60009054906101000a900460ff1661170057600d805461167b90613dd2565b80601f01602080910402602001604051908101604052809291908181526020018280546116a790613dd2565b80156116f45780601f106116c9576101008083540402835291602001916116f4565b820191906000526020600020905b8154815290600101906020018083116116d757829003601f168201915b5050505050905061172e565b600c61170b83612009565b60405160200161171c929190613721565b60405160208183030381529060405290505b919050565b600f5481565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166117c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bc90613864565b60405180910390fd5b80600d90805190602001906117db929190612c4f565b5081600c90805190602001906117f2929190612c4f565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60125481565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661191d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191490613864565b60405180910390fd5b8060001b60128190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061199d575061199c826121b6565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a8b83610e34565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611adc826119a4565b611b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1290613964565b60405180910390fd5b6000611b2683610e34565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b9557508373ffffffffffffffffffffffffffffffffffffffff16611b7d846107d5565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ba65750611ba581856117f7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611bcf82610e34565b73ffffffffffffffffffffffffffffffffffffffff1614611c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1c90613a64565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8c906138c4565b60405180910390fd5b611ca0838383612298565b611cab600082611a18565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cfb9190613cd1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d529190613c4a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e71906138e4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f6b91906137ac565b60405180910390a3505050565b600082611f8585846122a8565b1490509392505050565b611fa9828260405180602001604052806000815250612381565b5050565b611fb8848484611baf565b611fc4848484846123dc565b612003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffa90613844565b60405180910390fd5b50505050565b60606000821415612051576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121b1565b600082905060005b6000821461208357808061206c90613e35565b915050600a8261207c9190613ca0565b9150612059565b60008167ffffffffffffffff8111156120c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120f75781602001600182028036833780820191505090505b5090505b600085146121aa576001826121109190613cd1565b9150600a8561211f9190613eac565b603061212b9190613c4a565b60f81b818381518110612167577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121a39190613ca0565b94506120fb565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061228157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612291575061229082612573565b5b9050919050565b6122a38383836125dd565b505050565b60008082905060005b84518110156123765760008582815181106122f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116123365782816040516020016123199291906136f5565b604051602081830303815290604052805190602001209250612362565b80836040516020016123499291906136f5565b6040516020818303038152906040528051906020012092505b50808061236e90613e35565b9150506122b1565b508091505092915050565b61238b83836126f1565b61239860008484846123dc565b6123d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ce90613844565b60405180910390fd5b505050565b60006123fd8473ffffffffffffffffffffffffffffffffffffffff166128bf565b15612566578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612426611a10565b8786866040518563ffffffff1660e01b81526004016124489493929190613760565b602060405180830381600087803b15801561246257600080fd5b505af192505050801561249357506040513d601f19601f8201168201806040525081019061249091906130fc565b60015b612516573d80600081146124c3576040519150601f19603f3d011682016040523d82523d6000602084013e6124c8565b606091505b5060008151141561250e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250590613844565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061256b565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6125e88383836128d2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561262b57612626816128d7565b61266a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612669576126688382612920565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126ad576126a881612a8d565b6126ec565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146126eb576126ea8282612bd0565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275890613a24565b60405180910390fd5b61276a816119a4565b156127aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a1906138a4565b60405180910390fd5b6127b660008383612298565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128069190613c4a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161292d8461105a565b6129379190613cd1565b9050600060076000848152602001908152602001600020549050818114612a1c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612aa19190613cd1565b9050600060096000848152602001908152602001600020549050600060088381548110612af7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612b3f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612bb4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612bdb8361105a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054612c5b90613dd2565b90600052602060002090601f016020900481019282612c7d5760008555612cc4565b82601f10612c9657805160ff1916838001178555612cc4565b82800160010185558215612cc4579182015b82811115612cc3578251825591602001919060010190612ca8565b5b509050612cd19190612cd5565b5090565b5b80821115612cee576000816000905550600101612cd6565b5090565b6000612d05612d0084613b64565b613b3f565b90508083825260208201905082856020860282011115612d2457600080fd5b60005b85811015612d545781612d3a8882612e2e565b845260208401935060208301925050600181019050612d27565b5050509392505050565b6000612d71612d6c84613b90565b613b3f565b905082815260208101848484011115612d8957600080fd5b612d94848285613d90565b509392505050565b6000612daf612daa84613bc1565b613b3f565b905082815260208101848484011115612dc757600080fd5b612dd2848285613d90565b509392505050565b600081359050612de9816145cc565b92915050565b600082601f830112612e0057600080fd5b8135612e10848260208601612cf2565b91505092915050565b600081359050612e28816145e3565b92915050565b600081359050612e3d816145fa565b92915050565b600081359050612e5281614611565b92915050565b600081519050612e6781614611565b92915050565b600082601f830112612e7e57600080fd5b8135612e8e848260208601612d5e565b91505092915050565b600082601f830112612ea857600080fd5b8135612eb8848260208601612d9c565b91505092915050565b600081359050612ed081614628565b92915050565b600081359050612ee58161463f565b92915050565b600060208284031215612efd57600080fd5b6000612f0b84828501612dda565b91505092915050565b60008060408385031215612f2757600080fd5b6000612f3585828601612dda565b9250506020612f4685828601612dda565b9150509250929050565b600080600060608486031215612f6557600080fd5b6000612f7386828701612dda565b9350506020612f8486828701612dda565b9250506040612f9586828701612ec1565b9150509250925092565b60008060008060808587031215612fb557600080fd5b6000612fc387828801612dda565b9450506020612fd487828801612dda565b9350506040612fe587828801612ec1565b925050606085013567ffffffffffffffff81111561300257600080fd5b61300e87828801612e6d565b91505092959194509250565b6000806040838503121561302d57600080fd5b600061303b85828601612dda565b925050602061304c85828601612e19565b9150509250929050565b6000806040838503121561306957600080fd5b600061307785828601612dda565b925050602061308885828601612ec1565b9150509250929050565b6000602082840312156130a457600080fd5b600082013567ffffffffffffffff8111156130be57600080fd5b6130ca84828501612def565b91505092915050565b6000602082840312156130e557600080fd5b60006130f384828501612e43565b91505092915050565b60006020828403121561310e57600080fd5b600061311c84828501612e58565b91505092915050565b6000806040838503121561313857600080fd5b600083013567ffffffffffffffff81111561315257600080fd5b61315e85828601612e97565b925050602083013567ffffffffffffffff81111561317b57600080fd5b61318785828601612e97565b9150509250929050565b6000602082840312156131a357600080fd5b60006131b184828501612ec1565b91505092915050565b6000602082840312156131cc57600080fd5b60006131da84828501612ed6565b91505092915050565b6131ec81613d05565b82525050565b6132036131fe82613d05565b613e7e565b82525050565b61321281613d17565b82525050565b61322181613d23565b82525050565b61323861323382613d23565b613e90565b82525050565b600061324982613c07565b6132538185613c1d565b9350613263818560208601613d9f565b61326c81613f99565b840191505092915050565b600061328282613c12565b61328c8185613c2e565b935061329c818560208601613d9f565b6132a581613f99565b840191505092915050565b60006132bb82613c12565b6132c58185613c3f565b93506132d5818560208601613d9f565b80840191505092915050565b600081546132ee81613dd2565b6132f88186613c3f565b94506001821660008114613313576001811461332457613357565b60ff19831686528186019350613357565b61332d85613bf2565b60005b8381101561334f57815481890152600182019150602081019050613330565b838801955050505b50505092915050565b600061336d601f83613c2e565b915061337882613fb7565b602082019050919050565b6000613390602b83613c2e565b915061339b82613fe0565b604082019050919050565b60006133b3603283613c2e565b91506133be8261402f565b604082019050919050565b60006133d6600b83613c2e565b91506133e18261407e565b602082019050919050565b60006133f9603283613c2e565b9150613404826140a7565b604082019050919050565b600061341c601c83613c2e565b9150613427826140f6565b602082019050919050565b600061343f602483613c2e565b915061344a8261411f565b604082019050919050565b6000613462601983613c2e565b915061346d8261416e565b602082019050919050565b6000613485601983613c2e565b915061349082614197565b602082019050919050565b60006134a8601383613c2e565b91506134b3826141c0565b602082019050919050565b60006134cb601583613c2e565b91506134d6826141e9565b602082019050919050565b60006134ee602c83613c2e565b91506134f982614212565b604082019050919050565b6000613511601683613c2e565b915061351c82614261565b602082019050919050565b6000613534603883613c2e565b915061353f8261428a565b604082019050919050565b6000613557602a83613c2e565b9150613562826142d9565b604082019050919050565b600061357a602983613c2e565b915061358582614328565b604082019050919050565b600061359d601283613c2e565b91506135a882614377565b602082019050919050565b60006135c0602083613c2e565b91506135cb826143a0565b602082019050919050565b60006135e3602c83613c2e565b91506135ee826143c9565b604082019050919050565b6000613606602983613c2e565b915061361182614418565b604082019050919050565b6000613629602f83613c2e565b915061363482614467565b604082019050919050565b600061364c602183613c2e565b9150613657826144b6565b604082019050919050565b600061366f603183613c2e565b915061367a82614505565b604082019050919050565b6000613692602c83613c2e565b915061369d82614554565b604082019050919050565b60006136b5601583613c2e565b91506136c0826145a3565b602082019050919050565b6136d481613d79565b82525050565b60006136e682846131f2565b60148201915081905092915050565b60006137018285613227565b6020820191506137118284613227565b6020820191508190509392505050565b600061372d82856132e1565b915061373982846132b0565b91508190509392505050565b600060208201905061375a60008301846131e3565b92915050565b600060808201905061377560008301876131e3565b61378260208301866131e3565b61378f60408301856136cb565b81810360608301526137a1818461323e565b905095945050505050565b60006020820190506137c16000830184613209565b92915050565b60006020820190506137dc6000830184613218565b92915050565b600060208201905081810360008301526137fc8184613277565b905092915050565b6000602082019050818103600083015261381d81613360565b9050919050565b6000602082019050818103600083015261383d81613383565b9050919050565b6000602082019050818103600083015261385d816133a6565b9050919050565b6000602082019050818103600083015261387d816133c9565b9050919050565b6000602082019050818103600083015261389d816133ec565b9050919050565b600060208201905081810360008301526138bd8161340f565b9050919050565b600060208201905081810360008301526138dd81613432565b9050919050565b600060208201905081810360008301526138fd81613455565b9050919050565b6000602082019050818103600083015261391d81613478565b9050919050565b6000602082019050818103600083015261393d8161349b565b9050919050565b6000602082019050818103600083015261395d816134be565b9050919050565b6000602082019050818103600083015261397d816134e1565b9050919050565b6000602082019050818103600083015261399d81613504565b9050919050565b600060208201905081810360008301526139bd81613527565b9050919050565b600060208201905081810360008301526139dd8161354a565b9050919050565b600060208201905081810360008301526139fd8161356d565b9050919050565b60006020820190508181036000830152613a1d81613590565b9050919050565b60006020820190508181036000830152613a3d816135b3565b9050919050565b60006020820190508181036000830152613a5d816135d6565b9050919050565b60006020820190508181036000830152613a7d816135f9565b9050919050565b60006020820190508181036000830152613a9d8161361c565b9050919050565b60006020820190508181036000830152613abd8161363f565b9050919050565b60006020820190508181036000830152613add81613662565b9050919050565b60006020820190508181036000830152613afd81613685565b9050919050565b60006020820190508181036000830152613b1d816136a8565b9050919050565b6000602082019050613b3960008301846136cb565b92915050565b6000613b49613b5a565b9050613b558282613e04565b919050565b6000604051905090565b600067ffffffffffffffff821115613b7f57613b7e613f6a565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613bab57613baa613f6a565b5b613bb482613f99565b9050602081019050919050565b600067ffffffffffffffff821115613bdc57613bdb613f6a565b5b613be582613f99565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c5582613d79565b9150613c6083613d79565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c9557613c94613edd565b5b828201905092915050565b6000613cab82613d79565b9150613cb683613d79565b925082613cc657613cc5613f0c565b5b828204905092915050565b6000613cdc82613d79565b9150613ce783613d79565b925082821015613cfa57613cf9613edd565b5b828203905092915050565b6000613d1082613d59565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613dbd578082015181840152602081019050613da2565b83811115613dcc576000848401525b50505050565b60006002820490506001821680613dea57607f821691505b60208210811415613dfe57613dfd613f3b565b5b50919050565b613e0d82613f99565b810181811067ffffffffffffffff82111715613e2c57613e2b613f6a565b5b80604052505050565b6000613e4082613d79565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e7357613e72613edd565b5b600182019050919050565b6000613e8982613e9a565b9050919050565b6000819050919050565b6000613ea582613faa565b9050919050565b6000613eb782613d79565b9150613ec283613d79565b925082613ed257613ed1613f0c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4561636820616464726573732063616e206d696e74206f6e6c79206f6e636500600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f6e6c79206f776e657273000000000000000000000000000000000000000000600082015250565b7f4f6e6c7920617661696c61626c6520666f72207072656d69756d206d696e746560008201527f727320647572696e672070726573616c65210000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f5374617465206e756d62657220697320746f6f20686967682e00000000000000600082015250565b7f416c726561647920697320616e206f776e657200000000000000000000000000600082015250565b7f4e4654206c696d69742077617320726561636865640000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d696e74696e67206e6f74206163746976652079657400000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e672069732073746f707065640000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f496e636f72726563742065746865722076616c75650000000000000000000000600082015250565b6145d581613d05565b81146145e057600080fd5b50565b6145ec81613d17565b81146145f757600080fd5b50565b61460381613d23565b811461460e57600080fd5b50565b61461a81613d2d565b811461462557600080fd5b50565b61463181613d79565b811461463c57600080fd5b50565b61464881613d83565b811461465357600080fd5b5056fea26469706673582212203ed3973e57dfc93d6fef8f41acb32e2ce368c8c2d97e4f395c853da2f17317c264736f6c63430008040033
Deployed Bytecode
0x6080604052600436106101d85760003560e01c80637065cb4811610102578063b88d4fde11610095578063e825417411610064578063e825417414610677578063e985e9c5146106a0578063ebf0c717146106dd578063f2f5a7e514610708576101d8565b8063b88d4fde146105bb578063c19d93fb146105e4578063c87b56dd1461060f578063d5abeb011461064c576101d8565b8063a22cb465116100d1578063a22cb46514610534578063a43be57b1461055d578063a475b5dd14610574578063b77a147b1461058b576101d8565b80637065cb481461047857806370a08231146104a157806395d89b41146104de578063a035b1fe14610509576101d8565b8063268f11531161017a5780634f6ccce7116101495780634f6ccce7146103bc57806351830227146103f957806351b42b00146104245780636352211e1461043b576101d8565b8063268f1153146103165780632f745c591461033f5780633ccfd60b1461037c57806342842e0e14610393576101d8565b8063095ea7b3116101b6578063095ea7b3146102825780630f15f4c0146102ab57806318160ddd146102c257806323b872dd146102ed576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff91906130d3565b610731565b60405161021191906137ac565b60405180910390f35b34801561022657600080fd5b5061022f610743565b60405161023c91906137e2565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190613191565b6107d5565b6040516102799190613745565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190613056565b61085a565b005b3480156102b757600080fd5b506102c0610972565b005b3480156102ce57600080fd5b506102d7610a08565b6040516102e49190613b24565b60405180910390f35b3480156102f957600080fd5b50610314600480360381019061030f9190612f50565b610a15565b005b34801561032257600080fd5b5061033d600480360381019061033891906131ba565b610a75565b005b34801561034b57600080fd5b5061036660048036038101906103619190613056565b610b54565b6040516103739190613b24565b60405180910390f35b34801561038857600080fd5b50610391610bf9565b005b34801561039f57600080fd5b506103ba60048036038101906103b59190612f50565b610cd4565b005b3480156103c857600080fd5b506103e360048036038101906103de9190613191565b610cf4565b6040516103f09190613b24565b60405180910390f35b34801561040557600080fd5b5061040e610d8b565b60405161041b91906137ac565b60405180910390f35b34801561043057600080fd5b50610439610d9e565b005b34801561044757600080fd5b50610462600480360381019061045d9190613191565b610e34565b60405161046f9190613745565b60405180910390f35b34801561048457600080fd5b5061049f600480360381019061049a9190612eeb565b610ee6565b005b3480156104ad57600080fd5b506104c860048036038101906104c39190612eeb565b61105a565b6040516104d59190613b24565b60405180910390f35b3480156104ea57600080fd5b506104f3611112565b60405161050091906137e2565b60405180910390f35b34801561051557600080fd5b5061051e6111a4565b60405161052b9190613b24565b60405180910390f35b34801561054057600080fd5b5061055b6004803603810190610556919061301a565b6111aa565b005b34801561056957600080fd5b506105726111c0565b005b34801561058057600080fd5b50610589611256565b005b6105a560048036038101906105a09190613092565b6112ff565b6040516105b29190613b24565b60405180910390f35b3480156105c757600080fd5b506105e260048036038101906105dd9190612f9f565b6115a8565b005b3480156105f057600080fd5b506105f961160a565b6040516106069190613b24565b60405180910390f35b34801561061b57600080fd5b5061063660048036038101906106319190613191565b611610565b60405161064391906137e2565b60405180910390f35b34801561065857600080fd5b50610661611733565b60405161066e9190613b24565b60405180910390f35b34801561068357600080fd5b5061069e60048036038101906106999190613125565b611739565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190612f14565b6117f7565b6040516106d491906137ac565b60405180910390f35b3480156106e957600080fd5b506106f261188b565b6040516106ff91906137c7565b60405180910390f35b34801561071457600080fd5b5061072f600480360381019061072a9190613191565b611891565b005b600061073c8261192a565b9050919050565b60606000805461075290613dd2565b80601f016020809104026020016040519081016040528092919081815260200182805461077e90613dd2565b80156107cb5780601f106107a0576101008083540402835291602001916107cb565b820191906000526020600020905b8154815290600101906020018083116107ae57829003601f168201915b5050505050905090565b60006107e0826119a4565b61081f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081690613a44565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061086582610e34565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108cd90613aa4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108f5611a10565b73ffffffffffffffffffffffffffffffffffffffff16148061092457506109238161091e611a10565b6117f7565b5b610963576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095a906139a4565b60405180910390fd5b61096d8383611a18565b505050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166109fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f590613864565b60405180910390fd5b6001600b81905550565b6000600880549050905090565b610a26610a20611a10565b82611ad1565b610a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5c90613ac4565b60405180910390fd5b610a70838383611baf565b505050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af890613864565b60405180910390fd5b60048160ff1610610b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3e90613904565b60405180910390fd5b8060ff16600b8190555050565b6000610b5f8361105a565b8210610ba0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9790613824565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610c85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7c90613864565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610cd0573d6000803e3d6000fd5b5050565b610cef838383604051806020016040528060008152506115a8565b505050565b6000610cfe610a08565b8210610d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3690613ae4565b60405180910390fd5b60088281548110610d79577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600a60009054906101000a900460ff1681565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190613864565b60405180910390fd5b6003600b81905550565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed4906139e4565b60405180910390fd5b80915050919050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6990613864565b60405180910390fd5b601060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff690613924565b60405180910390fd5b6001601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c2906139c4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606001805461112190613dd2565b80601f016020809104026020016040519081016040528092919081815260200182805461114d90613dd2565b801561119a5780601f1061116f5761010080835404028352916020019161119a565b820191906000526020600020905b81548152906001019060200180831161117d57829003601f168201915b5050505050905090565b600e5481565b6111bc6111b5611a10565b8383611e0b565b5050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661124c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124390613864565b60405180910390fd5b6002600b81905550565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166112e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d990613864565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550565b600080600b541415611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d90613984565b60405180910390fd5b6003600b54141561138c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138390613a04565b60405180910390fd5b6000611396610a08565b9050600e5434146113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d390613b04565b60405180910390fd5b600f548110611420576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141790613944565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156114ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a490613804565b60405180910390fd5b6001600b54141561152b576114eb83601254336040516020016114d091906136da565b60405160208183030381529060405280519060200120611f78565b61152a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152190613884565b60405180910390fd5b5b600060018261153a9190613c4a565b90506115463382611f8f565b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508092505050919050565b6115b96115b3611a10565b83611ad1565b6115f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ef90613ac4565b60405180910390fd5b61160484848484611fad565b50505050565b600b5481565b606061161b826119a4565b61165a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165190613a84565b60405180910390fd5b600a60009054906101000a900460ff1661170057600d805461167b90613dd2565b80601f01602080910402602001604051908101604052809291908181526020018280546116a790613dd2565b80156116f45780601f106116c9576101008083540402835291602001916116f4565b820191906000526020600020905b8154815290600101906020018083116116d757829003601f168201915b5050505050905061172e565b600c61170b83612009565b60405160200161171c929190613721565b60405160208183030381529060405290505b919050565b600f5481565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166117c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bc90613864565b60405180910390fd5b80600d90805190602001906117db929190612c4f565b5081600c90805190602001906117f2929190612c4f565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60125481565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661191d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191490613864565b60405180910390fd5b8060001b60128190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061199d575061199c826121b6565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a8b83610e34565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611adc826119a4565b611b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1290613964565b60405180910390fd5b6000611b2683610e34565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b9557508373ffffffffffffffffffffffffffffffffffffffff16611b7d846107d5565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ba65750611ba581856117f7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611bcf82610e34565b73ffffffffffffffffffffffffffffffffffffffff1614611c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1c90613a64565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8c906138c4565b60405180910390fd5b611ca0838383612298565b611cab600082611a18565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cfb9190613cd1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d529190613c4a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e71906138e4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f6b91906137ac565b60405180910390a3505050565b600082611f8585846122a8565b1490509392505050565b611fa9828260405180602001604052806000815250612381565b5050565b611fb8848484611baf565b611fc4848484846123dc565b612003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffa90613844565b60405180910390fd5b50505050565b60606000821415612051576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121b1565b600082905060005b6000821461208357808061206c90613e35565b915050600a8261207c9190613ca0565b9150612059565b60008167ffffffffffffffff8111156120c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120f75781602001600182028036833780820191505090505b5090505b600085146121aa576001826121109190613cd1565b9150600a8561211f9190613eac565b603061212b9190613c4a565b60f81b818381518110612167577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121a39190613ca0565b94506120fb565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061228157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612291575061229082612573565b5b9050919050565b6122a38383836125dd565b505050565b60008082905060005b84518110156123765760008582815181106122f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116123365782816040516020016123199291906136f5565b604051602081830303815290604052805190602001209250612362565b80836040516020016123499291906136f5565b6040516020818303038152906040528051906020012092505b50808061236e90613e35565b9150506122b1565b508091505092915050565b61238b83836126f1565b61239860008484846123dc565b6123d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ce90613844565b60405180910390fd5b505050565b60006123fd8473ffffffffffffffffffffffffffffffffffffffff166128bf565b15612566578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612426611a10565b8786866040518563ffffffff1660e01b81526004016124489493929190613760565b602060405180830381600087803b15801561246257600080fd5b505af192505050801561249357506040513d601f19601f8201168201806040525081019061249091906130fc565b60015b612516573d80600081146124c3576040519150601f19603f3d011682016040523d82523d6000602084013e6124c8565b606091505b5060008151141561250e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250590613844565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061256b565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6125e88383836128d2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561262b57612626816128d7565b61266a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612669576126688382612920565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126ad576126a881612a8d565b6126ec565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146126eb576126ea8282612bd0565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275890613a24565b60405180910390fd5b61276a816119a4565b156127aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a1906138a4565b60405180910390fd5b6127b660008383612298565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128069190613c4a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161292d8461105a565b6129379190613cd1565b9050600060076000848152602001908152602001600020549050818114612a1c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612aa19190613cd1565b9050600060096000848152602001908152602001600020549050600060088381548110612af7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612b3f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612bb4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612bdb8361105a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054612c5b90613dd2565b90600052602060002090601f016020900481019282612c7d5760008555612cc4565b82601f10612c9657805160ff1916838001178555612cc4565b82800160010185558215612cc4579182015b82811115612cc3578251825591602001919060010190612ca8565b5b509050612cd19190612cd5565b5090565b5b80821115612cee576000816000905550600101612cd6565b5090565b6000612d05612d0084613b64565b613b3f565b90508083825260208201905082856020860282011115612d2457600080fd5b60005b85811015612d545781612d3a8882612e2e565b845260208401935060208301925050600181019050612d27565b5050509392505050565b6000612d71612d6c84613b90565b613b3f565b905082815260208101848484011115612d8957600080fd5b612d94848285613d90565b509392505050565b6000612daf612daa84613bc1565b613b3f565b905082815260208101848484011115612dc757600080fd5b612dd2848285613d90565b509392505050565b600081359050612de9816145cc565b92915050565b600082601f830112612e0057600080fd5b8135612e10848260208601612cf2565b91505092915050565b600081359050612e28816145e3565b92915050565b600081359050612e3d816145fa565b92915050565b600081359050612e5281614611565b92915050565b600081519050612e6781614611565b92915050565b600082601f830112612e7e57600080fd5b8135612e8e848260208601612d5e565b91505092915050565b600082601f830112612ea857600080fd5b8135612eb8848260208601612d9c565b91505092915050565b600081359050612ed081614628565b92915050565b600081359050612ee58161463f565b92915050565b600060208284031215612efd57600080fd5b6000612f0b84828501612dda565b91505092915050565b60008060408385031215612f2757600080fd5b6000612f3585828601612dda565b9250506020612f4685828601612dda565b9150509250929050565b600080600060608486031215612f6557600080fd5b6000612f7386828701612dda565b9350506020612f8486828701612dda565b9250506040612f9586828701612ec1565b9150509250925092565b60008060008060808587031215612fb557600080fd5b6000612fc387828801612dda565b9450506020612fd487828801612dda565b9350506040612fe587828801612ec1565b925050606085013567ffffffffffffffff81111561300257600080fd5b61300e87828801612e6d565b91505092959194509250565b6000806040838503121561302d57600080fd5b600061303b85828601612dda565b925050602061304c85828601612e19565b9150509250929050565b6000806040838503121561306957600080fd5b600061307785828601612dda565b925050602061308885828601612ec1565b9150509250929050565b6000602082840312156130a457600080fd5b600082013567ffffffffffffffff8111156130be57600080fd5b6130ca84828501612def565b91505092915050565b6000602082840312156130e557600080fd5b60006130f384828501612e43565b91505092915050565b60006020828403121561310e57600080fd5b600061311c84828501612e58565b91505092915050565b6000806040838503121561313857600080fd5b600083013567ffffffffffffffff81111561315257600080fd5b61315e85828601612e97565b925050602083013567ffffffffffffffff81111561317b57600080fd5b61318785828601612e97565b9150509250929050565b6000602082840312156131a357600080fd5b60006131b184828501612ec1565b91505092915050565b6000602082840312156131cc57600080fd5b60006131da84828501612ed6565b91505092915050565b6131ec81613d05565b82525050565b6132036131fe82613d05565b613e7e565b82525050565b61321281613d17565b82525050565b61322181613d23565b82525050565b61323861323382613d23565b613e90565b82525050565b600061324982613c07565b6132538185613c1d565b9350613263818560208601613d9f565b61326c81613f99565b840191505092915050565b600061328282613c12565b61328c8185613c2e565b935061329c818560208601613d9f565b6132a581613f99565b840191505092915050565b60006132bb82613c12565b6132c58185613c3f565b93506132d5818560208601613d9f565b80840191505092915050565b600081546132ee81613dd2565b6132f88186613c3f565b94506001821660008114613313576001811461332457613357565b60ff19831686528186019350613357565b61332d85613bf2565b60005b8381101561334f57815481890152600182019150602081019050613330565b838801955050505b50505092915050565b600061336d601f83613c2e565b915061337882613fb7565b602082019050919050565b6000613390602b83613c2e565b915061339b82613fe0565b604082019050919050565b60006133b3603283613c2e565b91506133be8261402f565b604082019050919050565b60006133d6600b83613c2e565b91506133e18261407e565b602082019050919050565b60006133f9603283613c2e565b9150613404826140a7565b604082019050919050565b600061341c601c83613c2e565b9150613427826140f6565b602082019050919050565b600061343f602483613c2e565b915061344a8261411f565b604082019050919050565b6000613462601983613c2e565b915061346d8261416e565b602082019050919050565b6000613485601983613c2e565b915061349082614197565b602082019050919050565b60006134a8601383613c2e565b91506134b3826141c0565b602082019050919050565b60006134cb601583613c2e565b91506134d6826141e9565b602082019050919050565b60006134ee602c83613c2e565b91506134f982614212565b604082019050919050565b6000613511601683613c2e565b915061351c82614261565b602082019050919050565b6000613534603883613c2e565b915061353f8261428a565b604082019050919050565b6000613557602a83613c2e565b9150613562826142d9565b604082019050919050565b600061357a602983613c2e565b915061358582614328565b604082019050919050565b600061359d601283613c2e565b91506135a882614377565b602082019050919050565b60006135c0602083613c2e565b91506135cb826143a0565b602082019050919050565b60006135e3602c83613c2e565b91506135ee826143c9565b604082019050919050565b6000613606602983613c2e565b915061361182614418565b604082019050919050565b6000613629602f83613c2e565b915061363482614467565b604082019050919050565b600061364c602183613c2e565b9150613657826144b6565b604082019050919050565b600061366f603183613c2e565b915061367a82614505565b604082019050919050565b6000613692602c83613c2e565b915061369d82614554565b604082019050919050565b60006136b5601583613c2e565b91506136c0826145a3565b602082019050919050565b6136d481613d79565b82525050565b60006136e682846131f2565b60148201915081905092915050565b60006137018285613227565b6020820191506137118284613227565b6020820191508190509392505050565b600061372d82856132e1565b915061373982846132b0565b91508190509392505050565b600060208201905061375a60008301846131e3565b92915050565b600060808201905061377560008301876131e3565b61378260208301866131e3565b61378f60408301856136cb565b81810360608301526137a1818461323e565b905095945050505050565b60006020820190506137c16000830184613209565b92915050565b60006020820190506137dc6000830184613218565b92915050565b600060208201905081810360008301526137fc8184613277565b905092915050565b6000602082019050818103600083015261381d81613360565b9050919050565b6000602082019050818103600083015261383d81613383565b9050919050565b6000602082019050818103600083015261385d816133a6565b9050919050565b6000602082019050818103600083015261387d816133c9565b9050919050565b6000602082019050818103600083015261389d816133ec565b9050919050565b600060208201905081810360008301526138bd8161340f565b9050919050565b600060208201905081810360008301526138dd81613432565b9050919050565b600060208201905081810360008301526138fd81613455565b9050919050565b6000602082019050818103600083015261391d81613478565b9050919050565b6000602082019050818103600083015261393d8161349b565b9050919050565b6000602082019050818103600083015261395d816134be565b9050919050565b6000602082019050818103600083015261397d816134e1565b9050919050565b6000602082019050818103600083015261399d81613504565b9050919050565b600060208201905081810360008301526139bd81613527565b9050919050565b600060208201905081810360008301526139dd8161354a565b9050919050565b600060208201905081810360008301526139fd8161356d565b9050919050565b60006020820190508181036000830152613a1d81613590565b9050919050565b60006020820190508181036000830152613a3d816135b3565b9050919050565b60006020820190508181036000830152613a5d816135d6565b9050919050565b60006020820190508181036000830152613a7d816135f9565b9050919050565b60006020820190508181036000830152613a9d8161361c565b9050919050565b60006020820190508181036000830152613abd8161363f565b9050919050565b60006020820190508181036000830152613add81613662565b9050919050565b60006020820190508181036000830152613afd81613685565b9050919050565b60006020820190508181036000830152613b1d816136a8565b9050919050565b6000602082019050613b3960008301846136cb565b92915050565b6000613b49613b5a565b9050613b558282613e04565b919050565b6000604051905090565b600067ffffffffffffffff821115613b7f57613b7e613f6a565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613bab57613baa613f6a565b5b613bb482613f99565b9050602081019050919050565b600067ffffffffffffffff821115613bdc57613bdb613f6a565b5b613be582613f99565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c5582613d79565b9150613c6083613d79565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c9557613c94613edd565b5b828201905092915050565b6000613cab82613d79565b9150613cb683613d79565b925082613cc657613cc5613f0c565b5b828204905092915050565b6000613cdc82613d79565b9150613ce783613d79565b925082821015613cfa57613cf9613edd565b5b828203905092915050565b6000613d1082613d59565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613dbd578082015181840152602081019050613da2565b83811115613dcc576000848401525b50505050565b60006002820490506001821680613dea57607f821691505b60208210811415613dfe57613dfd613f3b565b5b50919050565b613e0d82613f99565b810181811067ffffffffffffffff82111715613e2c57613e2b613f6a565b5b80604052505050565b6000613e4082613d79565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e7357613e72613edd565b5b600182019050919050565b6000613e8982613e9a565b9050919050565b6000819050919050565b6000613ea582613faa565b9050919050565b6000613eb782613d79565b9150613ec283613d79565b925082613ed257613ed1613f0c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4561636820616464726573732063616e206d696e74206f6e6c79206f6e636500600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f6e6c79206f776e657273000000000000000000000000000000000000000000600082015250565b7f4f6e6c7920617661696c61626c6520666f72207072656d69756d206d696e746560008201527f727320647572696e672070726573616c65210000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f5374617465206e756d62657220697320746f6f20686967682e00000000000000600082015250565b7f416c726561647920697320616e206f776e657200000000000000000000000000600082015250565b7f4e4654206c696d69742077617320726561636865640000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d696e74696e67206e6f74206163746976652079657400000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e672069732073746f707065640000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f496e636f72726563742065746865722076616c75650000000000000000000000600082015250565b6145d581613d05565b81146145e057600080fd5b50565b6145ec81613d17565b81146145f757600080fd5b50565b61460381613d23565b811461460e57600080fd5b50565b61461a81613d2d565b811461462557600080fd5b50565b61463181613d79565b811461463c57600080fd5b50565b61464881613d83565b811461465357600080fd5b5056fea26469706673582212203ed3973e57dfc93d6fef8f41acb32e2ce368c8c2d97e4f395c853da2f17317c264736f6c63430008040033
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.