Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
9,908 MNS
Holders
2,407
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 MNSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MonsterNumberz
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.9 <0.9.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contract MonsterNumberz is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant MAX_TOKENS = 10000; uint256 public PRESALE_LIMIT_1 = 5000; uint256 public presaleTokensSold_1 = 0; uint256 public presaleTokensSold_2 = 0; uint256 public reservedTokensMinted = 0; uint256 public PRICE = 0.005 ether; bool public preSaleIsActive_1 = false; bool public preSaleIsActive_2 = false; bool public publicIsActive = false; bytes32 public merkleRoot; bytes32 public merkleRoot2; bytes32 public merkleRootOG; mapping(address => uint256) public whitelistClaimed; mapping(address => uint256) public whitelist2Claimed; mapping(address => uint256) public OGClaimed; mapping(address => uint256) public publicClaimed; string public uriSuffix = ".json"; string public baseURI = ""; constructor( string memory _tokenName, string memory _tokenSymbol ) ERC721(_tokenName, _tokenSymbol) { } //Mint function WL function mintWhitelist(bytes32[] memory _proof, uint256 _mintAmount) public payable { require(preSaleIsActive_1, "Sale must be active to mint"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_proof, merkleRoot, leaf), "Invalid proof!"); require(whitelistClaimed[msg.sender] <= 1, "Address already minted max allowed"); require(whitelistClaimed[msg.sender] + _mintAmount <= 2 , "Maximum allowed amount reached"); require(presaleTokensSold_1 + _mintAmount <= PRESALE_LIMIT_1, "Purchase would exceed max supply"); for (uint i = 0; i < _mintAmount; i++) { whitelistClaimed[msg.sender] = whitelistClaimed[msg.sender] + 1; _safeMint(msg.sender, totalSupply() + 1); presaleTokensSold_1++; } } function mintOG(bytes32[] memory _proof, uint256 _mintAmount) public payable { require(preSaleIsActive_1, "Sale must be active to mint"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_proof, merkleRootOG, leaf), "Invalid proof!"); require(OGClaimed[msg.sender] <= 2, "Address already minted max allowed"); require(OGClaimed[msg.sender] + _mintAmount <= 3 , "Maximum allowed amount reached"); require(presaleTokensSold_1 + _mintAmount <= PRESALE_LIMIT_1, "Purchase would exceed max supply"); for (uint i = 0; i < _mintAmount; i++) { OGClaimed[msg.sender] = OGClaimed[msg.sender] + 1; _safeMint(msg.sender, totalSupply() + 1); presaleTokensSold_1++; } } function mintWhitelist2(bytes32[] memory _proof, uint256 _mintAmount) public payable { require(preSaleIsActive_2, "Sale must be active to mint"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_proof, merkleRoot2, leaf), "Invalid proof!"); require(whitelist2Claimed[msg.sender] <= 1, "Address already minted max allowed"); require(whitelist2Claimed[msg.sender] + _mintAmount <= 2 , "Maximum allowed amount reached"); require(msg.value >= PRICE * _mintAmount, "Insufficient funds!"); for (uint i = 0; i < _mintAmount; i++) { whitelist2Claimed[msg.sender] = whitelist2Claimed[msg.sender] + 1; _safeMint(msg.sender, totalSupply() + 1); presaleTokensSold_2++; } } function mint(uint256 _mintAmount) public payable { require(publicIsActive, "Sale must be active to mint"); require(publicClaimed[msg.sender] <= 4, "Address already minted max allowed"); require(publicClaimed[msg.sender] + _mintAmount <= 5 , "Maximum allowed amount reached"); require(totalSupply() + 1 <= MAX_TOKENS - (100 - reservedTokensMinted), "Purchase would exceed max supply"); require(msg.value >= PRICE * _mintAmount, "Insufficient funds!"); for (uint i = 0; i < _mintAmount; i++) { publicClaimed[msg.sender] = publicClaimed[msg.sender] + 1; _safeMint(msg.sender, totalSupply() + 1); } } function mintReservedTokens(uint256 amount) external onlyOwner { require(reservedTokensMinted + amount <= 100, "This amount is more than max allowed"); for (uint i = 0; i < amount; i++) { _safeMint(msg.sender, totalSupply() + 1); reservedTokensMinted++; } } //Utility function function setPrice(uint256 newPrice) external onlyOwner { PRICE = newPrice; } function flipSaleState() external onlyOwner { publicIsActive = !publicIsActive; } function flipPreSaleState_1() external onlyOwner { preSaleIsActive_1 = !preSaleIsActive_1; } function flipPreSaleState_2() external onlyOwner { preSaleIsActive_2 = !preSaleIsActive_2; } function withdraw() external { require(msg.sender == owner(), "Invalid sender"); (bool success, ) = owner().call{value: address(this).balance}(""); require(success, "Transfer failed"); } function setRoot(bytes32 _root) external onlyOwner { merkleRoot = _root; } function setRoot2(bytes32 _root) external onlyOwner { merkleRoot2 = _root; } function setRootOG(bytes32 _root) external onlyOwner { merkleRootOG = _root; } function isValid(bytes32[] memory proof) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); return MerkleProof.verify(proof, merkleRoot, leaf); } function isValid2(bytes32[] memory proof) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); return MerkleProof.verify(proof, merkleRoot2, leaf); } function isValidOG(bytes32[] memory proof) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); return MerkleProof.verify(proof, merkleRootOG, leaf); } //// //URI management part //// function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory newBaseURI) public onlyOwner { baseURI = newBaseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory _tokenURI = super.tokenURI(tokenId); return bytes(_tokenURI).length > 0 ? string(abi.encodePacked(_tokenURI, ".json")) : ""; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree 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. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ 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 Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); 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: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer 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 an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {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 Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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; /** * @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 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"OGClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_LIMIT_1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPreSaleState_1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPreSaleState_2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"isValid2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"isValidOG","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot2","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootOG","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintOG","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintReservedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintWhitelist2","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":[],"name":"preSaleIsActive_1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleIsActive_2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleTokensSold_1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleTokensSold_2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedTokensMinted","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRootOG","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist2Claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052611388600b556000600c556000600d556000600e556611c37937e08000600f556000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff0219169083151502179055506000601060026101000a81548160ff0219169083151502179055506040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060189081620000bb9190620004a8565b506040518060200160405280600081525060199081620000dc9190620004a8565b50348015620000ea57600080fd5b5060405162005ecb38038062005ecb8339818101604052810190620001109190620006f3565b81818160009081620001239190620004a8565b508060019081620001359190620004a8565b505050620001586200014c6200016060201b60201c565b6200016860201b60201c565b505062000778565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002b057607f821691505b602082108103620002c657620002c562000268565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003307fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002f1565b6200033c8683620002f1565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000389620003836200037d8462000354565b6200035e565b62000354565b9050919050565b6000819050919050565b620003a58362000368565b620003bd620003b48262000390565b848454620002fe565b825550505050565b600090565b620003d4620003c5565b620003e18184846200039a565b505050565b5b818110156200040957620003fd600082620003ca565b600181019050620003e7565b5050565b601f82111562000458576200042281620002cc565b6200042d84620002e1565b810160208510156200043d578190505b620004556200044c85620002e1565b830182620003e6565b50505b505050565b600082821c905092915050565b60006200047d600019846008026200045d565b1980831691505092915050565b60006200049883836200046a565b9150826002028217905092915050565b620004b3826200022e565b67ffffffffffffffff811115620004cf57620004ce62000239565b5b620004db825462000297565b620004e88282856200040d565b600060209050601f8311600181146200052057600084156200050b578287015190505b6200051785826200048a565b86555062000587565b601f1984166200053086620002cc565b60005b828110156200055a5784890151825560018201915060208501945060208101905062000533565b868310156200057a578489015162000576601f8916826200046a565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620005c982620005ad565b810181811067ffffffffffffffff82111715620005eb57620005ea62000239565b5b80604052505050565b6000620006006200058f565b90506200060e8282620005be565b919050565b600067ffffffffffffffff82111562000631576200063062000239565b5b6200063c82620005ad565b9050602081019050919050565b60005b83811015620006695780820151818401526020810190506200064c565b60008484015250505050565b60006200068c620006868462000613565b620005f4565b905082815260208101848484011115620006ab57620006aa620005a8565b5b620006b884828562000649565b509392505050565b600082601f830112620006d857620006d7620005a3565b5b8151620006ea84826020860162000675565b91505092915050565b600080604083850312156200070d576200070c62000599565b5b600083015167ffffffffffffffff8111156200072e576200072d6200059e565b5b6200073c85828601620006c0565b925050602083015167ffffffffffffffff81111562000760576200075f6200059e565b5b6200076e85828601620006c0565b9150509250929050565b61574380620007886000396000f3fe6080604052600436106103355760003560e01c80638da5cb5b116101ab578063c21d0412116100f7578063db4bec4411610095578063f2fde38b1161006f578063f2fde38b14610be6578063f3e3882114610c0f578063f47c84c514610c3a578063f56f516f14610c6557610335565b8063db4bec4414610b43578063e0dd8cb814610b80578063e985e9c514610ba957610335565b8063cf521eff116100d1578063cf521eff14610a99578063cfdcfa0d14610ac4578063d30babc214610aef578063dab5f34014610b1a57610335565b8063c21d041214610a06578063c87b56dd14610a31578063ca34adf014610a6e57610335565b8063ad6cb31911610164578063b66935551161013e578063b66935551461094c578063b88d4fde14610989578063bf1ce289146109b2578063c1294e7c146109db57610335565b8063ad6cb319146108cd578063b14113be146108f8578063b5b1cd7c1461090f57610335565b80638da5cb5b146107ed57806391b7f5ed1461081857806395d89b4114610841578063a0712d681461086c578063a22cb46514610888578063a6d612f9146108b157610335565b80633ccfd60b116102855780636352211e1161022357806370a08231116101fd57806370a0823114610745578063715018a6146107825780637d5cb4e5146107995780638d859f3e146107c257610335565b80636352211e146106a05780636c0360eb146106dd578063702c5d821461070857610335565b80634f6ccce71161025f5780634f6ccce7146105d25780635503a0e81461060f57806355f804b31461063a57806358f444eb1461066357610335565b80633ccfd60b1461057b57806342842e0e1461059257806348a47213146105bb57610335565b806318160ddd116102f257806323b872dd116102cc57806323b872dd146104d35780632eb4a7ab146104fc5780632f745c591461052757806334918dfd1461056457610335565b806318160ddd1461044f5780631dfcaa481461047a5780631f194b17146104b757610335565b806301ffc9a71461033a578063033a02d61461037757806305da6b03146103a257806306fdde03146103be578063081812fc146103e9578063095ea7b314610426575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c9190613b19565b610ca2565b60405161036e9190613b61565b60405180910390f35b34801561038357600080fd5b5061038c610d1c565b6040516103999190613b61565b60405180910390f35b6103bc60048036038101906103b79190613d41565b610d2f565b005b3480156103ca57600080fd5b506103d3611040565b6040516103e09190613e1c565b60405180910390f35b3480156103f557600080fd5b50610410600480360381019061040b9190613e3e565b6110d2565b60405161041d9190613eac565b60405180910390f35b34801561043257600080fd5b5061044d60048036038101906104489190613ef3565b611118565b005b34801561045b57600080fd5b5061046461122f565b6040516104719190613f42565b60405180910390f35b34801561048657600080fd5b506104a1600480360381019061049c9190613f5d565b61123c565b6040516104ae9190613f42565b60405180910390f35b6104d160048036038101906104cc9190613d41565b611254565b005b3480156104df57600080fd5b506104fa60048036038101906104f59190613f8a565b611563565b005b34801561050857600080fd5b506105116115c3565b60405161051e9190613fec565b60405180910390f35b34801561053357600080fd5b5061054e60048036038101906105499190613ef3565b6115c9565b60405161055b9190613f42565b60405180910390f35b34801561057057600080fd5b5061057961166e565b005b34801561058757600080fd5b506105906116a2565b005b34801561059e57600080fd5b506105b960048036038101906105b49190613f8a565b6117cd565b005b3480156105c757600080fd5b506105d06117ed565b005b3480156105de57600080fd5b506105f960048036038101906105f49190613e3e565b611821565b6040516106069190613f42565b60405180910390f35b34801561061b57600080fd5b50610624611892565b6040516106319190613e1c565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c91906140bc565b611920565b005b34801561066f57600080fd5b5061068a60048036038101906106859190614105565b61193b565b6040516106979190613b61565b60405180910390f35b3480156106ac57600080fd5b506106c760048036038101906106c29190613e3e565b61197c565b6040516106d49190613eac565b60405180910390f35b3480156106e957600080fd5b506106f2611a2d565b6040516106ff9190613e1c565b60405180910390f35b34801561071457600080fd5b5061072f600480360381019061072a9190614105565b611abb565b60405161073c9190613b61565b60405180910390f35b34801561075157600080fd5b5061076c60048036038101906107679190613f5d565b611afc565b6040516107799190613f42565b60405180910390f35b34801561078e57600080fd5b50610797611bb3565b005b3480156107a557600080fd5b506107c060048036038101906107bb9190613e3e565b611bc7565b005b3480156107ce57600080fd5b506107d7611c77565b6040516107e49190613f42565b60405180910390f35b3480156107f957600080fd5b50610802611c7d565b60405161080f9190613eac565b60405180910390f35b34801561082457600080fd5b5061083f600480360381019061083a9190613e3e565b611ca7565b005b34801561084d57600080fd5b50610856611cb9565b6040516108639190613e1c565b60405180910390f35b61088660048036038101906108819190613e3e565b611d4b565b005b34801561089457600080fd5b506108af60048036038101906108aa919061417a565b61203a565b005b6108cb60048036038101906108c69190613d41565b612050565b005b3480156108d957600080fd5b506108e2612361565b6040516108ef9190613fec565b60405180910390f35b34801561090457600080fd5b5061090d612367565b005b34801561091b57600080fd5b5061093660048036038101906109319190613f5d565b61239b565b6040516109439190613f42565b60405180910390f35b34801561095857600080fd5b50610973600480360381019061096e9190613f5d565b6123b3565b6040516109809190613f42565b60405180910390f35b34801561099557600080fd5b506109b060048036038101906109ab919061425b565b6123cb565b005b3480156109be57600080fd5b506109d960048036038101906109d491906142de565b61242d565b005b3480156109e757600080fd5b506109f061243f565b6040516109fd9190613b61565b60405180910390f35b348015610a1257600080fd5b50610a1b612452565b604051610a289190613b61565b60405180910390f35b348015610a3d57600080fd5b50610a586004803603810190610a539190613e3e565b612465565b604051610a659190613e1c565b60405180910390f35b348015610a7a57600080fd5b50610a83612503565b604051610a909190613fec565b60405180910390f35b348015610aa557600080fd5b50610aae612509565b604051610abb9190613f42565b60405180910390f35b348015610ad057600080fd5b50610ad961250f565b604051610ae69190613f42565b60405180910390f35b348015610afb57600080fd5b50610b04612515565b604051610b119190613f42565b60405180910390f35b348015610b2657600080fd5b50610b416004803603810190610b3c91906142de565b61251b565b005b348015610b4f57600080fd5b50610b6a6004803603810190610b659190613f5d565b61252d565b604051610b779190613f42565b60405180910390f35b348015610b8c57600080fd5b50610ba76004803603810190610ba291906142de565b612545565b005b348015610bb557600080fd5b50610bd06004803603810190610bcb919061430b565b612557565b604051610bdd9190613b61565b60405180910390f35b348015610bf257600080fd5b50610c0d6004803603810190610c089190613f5d565b6125eb565b005b348015610c1b57600080fd5b50610c2461266e565b604051610c319190613f42565b60405180910390f35b348015610c4657600080fd5b50610c4f612674565b604051610c5c9190613f42565b60405180910390f35b348015610c7157600080fd5b50610c8c6004803603810190610c879190614105565b61267a565b604051610c999190613b61565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d155750610d14826126bb565b5b9050919050565b601060029054906101000a900460ff1681565b601060009054906101000a900460ff16610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7590614397565b60405180910390fd5b600033604051602001610d9191906143ff565b604051602081830303815290604052805190602001209050610db6836013548361279d565b610df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dec90614466565b60405180910390fd5b6002601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115610e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6f906144f8565b60405180910390fd5b600382601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ec59190614547565b1115610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd906145c7565b60405180910390fd5b600b5482600c54610f179190614547565b1115610f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4f90614633565b60405180910390fd5b60005b8281101561103a576001601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610faf9190614547565b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061100f33600161100061122f565b61100a9190614547565b6127b4565b600c600081548092919061102290614653565b9190505550808061103290614653565b915050610f5b565b50505050565b60606000805461104f906146ca565b80601f016020809104026020016040519081016040528092919081815260200182805461107b906146ca565b80156110c85780601f1061109d576101008083540402835291602001916110c8565b820191906000526020600020905b8154815290600101906020018083116110ab57829003601f168201915b5050505050905090565b60006110dd826127d2565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006111238261197c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611193576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118a9061476d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166111b261281d565b73ffffffffffffffffffffffffffffffffffffffff1614806111e157506111e0816111db61281d565b612557565b5b611220576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611217906147ff565b60405180910390fd5b61122a8383612825565b505050565b6000600880549050905090565b60166020528060005260406000206000915090505481565b601060019054906101000a900460ff166112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a90614397565b60405180910390fd5b6000336040516020016112b691906143ff565b6040516020818303038152906040528051906020012090506112db836012548361279d565b61131a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131190614466565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561139d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611394906144f8565b60405180910390fd5b600282601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113ea9190614547565b111561142b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611422906145c7565b60405180910390fd5b81600f54611439919061481f565b34101561147b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611472906148ad565b60405180910390fd5b60005b8281101561155d576001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114d29190614547565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061153233600161152361122f565b61152d9190614547565b6127b4565b600d600081548092919061154590614653565b9190505550808061155590614653565b91505061147e565b50505050565b61157461156e61281d565b826128de565b6115b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115aa9061493f565b60405180910390fd5b6115be838383612973565b505050565b60115481565b60006115d483611afc565b8210611615576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160c906149d1565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611676612bd9565b601060029054906101000a900460ff1615601060026101000a81548160ff021916908315150217905550565b6116aa611c7d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170e90614a3d565b60405180910390fd5b6000611721611c7d565b73ffffffffffffffffffffffffffffffffffffffff164760405161174490614a8e565b60006040518083038185875af1925050503d8060008114611781576040519150601f19603f3d011682016040523d82523d6000602084013e611786565b606091505b50509050806117ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c190614aef565b60405180910390fd5b50565b6117e8838383604051806020016040528060008152506123cb565b505050565b6117f5612bd9565b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b600061182b61122f565b821061186c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186390614b81565b60405180910390fd5b600882815481106118805761187f614ba1565b5b90600052602060002001549050919050565b6018805461189f906146ca565b80601f01602080910402602001604051908101604052809291908181526020018280546118cb906146ca565b80156119185780601f106118ed57610100808354040283529160200191611918565b820191906000526020600020905b8154815290600101906020018083116118fb57829003601f168201915b505050505081565b611928612bd9565b80601990816119379190614d7c565b5050565b6000803360405160200161194f91906143ff565b604051602081830303815290604052805190602001209050611974836013548361279d565b915050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1b90614e9a565b60405180910390fd5b80915050919050565b60198054611a3a906146ca565b80601f0160208091040260200160405190810160405280929190818152602001828054611a66906146ca565b8015611ab35780601f10611a8857610100808354040283529160200191611ab3565b820191906000526020600020905b815481529060010190602001808311611a9657829003601f168201915b505050505081565b60008033604051602001611acf91906143ff565b604051602081830303815290604052805190602001209050611af4836012548361279d565b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6390614f2c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611bbb612bd9565b611bc56000612c57565b565b611bcf612bd9565b606481600e54611bdf9190614547565b1115611c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1790614fbe565b60405180910390fd5b60005b81811015611c7357611c48336001611c3961122f565b611c439190614547565b6127b4565b600e6000815480929190611c5b90614653565b91905055508080611c6b90614653565b915050611c23565b5050565b600f5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611caf612bd9565b80600f8190555050565b606060018054611cc8906146ca565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf4906146ca565b8015611d415780601f10611d1657610100808354040283529160200191611d41565b820191906000526020600020905b815481529060010190602001808311611d2457829003601f168201915b5050505050905090565b601060029054906101000a900460ff16611d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9190614397565b60405180910390fd5b6004601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e14906144f8565b60405180910390fd5b600581601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e6a9190614547565b1115611eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea2906145c7565b60405180910390fd5b600e546064611eba9190614fde565b612710611ec79190614fde565b6001611ed161122f565b611edb9190614547565b1115611f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1390614633565b60405180910390fd5b80600f54611f2a919061481f565b341015611f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f63906148ad565b60405180910390fd5b60005b81811015612036576001601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fc39190614547565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061202333600161201461122f565b61201e9190614547565b6127b4565b808061202e90614653565b915050611f6f565b5050565b61204c61204561281d565b8383612d1d565b5050565b601060009054906101000a900460ff1661209f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209690614397565b60405180910390fd5b6000336040516020016120b291906143ff565b6040516020818303038152906040528051906020012090506120d7836011548361279d565b612116576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210d90614466565b60405180910390fd5b6001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115612199576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612190906144f8565b60405180910390fd5b600282601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121e69190614547565b1115612227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221e906145c7565b60405180910390fd5b600b5482600c546122389190614547565b1115612279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227090614633565b60405180910390fd5b60005b8281101561235b576001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122d09190614547565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061233033600161232161122f565b61232b9190614547565b6127b4565b600c600081548092919061234390614653565b9190505550808061235390614653565b91505061227c565b50505050565b60135481565b61236f612bd9565b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b60176020528060005260406000206000915090505481565b60156020528060005260406000206000915090505481565b6123dc6123d661281d565b836128de565b61241b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124129061493f565b60405180910390fd5b61242784848484612e89565b50505050565b612435612bd9565b8060138190555050565b601060009054906101000a900460ff1681565b601060019054906101000a900460ff1681565b606061247082612ee5565b6124af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a690615084565b60405180910390fd5b60006124ba83612f51565b905060008151116124da57604051806020016040528060008152506124fb565b806040516020016124eb919061512c565b6040516020818303038152906040525b915050919050565b60125481565b600b5481565b600d5481565b600c5481565b612523612bd9565b8060118190555050565b60146020528060005260406000206000915090505481565b61254d612bd9565b8060128190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125f3612bd9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612662576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612659906151c0565b60405180910390fd5b61266b81612c57565b50565b600e5481565b61271081565b6000803360405160200161268e91906143ff565b6040516020818303038152906040528051906020012090506126b3836011548361279d565b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061278657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612796575061279582612fb9565b5b9050919050565b6000826127aa8584613023565b1490509392505050565b6127ce828260405180602001604052806000815250613079565b5050565b6127db81612ee5565b61281a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281190614e9a565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128988361197c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806128ea8361197c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061292c575061292b8185612557565b5b8061296a57508373ffffffffffffffffffffffffffffffffffffffff16612952846110d2565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129938261197c565b73ffffffffffffffffffffffffffffffffffffffff16146129e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e090615252565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4f906152e4565b60405180910390fd5b612a638383836130d4565b612a6e600082612825565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612abe9190614fde565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b159190614547565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bd48383836131e6565b505050565b612be161281d565b73ffffffffffffffffffffffffffffffffffffffff16612bff611c7d565b73ffffffffffffffffffffffffffffffffffffffff1614612c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4c90615350565b60405180910390fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d82906153bc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612e7c9190613b61565b60405180910390a3505050565b612e94848484612973565b612ea0848484846131eb565b612edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed69061544e565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060612f5c826127d2565b6000612f66613372565b90506000815111612f865760405180602001604052806000815250612fb1565b80612f9084613404565b604051602001612fa192919061546e565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008082905060005b845181101561306e576130598286838151811061304c5761304b614ba1565b5b6020026020010151613564565b9150808061306690614653565b91505061302c565b508091505092915050565b613083838361358f565b61309060008484846131eb565b6130cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c69061544e565b60405180910390fd5b505050565b6130df838383613768565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036131215761311c8161376d565b613160565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461315f5761315e83826137b6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036131a25761319d81613923565b6131e1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131e0576131df82826139f4565b5b5b505050565b505050565b600061320c8473ffffffffffffffffffffffffffffffffffffffff16613a73565b15613365578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261323561281d565b8786866040518563ffffffff1660e01b815260040161325794939291906154e7565b6020604051808303816000875af192505050801561329357506040513d601f19601f820116820180604052508101906132909190615548565b60015b613315573d80600081146132c3576040519150601f19603f3d011682016040523d82523d6000602084013e6132c8565b606091505b50600081510361330d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133049061544e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061336a565b600190505b949350505050565b606060198054613381906146ca565b80601f01602080910402602001604051908101604052809291908181526020018280546133ad906146ca565b80156133fa5780601f106133cf576101008083540402835291602001916133fa565b820191906000526020600020905b8154815290600101906020018083116133dd57829003601f168201915b5050505050905090565b60606000820361344b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061355f565b600082905060005b6000821461347d57808061346690614653565b915050600a8261347691906155a4565b9150613453565b60008167ffffffffffffffff81111561349957613498613b92565b5b6040519080825280601f01601f1916602001820160405280156134cb5781602001600182028036833780820191505090505b5090505b60008514613558576001826134e49190614fde565b9150600a856134f391906155d5565b60306134ff9190614547565b60f81b81838151811061351557613514614ba1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561355191906155a4565b94506134cf565b8093505050505b919050565b600081831061357c576135778284613a96565b613587565b6135868383613a96565b5b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036135fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f590615652565b60405180910390fd5b61360781612ee5565b15613647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363e906156be565b60405180910390fd5b613653600083836130d4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136a39190614547565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613764600083836131e6565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137c384611afc565b6137cd9190614fde565b90506000600760008481526020019081526020016000205490508181146138b2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139379190614fde565b905060006009600084815260200190815260200160002054905060006008838154811061396757613966614ba1565b5b90600052602060002001549050806008838154811061398957613988614ba1565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139d8576139d76156de565b5b6001900381819060005260206000200160009055905550505050565b60006139ff83611afc565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613af681613ac1565b8114613b0157600080fd5b50565b600081359050613b1381613aed565b92915050565b600060208284031215613b2f57613b2e613ab7565b5b6000613b3d84828501613b04565b91505092915050565b60008115159050919050565b613b5b81613b46565b82525050565b6000602082019050613b766000830184613b52565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bca82613b81565b810181811067ffffffffffffffff82111715613be957613be8613b92565b5b80604052505050565b6000613bfc613aad565b9050613c088282613bc1565b919050565b600067ffffffffffffffff821115613c2857613c27613b92565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b613c5181613c3e565b8114613c5c57600080fd5b50565b600081359050613c6e81613c48565b92915050565b6000613c87613c8284613c0d565b613bf2565b90508083825260208201905060208402830185811115613caa57613ca9613c39565b5b835b81811015613cd35780613cbf8882613c5f565b845260208401935050602081019050613cac565b5050509392505050565b600082601f830112613cf257613cf1613b7c565b5b8135613d02848260208601613c74565b91505092915050565b6000819050919050565b613d1e81613d0b565b8114613d2957600080fd5b50565b600081359050613d3b81613d15565b92915050565b60008060408385031215613d5857613d57613ab7565b5b600083013567ffffffffffffffff811115613d7657613d75613abc565b5b613d8285828601613cdd565b9250506020613d9385828601613d2c565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613dd7578082015181840152602081019050613dbc565b60008484015250505050565b6000613dee82613d9d565b613df88185613da8565b9350613e08818560208601613db9565b613e1181613b81565b840191505092915050565b60006020820190508181036000830152613e368184613de3565b905092915050565b600060208284031215613e5457613e53613ab7565b5b6000613e6284828501613d2c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e9682613e6b565b9050919050565b613ea681613e8b565b82525050565b6000602082019050613ec16000830184613e9d565b92915050565b613ed081613e8b565b8114613edb57600080fd5b50565b600081359050613eed81613ec7565b92915050565b60008060408385031215613f0a57613f09613ab7565b5b6000613f1885828601613ede565b9250506020613f2985828601613d2c565b9150509250929050565b613f3c81613d0b565b82525050565b6000602082019050613f576000830184613f33565b92915050565b600060208284031215613f7357613f72613ab7565b5b6000613f8184828501613ede565b91505092915050565b600080600060608486031215613fa357613fa2613ab7565b5b6000613fb186828701613ede565b9350506020613fc286828701613ede565b9250506040613fd386828701613d2c565b9150509250925092565b613fe681613c3e565b82525050565b60006020820190506140016000830184613fdd565b92915050565b600080fd5b600067ffffffffffffffff82111561402757614026613b92565b5b61403082613b81565b9050602081019050919050565b82818337600083830152505050565b600061405f61405a8461400c565b613bf2565b90508281526020810184848401111561407b5761407a614007565b5b61408684828561403d565b509392505050565b600082601f8301126140a3576140a2613b7c565b5b81356140b384826020860161404c565b91505092915050565b6000602082840312156140d2576140d1613ab7565b5b600082013567ffffffffffffffff8111156140f0576140ef613abc565b5b6140fc8482850161408e565b91505092915050565b60006020828403121561411b5761411a613ab7565b5b600082013567ffffffffffffffff81111561413957614138613abc565b5b61414584828501613cdd565b91505092915050565b61415781613b46565b811461416257600080fd5b50565b6000813590506141748161414e565b92915050565b6000806040838503121561419157614190613ab7565b5b600061419f85828601613ede565b92505060206141b085828601614165565b9150509250929050565b600067ffffffffffffffff8211156141d5576141d4613b92565b5b6141de82613b81565b9050602081019050919050565b60006141fe6141f9846141ba565b613bf2565b90508281526020810184848401111561421a57614219614007565b5b61422584828561403d565b509392505050565b600082601f83011261424257614241613b7c565b5b81356142528482602086016141eb565b91505092915050565b6000806000806080858703121561427557614274613ab7565b5b600061428387828801613ede565b945050602061429487828801613ede565b93505060406142a587828801613d2c565b925050606085013567ffffffffffffffff8111156142c6576142c5613abc565b5b6142d28782880161422d565b91505092959194509250565b6000602082840312156142f4576142f3613ab7565b5b600061430284828501613c5f565b91505092915050565b6000806040838503121561432257614321613ab7565b5b600061433085828601613ede565b925050602061434185828601613ede565b9150509250929050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b6000614381601b83613da8565b915061438c8261434b565b602082019050919050565b600060208201905081810360008301526143b081614374565b9050919050565b60008160601b9050919050565b60006143cf826143b7565b9050919050565b60006143e1826143c4565b9050919050565b6143f96143f482613e8b565b6143d6565b82525050565b600061440b82846143e8565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b6000614450600e83613da8565b915061445b8261441a565b602082019050919050565b6000602082019050818103600083015261447f81614443565b9050919050565b7f4164647265737320616c7265616479206d696e746564206d617820616c6c6f7760008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b60006144e2602283613da8565b91506144ed82614486565b604082019050919050565b60006020820190508181036000830152614511816144d5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061455282613d0b565b915061455d83613d0b565b925082820190508082111561457557614574614518565b5b92915050565b7f4d6178696d756d20616c6c6f77656420616d6f756e7420726561636865640000600082015250565b60006145b1601e83613da8565b91506145bc8261457b565b602082019050919050565b600060208201905081810360008301526145e0816145a4565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b600061461d602083613da8565b9150614628826145e7565b602082019050919050565b6000602082019050818103600083015261464c81614610565b9050919050565b600061465e82613d0b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036146905761468f614518565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806146e257607f821691505b6020821081036146f5576146f461469b565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614757602183613da8565b9150614762826146fb565b604082019050919050565b600060208201905081810360008301526147868161474a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006147e9603e83613da8565b91506147f48261478d565b604082019050919050565b60006020820190508181036000830152614818816147dc565b9050919050565b600061482a82613d0b565b915061483583613d0b565b925082820261484381613d0b565b9150828204841483151761485a57614859614518565b5b5092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000614897601383613da8565b91506148a282614861565b602082019050919050565b600060208201905081810360008301526148c68161488a565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614929602e83613da8565b9150614934826148cd565b604082019050919050565b600060208201905081810360008301526149588161491c565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006149bb602b83613da8565b91506149c68261495f565b604082019050919050565b600060208201905081810360008301526149ea816149ae565b9050919050565b7f496e76616c69642073656e646572000000000000000000000000000000000000600082015250565b6000614a27600e83613da8565b9150614a32826149f1565b602082019050919050565b60006020820190508181036000830152614a5681614a1a565b9050919050565b600081905092915050565b50565b6000614a78600083614a5d565b9150614a8382614a68565b600082019050919050565b6000614a9982614a6b565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000614ad9600f83613da8565b9150614ae482614aa3565b602082019050919050565b60006020820190508181036000830152614b0881614acc565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614b6b602c83613da8565b9150614b7682614b0f565b604082019050919050565b60006020820190508181036000830152614b9a81614b5e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614c327fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614bf5565b614c3c8683614bf5565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614c79614c74614c6f84613d0b565b614c54565b613d0b565b9050919050565b6000819050919050565b614c9383614c5e565b614ca7614c9f82614c80565b848454614c02565b825550505050565b600090565b614cbc614caf565b614cc7818484614c8a565b505050565b5b81811015614ceb57614ce0600082614cb4565b600181019050614ccd565b5050565b601f821115614d3057614d0181614bd0565b614d0a84614be5565b81016020851015614d19578190505b614d2d614d2585614be5565b830182614ccc565b50505b505050565b600082821c905092915050565b6000614d5360001984600802614d35565b1980831691505092915050565b6000614d6c8383614d42565b9150826002028217905092915050565b614d8582613d9d565b67ffffffffffffffff811115614d9e57614d9d613b92565b5b614da882546146ca565b614db3828285614cef565b600060209050601f831160018114614de65760008415614dd4578287015190505b614dde8582614d60565b865550614e46565b601f198416614df486614bd0565b60005b82811015614e1c57848901518255600182019150602085019450602081019050614df7565b86831015614e395784890151614e35601f891682614d42565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614e84601883613da8565b9150614e8f82614e4e565b602082019050919050565b60006020820190508181036000830152614eb381614e77565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614f16602983613da8565b9150614f2182614eba565b604082019050919050565b60006020820190508181036000830152614f4581614f09565b9050919050565b7f5468697320616d6f756e74206973206d6f7265207468616e206d617820616c6c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b6000614fa8602483613da8565b9150614fb382614f4c565b604082019050919050565b60006020820190508181036000830152614fd781614f9b565b9050919050565b6000614fe982613d0b565b9150614ff483613d0b565b925082820390508181111561500c5761500b614518565b5b92915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061506e602f83613da8565b915061507982615012565b604082019050919050565b6000602082019050818103600083015261509d81615061565b9050919050565b600081905092915050565b60006150ba82613d9d565b6150c481856150a4565b93506150d4818560208601613db9565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006151166005836150a4565b9150615121826150e0565b600582019050919050565b600061513882846150af565b915061514382615109565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006151aa602683613da8565b91506151b58261514e565b604082019050919050565b600060208201905081810360008301526151d98161519d565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061523c602583613da8565b9150615247826151e0565b604082019050919050565b6000602082019050818103600083015261526b8161522f565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006152ce602483613da8565b91506152d982615272565b604082019050919050565b600060208201905081810360008301526152fd816152c1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061533a602083613da8565b915061534582615304565b602082019050919050565b600060208201905081810360008301526153698161532d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006153a6601983613da8565b91506153b182615370565b602082019050919050565b600060208201905081810360008301526153d581615399565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615438603283613da8565b9150615443826153dc565b604082019050919050565b600060208201905081810360008301526154678161542b565b9050919050565b600061547a82856150af565b915061548682846150af565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006154b982615492565b6154c3818561549d565b93506154d3818560208601613db9565b6154dc81613b81565b840191505092915050565b60006080820190506154fc6000830187613e9d565b6155096020830186613e9d565b6155166040830185613f33565b818103606083015261552881846154ae565b905095945050505050565b60008151905061554281613aed565b92915050565b60006020828403121561555e5761555d613ab7565b5b600061556c84828501615533565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006155af82613d0b565b91506155ba83613d0b565b9250826155ca576155c9615575565b5b828204905092915050565b60006155e082613d0b565b91506155eb83613d0b565b9250826155fb576155fa615575565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061563c602083613da8565b915061564782615606565b602082019050919050565b6000602082019050818103600083015261566b8161562f565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006156a8601c83613da8565b91506156b382615672565b602082019050919050565b600060208201905081810360008301526156d78161569b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220b280854e0d20217c136947705918aa76978972a29f7a4a97172a4f050d17030864736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000f4d6f6e73746572204e756d6265727a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d4e530000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103355760003560e01c80638da5cb5b116101ab578063c21d0412116100f7578063db4bec4411610095578063f2fde38b1161006f578063f2fde38b14610be6578063f3e3882114610c0f578063f47c84c514610c3a578063f56f516f14610c6557610335565b8063db4bec4414610b43578063e0dd8cb814610b80578063e985e9c514610ba957610335565b8063cf521eff116100d1578063cf521eff14610a99578063cfdcfa0d14610ac4578063d30babc214610aef578063dab5f34014610b1a57610335565b8063c21d041214610a06578063c87b56dd14610a31578063ca34adf014610a6e57610335565b8063ad6cb31911610164578063b66935551161013e578063b66935551461094c578063b88d4fde14610989578063bf1ce289146109b2578063c1294e7c146109db57610335565b8063ad6cb319146108cd578063b14113be146108f8578063b5b1cd7c1461090f57610335565b80638da5cb5b146107ed57806391b7f5ed1461081857806395d89b4114610841578063a0712d681461086c578063a22cb46514610888578063a6d612f9146108b157610335565b80633ccfd60b116102855780636352211e1161022357806370a08231116101fd57806370a0823114610745578063715018a6146107825780637d5cb4e5146107995780638d859f3e146107c257610335565b80636352211e146106a05780636c0360eb146106dd578063702c5d821461070857610335565b80634f6ccce71161025f5780634f6ccce7146105d25780635503a0e81461060f57806355f804b31461063a57806358f444eb1461066357610335565b80633ccfd60b1461057b57806342842e0e1461059257806348a47213146105bb57610335565b806318160ddd116102f257806323b872dd116102cc57806323b872dd146104d35780632eb4a7ab146104fc5780632f745c591461052757806334918dfd1461056457610335565b806318160ddd1461044f5780631dfcaa481461047a5780631f194b17146104b757610335565b806301ffc9a71461033a578063033a02d61461037757806305da6b03146103a257806306fdde03146103be578063081812fc146103e9578063095ea7b314610426575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c9190613b19565b610ca2565b60405161036e9190613b61565b60405180910390f35b34801561038357600080fd5b5061038c610d1c565b6040516103999190613b61565b60405180910390f35b6103bc60048036038101906103b79190613d41565b610d2f565b005b3480156103ca57600080fd5b506103d3611040565b6040516103e09190613e1c565b60405180910390f35b3480156103f557600080fd5b50610410600480360381019061040b9190613e3e565b6110d2565b60405161041d9190613eac565b60405180910390f35b34801561043257600080fd5b5061044d60048036038101906104489190613ef3565b611118565b005b34801561045b57600080fd5b5061046461122f565b6040516104719190613f42565b60405180910390f35b34801561048657600080fd5b506104a1600480360381019061049c9190613f5d565b61123c565b6040516104ae9190613f42565b60405180910390f35b6104d160048036038101906104cc9190613d41565b611254565b005b3480156104df57600080fd5b506104fa60048036038101906104f59190613f8a565b611563565b005b34801561050857600080fd5b506105116115c3565b60405161051e9190613fec565b60405180910390f35b34801561053357600080fd5b5061054e60048036038101906105499190613ef3565b6115c9565b60405161055b9190613f42565b60405180910390f35b34801561057057600080fd5b5061057961166e565b005b34801561058757600080fd5b506105906116a2565b005b34801561059e57600080fd5b506105b960048036038101906105b49190613f8a565b6117cd565b005b3480156105c757600080fd5b506105d06117ed565b005b3480156105de57600080fd5b506105f960048036038101906105f49190613e3e565b611821565b6040516106069190613f42565b60405180910390f35b34801561061b57600080fd5b50610624611892565b6040516106319190613e1c565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c91906140bc565b611920565b005b34801561066f57600080fd5b5061068a60048036038101906106859190614105565b61193b565b6040516106979190613b61565b60405180910390f35b3480156106ac57600080fd5b506106c760048036038101906106c29190613e3e565b61197c565b6040516106d49190613eac565b60405180910390f35b3480156106e957600080fd5b506106f2611a2d565b6040516106ff9190613e1c565b60405180910390f35b34801561071457600080fd5b5061072f600480360381019061072a9190614105565b611abb565b60405161073c9190613b61565b60405180910390f35b34801561075157600080fd5b5061076c60048036038101906107679190613f5d565b611afc565b6040516107799190613f42565b60405180910390f35b34801561078e57600080fd5b50610797611bb3565b005b3480156107a557600080fd5b506107c060048036038101906107bb9190613e3e565b611bc7565b005b3480156107ce57600080fd5b506107d7611c77565b6040516107e49190613f42565b60405180910390f35b3480156107f957600080fd5b50610802611c7d565b60405161080f9190613eac565b60405180910390f35b34801561082457600080fd5b5061083f600480360381019061083a9190613e3e565b611ca7565b005b34801561084d57600080fd5b50610856611cb9565b6040516108639190613e1c565b60405180910390f35b61088660048036038101906108819190613e3e565b611d4b565b005b34801561089457600080fd5b506108af60048036038101906108aa919061417a565b61203a565b005b6108cb60048036038101906108c69190613d41565b612050565b005b3480156108d957600080fd5b506108e2612361565b6040516108ef9190613fec565b60405180910390f35b34801561090457600080fd5b5061090d612367565b005b34801561091b57600080fd5b5061093660048036038101906109319190613f5d565b61239b565b6040516109439190613f42565b60405180910390f35b34801561095857600080fd5b50610973600480360381019061096e9190613f5d565b6123b3565b6040516109809190613f42565b60405180910390f35b34801561099557600080fd5b506109b060048036038101906109ab919061425b565b6123cb565b005b3480156109be57600080fd5b506109d960048036038101906109d491906142de565b61242d565b005b3480156109e757600080fd5b506109f061243f565b6040516109fd9190613b61565b60405180910390f35b348015610a1257600080fd5b50610a1b612452565b604051610a289190613b61565b60405180910390f35b348015610a3d57600080fd5b50610a586004803603810190610a539190613e3e565b612465565b604051610a659190613e1c565b60405180910390f35b348015610a7a57600080fd5b50610a83612503565b604051610a909190613fec565b60405180910390f35b348015610aa557600080fd5b50610aae612509565b604051610abb9190613f42565b60405180910390f35b348015610ad057600080fd5b50610ad961250f565b604051610ae69190613f42565b60405180910390f35b348015610afb57600080fd5b50610b04612515565b604051610b119190613f42565b60405180910390f35b348015610b2657600080fd5b50610b416004803603810190610b3c91906142de565b61251b565b005b348015610b4f57600080fd5b50610b6a6004803603810190610b659190613f5d565b61252d565b604051610b779190613f42565b60405180910390f35b348015610b8c57600080fd5b50610ba76004803603810190610ba291906142de565b612545565b005b348015610bb557600080fd5b50610bd06004803603810190610bcb919061430b565b612557565b604051610bdd9190613b61565b60405180910390f35b348015610bf257600080fd5b50610c0d6004803603810190610c089190613f5d565b6125eb565b005b348015610c1b57600080fd5b50610c2461266e565b604051610c319190613f42565b60405180910390f35b348015610c4657600080fd5b50610c4f612674565b604051610c5c9190613f42565b60405180910390f35b348015610c7157600080fd5b50610c8c6004803603810190610c879190614105565b61267a565b604051610c999190613b61565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d155750610d14826126bb565b5b9050919050565b601060029054906101000a900460ff1681565b601060009054906101000a900460ff16610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7590614397565b60405180910390fd5b600033604051602001610d9191906143ff565b604051602081830303815290604052805190602001209050610db6836013548361279d565b610df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dec90614466565b60405180910390fd5b6002601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115610e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6f906144f8565b60405180910390fd5b600382601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ec59190614547565b1115610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd906145c7565b60405180910390fd5b600b5482600c54610f179190614547565b1115610f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4f90614633565b60405180910390fd5b60005b8281101561103a576001601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610faf9190614547565b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061100f33600161100061122f565b61100a9190614547565b6127b4565b600c600081548092919061102290614653565b9190505550808061103290614653565b915050610f5b565b50505050565b60606000805461104f906146ca565b80601f016020809104026020016040519081016040528092919081815260200182805461107b906146ca565b80156110c85780601f1061109d576101008083540402835291602001916110c8565b820191906000526020600020905b8154815290600101906020018083116110ab57829003601f168201915b5050505050905090565b60006110dd826127d2565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006111238261197c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611193576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118a9061476d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166111b261281d565b73ffffffffffffffffffffffffffffffffffffffff1614806111e157506111e0816111db61281d565b612557565b5b611220576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611217906147ff565b60405180910390fd5b61122a8383612825565b505050565b6000600880549050905090565b60166020528060005260406000206000915090505481565b601060019054906101000a900460ff166112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a90614397565b60405180910390fd5b6000336040516020016112b691906143ff565b6040516020818303038152906040528051906020012090506112db836012548361279d565b61131a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131190614466565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561139d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611394906144f8565b60405180910390fd5b600282601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113ea9190614547565b111561142b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611422906145c7565b60405180910390fd5b81600f54611439919061481f565b34101561147b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611472906148ad565b60405180910390fd5b60005b8281101561155d576001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114d29190614547565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061153233600161152361122f565b61152d9190614547565b6127b4565b600d600081548092919061154590614653565b9190505550808061155590614653565b91505061147e565b50505050565b61157461156e61281d565b826128de565b6115b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115aa9061493f565b60405180910390fd5b6115be838383612973565b505050565b60115481565b60006115d483611afc565b8210611615576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160c906149d1565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611676612bd9565b601060029054906101000a900460ff1615601060026101000a81548160ff021916908315150217905550565b6116aa611c7d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170e90614a3d565b60405180910390fd5b6000611721611c7d565b73ffffffffffffffffffffffffffffffffffffffff164760405161174490614a8e565b60006040518083038185875af1925050503d8060008114611781576040519150601f19603f3d011682016040523d82523d6000602084013e611786565b606091505b50509050806117ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c190614aef565b60405180910390fd5b50565b6117e8838383604051806020016040528060008152506123cb565b505050565b6117f5612bd9565b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b600061182b61122f565b821061186c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186390614b81565b60405180910390fd5b600882815481106118805761187f614ba1565b5b90600052602060002001549050919050565b6018805461189f906146ca565b80601f01602080910402602001604051908101604052809291908181526020018280546118cb906146ca565b80156119185780601f106118ed57610100808354040283529160200191611918565b820191906000526020600020905b8154815290600101906020018083116118fb57829003601f168201915b505050505081565b611928612bd9565b80601990816119379190614d7c565b5050565b6000803360405160200161194f91906143ff565b604051602081830303815290604052805190602001209050611974836013548361279d565b915050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1b90614e9a565b60405180910390fd5b80915050919050565b60198054611a3a906146ca565b80601f0160208091040260200160405190810160405280929190818152602001828054611a66906146ca565b8015611ab35780601f10611a8857610100808354040283529160200191611ab3565b820191906000526020600020905b815481529060010190602001808311611a9657829003601f168201915b505050505081565b60008033604051602001611acf91906143ff565b604051602081830303815290604052805190602001209050611af4836012548361279d565b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6390614f2c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611bbb612bd9565b611bc56000612c57565b565b611bcf612bd9565b606481600e54611bdf9190614547565b1115611c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1790614fbe565b60405180910390fd5b60005b81811015611c7357611c48336001611c3961122f565b611c439190614547565b6127b4565b600e6000815480929190611c5b90614653565b91905055508080611c6b90614653565b915050611c23565b5050565b600f5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611caf612bd9565b80600f8190555050565b606060018054611cc8906146ca565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf4906146ca565b8015611d415780601f10611d1657610100808354040283529160200191611d41565b820191906000526020600020905b815481529060010190602001808311611d2457829003601f168201915b5050505050905090565b601060029054906101000a900460ff16611d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9190614397565b60405180910390fd5b6004601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e14906144f8565b60405180910390fd5b600581601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e6a9190614547565b1115611eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea2906145c7565b60405180910390fd5b600e546064611eba9190614fde565b612710611ec79190614fde565b6001611ed161122f565b611edb9190614547565b1115611f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1390614633565b60405180910390fd5b80600f54611f2a919061481f565b341015611f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f63906148ad565b60405180910390fd5b60005b81811015612036576001601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fc39190614547565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061202333600161201461122f565b61201e9190614547565b6127b4565b808061202e90614653565b915050611f6f565b5050565b61204c61204561281d565b8383612d1d565b5050565b601060009054906101000a900460ff1661209f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209690614397565b60405180910390fd5b6000336040516020016120b291906143ff565b6040516020818303038152906040528051906020012090506120d7836011548361279d565b612116576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210d90614466565b60405180910390fd5b6001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115612199576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612190906144f8565b60405180910390fd5b600282601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121e69190614547565b1115612227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221e906145c7565b60405180910390fd5b600b5482600c546122389190614547565b1115612279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227090614633565b60405180910390fd5b60005b8281101561235b576001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122d09190614547565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061233033600161232161122f565b61232b9190614547565b6127b4565b600c600081548092919061234390614653565b9190505550808061235390614653565b91505061227c565b50505050565b60135481565b61236f612bd9565b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b60176020528060005260406000206000915090505481565b60156020528060005260406000206000915090505481565b6123dc6123d661281d565b836128de565b61241b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124129061493f565b60405180910390fd5b61242784848484612e89565b50505050565b612435612bd9565b8060138190555050565b601060009054906101000a900460ff1681565b601060019054906101000a900460ff1681565b606061247082612ee5565b6124af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a690615084565b60405180910390fd5b60006124ba83612f51565b905060008151116124da57604051806020016040528060008152506124fb565b806040516020016124eb919061512c565b6040516020818303038152906040525b915050919050565b60125481565b600b5481565b600d5481565b600c5481565b612523612bd9565b8060118190555050565b60146020528060005260406000206000915090505481565b61254d612bd9565b8060128190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125f3612bd9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612662576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612659906151c0565b60405180910390fd5b61266b81612c57565b50565b600e5481565b61271081565b6000803360405160200161268e91906143ff565b6040516020818303038152906040528051906020012090506126b3836011548361279d565b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061278657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612796575061279582612fb9565b5b9050919050565b6000826127aa8584613023565b1490509392505050565b6127ce828260405180602001604052806000815250613079565b5050565b6127db81612ee5565b61281a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281190614e9a565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128988361197c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806128ea8361197c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061292c575061292b8185612557565b5b8061296a57508373ffffffffffffffffffffffffffffffffffffffff16612952846110d2565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129938261197c565b73ffffffffffffffffffffffffffffffffffffffff16146129e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e090615252565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4f906152e4565b60405180910390fd5b612a638383836130d4565b612a6e600082612825565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612abe9190614fde565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b159190614547565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bd48383836131e6565b505050565b612be161281d565b73ffffffffffffffffffffffffffffffffffffffff16612bff611c7d565b73ffffffffffffffffffffffffffffffffffffffff1614612c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4c90615350565b60405180910390fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d82906153bc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612e7c9190613b61565b60405180910390a3505050565b612e94848484612973565b612ea0848484846131eb565b612edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed69061544e565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060612f5c826127d2565b6000612f66613372565b90506000815111612f865760405180602001604052806000815250612fb1565b80612f9084613404565b604051602001612fa192919061546e565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008082905060005b845181101561306e576130598286838151811061304c5761304b614ba1565b5b6020026020010151613564565b9150808061306690614653565b91505061302c565b508091505092915050565b613083838361358f565b61309060008484846131eb565b6130cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c69061544e565b60405180910390fd5b505050565b6130df838383613768565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036131215761311c8161376d565b613160565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461315f5761315e83826137b6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036131a25761319d81613923565b6131e1565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131e0576131df82826139f4565b5b5b505050565b505050565b600061320c8473ffffffffffffffffffffffffffffffffffffffff16613a73565b15613365578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261323561281d565b8786866040518563ffffffff1660e01b815260040161325794939291906154e7565b6020604051808303816000875af192505050801561329357506040513d601f19601f820116820180604052508101906132909190615548565b60015b613315573d80600081146132c3576040519150601f19603f3d011682016040523d82523d6000602084013e6132c8565b606091505b50600081510361330d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133049061544e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061336a565b600190505b949350505050565b606060198054613381906146ca565b80601f01602080910402602001604051908101604052809291908181526020018280546133ad906146ca565b80156133fa5780601f106133cf576101008083540402835291602001916133fa565b820191906000526020600020905b8154815290600101906020018083116133dd57829003601f168201915b5050505050905090565b60606000820361344b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061355f565b600082905060005b6000821461347d57808061346690614653565b915050600a8261347691906155a4565b9150613453565b60008167ffffffffffffffff81111561349957613498613b92565b5b6040519080825280601f01601f1916602001820160405280156134cb5781602001600182028036833780820191505090505b5090505b60008514613558576001826134e49190614fde565b9150600a856134f391906155d5565b60306134ff9190614547565b60f81b81838151811061351557613514614ba1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561355191906155a4565b94506134cf565b8093505050505b919050565b600081831061357c576135778284613a96565b613587565b6135868383613a96565b5b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036135fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f590615652565b60405180910390fd5b61360781612ee5565b15613647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363e906156be565b60405180910390fd5b613653600083836130d4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136a39190614547565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613764600083836131e6565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137c384611afc565b6137cd9190614fde565b90506000600760008481526020019081526020016000205490508181146138b2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139379190614fde565b905060006009600084815260200190815260200160002054905060006008838154811061396757613966614ba1565b5b90600052602060002001549050806008838154811061398957613988614ba1565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139d8576139d76156de565b5b6001900381819060005260206000200160009055905550505050565b60006139ff83611afc565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613af681613ac1565b8114613b0157600080fd5b50565b600081359050613b1381613aed565b92915050565b600060208284031215613b2f57613b2e613ab7565b5b6000613b3d84828501613b04565b91505092915050565b60008115159050919050565b613b5b81613b46565b82525050565b6000602082019050613b766000830184613b52565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bca82613b81565b810181811067ffffffffffffffff82111715613be957613be8613b92565b5b80604052505050565b6000613bfc613aad565b9050613c088282613bc1565b919050565b600067ffffffffffffffff821115613c2857613c27613b92565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b613c5181613c3e565b8114613c5c57600080fd5b50565b600081359050613c6e81613c48565b92915050565b6000613c87613c8284613c0d565b613bf2565b90508083825260208201905060208402830185811115613caa57613ca9613c39565b5b835b81811015613cd35780613cbf8882613c5f565b845260208401935050602081019050613cac565b5050509392505050565b600082601f830112613cf257613cf1613b7c565b5b8135613d02848260208601613c74565b91505092915050565b6000819050919050565b613d1e81613d0b565b8114613d2957600080fd5b50565b600081359050613d3b81613d15565b92915050565b60008060408385031215613d5857613d57613ab7565b5b600083013567ffffffffffffffff811115613d7657613d75613abc565b5b613d8285828601613cdd565b9250506020613d9385828601613d2c565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613dd7578082015181840152602081019050613dbc565b60008484015250505050565b6000613dee82613d9d565b613df88185613da8565b9350613e08818560208601613db9565b613e1181613b81565b840191505092915050565b60006020820190508181036000830152613e368184613de3565b905092915050565b600060208284031215613e5457613e53613ab7565b5b6000613e6284828501613d2c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e9682613e6b565b9050919050565b613ea681613e8b565b82525050565b6000602082019050613ec16000830184613e9d565b92915050565b613ed081613e8b565b8114613edb57600080fd5b50565b600081359050613eed81613ec7565b92915050565b60008060408385031215613f0a57613f09613ab7565b5b6000613f1885828601613ede565b9250506020613f2985828601613d2c565b9150509250929050565b613f3c81613d0b565b82525050565b6000602082019050613f576000830184613f33565b92915050565b600060208284031215613f7357613f72613ab7565b5b6000613f8184828501613ede565b91505092915050565b600080600060608486031215613fa357613fa2613ab7565b5b6000613fb186828701613ede565b9350506020613fc286828701613ede565b9250506040613fd386828701613d2c565b9150509250925092565b613fe681613c3e565b82525050565b60006020820190506140016000830184613fdd565b92915050565b600080fd5b600067ffffffffffffffff82111561402757614026613b92565b5b61403082613b81565b9050602081019050919050565b82818337600083830152505050565b600061405f61405a8461400c565b613bf2565b90508281526020810184848401111561407b5761407a614007565b5b61408684828561403d565b509392505050565b600082601f8301126140a3576140a2613b7c565b5b81356140b384826020860161404c565b91505092915050565b6000602082840312156140d2576140d1613ab7565b5b600082013567ffffffffffffffff8111156140f0576140ef613abc565b5b6140fc8482850161408e565b91505092915050565b60006020828403121561411b5761411a613ab7565b5b600082013567ffffffffffffffff81111561413957614138613abc565b5b61414584828501613cdd565b91505092915050565b61415781613b46565b811461416257600080fd5b50565b6000813590506141748161414e565b92915050565b6000806040838503121561419157614190613ab7565b5b600061419f85828601613ede565b92505060206141b085828601614165565b9150509250929050565b600067ffffffffffffffff8211156141d5576141d4613b92565b5b6141de82613b81565b9050602081019050919050565b60006141fe6141f9846141ba565b613bf2565b90508281526020810184848401111561421a57614219614007565b5b61422584828561403d565b509392505050565b600082601f83011261424257614241613b7c565b5b81356142528482602086016141eb565b91505092915050565b6000806000806080858703121561427557614274613ab7565b5b600061428387828801613ede565b945050602061429487828801613ede565b93505060406142a587828801613d2c565b925050606085013567ffffffffffffffff8111156142c6576142c5613abc565b5b6142d28782880161422d565b91505092959194509250565b6000602082840312156142f4576142f3613ab7565b5b600061430284828501613c5f565b91505092915050565b6000806040838503121561432257614321613ab7565b5b600061433085828601613ede565b925050602061434185828601613ede565b9150509250929050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b6000614381601b83613da8565b915061438c8261434b565b602082019050919050565b600060208201905081810360008301526143b081614374565b9050919050565b60008160601b9050919050565b60006143cf826143b7565b9050919050565b60006143e1826143c4565b9050919050565b6143f96143f482613e8b565b6143d6565b82525050565b600061440b82846143e8565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b6000614450600e83613da8565b915061445b8261441a565b602082019050919050565b6000602082019050818103600083015261447f81614443565b9050919050565b7f4164647265737320616c7265616479206d696e746564206d617820616c6c6f7760008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b60006144e2602283613da8565b91506144ed82614486565b604082019050919050565b60006020820190508181036000830152614511816144d5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061455282613d0b565b915061455d83613d0b565b925082820190508082111561457557614574614518565b5b92915050565b7f4d6178696d756d20616c6c6f77656420616d6f756e7420726561636865640000600082015250565b60006145b1601e83613da8565b91506145bc8261457b565b602082019050919050565b600060208201905081810360008301526145e0816145a4565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b600061461d602083613da8565b9150614628826145e7565b602082019050919050565b6000602082019050818103600083015261464c81614610565b9050919050565b600061465e82613d0b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036146905761468f614518565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806146e257607f821691505b6020821081036146f5576146f461469b565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614757602183613da8565b9150614762826146fb565b604082019050919050565b600060208201905081810360008301526147868161474a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006147e9603e83613da8565b91506147f48261478d565b604082019050919050565b60006020820190508181036000830152614818816147dc565b9050919050565b600061482a82613d0b565b915061483583613d0b565b925082820261484381613d0b565b9150828204841483151761485a57614859614518565b5b5092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000614897601383613da8565b91506148a282614861565b602082019050919050565b600060208201905081810360008301526148c68161488a565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614929602e83613da8565b9150614934826148cd565b604082019050919050565b600060208201905081810360008301526149588161491c565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006149bb602b83613da8565b91506149c68261495f565b604082019050919050565b600060208201905081810360008301526149ea816149ae565b9050919050565b7f496e76616c69642073656e646572000000000000000000000000000000000000600082015250565b6000614a27600e83613da8565b9150614a32826149f1565b602082019050919050565b60006020820190508181036000830152614a5681614a1a565b9050919050565b600081905092915050565b50565b6000614a78600083614a5d565b9150614a8382614a68565b600082019050919050565b6000614a9982614a6b565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000614ad9600f83613da8565b9150614ae482614aa3565b602082019050919050565b60006020820190508181036000830152614b0881614acc565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614b6b602c83613da8565b9150614b7682614b0f565b604082019050919050565b60006020820190508181036000830152614b9a81614b5e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614c327fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614bf5565b614c3c8683614bf5565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614c79614c74614c6f84613d0b565b614c54565b613d0b565b9050919050565b6000819050919050565b614c9383614c5e565b614ca7614c9f82614c80565b848454614c02565b825550505050565b600090565b614cbc614caf565b614cc7818484614c8a565b505050565b5b81811015614ceb57614ce0600082614cb4565b600181019050614ccd565b5050565b601f821115614d3057614d0181614bd0565b614d0a84614be5565b81016020851015614d19578190505b614d2d614d2585614be5565b830182614ccc565b50505b505050565b600082821c905092915050565b6000614d5360001984600802614d35565b1980831691505092915050565b6000614d6c8383614d42565b9150826002028217905092915050565b614d8582613d9d565b67ffffffffffffffff811115614d9e57614d9d613b92565b5b614da882546146ca565b614db3828285614cef565b600060209050601f831160018114614de65760008415614dd4578287015190505b614dde8582614d60565b865550614e46565b601f198416614df486614bd0565b60005b82811015614e1c57848901518255600182019150602085019450602081019050614df7565b86831015614e395784890151614e35601f891682614d42565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614e84601883613da8565b9150614e8f82614e4e565b602082019050919050565b60006020820190508181036000830152614eb381614e77565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614f16602983613da8565b9150614f2182614eba565b604082019050919050565b60006020820190508181036000830152614f4581614f09565b9050919050565b7f5468697320616d6f756e74206973206d6f7265207468616e206d617820616c6c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b6000614fa8602483613da8565b9150614fb382614f4c565b604082019050919050565b60006020820190508181036000830152614fd781614f9b565b9050919050565b6000614fe982613d0b565b9150614ff483613d0b565b925082820390508181111561500c5761500b614518565b5b92915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061506e602f83613da8565b915061507982615012565b604082019050919050565b6000602082019050818103600083015261509d81615061565b9050919050565b600081905092915050565b60006150ba82613d9d565b6150c481856150a4565b93506150d4818560208601613db9565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006151166005836150a4565b9150615121826150e0565b600582019050919050565b600061513882846150af565b915061514382615109565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006151aa602683613da8565b91506151b58261514e565b604082019050919050565b600060208201905081810360008301526151d98161519d565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061523c602583613da8565b9150615247826151e0565b604082019050919050565b6000602082019050818103600083015261526b8161522f565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006152ce602483613da8565b91506152d982615272565b604082019050919050565b600060208201905081810360008301526152fd816152c1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061533a602083613da8565b915061534582615304565b602082019050919050565b600060208201905081810360008301526153698161532d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006153a6601983613da8565b91506153b182615370565b602082019050919050565b600060208201905081810360008301526153d581615399565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615438603283613da8565b9150615443826153dc565b604082019050919050565b600060208201905081810360008301526154678161542b565b9050919050565b600061547a82856150af565b915061548682846150af565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006154b982615492565b6154c3818561549d565b93506154d3818560208601613db9565b6154dc81613b81565b840191505092915050565b60006080820190506154fc6000830187613e9d565b6155096020830186613e9d565b6155166040830185613f33565b818103606083015261552881846154ae565b905095945050505050565b60008151905061554281613aed565b92915050565b60006020828403121561555e5761555d613ab7565b5b600061556c84828501615533565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006155af82613d0b565b91506155ba83613d0b565b9250826155ca576155c9615575565b5b828204905092915050565b60006155e082613d0b565b91506155eb83613d0b565b9250826155fb576155fa615575565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061563c602083613da8565b915061564782615606565b602082019050919050565b6000602082019050818103600083015261566b8161562f565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006156a8601c83613da8565b91506156b382615672565b602082019050919050565b600060208201905081810360008301526156d78161569b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220b280854e0d20217c136947705918aa76978972a29f7a4a97172a4f050d17030864736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000f4d6f6e73746572204e756d6265727a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d4e530000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): Monster Numberz
Arg [1] : _tokenSymbol (string): MNS
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [3] : 4d6f6e73746572204e756d6265727a0000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 4d4e530000000000000000000000000000000000000000000000000000000000
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.