Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,112 KIT
Holders
773
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 KITLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KitbashBoogers
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 20000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Author: Pagzi Tech Inc. | 2022 // Kitbash - Toy Boogers | 2022 pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract KitbashBoogers is Context, ERC165, IERC721, IERC721Metadata, Ownable { using Address for address; using Strings for uint256; // Token name and symbol string private _name = "Kitbash Boogers"; string private _symbol = "KIT"; mapping(uint => uint) private _availableTokens; uint256 private _numAvailableTokens = 1112; uint256 private _maxSupply = 1112; // 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; //allowlist settings bytes32 public merkleRoot = 0xde78a4c070eb27d3c355d3faff588c310950396f9e98b89dbaaf4a52e6687089; mapping(address => bool) public claimed; //sale settings uint256 public cost = 0.25 ether; //backend settings string public baseURI; address internal founder = 0x6ed5a435495480774Dfc44cc5BC85333f1b0646A; address internal immutable pagzidev = 0xeBaBB8C951F5c3b17b416A3D840C52CcaB728c19; address internal immutable partner1 = 0xc8B8B0C3f5Fc995B0E6a05ff89bDf8c820221C4F; address internal immutable partner2 = 0xe9D30EdDD11DeA8433cf6D2B2c22E9CCE94113dC; //proxy access and freezing mapping(address => bool) public projectProxy; bool public frozen; //date variables uint256 public publicDate = 1651341600; //mint passes/claims address public proxyAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1; //royalty settings uint256 public royaltyFee = 5000; modifier checkDate() { require((publicDate < block.timestamp),"Allowlist sale is not yet!"); _; } modifier checkPrice() { require(msg.value == cost , "Check sent funds!"); _; } /** * @dev Initializes the contract by minting the #0 to Doug and setting the baseURI ;) */ constructor() { _mintAtIndex(founder,0); baseURI = "https://kitbash.nftapi.art/meta/"; } // external function mint(bytes32[] calldata _merkleProof) external payable checkPrice checkDate { // Verify allowlist requirements require(claimed[msg.sender] != true, "Address has no allowance!"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Invalid merkle proof!"); require(_numAvailableTokens > 1, "No tokens left!"); _mintRandom(msg.sender); claimed[msg.sender] = true; } /** * @dev See {ERC-2981-royaltyInfo}. */ function royaltyInfo(uint256, uint256 value) external view returns (address receiver, uint256 royaltyAmount){ require(royaltyFee > 0, "ERC-2981: Royalty not set!"); return (founder, (value * royaltyFee) / 10000); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == 0x2a55205a /* ERC-2981 royaltyInfo() */ || super.supportsInterface(interfaceId); } function totalSupply() public view virtual returns (uint256) { return _maxSupply - _numAvailableTokens; } function maxSupply() public view virtual returns (uint256) { return _maxSupply; } /** * @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 {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = KitbashBoogers.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-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 = KitbashBoogers.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _mintIdWithoutBalanceUpdate(address to, uint256 tokenId) private { _beforeTokenTransfer(address(0), to, tokenId); _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } function _mintRandom(address to) internal virtual { uint updatedNumAvailableTokens = _numAvailableTokens; uint256 tokenId = getRandomAvailableTokenId(to, updatedNumAvailableTokens); _mintIdWithoutBalanceUpdate(to, tokenId); --updatedNumAvailableTokens; _numAvailableTokens = updatedNumAvailableTokens; _balances[to] += 1; } function getRandomAvailableTokenId(address to, uint updatedNumAvailableTokens) internal returns (uint256) { uint256 randomNum = uint256( keccak256( abi.encode( to, tx.gasprice, block.number, block.timestamp, block.difficulty, blockhash(block.number - 1), address(this), updatedNumAvailableTokens ) ) ); uint256 randomIndex = randomNum % updatedNumAvailableTokens; return getAvailableTokenAtIndex(randomIndex, updatedNumAvailableTokens); } function getAvailableTokenAtIndex(uint256 indexToUse, uint updatedNumAvailableTokens) internal returns (uint256) { uint256 valAtIndex = _availableTokens[indexToUse]; uint256 result; if (valAtIndex == 0) { // This means the index itself is still an available token result = indexToUse; } else { // This means the index itself is not an available token, but the val at that index is. result = valAtIndex; } uint256 lastIndex = updatedNumAvailableTokens - 1; if (indexToUse != lastIndex) { uint256 lastValInArray = _availableTokens[lastIndex]; if (lastValInArray == 0) { _availableTokens[indexToUse] = lastIndex; } else { _availableTokens[indexToUse] = lastValInArray; delete _availableTokens[lastIndex]; } } return result; } function _mintAtIndex(address to, uint index) internal virtual { uint tokenId = getAvailableTokenAtIndex(index, _numAvailableTokens); --_numAvailableTokens; _mintIdWithoutBalanceUpdate(to, tokenId); _balances[to] += 1; } /** * @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(KitbashBoogers.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); 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); _afterTokenTransfer(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(KitbashBoogers.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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} //only owner function gift(uint256[] calldata quantity, address[] calldata recipient) external onlyOwner{ require(quantity.length == recipient.length, "Invalid data" ); uint256 totalQuantity; for(uint256 i = 0; i < quantity.length; ++i){ totalQuantity += quantity[i]; } require(_numAvailableTokens >= totalQuantity, "ERC721: minting more tokens than available"); for(uint256 i = 0; i < recipient.length; ++i){ for(uint256 j = 1; j <= quantity[i]; ++j){ _mintRandom(recipient[i]); } } delete totalQuantity; } function setSupply(uint256 _supply) external onlyOwner { _maxSupply = _supply; } function setAvailibility(uint256 _supply) external onlyOwner { _numAvailableTokens = _supply; } function setCost(uint256 _cost) external onlyOwner { cost = _cost; } function setPublicDate(uint256 _publicDate) external onlyOwner { publicDate = _publicDate; } function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function switchProxy(address _proxyAddress) public onlyOwner { projectProxy[_proxyAddress] = !projectProxy[_proxyAddress]; } function setProxy(address _proxyAddress) external onlyOwner { proxyAddress = _proxyAddress; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return string(abi.encodePacked(baseURI, Strings.toString(_tokenId))); } function tokensOfOwner(address _owner) public view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) return new uint256[](0); uint256[] memory allTokens = new uint256[](tokenCount); uint256 j = 0; for(uint256 i; i < _maxSupply; i++ ){ address owner = _owners[i]; if(_owner == owner){ allTokens[j] = (i); j++; if(j == tokenCount) return allTokens; } } return allTokens; } function batchTransferFrom(address _from, address _to, uint256[] memory _tokenIds) public { for (uint256 i = 0; i < _tokenIds.length; i++) { transferFrom(_from, _to, _tokenIds[i]); } } function batchSafeTransferFrom(address _from, address _to, uint256[] memory _tokenIds, bytes memory data_) public { for (uint256 i = 0; i < _tokenIds.length; i++) { safeTransferFrom(_from, _to, _tokenIds[i], data_); } } function isOwnerOf(address account, uint256[] calldata _tokenIds) external view returns (bool){ for(uint256 i; i < _tokenIds.length; ++i ){ if(_owners[_tokenIds[i]] != account) return false; } return true; } function isApprovedForAll(address _owner, address operator) public view override(IERC721) returns (bool) { //Free listing on OpenSea by granting access to their proxy wallet. This can be removed in case of a breach on OS. OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyAddress); if (address(proxyRegistry.proxies(_owner)) == operator || projectProxy[operator]) return true; return isApprovedForAll(_owner, operator); } //ERC-2981 Royalty Implementation function setRoyalty(address _royaltyAddr, uint256 _royaltyFee) public onlyOwner { require(_royaltyFee < 10001, "ERC-2981: Royalty too high!"); founder = _royaltyAddr; royaltyFee = _royaltyFee; } function freeze() external onlyOwner { frozen = !frozen; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(founder).transfer((balance * 400) / 1000); payable(partner1).transfer((balance * 200) / 1000); payable(partner2).transfer((balance * 200) / 1000); payable(pagzidev).transfer((balance * 200) / 1000); } } contract OwnableDelegateProxy { } contract OpenSeaProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// 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 pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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": true, "runs": 20000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"frozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":"_supply","type":"uint256"}],"name":"setAvailibility","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyAddress","type":"address"}],"name":"setProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicDate","type":"uint256"}],"name":"setPublicDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddr","type":"address"},{"internalType":"uint256","name":"_royaltyFee","type":"uint256"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyAddress","type":"address"}],"name":"switchProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610120604052600f60e08190526e4b69746261736820426f6f6765727360881b6101009081526200003491600191906200035e565b506040805180820190915260038082526212d25560ea1b602090920191825262000061916002916200035e565b5061045860048190556005557fde78a4c070eb27d3c355d3faff588c310950396f9e98b89dbaaf4a52e6687089600a556703782dace9d90000600c55600e80546001600160a01b0319908116736ed5a435495480774dfc44cc5bc85333f1b0646a1790915573ebabb8c951f5c3b17b416a3d840c52ccab728c1960805273c8b8b0c3f5fc995b0e6a05ff89bdf8c820221c4f60a05273e9d30eddd11dea8433cf6d2b2c22e9cce94113dc60c05263626d79206011556012805490911673a5409ec958c83c3f309868babaca7c86dcb077c11790556113886013553480156200014857600080fd5b506200015433620001b8565b600e546200016d906001600160a01b0316600062000208565b6040805180820190915260208082527f68747470733a2f2f6b6974626173682e6e66746170692e6172742f6d6574612f918101918252620001b191600d916200035e565b50620004a5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006200021e826004546200027660201b60201c565b905060046000815462000231906200041a565b9091555062000241838262000305565b6001600160a01b03831660009081526007602052604081208054600192906200026c90849062000434565b9091555050505050565b600082815260036020526040812054818181036200029657508362000299565b50805b6000620002a86001866200044f565b9050808614620002fc5760008181526003602052604081205490819003620002e1576000878152600360205260409020829055620002fa565b6000878152600360205260408082208390558382528120555b505b50949350505050565b60008181526006602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546200036c9062000469565b90600052602060002090601f016020900481019282620003905760008555620003db565b82601f10620003ab57805160ff1916838001178555620003db565b82800160010185558215620003db579182015b82811115620003db578251825591602001919060010190620003be565b50620003e9929150620003ed565b5090565b5b80821115620003e95760008155600101620003ee565b634e487b7160e01b600052601160045260246000fd5b6000816200042c576200042c62000404565b506000190190565b600082198211156200044a576200044a62000404565b500190565b60008282101562000464576200046462000404565b500390565b600181811c908216806200047e57607f821691505b6020821081036200049f57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c051613909620004d560003960006111d1015260006111560152600061124c01526139096000f3fe6080604052600436106102f25760003560e01c80635bab26e21161018f57806397107d6d116100e1578063c884ef831161008a578063ea9d6d2911610064578063ea9d6d291461086c578063f2fde38b1461088c578063f3993d11146108ac57600080fd5b8063c884ef8314610807578063d5abeb0114610837578063e985e9c51461084c57600080fd5b8063b88d4fde116100bb578063b88d4fde146107b1578063b8997a97146107d1578063c87b56dd146107e757600080fd5b806397107d6d1461075e578063a22cb4651461077e578063b77a147b1461079e57600080fd5b8063715018a6116101435780638da5cb5b1161011d5780638da5cb5b146106fe57806395d89b411461072957806396ea3a471461073e57600080fd5b8063715018a61461069c5780637cb64759146106b15780638462151c146106d157600080fd5b80636352211e116101745780636352211e146106475780636c0360eb1461066757806370a082311461067c57600080fd5b80635bab26e21461060257806362a5af3b1461063257600080fd5b80632a55205a1161024857806342842e0e116101fc57806351463d5b116101d657806351463d5b146105ac57806355f804b3146105c25780635a4fee30146105e257600080fd5b806342842e0e1461054c57806344a0d68a1461056c5780634d44660c1461058c57600080fd5b80632eb4a7ab1161022d5780632eb4a7ab146105015780633b4c4b25146105175780633ccfd60b1461053757600080fd5b80632a55205a146104955780632d42169a146104e157600080fd5b806310fd332b116102aa57806323b872dd1161028457806323b872dd1461042857806323f5c02d14610448578063245cad7a1461047557600080fd5b806310fd332b146103cf57806313faede6146103ef57806318160ddd1461041357600080fd5b806306fdde03116102db57806306fdde0314610346578063081812fc14610368578063095ea7b3146103ad57600080fd5b806301ffc9a7146102f7578063054f7d9c1461032c575b600080fd5b34801561030357600080fd5b50610317610312366004612ed2565b6108cc565b60405190151581526020015b60405180910390f35b34801561033857600080fd5b506010546103179060ff1681565b34801561035257600080fd5b5061035b6109fd565b6040516103239190612f65565b34801561037457600080fd5b50610388610383366004612f78565b610a8f565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610323565b3480156103b957600080fd5b506103cd6103c8366004612fb3565b610b54565b005b3480156103db57600080fd5b506103cd6103ea366004612fb3565b610cac565b3480156103fb57600080fd5b50610405600c5481565b604051908152602001610323565b34801561041f57600080fd5b50610405610daf565b34801561043457600080fd5b506103cd610443366004612fdf565b610dc6565b34801561045457600080fd5b506012546103889073ffffffffffffffffffffffffffffffffffffffff1681565b34801561048157600080fd5b506103cd610490366004613020565b610e4d565b3480156104a157600080fd5b506104b56104b036600461303d565b610f08565b6040805173ffffffffffffffffffffffffffffffffffffffff9093168352602083019190915201610323565b3480156104ed57600080fd5b506103cd6104fc366004612f78565b610fa0565b34801561050d57600080fd5b50610405600a5481565b34801561052357600080fd5b506103cd610532366004612f78565b61100c565b34801561054357600080fd5b506103cd611078565b34801561055857600080fd5b506103cd610567366004612fdf565b6112b3565b34801561057857600080fd5b506103cd610587366004612f78565b6112ce565b34801561059857600080fd5b506103176105a73660046130a4565b61133a565b3480156105b857600080fd5b5061040560115481565b3480156105ce57600080fd5b506103cd6105dd3660046131ed565b6113cf565b3480156105ee57600080fd5b506103cd6105fd3660046132d6565b611449565b34801561060e57600080fd5b5061031761061d366004613020565b600f6020526000908152604090205460ff1681565b34801561063e57600080fd5b506103cd611493565b34801561065357600080fd5b50610388610662366004612f78565b61152c565b34801561067357600080fd5b5061035b6115c4565b34801561068857600080fd5b50610405610697366004613020565b611652565b3480156106a857600080fd5b506103cd611706565b3480156106bd57600080fd5b506103cd6106cc366004612f78565b611779565b3480156106dd57600080fd5b506106f16106ec366004613020565b6117e5565b604051610323919061335f565b34801561070a57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610388565b34801561073557600080fd5b5061035b6118f6565b34801561074a57600080fd5b506103cd6107593660046133a3565b611905565b34801561076a57600080fd5b506103cd610779366004613020565b611afb565b34801561078a57600080fd5b506103cd61079936600461340f565b611ba9565b6103cd6107ac36600461344d565b611bb4565b3480156107bd57600080fd5b506103cd6107cc36600461348f565b611e2b565b3480156107dd57600080fd5b5061040560135481565b3480156107f357600080fd5b5061035b610802366004612f78565b611eb9565b34801561081357600080fd5b50610317610822366004613020565b600b6020526000908152604090205460ff1681565b34801561084357600080fd5b50600554610405565b34801561085857600080fd5b506103176108673660046134ef565b611f5f565b34801561087857600080fd5b506103cd610887366004612f78565b612063565b34801561089857600080fd5b506103cd6108a7366004613020565b6120cf565b3480156108b857600080fd5b506103cd6108c736600461351d565b6121cb565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061095f57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806109ab57507f2a55205a000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b806109f757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060018054610a0c9061357f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a389061357f565b8015610a855780601f10610a5a57610100808354040283529160200191610a85565b820191906000526020600020905b815481529060010190602001808311610a6857829003601f168201915b5050505050905090565b60008181526006602052604081205473ffffffffffffffffffffffffffffffffffffffff16610b2b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526008602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610b5f8261152c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c025760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610b22565b3373ffffffffffffffffffffffffffffffffffffffff82161480610c2b5750610c2b8133611f5f565b610c9d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b22565b610ca7838361220d565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610d135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b6127118110610d645760405162461bcd60e51b815260206004820152601b60248201527f4552432d323938313a20526f79616c747920746f6f20686967682100000000006044820152606401610b22565b600e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9390931692909217909155601355565b6000600454600554610dc19190613601565b905090565b610dd033826122ad565b610e425760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610b22565b610ca78383836123ce565b60005473ffffffffffffffffffffffffffffffffffffffff163314610eb45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b73ffffffffffffffffffffffffffffffffffffffff166000908152600f6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b600080600060135411610f5d5760405162461bcd60e51b815260206004820152601a60248201527f4552432d323938313a20526f79616c7479206e6f7420736574210000000000006044820152606401610b22565b600e5460135473ffffffffffffffffffffffffffffffffffffffff9091169061271090610f8a9086613618565b610f949190613684565b915091505b9250929050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b600455565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b600555565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b600e54479073ffffffffffffffffffffffffffffffffffffffff166108fc6103e861110c84610190613618565b6111169190613684565b6040518115909202916000818181858888f1935050505015801561113e573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166108fc6103e86111878460c8613618565b6111919190613684565b6040518115909202916000818181858888f193505050501580156111b9573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166108fc6103e86112028460c8613618565b61120c9190613684565b6040518115909202916000818181858888f19350505050158015611234573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000166108fc6103e861127d8460c8613618565b6112879190613684565b6040518115909202916000818181858888f193505050501580156112af573d6000803e3d6000fd5b5050565b610ca783838360405180602001604052806000815250611e2b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b600c55565b6000805b828110156113c2578473ffffffffffffffffffffffffffffffffffffffff166006600086868581811061137357611373613698565b602090810292909201358352508101919091526040016000205473ffffffffffffffffffffffffffffffffffffffff16146113b25760009150506113c8565b6113bb816136c7565b905061133e565b50600190505b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146114365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b80516112af90600d906020840190612e0b565b60005b825181101561148c5761147a858585848151811061146c5761146c613698565b602002602001015185611e2b565b80611484816136c7565b91505061144c565b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146114fa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60008181526006602052604081205473ffffffffffffffffffffffffffffffffffffffff16806109f75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610b22565b600d80546115d19061357f565b80601f01602080910402602001604051908101604052809291908181526020018280546115fd9061357f565b801561164a5780601f1061161f5761010080835404028352916020019161164a565b820191906000526020600020905b81548152906001019060200180831161162d57829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff82166116dd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610b22565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526007602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff16331461176d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b6117776000612601565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146117e05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b600a55565b606060006117f283611652565b9050806000036118165760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115611831576118316130f9565b60405190808252806020026020018201604052801561185a578160200160208202803683370190505b5090506000805b6005548110156118ec5760008181526006602052604090205473ffffffffffffffffffffffffffffffffffffffff9081169087168190036118d957818484815181106118af576118af613698565b6020908102919091010152826118c4816136c7565b9350508483036118d957509195945050505050565b50806118e4816136c7565b915050611861565b5090949350505050565b606060028054610a0c9061357f565b60005473ffffffffffffffffffffffffffffffffffffffff16331461196c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b8281146119bb5760405162461bcd60e51b815260206004820152600c60248201527f496e76616c6964206461746100000000000000000000000000000000000000006044820152606401610b22565b6000805b848110156119fd578585828181106119d9576119d9613698565b90506020020135826119eb91906136ff565b91506119f6816136c7565b90506119bf565b50806004541015611a765760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a206d696e74696e67206d6f726520746f6b656e73207468616e60448201527f20617661696c61626c65000000000000000000000000000000000000000000006064820152608401610b22565b60005b82811015611af35760015b868683818110611a9657611a96613698565b905060200201358111611ae257611ad2858584818110611ab857611ab8613698565b9050602002016020810190611acd9190613020565b612676565b611adb816136c7565b9050611a84565b50611aec816136c7565b9050611a79565b505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611b625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b601280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6112af3383836126e4565b600c543414611c055760405162461bcd60e51b815260206004820152601160248201527f436865636b2073656e742066756e6473210000000000000000000000000000006044820152606401610b22565b4260115410611c565760405162461bcd60e51b815260206004820152601a60248201527f416c6c6f776c6973742073616c65206973206e6f7420796574210000000000006044820152606401610b22565b336000908152600b602052604090205460ff161515600103611cba5760405162461bcd60e51b815260206004820152601960248201527f4164647265737320686173206e6f20616c6c6f77616e636521000000000000006044820152606401610b22565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050611d4783838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a5491508490506127f7565b611d935760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206d65726b6c652070726f6f662100000000000000000000006044820152606401610b22565b600160045411611de55760405162461bcd60e51b815260206004820152600f60248201527f4e6f20746f6b656e73206c6566742100000000000000000000000000000000006044820152606401610b22565b611dee33612676565b5050336000908152600b6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550565b611e3533836122ad565b611ea75760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610b22565b611eb38484848461280d565b50505050565b60008181526006602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16611f2d5760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e00000000000000000000006044820152606401610b22565b600d611f3883612896565b604051602001611f49929190613733565b6040516020818303038152906040529050919050565b6012546040517fc455279100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611fd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffb9190613807565b73ffffffffffffffffffffffffffffffffffffffff161480612042575073ffffffffffffffffffffffffffffffffffffffff83166000908152600f602052604090205460ff165b156120515760019150506109f7565b61205b8484611f5f565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146120ca5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b601155565b60005473ffffffffffffffffffffffffffffffffffffffff1633146121365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b73ffffffffffffffffffffffffffffffffffffffff81166121bf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b22565b6121c881612601565b50565b60005b8151811015611eb3576121fb84848484815181106121ee576121ee613698565b6020026020010151610dc6565b80612205816136c7565b9150506121ce565b600081815260086020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906122678261152c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526006602052604081205473ffffffffffffffffffffffffffffffffffffffff166123445760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610b22565b600061234f8361152c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123be57508373ffffffffffffffffffffffffffffffffffffffff166123a684610a8f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061205b575061205b8185611f5f565b8273ffffffffffffffffffffffffffffffffffffffff166123ee8261152c565b73ffffffffffffffffffffffffffffffffffffffff16146124775760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610b22565b73ffffffffffffffffffffffffffffffffffffffff82166124ff5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610b22565b61250a60008261220d565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600760205260408120805460019290612540908490613601565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260076020526040812080546001929061257b9084906136ff565b909155505060008181526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600454600061268583836129cb565b90506126918382612a88565b61269a82613824565b600481905573ffffffffffffffffffffffffffffffffffffffff8416600090815260076020526040812080549294506001929091906126da9084906136ff565b9091555050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361275f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b22565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526009602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000826128048584612b06565b14949350505050565b6128188484846123ce565b61282484848484612baa565b611eb35760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610b22565b6060816000036128d957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561290357806128ed816136c7565b91506128fc9050600a83613684565b91506128dd565b60008167ffffffffffffffff81111561291e5761291e6130f9565b6040519080825280601f01601f191660200182016040528015612948576020820181803683370190505b5090505b841561205b5761295d600183613601565b915061296a600a86613859565b6129759060306136ff565b60f81b81838151811061298a5761298a613698565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506129c4600a86613684565b945061294c565b600080833a4342446129de600184613601565b6040805173ffffffffffffffffffffffffffffffffffffffff90971660208801528601949094526060850192909252608084015260a08301524060c08201523060e0820152610100810184905261012001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052805160209091012090506000612a738483613859565b9050612a7f8185612d83565b95945050505050565b60008181526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600081815b845181101561180e576000858281518110612b2857612b28613698565b60200260200101519050808311612b6a576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612b97565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612ba2816136c7565b915050612b0b565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612d78576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612c2190339089908890889060040161386d565b6020604051808303816000875af1925050508015612c7a575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612c77918101906138b6565b60015b612d2d573d808015612ca8576040519150601f19603f3d011682016040523d82523d6000602084013e612cad565b606091505b508051600003612d255760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610b22565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061205b565b506001949350505050565b60008281526003602052604081205481818103612da1575083612da4565b50805b6000612db1600186613601565b9050808614612e025760008181526003602052604081205490819003612de7576000878152600360205260409020829055612e00565b6000878152600360205260408082208390558382528120555b505b50949350505050565b828054612e179061357f565b90600052602060002090601f016020900481019282612e395760008555612e7f565b82601f10612e5257805160ff1916838001178555612e7f565b82800160010185558215612e7f579182015b82811115612e7f578251825591602001919060010190612e64565b50612e8b929150612e8f565b5090565b5b80821115612e8b5760008155600101612e90565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146121c857600080fd5b600060208284031215612ee457600080fd5b81356113c881612ea4565b60005b83811015612f0a578181015183820152602001612ef2565b83811115611eb35750506000910152565b60008151808452612f33816020860160208601612eef565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006113c86020830184612f1b565b600060208284031215612f8a57600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff811681146121c857600080fd5b60008060408385031215612fc657600080fd5b8235612fd181612f91565b946020939093013593505050565b600080600060608486031215612ff457600080fd5b8335612fff81612f91565b9250602084013561300f81612f91565b929592945050506040919091013590565b60006020828403121561303257600080fd5b81356113c881612f91565b6000806040838503121561305057600080fd5b50508035926020909101359150565b60008083601f84011261307157600080fd5b50813567ffffffffffffffff81111561308957600080fd5b6020830191508360208260051b8501011115610f9957600080fd5b6000806000604084860312156130b957600080fd5b83356130c481612f91565b9250602084013567ffffffffffffffff8111156130e057600080fd5b6130ec8682870161305f565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561316f5761316f6130f9565b604052919050565b600067ffffffffffffffff831115613191576131916130f9565b6131c260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601613128565b90508281528383830111156131d657600080fd5b828260208301376000602084830101529392505050565b6000602082840312156131ff57600080fd5b813567ffffffffffffffff81111561321657600080fd5b8201601f8101841361322757600080fd5b61205b84823560208401613177565b600082601f83011261324757600080fd5b8135602067ffffffffffffffff821115613263576132636130f9565b8160051b613272828201613128565b928352848101820192828101908785111561328c57600080fd5b83870192505b848310156132ab57823582529183019190830190613292565b979650505050505050565b600082601f8301126132c757600080fd5b6113c883833560208501613177565b600080600080608085870312156132ec57600080fd5b84356132f781612f91565b9350602085013561330781612f91565b9250604085013567ffffffffffffffff8082111561332457600080fd5b61333088838901613236565b9350606087013591508082111561334657600080fd5b50613353878288016132b6565b91505092959194509250565b6020808252825182820181905260009190848201906040850190845b818110156133975783518352928401929184019160010161337b565b50909695505050505050565b600080600080604085870312156133b957600080fd5b843567ffffffffffffffff808211156133d157600080fd5b6133dd8883890161305f565b909650945060208701359150808211156133f657600080fd5b506134038782880161305f565b95989497509550505050565b6000806040838503121561342257600080fd5b823561342d81612f91565b91506020830135801515811461344257600080fd5b809150509250929050565b6000806020838503121561346057600080fd5b823567ffffffffffffffff81111561347757600080fd5b6134838582860161305f565b90969095509350505050565b600080600080608085870312156134a557600080fd5b84356134b081612f91565b935060208501356134c081612f91565b925060408501359150606085013567ffffffffffffffff8111156134e357600080fd5b613353878288016132b6565b6000806040838503121561350257600080fd5b823561350d81612f91565b9150602083013561344281612f91565b60008060006060848603121561353257600080fd5b833561353d81612f91565b9250602084013561354d81612f91565b9150604084013567ffffffffffffffff81111561356957600080fd5b61357586828701613236565b9150509250925092565b600181811c9082168061359357607f821691505b6020821081036135cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015613613576136136135d2565b500390565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613650576136506135d2565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261369357613693613655565b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036136f8576136f86135d2565b5060010190565b60008219821115613712576137126135d2565b500190565b60008151613729818560208601612eef565b9290920192915050565b600080845481600182811c91508083168061374f57607f831692505b60208084108203613787577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b81801561379b57600181146137ca576137f7565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616895284890196506137f7565b60008b81526020902060005b868110156137ef5781548b8201529085019083016137d6565b505084890196505b505050505050612a7f8185613717565b60006020828403121561381957600080fd5b81516113c881612f91565b600081613833576138336135d2565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b60008261386857613868613655565b500690565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526138ac6080830184612f1b565b9695505050505050565b6000602082840312156138c857600080fd5b81516113c881612ea456fea2646970667358221220ac0d3a246e5df11dde2ce8773c2f562b58407b6baa242fb97a1c76bc400a9af864736f6c634300080d0033
Deployed Bytecode
0x6080604052600436106102f25760003560e01c80635bab26e21161018f57806397107d6d116100e1578063c884ef831161008a578063ea9d6d2911610064578063ea9d6d291461086c578063f2fde38b1461088c578063f3993d11146108ac57600080fd5b8063c884ef8314610807578063d5abeb0114610837578063e985e9c51461084c57600080fd5b8063b88d4fde116100bb578063b88d4fde146107b1578063b8997a97146107d1578063c87b56dd146107e757600080fd5b806397107d6d1461075e578063a22cb4651461077e578063b77a147b1461079e57600080fd5b8063715018a6116101435780638da5cb5b1161011d5780638da5cb5b146106fe57806395d89b411461072957806396ea3a471461073e57600080fd5b8063715018a61461069c5780637cb64759146106b15780638462151c146106d157600080fd5b80636352211e116101745780636352211e146106475780636c0360eb1461066757806370a082311461067c57600080fd5b80635bab26e21461060257806362a5af3b1461063257600080fd5b80632a55205a1161024857806342842e0e116101fc57806351463d5b116101d657806351463d5b146105ac57806355f804b3146105c25780635a4fee30146105e257600080fd5b806342842e0e1461054c57806344a0d68a1461056c5780634d44660c1461058c57600080fd5b80632eb4a7ab1161022d5780632eb4a7ab146105015780633b4c4b25146105175780633ccfd60b1461053757600080fd5b80632a55205a146104955780632d42169a146104e157600080fd5b806310fd332b116102aa57806323b872dd1161028457806323b872dd1461042857806323f5c02d14610448578063245cad7a1461047557600080fd5b806310fd332b146103cf57806313faede6146103ef57806318160ddd1461041357600080fd5b806306fdde03116102db57806306fdde0314610346578063081812fc14610368578063095ea7b3146103ad57600080fd5b806301ffc9a7146102f7578063054f7d9c1461032c575b600080fd5b34801561030357600080fd5b50610317610312366004612ed2565b6108cc565b60405190151581526020015b60405180910390f35b34801561033857600080fd5b506010546103179060ff1681565b34801561035257600080fd5b5061035b6109fd565b6040516103239190612f65565b34801561037457600080fd5b50610388610383366004612f78565b610a8f565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610323565b3480156103b957600080fd5b506103cd6103c8366004612fb3565b610b54565b005b3480156103db57600080fd5b506103cd6103ea366004612fb3565b610cac565b3480156103fb57600080fd5b50610405600c5481565b604051908152602001610323565b34801561041f57600080fd5b50610405610daf565b34801561043457600080fd5b506103cd610443366004612fdf565b610dc6565b34801561045457600080fd5b506012546103889073ffffffffffffffffffffffffffffffffffffffff1681565b34801561048157600080fd5b506103cd610490366004613020565b610e4d565b3480156104a157600080fd5b506104b56104b036600461303d565b610f08565b6040805173ffffffffffffffffffffffffffffffffffffffff9093168352602083019190915201610323565b3480156104ed57600080fd5b506103cd6104fc366004612f78565b610fa0565b34801561050d57600080fd5b50610405600a5481565b34801561052357600080fd5b506103cd610532366004612f78565b61100c565b34801561054357600080fd5b506103cd611078565b34801561055857600080fd5b506103cd610567366004612fdf565b6112b3565b34801561057857600080fd5b506103cd610587366004612f78565b6112ce565b34801561059857600080fd5b506103176105a73660046130a4565b61133a565b3480156105b857600080fd5b5061040560115481565b3480156105ce57600080fd5b506103cd6105dd3660046131ed565b6113cf565b3480156105ee57600080fd5b506103cd6105fd3660046132d6565b611449565b34801561060e57600080fd5b5061031761061d366004613020565b600f6020526000908152604090205460ff1681565b34801561063e57600080fd5b506103cd611493565b34801561065357600080fd5b50610388610662366004612f78565b61152c565b34801561067357600080fd5b5061035b6115c4565b34801561068857600080fd5b50610405610697366004613020565b611652565b3480156106a857600080fd5b506103cd611706565b3480156106bd57600080fd5b506103cd6106cc366004612f78565b611779565b3480156106dd57600080fd5b506106f16106ec366004613020565b6117e5565b604051610323919061335f565b34801561070a57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610388565b34801561073557600080fd5b5061035b6118f6565b34801561074a57600080fd5b506103cd6107593660046133a3565b611905565b34801561076a57600080fd5b506103cd610779366004613020565b611afb565b34801561078a57600080fd5b506103cd61079936600461340f565b611ba9565b6103cd6107ac36600461344d565b611bb4565b3480156107bd57600080fd5b506103cd6107cc36600461348f565b611e2b565b3480156107dd57600080fd5b5061040560135481565b3480156107f357600080fd5b5061035b610802366004612f78565b611eb9565b34801561081357600080fd5b50610317610822366004613020565b600b6020526000908152604090205460ff1681565b34801561084357600080fd5b50600554610405565b34801561085857600080fd5b506103176108673660046134ef565b611f5f565b34801561087857600080fd5b506103cd610887366004612f78565b612063565b34801561089857600080fd5b506103cd6108a7366004613020565b6120cf565b3480156108b857600080fd5b506103cd6108c736600461351d565b6121cb565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061095f57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806109ab57507f2a55205a000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b806109f757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060018054610a0c9061357f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a389061357f565b8015610a855780601f10610a5a57610100808354040283529160200191610a85565b820191906000526020600020905b815481529060010190602001808311610a6857829003601f168201915b5050505050905090565b60008181526006602052604081205473ffffffffffffffffffffffffffffffffffffffff16610b2b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526008602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610b5f8261152c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c025760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610b22565b3373ffffffffffffffffffffffffffffffffffffffff82161480610c2b5750610c2b8133611f5f565b610c9d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b22565b610ca7838361220d565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610d135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b6127118110610d645760405162461bcd60e51b815260206004820152601b60248201527f4552432d323938313a20526f79616c747920746f6f20686967682100000000006044820152606401610b22565b600e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9390931692909217909155601355565b6000600454600554610dc19190613601565b905090565b610dd033826122ad565b610e425760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610b22565b610ca78383836123ce565b60005473ffffffffffffffffffffffffffffffffffffffff163314610eb45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b73ffffffffffffffffffffffffffffffffffffffff166000908152600f6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b600080600060135411610f5d5760405162461bcd60e51b815260206004820152601a60248201527f4552432d323938313a20526f79616c7479206e6f7420736574210000000000006044820152606401610b22565b600e5460135473ffffffffffffffffffffffffffffffffffffffff9091169061271090610f8a9086613618565b610f949190613684565b915091505b9250929050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b600455565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b600555565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b600e54479073ffffffffffffffffffffffffffffffffffffffff166108fc6103e861110c84610190613618565b6111169190613684565b6040518115909202916000818181858888f1935050505015801561113e573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c8b8b0c3f5fc995b0e6a05ff89bdf8c820221c4f166108fc6103e86111878460c8613618565b6111919190613684565b6040518115909202916000818181858888f193505050501580156111b9573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000e9d30eddd11dea8433cf6d2b2c22e9cce94113dc166108fc6103e86112028460c8613618565b61120c9190613684565b6040518115909202916000818181858888f19350505050158015611234573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000ebabb8c951f5c3b17b416a3d840c52ccab728c19166108fc6103e861127d8460c8613618565b6112879190613684565b6040518115909202916000818181858888f193505050501580156112af573d6000803e3d6000fd5b5050565b610ca783838360405180602001604052806000815250611e2b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b600c55565b6000805b828110156113c2578473ffffffffffffffffffffffffffffffffffffffff166006600086868581811061137357611373613698565b602090810292909201358352508101919091526040016000205473ffffffffffffffffffffffffffffffffffffffff16146113b25760009150506113c8565b6113bb816136c7565b905061133e565b50600190505b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146114365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b80516112af90600d906020840190612e0b565b60005b825181101561148c5761147a858585848151811061146c5761146c613698565b602002602001015185611e2b565b80611484816136c7565b91505061144c565b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146114fa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60008181526006602052604081205473ffffffffffffffffffffffffffffffffffffffff16806109f75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610b22565b600d80546115d19061357f565b80601f01602080910402602001604051908101604052809291908181526020018280546115fd9061357f565b801561164a5780601f1061161f5761010080835404028352916020019161164a565b820191906000526020600020905b81548152906001019060200180831161162d57829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff82166116dd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610b22565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526007602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff16331461176d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b6117776000612601565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146117e05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b600a55565b606060006117f283611652565b9050806000036118165760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115611831576118316130f9565b60405190808252806020026020018201604052801561185a578160200160208202803683370190505b5090506000805b6005548110156118ec5760008181526006602052604090205473ffffffffffffffffffffffffffffffffffffffff9081169087168190036118d957818484815181106118af576118af613698565b6020908102919091010152826118c4816136c7565b9350508483036118d957509195945050505050565b50806118e4816136c7565b915050611861565b5090949350505050565b606060028054610a0c9061357f565b60005473ffffffffffffffffffffffffffffffffffffffff16331461196c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b8281146119bb5760405162461bcd60e51b815260206004820152600c60248201527f496e76616c6964206461746100000000000000000000000000000000000000006044820152606401610b22565b6000805b848110156119fd578585828181106119d9576119d9613698565b90506020020135826119eb91906136ff565b91506119f6816136c7565b90506119bf565b50806004541015611a765760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a206d696e74696e67206d6f726520746f6b656e73207468616e60448201527f20617661696c61626c65000000000000000000000000000000000000000000006064820152608401610b22565b60005b82811015611af35760015b868683818110611a9657611a96613698565b905060200201358111611ae257611ad2858584818110611ab857611ab8613698565b9050602002016020810190611acd9190613020565b612676565b611adb816136c7565b9050611a84565b50611aec816136c7565b9050611a79565b505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611b625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b601280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6112af3383836126e4565b600c543414611c055760405162461bcd60e51b815260206004820152601160248201527f436865636b2073656e742066756e6473210000000000000000000000000000006044820152606401610b22565b4260115410611c565760405162461bcd60e51b815260206004820152601a60248201527f416c6c6f776c6973742073616c65206973206e6f7420796574210000000000006044820152606401610b22565b336000908152600b602052604090205460ff161515600103611cba5760405162461bcd60e51b815260206004820152601960248201527f4164647265737320686173206e6f20616c6c6f77616e636521000000000000006044820152606401610b22565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050611d4783838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a5491508490506127f7565b611d935760405162461bcd60e51b815260206004820152601560248201527f496e76616c6964206d65726b6c652070726f6f662100000000000000000000006044820152606401610b22565b600160045411611de55760405162461bcd60e51b815260206004820152600f60248201527f4e6f20746f6b656e73206c6566742100000000000000000000000000000000006044820152606401610b22565b611dee33612676565b5050336000908152600b6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550565b611e3533836122ad565b611ea75760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610b22565b611eb38484848461280d565b50505050565b60008181526006602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16611f2d5760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e00000000000000000000006044820152606401610b22565b600d611f3883612896565b604051602001611f49929190613733565b6040516020818303038152906040529050919050565b6012546040517fc455279100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611fd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffb9190613807565b73ffffffffffffffffffffffffffffffffffffffff161480612042575073ffffffffffffffffffffffffffffffffffffffff83166000908152600f602052604090205460ff165b156120515760019150506109f7565b61205b8484611f5f565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146120ca5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b601155565b60005473ffffffffffffffffffffffffffffffffffffffff1633146121365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b22565b73ffffffffffffffffffffffffffffffffffffffff81166121bf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b22565b6121c881612601565b50565b60005b8151811015611eb3576121fb84848484815181106121ee576121ee613698565b6020026020010151610dc6565b80612205816136c7565b9150506121ce565b600081815260086020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906122678261152c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526006602052604081205473ffffffffffffffffffffffffffffffffffffffff166123445760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610b22565b600061234f8361152c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123be57508373ffffffffffffffffffffffffffffffffffffffff166123a684610a8f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061205b575061205b8185611f5f565b8273ffffffffffffffffffffffffffffffffffffffff166123ee8261152c565b73ffffffffffffffffffffffffffffffffffffffff16146124775760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610b22565b73ffffffffffffffffffffffffffffffffffffffff82166124ff5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610b22565b61250a60008261220d565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600760205260408120805460019290612540908490613601565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260076020526040812080546001929061257b9084906136ff565b909155505060008181526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600454600061268583836129cb565b90506126918382612a88565b61269a82613824565b600481905573ffffffffffffffffffffffffffffffffffffffff8416600090815260076020526040812080549294506001929091906126da9084906136ff565b9091555050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361275f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b22565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526009602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000826128048584612b06565b14949350505050565b6128188484846123ce565b61282484848484612baa565b611eb35760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610b22565b6060816000036128d957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561290357806128ed816136c7565b91506128fc9050600a83613684565b91506128dd565b60008167ffffffffffffffff81111561291e5761291e6130f9565b6040519080825280601f01601f191660200182016040528015612948576020820181803683370190505b5090505b841561205b5761295d600183613601565b915061296a600a86613859565b6129759060306136ff565b60f81b81838151811061298a5761298a613698565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506129c4600a86613684565b945061294c565b600080833a4342446129de600184613601565b6040805173ffffffffffffffffffffffffffffffffffffffff90971660208801528601949094526060850192909252608084015260a08301524060c08201523060e0820152610100810184905261012001604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052805160209091012090506000612a738483613859565b9050612a7f8185612d83565b95945050505050565b60008181526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600081815b845181101561180e576000858281518110612b2857612b28613698565b60200260200101519050808311612b6a576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612b97565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612ba2816136c7565b915050612b0b565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612d78576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612c2190339089908890889060040161386d565b6020604051808303816000875af1925050508015612c7a575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612c77918101906138b6565b60015b612d2d573d808015612ca8576040519150601f19603f3d011682016040523d82523d6000602084013e612cad565b606091505b508051600003612d255760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610b22565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061205b565b506001949350505050565b60008281526003602052604081205481818103612da1575083612da4565b50805b6000612db1600186613601565b9050808614612e025760008181526003602052604081205490819003612de7576000878152600360205260409020829055612e00565b6000878152600360205260408082208390558382528120555b505b50949350505050565b828054612e179061357f565b90600052602060002090601f016020900481019282612e395760008555612e7f565b82601f10612e5257805160ff1916838001178555612e7f565b82800160010185558215612e7f579182015b82811115612e7f578251825591602001919060010190612e64565b50612e8b929150612e8f565b5090565b5b80821115612e8b5760008155600101612e90565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146121c857600080fd5b600060208284031215612ee457600080fd5b81356113c881612ea4565b60005b83811015612f0a578181015183820152602001612ef2565b83811115611eb35750506000910152565b60008151808452612f33816020860160208601612eef565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006113c86020830184612f1b565b600060208284031215612f8a57600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff811681146121c857600080fd5b60008060408385031215612fc657600080fd5b8235612fd181612f91565b946020939093013593505050565b600080600060608486031215612ff457600080fd5b8335612fff81612f91565b9250602084013561300f81612f91565b929592945050506040919091013590565b60006020828403121561303257600080fd5b81356113c881612f91565b6000806040838503121561305057600080fd5b50508035926020909101359150565b60008083601f84011261307157600080fd5b50813567ffffffffffffffff81111561308957600080fd5b6020830191508360208260051b8501011115610f9957600080fd5b6000806000604084860312156130b957600080fd5b83356130c481612f91565b9250602084013567ffffffffffffffff8111156130e057600080fd5b6130ec8682870161305f565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561316f5761316f6130f9565b604052919050565b600067ffffffffffffffff831115613191576131916130f9565b6131c260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601613128565b90508281528383830111156131d657600080fd5b828260208301376000602084830101529392505050565b6000602082840312156131ff57600080fd5b813567ffffffffffffffff81111561321657600080fd5b8201601f8101841361322757600080fd5b61205b84823560208401613177565b600082601f83011261324757600080fd5b8135602067ffffffffffffffff821115613263576132636130f9565b8160051b613272828201613128565b928352848101820192828101908785111561328c57600080fd5b83870192505b848310156132ab57823582529183019190830190613292565b979650505050505050565b600082601f8301126132c757600080fd5b6113c883833560208501613177565b600080600080608085870312156132ec57600080fd5b84356132f781612f91565b9350602085013561330781612f91565b9250604085013567ffffffffffffffff8082111561332457600080fd5b61333088838901613236565b9350606087013591508082111561334657600080fd5b50613353878288016132b6565b91505092959194509250565b6020808252825182820181905260009190848201906040850190845b818110156133975783518352928401929184019160010161337b565b50909695505050505050565b600080600080604085870312156133b957600080fd5b843567ffffffffffffffff808211156133d157600080fd5b6133dd8883890161305f565b909650945060208701359150808211156133f657600080fd5b506134038782880161305f565b95989497509550505050565b6000806040838503121561342257600080fd5b823561342d81612f91565b91506020830135801515811461344257600080fd5b809150509250929050565b6000806020838503121561346057600080fd5b823567ffffffffffffffff81111561347757600080fd5b6134838582860161305f565b90969095509350505050565b600080600080608085870312156134a557600080fd5b84356134b081612f91565b935060208501356134c081612f91565b925060408501359150606085013567ffffffffffffffff8111156134e357600080fd5b613353878288016132b6565b6000806040838503121561350257600080fd5b823561350d81612f91565b9150602083013561344281612f91565b60008060006060848603121561353257600080fd5b833561353d81612f91565b9250602084013561354d81612f91565b9150604084013567ffffffffffffffff81111561356957600080fd5b61357586828701613236565b9150509250925092565b600181811c9082168061359357607f821691505b6020821081036135cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015613613576136136135d2565b500390565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613650576136506135d2565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261369357613693613655565b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036136f8576136f86135d2565b5060010190565b60008219821115613712576137126135d2565b500190565b60008151613729818560208601612eef565b9290920192915050565b600080845481600182811c91508083168061374f57607f831692505b60208084108203613787577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b81801561379b57600181146137ca576137f7565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616895284890196506137f7565b60008b81526020902060005b868110156137ef5781548b8201529085019083016137d6565b505084890196505b505050505050612a7f8185613717565b60006020828403121561381957600080fd5b81516113c881612f91565b600081613833576138336135d2565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b60008261386857613868613655565b500690565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526138ac6080830184612f1b565b9695505050505050565b6000602082840312156138c857600080fd5b81516113c881612ea456fea2646970667358221220ac0d3a246e5df11dde2ce8773c2f562b58407b6baa242fb97a1c76bc400a9af864736f6c634300080d0033
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.