Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
969 BUMZ
Holders
395
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BUMZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PixieBumz
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-24 */ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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; } } /** * @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); } } // 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); } } // 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) } } } // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // IERC721 // ============================== /** * @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 be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev 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); // ============================== // IERC721Metadata // ============================== /** * @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); } // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (_addressToUint256(owner) == 0) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), 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 { _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 { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (_addressToUint256(to) == 0) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (_addressToUint256(to) == 0) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); address approvedAddress = _tokenApprovals[tokenId]; bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (_addressToUint256(to) == 0) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { delete _tokenApprovals[tokenId]; } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); address approvedAddress = _tokenApprovals[tokenId]; if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { delete _tokenApprovals[tokenId]; } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from == msg.sender) { _; return; } if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } _; } } pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } contract PixieBumz is ERC721A, DefaultOperatorFilterer, Ownable, ReentrancyGuard { uint256 public MAX_SUPPLY = 969; uint256 public HORNYHOLDER_SUPPLY = 106; uint256 public HORNYWHALE_SUPPLY = 10; uint256 public HORNYLORD_SUPPLY = 36; uint256 public BUMZLIST_SUPPLY = 662; uint256 public PUBLIC_SUPPLY = 1; bool public IS_HORNYHOLDER_ACTIVE = false; bool public IS_HORNYWHALE_ACTIVE = false; bool public IS_HORNYLORD_ACTIVE = false; bool public IS_BUMZLIST_ACTIVE = false; bool public IS_PUBLIC_ACTIVE = false; uint256 public HORNYHOLDER_TX_LIMIT = 1; uint256 public HORNYWHALE_TX_LIMIT = 2; uint256 public HORNYLORD_TX_LIMIT = 3; uint256 public BUMZLIST_TX_LIMIT = 1; uint256 public PUBLIC_TX_LIMIT = 5; uint256 public HORNYHOLDER_WALLET_LIMIT = 2; uint256 public HORNYWHALE_WALLET_LIMIT = 4; uint256 public HORNYLORD_WALLET_LIMIT = 6; uint256 public BUMZLIST_WALLET_LIMIT = 1; uint256 public PUBLIC_WALLET_LIMIT = 20; uint256 public HORNYHOLDER_PRICE = 0.016 ether; uint256 public HORNYWHALE_PRICE = 0.016 ether; uint256 public HORNYLORD_PRICE = 0.016 ether; uint256 public BUMZLIST_PRICE = 0.02 ether; uint256 public PUBLIC_PRICE = 0.022 ether; uint256 public HORNYHOLDER_COUNT = 0; uint256 public HORNYWHALE_COUNT = 0; uint256 public HORNYLORD_COUNT = 0; uint256 public BUMZLIST_COUNT = 0; uint256 public PUBLIC_COUNT = 0; bytes32 public HORNYHOLDER_ROOT; bytes32 public HORNYWHALE_ROOT; bytes32 public HORNYLORD_ROOT; bytes32 public BUMZLIST_ROOT; mapping(address => uint) public HORNYHOLDER_Minted; mapping(address => uint) public HORNYWHALE_Minted; mapping(address => uint) public HORNYLORD_Minted; mapping(address => uint) public BUMZLIST_Minted; mapping(address => uint) public PUBLIC_Minted; bool public _revealed = false; string private baseURI = ""; string private preRevealURI = "https://ipfs.w3bmint.xyz/ipfs/QmYMXFLjfDugueXZHUpLZXh6bCpr1DGTyznHzW9sEEvyzk"; mapping(address => uint256) addressBlockBought; address public constant RL_ADDRESS = 0xc9b5553910bA47719e0202fF9F617B8BE06b3A09; constructor( bytes32 _Hornyholder, bytes32 _Hornywhale, bytes32 _Hornylord, bytes32 _Bumzlist) ERC721A("PixieBumz", "BUMZ") { HORNYHOLDER_ROOT = _Hornyholder; HORNYWHALE_ROOT = _Hornywhale; HORNYLORD_ROOT = _Hornylord; BUMZLIST_ROOT = _Bumzlist; _safeMint(0x829C0F59FF906fd617F84f6790AF18f440D0C108, 1); _safeMint(0x9Fe2aB08d8A63b1D6dD6C9E55561149BDED65FD9, 1); _safeMint(0xd2D8Fa8128dF45E6Bf61B5E8173ded3535e9a6C2, 1); _safeMint(0xEdD1ca44b5A758656DF1ea03f58dB2c503426bb6, 1); _safeMint(0x0a6C431d8cc2c53A5a762E6473Df32a862D40cB9, 1); _safeMint(0x1A31A79c2FdCd8234438e232d91f30ee81040a74, 1); _safeMint(0x0b61EB1e766E95946b5741a0Ddb2e6e62CfDB4eB, 1); _safeMint(0x1Bd4f4ae1Ebc651168D02416D1814eAE6D2A352E, 1); _safeMint(0x9654dFC4D328d94cecB4152BE4B2865Ffd9eDFdB, 1); _safeMint(0xca54bBc3886384f4C4A1c3d832E7c04F4d57D980, 1); _safeMint(0x32E4941C48AfBc0c6C1248f4E2B3A57702E6Cafa, 1); _safeMint(0x7CE8998D936EA5427260e9B73121B959b7bDAcc9, 1); _safeMint(0xd83eEfad08C551698C92Ad9796595809Bd891d8c, 1); _safeMint(0x46e78E74234871bC5C0284A94C2A388a861EA090, 1); _safeMint(0xf53ED94f5FB975a5BE7Eb26a3fe6912057ff225A, 1); _safeMint(0xF01B3Cc10834F075fb62E37E3b6ed36CFEB1c88F, 1); _safeMint(0xE6e646c135d2cd437A2AeFbc401667F7d20548Db, 1); _safeMint(0xdF1ED4C64a77D80E380Bb5D3190e67ACc5C0FFea, 1); _safeMint(0x1a444C51ED230b289eF6a2164B6Dc64a090bf9d7, 1); _safeMint(0xdB912FAb7AB5FD40F17fD470573b3B999c62232c, 1); _safeMint(0xD34604aCc4e6cA8F99287251B7b6f78BF9BFEEc5, 1); _safeMint(0x86576df7526e59c3196fF68E1c18a4C9Ccc68A56, 1); _safeMint(0xB24fE968081F3424CdcBD5845A956B8983e28D78, 1); _safeMint(0x0C308c7d3D85e57bC9b07c811dc7267dcF440549, 1); _safeMint(0x744e4c1fFAf3295e3f52bf6AeE309b8A520a2b7f, 1); _safeMint(0xf6CaD61ed398289B480c916A54cAc99b3575309F, 1); _safeMint(0xC6C5a2C40a24371b7064b3dcfB98f83DB1313a8B, 1); _safeMint(0x56C03f4e9Eb2B5764908fB2C42c90783E670Af3C, 1); _safeMint(0x06Db70CC9bBa81436C6dFD5249A3f3d8bE362F29, 1); _safeMint(0x5E988A7A71296A07FAa77DE91615864BCf60931E, 1); _safeMint(0x5195682F5642EAAf42777B1559545f9b6c1E4258, 1); _safeMint(0x4c026CfAF8273ebC48e481F6Ea84AD85c2c15423, 1); _safeMint(0xB967E2D998a58316354F6cFb47579FAa85609060, 1); _safeMint(0xB8adc10EC1277feF7f04d49A7687745A5f4eDdc5, 1); _safeMint(0x3162947986982E70B2FAC2A90bA49d8657F34334, 1); _safeMint(0x972fD03661D6e75b81e3E2014aBC3aE5f6deB210, 1); _safeMint(0xbDAf6CC19801d692964F56430270248A01B638db, 1); _safeMint(0x77F00a4676844AF2C576aB240a423DCd81664c8E, 1); _safeMint(0x76dD15b5C77477904D43ed5fDA138A6F18A1d68A, 1); _safeMint(0x8Ae3b6a2F5036BcCB18F9C79E74aF5B718fE9558, 1); _safeMint(0x2FC1fBC2137859E6f0f205Ec9E4a42D5a5001D8c, 1); _safeMint(0x6c95b644b78147A716DF3C2C4AdfE494e55B871f, 1); _safeMint(0x8b45539774574B6d6BFcc12846273617C1986967, 1); _safeMint(0x7CaB7B18396d3Fe40946C0fD9399332ef474C113, 1); _safeMint(0x17Ff335E1B89CA48397A38fFE2Bb7013143d7DE6, 1); _safeMint(0x50C9De782444FcBf76b34E041865359F303904D1, 1); _safeMint(0x0907Bb13fefC50e25B0bFBB7C1Af9C2e02dbDCE7, 1); _safeMint(0xC9652bb705C24eD933267c4cF0C66B92112b7dF2, 1); _safeMint(0x89212212326727b3a836C54353F92f21f9A71614, 1); _safeMint(0xD1Ab4c2DF29277eEf2c1b3515d9AbdB2859e58DA, 1); _safeMint(0xde26eCF4bd74bb7cA4c9c08C30Fd8638b369e579, 1); _safeMint(0x329e7A5b57E877Da469C38B7bB885b2DB7ACdDFA, 1); _safeMint(0xEa548ae95BE4f5f3fd864c4F65e8c0780b508e79, 1); _safeMint(0xa2C04EDE78Df773809118C76e50C663B4D694386, 1); _safeMint(0xFb7FCF76C84DE5c2687Af28583ad1b69B7f25c9d, 1); _safeMint(0xF792499A5d46e53fa5CE840b2684E7175330c19B, 1); _safeMint(0x2D8dBc864264d041EB11D074223cc2FDbBfC41f1, 1); _safeMint(0x7B4085b43962f02846660AE0646E0533409c1df1, 1); _safeMint(0xEFBddd3070F9c89dDcb4458eB60779a6B518E202, 1); _safeMint(0xF655E23B8e53402833519B1DE7eCbD4f63D5e6ad, 1); _safeMint(0x9638056432b30206B4975ee8bdb3cE8F038Ed371, 1); _safeMint(0xe30185b81bCC9Ce290325A68c3F3748497D8A46C, 1); _safeMint(0xD2f5C2a5cD1379fA902A48dec787c8aebEDF6DE6, 1); _safeMint(0x2898f6cC2C3b2B0d5A8a2e579912323A1ACA9686, 1); _safeMint(0x99fDb1aF7389c345c6Ef06D527157a47638b879E, 1); _safeMint(0x34Efd1420B0934655880c8608baf27FE1DD37107, 1); _safeMint(0xeA867B634EB5D4c607091C0B0392DdCAa03430bF, 1); _safeMint(0x9aFEC6cbe7f7F1f6fd02BacF5289C86344A87a90, 1); _safeMint(0x70F94eeB2A15Ce4C560D1151649766576078E47B, 1); _safeMint(0x8669c51EeCE966cCAeA37e5304e29c672197E43F, 1); _safeMint(0x410ec4517517eedBf1593f46519bF36Af438C7D2, 1); _safeMint(0xb99FF2A5FEA40C621D264d6985C1960BbB206773, 1); _safeMint(0xcefBc24f9725516BDC329EDf5a300a5c03949b42, 1); _safeMint(0x5603cc70a3Cb72F3b6162688AC275e806a87E7e6, 1); _safeMint(0xD08cB9f1D35f232fD9e7F3802Fa3B01f01777670, 1); _safeMint(0x7f04c4387423c5460f0a797b79B7De2A4769567A, 1); _safeMint(0xA0B4339B50aa3fbF514b7173e6b9667D7558f9AA, 1); _safeMint(0xC3f97A825518404a2F303D7B057dd19B5B4ED63c, 1); _safeMint(0x11d51D91751969f7e4A3B71E3d9F8E0c2027Ced7, 1); _safeMint(0xd50226a48780D82a8537e8Feb1EC554cD6869be5, 1); _safeMint(0x9686ef5e52E51FA6c8bbfAcCb2Ff6b958C4625a9, 1); _safeMint(0xce62539834911eDcC4699fFC4450487d4aea5BcB, 1); _safeMint(0xDB4882F596E403Aad1DF6efAed9A1CAd39aEfcCA, 1); _safeMint(0xA4ed808e51A3Ae54712BfD39512C9c8B009cf332, 1); _safeMint(0xeE20b1A6F93882303ef00D9fA517130d9Aa6175D, 1); _safeMint(0xB82C3E63A224Ff8AB687952EDc322df55EFB7248, 1); _safeMint(0x1f810fA25ab83E6ADBd155AC1c4881d0186499e9, 1); _safeMint(0x4eE9F84FB578F392a80191ffE5F937B66Eef5699, 1); _safeMint(0x39480bd4566496ea4F283AF164f8c3eEC563d70B, 1); _safeMint(0x0002937C976286ede8BbC21D2bb35f2a80ac1af3, 1); _safeMint(0xd24930250EcceaF0A342B072A01DE11B63B024F9, 1); _safeMint(0x693Db3248B2CF07aD1562Bfdc7239731D6eA3071, 1); _safeMint(0xE6Bec70e1Bed36f1A56B5B71138eFC0738565859, 1); _safeMint(0xB2977b38b8FE38436381c2fA84462376654CF6e7, 1); _safeMint(0xBebc1E638dc8E3446800FDe3Aa2AF5f7e525250e, 1); _safeMint(0x93cCFdF78900A38Aa0Be8bE3935534249D9BAB07, 1); _safeMint(0x6A5529D7BD136A934c3A5d8Ec06D92BD46db5603, 1); _safeMint(0x146fca56b701D33E607c5223849076eaf2e00eec, 1); _safeMint(0x5281Ff3Fa12221799782B7a40046f392C83F7BCD, 1); _safeMint(0x6Ef6265b3A2866aAb07aaAD3338cd034481f9cf7, 1); _safeMint(0x5D0011e952B9653DD96b260700e5aca4A59f1696, 1); _safeMint(0xEc7BC683149717B3FBd57A3e2C44d49b35B156Dc, 1); _safeMint(0x5C9e8eec2002001E3C7fD59A947C24B979410ABD, 1); _safeMint(0x6eF4E9D4a1976547E36e48fb97CF722b4fD47953, 1); _safeMint(0x3A7A45807891758826EbE07d332641a00B4bfb5e, 1); _safeMint(0xdd614DB103f998Ff9d63E255fc3B1588882d5e11, 1); _safeMint(0x689cFB50807b38beF965F90D97965F2c0dCD396a, 1); _safeMint(0x369EEF3860061Fe441b8DB7BB9Ba1dD30A04CABa, 2); _safeMint(0x91757aaA0863b894865E5701a9a9c49E2e54e52D, 2); _safeMint(0x1f917F97394499125b7201985167f585177A4b27, 2); _safeMint(0x38BfDAB41f5184AC866A319ae10c484210C42F7f, 2); _safeMint(0x829C0F59FF906fd617F84f6790AF18f440D0C108, 1); _safeMint(0xD69AfC50B0D5cB55F388b9453A36E520080B9923, 3); _safeMint(0x735D8A1DD0b3fb3e0F394A738ec5262E48032E92, 3); _safeMint(0xcbbbB6391F86D863144c769c283f01eE10583591, 3); _safeMint(0x5ab17F0dF3b08191F510b8806BAf2d835dd50671, 3); _safeMint(0xc3E4B7F9970104BF8b9761d5577F6B85557422F9, 3); _safeMint(0x93518625d9786476ca71eF98424FE90E2Df31a66, 3); _safeMint(0x34449893757445d69252AB7DEBCd5A999a66753A, 3); _safeMint(0x1bFE5847Af93370A2684d63a9DF7B81CF1F78053, 3); _safeMint(0xa9560598DE9d53B9Ee305A090845027Ea55dc820, 3); _safeMint(0x9517DD3573A349AeCaba61b67fa22d74aB2E7460, 3); _safeMint(0x3dA60b72c9eFCDAAdB70D9ceA3a99FFd5d0FC9D0, 3); _safeMint(0xE1F53b52f441629F9B99b6c4625547fBA528DcDC, 3); _safeMint(0xc858Db9Fd379d21B49B2216e8bFC6588bE3354D7, 2); } modifier isSecured(uint256 currentValue) { require(addressBlockBought[msg.sender] < block.timestamp, "CANNOT_MINT_ON_THE_SAME_BLOCK"); require(tx.origin == msg.sender,"CONTRACTS_NOT_ALLOWED_TO_MINT"); require(msg.value == currentValue, "WRONG_ETH_VALUE"); _; } function validateMint(bool isActive, uint256 count, uint256 supply, uint256 mintedOfUser, uint256 walletLimit, uint256 txLimit, uint256 numberOfTokens, bool isProofValid) private view { require(isActive, "MINT_IS_NOT_YET_ACTIVE"); require(isProofValid, "PROOF_INVALID"); require(numberOfTokens + totalSupply() <= MAX_SUPPLY, "NOT_ENOUGH_SUPPLY"); require(numberOfTokens + count <= supply, "NOT_ENOUGH_SUPPLY"); require(mintedOfUser + numberOfTokens <= walletLimit || walletLimit == 0, "EXCEED__MINT_LIMIT"); require(numberOfTokens <= txLimit || txLimit == 0, "EXCEED_MINT_LIMIT"); } function HORNYHOLDERMint(uint256 numberOfTokens, bytes32[] memory proof) external isSecured(HORNYHOLDER_PRICE * numberOfTokens) payable { validateMint(IS_HORNYHOLDER_ACTIVE, HORNYHOLDER_COUNT, HORNYHOLDER_SUPPLY, HORNYHOLDER_Minted[msg.sender], HORNYHOLDER_WALLET_LIMIT, HORNYHOLDER_TX_LIMIT, numberOfTokens, MerkleProof.verify(proof, HORNYHOLDER_ROOT, keccak256(abi.encodePacked(msg.sender)))); addressBlockBought[msg.sender] = block.timestamp; HORNYHOLDER_Minted[msg.sender] += numberOfTokens; HORNYHOLDER_COUNT += numberOfTokens; _safeMint(msg.sender, numberOfTokens); } function HORNYWHALEMint(uint256 numberOfTokens, bytes32[] memory proof) external isSecured(HORNYWHALE_PRICE * numberOfTokens) payable { validateMint(IS_HORNYWHALE_ACTIVE, HORNYWHALE_COUNT, HORNYWHALE_SUPPLY, HORNYWHALE_Minted[msg.sender], HORNYWHALE_WALLET_LIMIT, HORNYWHALE_TX_LIMIT, numberOfTokens, MerkleProof.verify(proof, HORNYWHALE_ROOT, keccak256(abi.encodePacked(msg.sender)))); addressBlockBought[msg.sender] = block.timestamp; HORNYWHALE_Minted[msg.sender] += numberOfTokens; HORNYWHALE_COUNT += numberOfTokens; _safeMint(msg.sender, numberOfTokens); } function HORNYLORDMint(uint256 numberOfTokens, bytes32[] memory proof) external isSecured(HORNYLORD_PRICE * numberOfTokens) payable { validateMint(IS_HORNYLORD_ACTIVE, HORNYLORD_COUNT, HORNYLORD_SUPPLY, HORNYLORD_Minted[msg.sender], HORNYLORD_WALLET_LIMIT, HORNYLORD_TX_LIMIT, numberOfTokens, MerkleProof.verify(proof, HORNYLORD_ROOT, keccak256(abi.encodePacked(msg.sender)))); addressBlockBought[msg.sender] = block.timestamp; HORNYLORD_Minted[msg.sender] += numberOfTokens; HORNYLORD_COUNT += numberOfTokens; _safeMint(msg.sender, numberOfTokens); } function BUMZLISTMint(uint256 numberOfTokens, bytes32[] memory proof) external isSecured(BUMZLIST_PRICE * numberOfTokens) payable { validateMint(IS_BUMZLIST_ACTIVE, BUMZLIST_COUNT, BUMZLIST_SUPPLY, BUMZLIST_Minted[msg.sender], BUMZLIST_WALLET_LIMIT, BUMZLIST_TX_LIMIT, numberOfTokens, MerkleProof.verify(proof, BUMZLIST_ROOT, keccak256(abi.encodePacked(msg.sender)))); addressBlockBought[msg.sender] = block.timestamp; BUMZLIST_Minted[msg.sender] += numberOfTokens; BUMZLIST_COUNT += numberOfTokens; _safeMint(msg.sender, numberOfTokens); } function PUBLICMint(uint256 numberOfTokens) external isSecured(PUBLIC_PRICE * numberOfTokens) payable { validateMint(IS_PUBLIC_ACTIVE, PUBLIC_COUNT, PUBLIC_SUPPLY, PUBLIC_Minted[msg.sender], PUBLIC_WALLET_LIMIT, PUBLIC_TX_LIMIT, numberOfTokens, true); addressBlockBought[msg.sender] = block.timestamp; PUBLIC_Minted[msg.sender] += numberOfTokens; PUBLIC_COUNT += numberOfTokens; _safeMint(msg.sender, numberOfTokens); } // URI function setBaseURI(string calldata URI) external onlyOwner { baseURI = URI; } function reveal(bool revealed, string calldata _baseURI) external onlyOwner { _revealed = revealed; baseURI = _baseURI; } // LIVE TOGGLES function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (_revealed) { return string(abi.encodePacked(baseURI, Strings.toString(tokenId))); } else { return string(abi.encodePacked(preRevealURI)); } } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } // ROOT SETTERS function setHORNYHOLDERRoot(bytes32 _root) external onlyOwner { HORNYHOLDER_ROOT = _root; } function setHORNYWHALERoot(bytes32 _root) external onlyOwner { HORNYWHALE_ROOT = _root; } function setHORNYLORDRoot(bytes32 _root) external onlyOwner { HORNYLORD_ROOT = _root; } function setBUMZLISTRoot(bytes32 _root) external onlyOwner { BUMZLIST_ROOT = _root; } // TOGGLES function toggleHORNYHOLDERMintStatus() external onlyOwner { IS_HORNYHOLDER_ACTIVE = !IS_HORNYHOLDER_ACTIVE; } function toggleHORNYWHALEMintStatus() external onlyOwner { IS_HORNYWHALE_ACTIVE = !IS_HORNYWHALE_ACTIVE; } function toggleHORNYLORDMintStatus() external onlyOwner { IS_HORNYLORD_ACTIVE = !IS_HORNYLORD_ACTIVE; } function toggleBUMZLISTMintStatus() external onlyOwner { IS_BUMZLIST_ACTIVE = !IS_BUMZLIST_ACTIVE; } function togglePUBLICMintStatus() external onlyOwner { IS_PUBLIC_ACTIVE = !IS_PUBLIC_ACTIVE; } // SUPPLY CHANGERS function setHORNYHOLDERSupply(uint256 _supply) external onlyOwner { HORNYHOLDER_SUPPLY = _supply; } function setHORNYWHALESupply(uint256 _supply) external onlyOwner { HORNYWHALE_SUPPLY = _supply; } function setHORNYLORDSupply(uint256 _supply) external onlyOwner { HORNYLORD_SUPPLY = _supply; } function setBUMZLISTSupply(uint256 _supply) external onlyOwner { BUMZLIST_SUPPLY = _supply; } function setPUBLICSupply(uint256 _supply) external onlyOwner { PUBLIC_SUPPLY = _supply; } // PRICE CHANGERS function setHORNYHOLDERPrice(uint256 _price) external onlyOwner { HORNYHOLDER_PRICE = _price; } function setHORNYWHALEPrice(uint256 _price) external onlyOwner { HORNYWHALE_PRICE = _price; } function setHORNYLORDPrice(uint256 _price) external onlyOwner { HORNYLORD_PRICE = _price; } function setBUMZLISTPrice(uint256 _price) external onlyOwner { BUMZLIST_PRICE = _price; } function setPUBLICPrice(uint256 _price) external onlyOwner { PUBLIC_PRICE = _price; } // MAX SUPPLY function updateMaxSupply(uint256 _maxSupply) external onlyOwner { MAX_SUPPLY = _maxSupply; } // withdraw function withdraw() external onlyOwner { uint256 RLFee = (address(this).balance * 600) / 10000; (bool successRLTransfer, ) = payable(RL_ADDRESS).call{ value: RLFee }(""); require(successRLTransfer, "Transfer Failed!"); (bool successFinal, ) = payable(0xc858Db9Fd379d21B49B2216e8bFC6588bE3354D7).call{ value: address(this).balance }(""); require(successFinal, "Transfer Failed!"); } // OPENSEA's royalties functions function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"_Hornyholder","type":"bytes32"},{"internalType":"bytes32","name":"_Hornywhale","type":"bytes32"},{"internalType":"bytes32","name":"_Hornylord","type":"bytes32"},{"internalType":"bytes32","name":"_Bumzlist","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"BUMZLISTMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"BUMZLIST_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"BUMZLIST_Minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BUMZLIST_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BUMZLIST_ROOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BUMZLIST_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BUMZLIST_TX_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BUMZLIST_WALLET_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"HORNYHOLDERMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"HORNYHOLDER_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"HORNYHOLDER_Minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYHOLDER_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYHOLDER_ROOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYHOLDER_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYHOLDER_TX_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYHOLDER_WALLET_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"HORNYLORDMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"HORNYLORD_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"HORNYLORD_Minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYLORD_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYLORD_ROOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYLORD_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYLORD_TX_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYLORD_WALLET_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"HORNYWHALEMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"HORNYWHALE_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"HORNYWHALE_Minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYWHALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYWHALE_ROOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYWHALE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYWHALE_TX_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HORNYWHALE_WALLET_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IS_BUMZLIST_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IS_HORNYHOLDER_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IS_HORNYLORD_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IS_HORNYWHALE_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IS_PUBLIC_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"PUBLICMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"PUBLIC_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"PUBLIC_Minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_TX_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_WALLET_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RL_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"revealed","type":"bool"},{"internalType":"string","name":"_baseURI","type":"string"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setBUMZLISTPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setBUMZLISTRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setBUMZLISTSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setHORNYHOLDERPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setHORNYHOLDERRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setHORNYHOLDERSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setHORNYLORDPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setHORNYLORDRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setHORNYLORDSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setHORNYWHALEPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setHORNYWHALERoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setHORNYWHALESupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPUBLICPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setPUBLICSupply","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":[],"name":"toggleBUMZLISTMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleHORNYHOLDERMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleHORNYLORDMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleHORNYWHALEMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePUBLICMintStatus","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"updateMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526103c9600a55606a600b55600a600c556024600d55610296600e556001600f556000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff0219169083151502179055506000601060026101000a81548160ff0219169083151502179055506000601060036101000a81548160ff0219169083151502179055506000601060046101000a81548160ff0219169083151502179055506001601155600260125560036013556001601455600560155560026016556004601755600660185560016019556014601a556638d7ea4c680000601b556638d7ea4c680000601c556638d7ea4c680000601d5566470de4df820000601e55664e28e2290f0000601f55600060205560006021556000602255600060235560006024556000602e60006101000a81548160ff02191690831515021790555060405180602001604052806000815250602f908162000168919062001f98565b506040518060800160405280604c815260200162007bbc604c91396030908162000193919062001f98565b50348015620001a157600080fd5b5060405162007c0838038062007c088339818101604052810190620001c79190620020bf565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600981526020017f506978696542756d7a00000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f42554d5a0000000000000000000000000000000000000000000000000000000081525081600290816200025b919062001f98565b5080600390816200026d919062001f98565b506200027e620017d560201b60201c565b600081905550505060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200047b57801562000341576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200030792919062002176565b600060405180830381600087803b1580156200032257600080fd5b505af115801562000337573d6000803e3d6000fd5b505050506200047a565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620003fb576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620003c192919062002176565b600060405180830381600087803b158015620003dc57600080fd5b505af1158015620003f1573d6000803e3d6000fd5b5050505062000479565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620004449190620021a3565b600060405180830381600087803b1580156200045f57600080fd5b505af115801562000474573d6000803e3d6000fd5b505050505b5b5b50506200049d62000491620017da60201b60201c565b620017e260201b60201c565b600160098190555083602581905550826026819055508160278190555080602881905550620004e873829c0f59ff906fd617f84f6790af18f440d0c1086001620018a860201b60201c565b6200050f739fe2ab08d8a63b1d6dd6c9e55561149bded65fd96001620018a860201b60201c565b6200053673d2d8fa8128df45e6bf61b5e8173ded3535e9a6c26001620018a860201b60201c565b6200055d73edd1ca44b5a758656df1ea03f58db2c503426bb66001620018a860201b60201c565b62000584730a6c431d8cc2c53a5a762e6473df32a862d40cb96001620018a860201b60201c565b620005ab731a31a79c2fdcd8234438e232d91f30ee81040a746001620018a860201b60201c565b620005d2730b61eb1e766e95946b5741a0ddb2e6e62cfdb4eb6001620018a860201b60201c565b620005f9731bd4f4ae1ebc651168d02416d1814eae6d2a352e6001620018a860201b60201c565b62000620739654dfc4d328d94cecb4152be4b2865ffd9edfdb6001620018a860201b60201c565b6200064773ca54bbc3886384f4c4a1c3d832e7c04f4d57d9806001620018a860201b60201c565b6200066e7332e4941c48afbc0c6c1248f4e2b3a57702e6cafa6001620018a860201b60201c565b62000695737ce8998d936ea5427260e9b73121b959b7bdacc96001620018a860201b60201c565b620006bc73d83eefad08c551698c92ad9796595809bd891d8c6001620018a860201b60201c565b620006e37346e78e74234871bc5c0284a94c2a388a861ea0906001620018a860201b60201c565b6200070a73f53ed94f5fb975a5be7eb26a3fe6912057ff225a6001620018a860201b60201c565b6200073173f01b3cc10834f075fb62e37e3b6ed36cfeb1c88f6001620018a860201b60201c565b6200075873e6e646c135d2cd437a2aefbc401667f7d20548db6001620018a860201b60201c565b6200077f73df1ed4c64a77d80e380bb5d3190e67acc5c0ffea6001620018a860201b60201c565b620007a6731a444c51ed230b289ef6a2164b6dc64a090bf9d76001620018a860201b60201c565b620007cd73db912fab7ab5fd40f17fd470573b3b999c62232c6001620018a860201b60201c565b620007f473d34604acc4e6ca8f99287251b7b6f78bf9bfeec56001620018a860201b60201c565b6200081b7386576df7526e59c3196ff68e1c18a4c9ccc68a566001620018a860201b60201c565b6200084273b24fe968081f3424cdcbd5845a956b8983e28d786001620018a860201b60201c565b62000869730c308c7d3d85e57bc9b07c811dc7267dcf4405496001620018a860201b60201c565b6200089073744e4c1ffaf3295e3f52bf6aee309b8a520a2b7f6001620018a860201b60201c565b620008b773f6cad61ed398289b480c916a54cac99b3575309f6001620018a860201b60201c565b620008de73c6c5a2c40a24371b7064b3dcfb98f83db1313a8b6001620018a860201b60201c565b620009057356c03f4e9eb2b5764908fb2c42c90783e670af3c6001620018a860201b60201c565b6200092c7306db70cc9bba81436c6dfd5249a3f3d8be362f296001620018a860201b60201c565b62000953735e988a7a71296a07faa77de91615864bcf60931e6001620018a860201b60201c565b6200097a735195682f5642eaaf42777b1559545f9b6c1e42586001620018a860201b60201c565b620009a1734c026cfaf8273ebc48e481f6ea84ad85c2c154236001620018a860201b60201c565b620009c873b967e2d998a58316354f6cfb47579faa856090606001620018a860201b60201c565b620009ef73b8adc10ec1277fef7f04d49a7687745a5f4eddc56001620018a860201b60201c565b62000a16733162947986982e70b2fac2a90ba49d8657f343346001620018a860201b60201c565b62000a3d73972fd03661d6e75b81e3e2014abc3ae5f6deb2106001620018a860201b60201c565b62000a6473bdaf6cc19801d692964f56430270248a01b638db6001620018a860201b60201c565b62000a8b7377f00a4676844af2c576ab240a423dcd81664c8e6001620018a860201b60201c565b62000ab27376dd15b5c77477904d43ed5fda138a6f18a1d68a6001620018a860201b60201c565b62000ad9738ae3b6a2f5036bccb18f9c79e74af5b718fe95586001620018a860201b60201c565b62000b00732fc1fbc2137859e6f0f205ec9e4a42d5a5001d8c6001620018a860201b60201c565b62000b27736c95b644b78147a716df3c2c4adfe494e55b871f6001620018a860201b60201c565b62000b4e738b45539774574b6d6bfcc12846273617c19869676001620018a860201b60201c565b62000b75737cab7b18396d3fe40946c0fd9399332ef474c1136001620018a860201b60201c565b62000b9c7317ff335e1b89ca48397a38ffe2bb7013143d7de66001620018a860201b60201c565b62000bc37350c9de782444fcbf76b34e041865359f303904d16001620018a860201b60201c565b62000bea730907bb13fefc50e25b0bfbb7c1af9c2e02dbdce76001620018a860201b60201c565b62000c1173c9652bb705c24ed933267c4cf0c66b92112b7df26001620018a860201b60201c565b62000c387389212212326727b3a836c54353f92f21f9a716146001620018a860201b60201c565b62000c5f73d1ab4c2df29277eef2c1b3515d9abdb2859e58da6001620018a860201b60201c565b62000c8673de26ecf4bd74bb7ca4c9c08c30fd8638b369e5796001620018a860201b60201c565b62000cad73329e7a5b57e877da469c38b7bb885b2db7acddfa6001620018a860201b60201c565b62000cd473ea548ae95be4f5f3fd864c4f65e8c0780b508e796001620018a860201b60201c565b62000cfb73a2c04ede78df773809118c76e50c663b4d6943866001620018a860201b60201c565b62000d2273fb7fcf76c84de5c2687af28583ad1b69b7f25c9d6001620018a860201b60201c565b62000d4973f792499a5d46e53fa5ce840b2684e7175330c19b6001620018a860201b60201c565b62000d70732d8dbc864264d041eb11d074223cc2fdbbfc41f16001620018a860201b60201c565b62000d97737b4085b43962f02846660ae0646e0533409c1df16001620018a860201b60201c565b62000dbe73efbddd3070f9c89ddcb4458eb60779a6b518e2026001620018a860201b60201c565b62000de573f655e23b8e53402833519b1de7ecbd4f63d5e6ad6001620018a860201b60201c565b62000e0c739638056432b30206b4975ee8bdb3ce8f038ed3716001620018a860201b60201c565b62000e3373e30185b81bcc9ce290325a68c3f3748497d8a46c6001620018a860201b60201c565b62000e5a73d2f5c2a5cd1379fa902a48dec787c8aebedf6de66001620018a860201b60201c565b62000e81732898f6cc2c3b2b0d5a8a2e579912323a1aca96866001620018a860201b60201c565b62000ea87399fdb1af7389c345c6ef06d527157a47638b879e6001620018a860201b60201c565b62000ecf7334efd1420b0934655880c8608baf27fe1dd371076001620018a860201b60201c565b62000ef673ea867b634eb5d4c607091c0b0392ddcaa03430bf6001620018a860201b60201c565b62000f1d739afec6cbe7f7f1f6fd02bacf5289c86344a87a906001620018a860201b60201c565b62000f447370f94eeb2a15ce4c560d1151649766576078e47b6001620018a860201b60201c565b62000f6b738669c51eece966ccaea37e5304e29c672197e43f6001620018a860201b60201c565b62000f9273410ec4517517eedbf1593f46519bf36af438c7d26001620018a860201b60201c565b62000fb973b99ff2a5fea40c621d264d6985c1960bbb2067736001620018a860201b60201c565b62000fe073cefbc24f9725516bdc329edf5a300a5c03949b426001620018a860201b60201c565b62001007735603cc70a3cb72f3b6162688ac275e806a87e7e66001620018a860201b60201c565b6200102e73d08cb9f1d35f232fd9e7f3802fa3b01f017776706001620018a860201b60201c565b62001055737f04c4387423c5460f0a797b79b7de2a4769567a6001620018a860201b60201c565b6200107c73a0b4339b50aa3fbf514b7173e6b9667d7558f9aa6001620018a860201b60201c565b620010a373c3f97a825518404a2f303d7b057dd19b5b4ed63c6001620018a860201b60201c565b620010ca7311d51d91751969f7e4a3b71e3d9f8e0c2027ced76001620018a860201b60201c565b620010f173d50226a48780d82a8537e8feb1ec554cd6869be56001620018a860201b60201c565b62001118739686ef5e52e51fa6c8bbfaccb2ff6b958c4625a96001620018a860201b60201c565b6200113f73ce62539834911edcc4699ffc4450487d4aea5bcb6001620018a860201b60201c565b6200116673db4882f596e403aad1df6efaed9a1cad39aefcca6001620018a860201b60201c565b6200118d73a4ed808e51a3ae54712bfd39512c9c8b009cf3326001620018a860201b60201c565b620011b473ee20b1a6f93882303ef00d9fa517130d9aa6175d6001620018a860201b60201c565b620011db73b82c3e63a224ff8ab687952edc322df55efb72486001620018a860201b60201c565b62001202731f810fa25ab83e6adbd155ac1c4881d0186499e96001620018a860201b60201c565b62001229734ee9f84fb578f392a80191ffe5f937b66eef56996001620018a860201b60201c565b620012507339480bd4566496ea4f283af164f8c3eec563d70b6001620018a860201b60201c565b620012767202937c976286ede8bbc21d2bb35f2a80ac1af36001620018a860201b60201c565b6200129d73d24930250ecceaf0a342b072a01de11b63b024f96001620018a860201b60201c565b620012c473693db3248b2cf07ad1562bfdc7239731d6ea30716001620018a860201b60201c565b620012eb73e6bec70e1bed36f1a56b5b71138efc07385658596001620018a860201b60201c565b6200131273b2977b38b8fe38436381c2fa84462376654cf6e76001620018a860201b60201c565b6200133973bebc1e638dc8e3446800fde3aa2af5f7e525250e6001620018a860201b60201c565b620013607393ccfdf78900a38aa0be8be3935534249d9bab076001620018a860201b60201c565b62001387736a5529d7bd136a934c3a5d8ec06d92bd46db56036001620018a860201b60201c565b620013ae73146fca56b701d33e607c5223849076eaf2e00eec6001620018a860201b60201c565b620013d5735281ff3fa12221799782b7a40046f392c83f7bcd6001620018a860201b60201c565b620013fc736ef6265b3a2866aab07aaad3338cd034481f9cf76001620018a860201b60201c565b62001423735d0011e952b9653dd96b260700e5aca4a59f16966001620018a860201b60201c565b6200144a73ec7bc683149717b3fbd57a3e2c44d49b35b156dc6001620018a860201b60201c565b62001471735c9e8eec2002001e3c7fd59a947c24b979410abd6001620018a860201b60201c565b62001498736ef4e9d4a1976547e36e48fb97cf722b4fd479536001620018a860201b60201c565b620014bf733a7a45807891758826ebe07d332641a00b4bfb5e6001620018a860201b60201c565b620014e673dd614db103f998ff9d63e255fc3b1588882d5e116001620018a860201b60201c565b6200150d73689cfb50807b38bef965f90d97965f2c0dcd396a6001620018a860201b60201c565b6200153473369eef3860061fe441b8db7bb9ba1dd30a04caba6002620018a860201b60201c565b6200155b7391757aaa0863b894865e5701a9a9c49e2e54e52d6002620018a860201b60201c565b62001582731f917f97394499125b7201985167f585177a4b276002620018a860201b60201c565b620015a97338bfdab41f5184ac866a319ae10c484210c42f7f6002620018a860201b60201c565b620015d073829c0f59ff906fd617f84f6790af18f440d0c1086001620018a860201b60201c565b620015f773d69afc50b0d5cb55f388b9453a36e520080b99236003620018a860201b60201c565b6200161e73735d8a1dd0b3fb3e0f394a738ec5262e48032e926003620018a860201b60201c565b6200164573cbbbb6391f86d863144c769c283f01ee105835916003620018a860201b60201c565b6200166c735ab17f0df3b08191f510b8806baf2d835dd506716003620018a860201b60201c565b6200169373c3e4b7f9970104bf8b9761d5577f6b85557422f96003620018a860201b60201c565b620016ba7393518625d9786476ca71ef98424fe90e2df31a666003620018a860201b60201c565b620016e17334449893757445d69252ab7debcd5a999a66753a6003620018a860201b60201c565b62001708731bfe5847af93370a2684d63a9df7b81cf1f780536003620018a860201b60201c565b6200172f73a9560598de9d53b9ee305a090845027ea55dc8206003620018a860201b60201c565b62001756739517dd3573a349aecaba61b67fa22d74ab2e74606003620018a860201b60201c565b6200177d733da60b72c9efcdaadb70d9cea3a99ffd5d0fc9d06003620018a860201b60201c565b620017a473e1f53b52f441629f9b99b6c4625547fba528dcdc6003620018a860201b60201c565b620017cb73c858db9fd379d21b49b2216e8bfc6588be3354d76002620018a860201b60201c565b505050506200234e565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620018ca828260405180602001604052806000815250620018ce60201b60201c565b5050565b6000805490506000620018e78562001b9560201b60201c565b036200191f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083036200195a576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200196f600085838662001b9f60201b60201c565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1620019dc6001851462001ba560201b60201c565b901b60a042901b620019f48662001b9560201b60201c565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b1462001b05575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a462001ab1600087848060010195508762001baf60201b60201c565b62001ae8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821062001a3a57826000541462001aff57600080fd5b62001b71565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821062001b06575b81600081905550505062001b8f600085838662001d1060201b60201c565b50505050565b6000819050919050565b50505050565b6000819050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262001bdd62001d1660201b60201c565b8786866040518563ffffffff1660e01b815260040162001c0194939291906200226b565b6020604051808303816000875af192505050801562001c4057506040513d601f19601f8201168201806040525081019062001c3d91906200231c565b60015b62001cbd573d806000811462001c73576040519150601f19603f3d011682016040523d82523d6000602084013e62001c78565b606091505b50600081510362001cb5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b600033905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062001da057607f821691505b60208210810362001db65762001db562001d58565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262001e207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262001de1565b62001e2c868362001de1565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062001e7962001e7362001e6d8462001e44565b62001e4e565b62001e44565b9050919050565b6000819050919050565b62001e958362001e58565b62001ead62001ea48262001e80565b84845462001dee565b825550505050565b600090565b62001ec462001eb5565b62001ed181848462001e8a565b505050565b5b8181101562001ef95762001eed60008262001eba565b60018101905062001ed7565b5050565b601f82111562001f485762001f128162001dbc565b62001f1d8462001dd1565b8101602085101562001f2d578190505b62001f4562001f3c8562001dd1565b83018262001ed6565b50505b505050565b600082821c905092915050565b600062001f6d6000198460080262001f4d565b1980831691505092915050565b600062001f88838362001f5a565b9150826002028217905092915050565b62001fa38262001d1e565b67ffffffffffffffff81111562001fbf5762001fbe62001d29565b5b62001fcb825462001d87565b62001fd882828562001efd565b600060209050601f83116001811462002010576000841562001ffb578287015190505b62002007858262001f7a565b86555062002077565b601f198416620020208662001dbc565b60005b828110156200204a5784890151825560018201915060208501945060208101905062002023565b868310156200206a578489015162002066601f89168262001f5a565b8355505b6001600288020188555050505b505050505050565b600080fd5b6000819050919050565b620020998162002084565b8114620020a557600080fd5b50565b600081519050620020b9816200208e565b92915050565b60008060008060808587031215620020dc57620020db6200207f565b5b6000620020ec87828801620020a8565b9450506020620020ff87828801620020a8565b93505060406200211287828801620020a8565b92505060606200212587828801620020a8565b91505092959194509250565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200215e8262002131565b9050919050565b620021708162002151565b82525050565b60006040820190506200218d600083018562002165565b6200219c602083018462002165565b9392505050565b6000602082019050620021ba600083018462002165565b92915050565b620021cb8162001e44565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b838110156200220d578082015181840152602081019050620021f0565b60008484015250505050565b6000601f19601f8301169050919050565b60006200223782620021d1565b620022438185620021dc565b935062002255818560208601620021ed565b620022608162002219565b840191505092915050565b600060808201905062002282600083018762002165565b62002291602083018662002165565b620022a06040830185620021c0565b8181036060830152620022b481846200222a565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620022f681620022bf565b81146200230257600080fd5b50565b6000815190506200231681620022eb565b92915050565b6000602082840312156200233557620023346200207f565b5b6000620023458482850162002305565b91505092915050565b61585e806200235e6000396000f3fe6080604052600436106104cb5760003560e01c80638094913911610276578063bd39cf451161014f578063dfb10a48116100c1578063e985e9c511610085578063e985e9c51461125b578063ecbee36214611298578063ed13b03a146112c3578063f103b433146112ee578063f11b818914611317578063f2fde38b14611342576104cb565b8063dfb10a4814611172578063e080f6951461119d578063e279a8f5146111c8578063e5c54716146111f3578063e840184c14611230576104cb565b8063c87b56dd11610113578063c87b56dd1461104e578063c8f109d41461108b578063cd925774146110b4578063cfcc7aa8146110df578063d80f1b6d1461110a578063dc33e68114611135576104cb565b8063bd39cf4514610f79578063bd70b45814610fa2578063c214cfbe14610fcd578063c4594e7814610ff8578063c600af6614611023576104cb565b8063a101ff6d116101e8578063aeeb528d116101ac578063aeeb528d14610e6b578063b3ecc22d14610e96578063b88d4fde14610ed3578063ba893ddd14610efc578063baef3a1614610f39578063bbc328bb14610f50576104cb565b8063a101ff6d14610da9578063a14fe89914610dd2578063a22cb46514610dee578063a5bf574a14610e17578063acafa0f814610e42576104cb565b80638da5cb5b1161023a5780638da5cb5b14610ccf5780639109bbff14610cfa57806395d89b4114610d115780639ba6c6a814610d3c5780639e7e026014610d675780639fb6c21814610d92576104cb565b80638094913914610bf85780638342083a14610c2357806384e9fd4f14610c4e5780638a32ce5a14610c795780638ab7d0ac14610ca4576104cb565b80633ccfd60b116103a85780635723b9501161031a578063702fa958116102de578063702fa95814610b1d57806370a0823114610b46578063715018a614610b8357806373413e5f14610b9a5780637475832e14610bb1578063799e63f714610bcd576104cb565b80635723b95014610a455780635d8231c014610a6e578063611f3f1014610a8a5780636352211e14610ab55780636ebeac8514610af2576104cb565b806342b7fe0f1161036c57806342b7fe0f1461095d57806347024ceb146109745780634715fbc51461099f5780635369d3b2146109c857806355b8b183146109f157806355f804b314610a1c576104cb565b80633ccfd60b146108a05780633ffb24d3146108b757806340ba8893146108e2578063417473ae1461090b57806342842e0e14610934576104cb565b8063221a02c2116104415780632c75f1f0116104055780632c75f1f01461079f57806332cb6b0c146107c857806332d66721146107f3578063354ede7c14610830578063356bfb7e1461085b57806336b2bd8f14610884576104cb565b8063221a02c2146106cc57806323b872dd146106f7578063261de9be146107205780632ab949871461074b5780632bee80e214610776576104cb565b80630af7cb89116104935780630af7cb89146105c95780630f76c93b14610606578063110045091461062257806318160ddd1461064b5780631818746a14610676578063219013a9146106a1576104cb565b806301ffc9a7146104d05780630563a4af1461050d57806306fdde0314610538578063081812fc14610563578063095ea7b3146105a0575b600080fd5b3480156104dc57600080fd5b506104f760048036038101906104f2919061439e565b61136b565b60405161050491906143e6565b60405180910390f35b34801561051957600080fd5b506105226113fd565b60405161052f919061441a565b60405180910390f35b34801561054457600080fd5b5061054d611403565b60405161055a91906144c5565b60405180910390f35b34801561056f57600080fd5b5061058a60048036038101906105859190614513565b611495565b6040516105979190614581565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c291906145c8565b611511565b005b3480156105d557600080fd5b506105f060048036038101906105eb9190614608565b61161b565b6040516105fd919061441a565b60405180910390f35b610620600480360381019061061b91906147b3565b611633565b005b34801561062e57600080fd5b5061064960048036038101906106449190614513565b6118cc565b005b34801561065757600080fd5b506106606118de565b60405161066d919061441a565b60405180910390f35b34801561068257600080fd5b5061068b6118f5565b60405161069891906143e6565b60405180910390f35b3480156106ad57600080fd5b506106b6611908565b6040516106c391906143e6565b60405180910390f35b3480156106d857600080fd5b506106e161191b565b6040516106ee919061441a565b60405180910390f35b34801561070357600080fd5b5061071e6004803603810190610719919061480f565b611921565b005b34801561072c57600080fd5b50610735611a71565b604051610742919061441a565b60405180910390f35b34801561075757600080fd5b50610760611a77565b60405161076d919061441a565b60405180910390f35b34801561078257600080fd5b5061079d60048036038101906107989190614513565b611a7d565b005b3480156107ab57600080fd5b506107c660048036038101906107c19190614513565b611a8f565b005b3480156107d457600080fd5b506107dd611aa1565b6040516107ea919061441a565b60405180910390f35b3480156107ff57600080fd5b5061081a60048036038101906108159190614608565b611aa7565b604051610827919061441a565b60405180910390f35b34801561083c57600080fd5b50610845611abf565b604051610852919061441a565b60405180910390f35b34801561086757600080fd5b50610882600480360381019061087d9190614513565b611ac5565b005b61089e600480360381019061089991906147b3565b611ad7565b005b3480156108ac57600080fd5b506108b5611d70565b005b3480156108c357600080fd5b506108cc611f1c565b6040516108d99190614581565b60405180910390f35b3480156108ee57600080fd5b5061090960048036038101906109049190614862565b611f34565b005b34801561091757600080fd5b50610932600480360381019061092d9190614862565b611f46565b005b34801561094057600080fd5b5061095b6004803603810190610956919061480f565b611f58565b005b34801561096957600080fd5b506109726120a8565b005b34801561098057600080fd5b506109896120dc565b604051610996919061441a565b60405180910390f35b3480156109ab57600080fd5b506109c660048036038101906109c19190614513565b6120e2565b005b3480156109d457600080fd5b506109ef60048036038101906109ea9190614862565b6120f4565b005b3480156109fd57600080fd5b50610a06612106565b604051610a13919061441a565b60405180910390f35b348015610a2857600080fd5b50610a436004803603810190610a3e91906148ea565b61210c565b005b348015610a5157600080fd5b50610a6c6004803603810190610a679190614513565b61212a565b005b610a886004803603810190610a8391906147b3565b61213c565b005b348015610a9657600080fd5b50610a9f6123d5565b604051610aac919061441a565b60405180910390f35b348015610ac157600080fd5b50610adc6004803603810190610ad79190614513565b6123db565b604051610ae99190614581565b60405180910390f35b348015610afe57600080fd5b50610b076123ed565b604051610b1491906143e6565b60405180910390f35b348015610b2957600080fd5b50610b446004803603810190610b3f9190614513565b612400565b005b348015610b5257600080fd5b50610b6d6004803603810190610b689190614608565b612412565b604051610b7a919061441a565b60405180910390f35b348015610b8f57600080fd5b50610b986124a6565b005b348015610ba657600080fd5b50610baf6124ba565b005b610bcb6004803603810190610bc69190614513565b6124ee565b005b348015610bd957600080fd5b50610be2612755565b604051610bef919061441a565b60405180910390f35b348015610c0457600080fd5b50610c0d61275b565b604051610c1a919061441a565b60405180910390f35b348015610c2f57600080fd5b50610c38612761565b604051610c45919061441a565b60405180910390f35b348015610c5a57600080fd5b50610c63612767565b604051610c70919061441a565b60405180910390f35b348015610c8557600080fd5b50610c8e61276d565b604051610c9b919061441a565b60405180910390f35b348015610cb057600080fd5b50610cb9612773565b604051610cc6919061441a565b60405180910390f35b348015610cdb57600080fd5b50610ce4612779565b604051610cf19190614581565b60405180910390f35b348015610d0657600080fd5b50610d0f6127a3565b005b348015610d1d57600080fd5b50610d266127d7565b604051610d3391906144c5565b60405180910390f35b348015610d4857600080fd5b50610d51612869565b604051610d5e9190614946565b60405180910390f35b348015610d7357600080fd5b50610d7c61286f565b604051610d8991906143e6565b60405180910390f35b348015610d9e57600080fd5b50610da7612882565b005b348015610db557600080fd5b50610dd06004803603810190610dcb919061498d565b6128b6565b005b610dec6004803603810190610de791906147b3565b6128ef565b005b348015610dfa57600080fd5b50610e156004803603810190610e1091906149ed565b612b88565b005b348015610e2357600080fd5b50610e2c612c92565b604051610e39919061441a565b60405180910390f35b348015610e4e57600080fd5b50610e696004803603810190610e649190614513565b612c98565b005b348015610e7757600080fd5b50610e80612caa565b604051610e8d919061441a565b60405180910390f35b348015610ea257600080fd5b50610ebd6004803603810190610eb89190614608565b612cb0565b604051610eca919061441a565b60405180910390f35b348015610edf57600080fd5b50610efa6004803603810190610ef59190614ae2565b612cc8565b005b348015610f0857600080fd5b50610f236004803603810190610f1e9190614608565b612e1b565b604051610f30919061441a565b60405180910390f35b348015610f4557600080fd5b50610f4e612e33565b005b348015610f5c57600080fd5b50610f776004803603810190610f729190614513565b612e67565b005b348015610f8557600080fd5b50610fa06004803603810190610f9b9190614862565b612e79565b005b348015610fae57600080fd5b50610fb7612e8b565b604051610fc4919061441a565b60405180910390f35b348015610fd957600080fd5b50610fe2612e91565b604051610fef919061441a565b60405180910390f35b34801561100457600080fd5b5061100d612e97565b60405161101a919061441a565b60405180910390f35b34801561102f57600080fd5b50611038612e9d565b60405161104591906143e6565b60405180910390f35b34801561105a57600080fd5b5061107560048036038101906110709190614513565b612eb0565b60405161108291906144c5565b60405180910390f35b34801561109757600080fd5b506110b260048036038101906110ad9190614513565b612f22565b005b3480156110c057600080fd5b506110c9612f34565b6040516110d6919061441a565b60405180910390f35b3480156110eb57600080fd5b506110f4612f3a565b6040516111019190614946565b60405180910390f35b34801561111657600080fd5b5061111f612f40565b60405161112c9190614946565b60405180910390f35b34801561114157600080fd5b5061115c60048036038101906111579190614608565b612f46565b604051611169919061441a565b60405180910390f35b34801561117e57600080fd5b50611187612f58565b604051611194919061441a565b60405180910390f35b3480156111a957600080fd5b506111b2612f5e565b6040516111bf9190614946565b60405180910390f35b3480156111d457600080fd5b506111dd612f64565b6040516111ea919061441a565b60405180910390f35b3480156111ff57600080fd5b5061121a60048036038101906112159190614608565b612f6a565b604051611227919061441a565b60405180910390f35b34801561123c57600080fd5b50611245612f82565b604051611252919061441a565b60405180910390f35b34801561126757600080fd5b50611282600480360381019061127d9190614b65565b612f88565b60405161128f91906143e6565b60405180910390f35b3480156112a457600080fd5b506112ad61301c565b6040516112ba919061441a565b60405180910390f35b3480156112cf57600080fd5b506112d8613022565b6040516112e5919061441a565b60405180910390f35b3480156112fa57600080fd5b5061131560048036038101906113109190614513565b613028565b005b34801561132357600080fd5b5061132c61303a565b60405161133991906143e6565b60405180910390f35b34801561134e57600080fd5b5061136960048036038101906113649190614608565b61304d565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806113c657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806113f65750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60155481565b60606002805461141290614bd4565b80601f016020809104026020016040519081016040528092919081815260200182805461143e90614bd4565b801561148b5780601f106114605761010080835404028352916020019161148b565b820191906000526020600020905b81548152906001019060200180831161146e57829003601f168201915b5050505050905090565b60006114a0826130d0565b6114d6576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561160c576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611589929190614c05565b602060405180830381865afa1580156115a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ca9190614c43565b61160b57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016116029190614581565b60405180910390fd5b5b611616838361312f565b505050565b602d6020528060005260406000206000915090505481565b81601d546116419190614c9f565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106116c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b990614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790614d99565b60405180910390fd5b803414611772576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176990614e05565b60405180910390fd5b61180a601060029054906101000a900460ff16602254600d54602b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601854601354896118058a602754336040516020016117ea9190614e6d565b604051602081830303815290604052805190602001206132d5565b6132ec565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082602b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461189d9190614e88565b9250508190555082602260008282546118b69190614e88565b925050819055506118c733846134c2565b505050565b6118d46134e0565b80601d8190555050565b60006118e861355e565b6001546000540303905090565b601060019054906101000a900460ff1681565b601060039054906101000a900460ff1681565b601c5481565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611a5f573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119935761198e848484613563565b611a6b565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016119dc929190614c05565b602060405180830381865afa1580156119f9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1d9190614c43565b611a5e57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611a559190614581565b60405180910390fd5b5b611a6a848484613563565b5b50505050565b60225481565b601b5481565b611a856134e0565b80600e8190555050565b611a976134e0565b80600d8190555050565b600a5481565b60296020528060005260406000206000915090505481565b60185481565b611acd6134e0565b80601e8190555050565b81601b54611ae59190614c9f565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d90614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611bd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcb90614d99565b60405180910390fd5b803414611c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0d90614e05565b60405180910390fd5b611cae601060009054906101000a900460ff16602054600b54602960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460165460115489611ca98a60255433604051602001611c8e9190614e6d565b604051602081830303815290604052805190602001206132d5565b6132ec565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082602960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d419190614e88565b925050819055508260206000828254611d5a9190614e88565b92505081905550611d6b33846134c2565b505050565b611d786134e0565b600061271061025847611d8b9190614c9f565b611d959190614eeb565b9050600073c9b5553910ba47719e0202ff9f617b8be06b3a0973ffffffffffffffffffffffffffffffffffffffff1682604051611dd190614f4d565b60006040518083038185875af1925050503d8060008114611e0e576040519150601f19603f3d011682016040523d82523d6000602084013e611e13565b606091505b5050905080611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90614fae565b60405180910390fd5b600073c858db9fd379d21b49b2216e8bfc6588be3354d773ffffffffffffffffffffffffffffffffffffffff1647604051611e9190614f4d565b60006040518083038185875af1925050503d8060008114611ece576040519150601f19603f3d011682016040523d82523d6000602084013e611ed3565b606091505b5050905080611f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0e90614fae565b60405180910390fd5b505050565b73c9b5553910ba47719e0202ff9f617b8be06b3a0981565b611f3c6134e0565b8060278190555050565b611f4e6134e0565b8060268190555050565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612096573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611fca57611fc5848484613573565b6120a2565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401612013929190614c05565b602060405180830381865afa158015612030573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120549190614c43565b61209557336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161208c9190614581565b60405180910390fd5b5b6120a1848484613573565b5b50505050565b6120b06134e0565b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b60115481565b6120ea6134e0565b80601f8190555050565b6120fc6134e0565b8060288190555050565b60235481565b6121146134e0565b8181602f9182612125929190615185565b505050565b6121326134e0565b80600b8190555050565b81601c5461214a9190614c9f565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106121cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c290614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223090614d99565b60405180910390fd5b80341461227b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227290614e05565b60405180910390fd5b612313601060019054906101000a900460ff16602154600c54602a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546017546012548961230e8a602654336040516020016122f39190614e6d565b604051602081830303815290604052805190602001206132d5565b6132ec565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082602a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123a69190614e88565b9250508190555082602160008282546123bf9190614e88565b925050819055506123d033846134c2565b505050565b601f5481565b60006123e682613593565b9050919050565b602e60009054906101000a900460ff1681565b6124086134e0565b80600f8190555050565b60008061241e8361365f565b03612455576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6124ae6134e0565b6124b86000613669565b565b6124c26134e0565b601060039054906101000a900460ff1615601060036101000a81548160ff021916908315150217905550565b80601f546124fc9190614c9f565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061257d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257490614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146125eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e290614d99565b60405180910390fd5b80341461262d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262490614e05565b60405180910390fd5b612694601060049054906101000a900460ff16602454600f54602d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601a546015548860016132ec565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081602d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127279190614e88565b9250508190555081602460008282546127409190614e88565b9250508190555061275133836134c2565b5050565b60135481565b601a5481565b600f5481565b600d5481565b60215481565b60195481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6127ab6134e0565b601060029054906101000a900460ff1615601060026101000a81548160ff021916908315150217905550565b6060600380546127e690614bd4565b80601f016020809104026020016040519081016040528092919081815260200182805461281290614bd4565b801561285f5780601f106128345761010080835404028352916020019161285f565b820191906000526020600020905b81548152906001019060200180831161284257829003601f168201915b5050505050905090565b60255481565b601060029054906101000a900460ff1681565b61288a6134e0565b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6128be6134e0565b82602e60006101000a81548160ff0219169083151502179055508181602f91826128e9929190615185565b50505050565b81601e546128fd9190614c9f565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061297e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297590614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e390614d99565b60405180910390fd5b803414612a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2590614e05565b60405180910390fd5b612ac6601060039054906101000a900460ff16602354600e54602c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460195460145489612ac18a60285433604051602001612aa69190614e6d565b604051602081830303815290604052805190602001206132d5565b6132ec565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082602c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b599190614e88565b925050819055508260236000828254612b729190614e88565b92505081905550612b8333846134c2565b505050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612c83576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612c00929190614c05565b602060405180830381865afa158015612c1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c419190614c43565b612c8257806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401612c799190614581565b60405180910390fd5b5b612c8d838361372f565b505050565b60205481565b612ca06134e0565b80601b8190555050565b60145481565b602a6020528060005260406000206000915090505481565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612e07573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612d3b57612d36858585856138a6565b612e14565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401612d84929190614c05565b602060405180830381865afa158015612da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc59190614c43565b612e0657336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401612dfd9190614581565b60405180910390fd5b5b612e13858585856138a6565b5b5050505050565b602b6020528060005260406000206000915090505481565b612e3b6134e0565b601060049054906101000a900460ff1615601060046101000a81548160ff021916908315150217905550565b612e6f6134e0565b80601c8190555050565b612e816134e0565b8060258190555050565b60245481565b600e5481565b600c5481565b601060049054906101000a900460ff1681565b6060602e60009054906101000a900460ff1615612ef957602f612ed283613919565b604051602001612ee3929190615314565b6040516020818303038152906040529050612f1d565b6030604051602001612f0b9190615338565b60405160208183030381529060405290505b919050565b612f2a6134e0565b80600c8190555050565b60165481565b60265481565b60275481565b6000612f5182613a79565b9050919050565b601d5481565b60285481565b60125481565b602c6020528060005260406000206000915090505481565b600b5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60175481565b601e5481565b6130306134e0565b80600a8190555050565b601060009054906101000a900460ff1681565b6130556134e0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036130c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130bb906153c1565b60405180910390fd5b6130cd81613669565b50565b6000816130db61355e565b111580156130ea575060005482105b8015613128575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600061313a82613593565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036131a1576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166131c0613ad0565b73ffffffffffffffffffffffffffffffffffffffff1614613223576131ec816131e7613ad0565b612f88565b613222576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000826132e28584613ad8565b1490509392505050565b8761332c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133239061542d565b60405180910390fd5b8061336c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336390615499565b60405180910390fd5b600a546133776118de565b836133829190614e88565b11156133c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ba90615505565b60405180910390fd5b8587836133d09190614e88565b1115613411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340890615505565b60405180910390fd5b83828661341e9190614e88565b11158061342b5750600084145b61346a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346190615571565b60405180910390fd5b82821115806134795750600083145b6134b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134af906155dd565b60405180910390fd5b5050505050505050565b6134dc828260405180602001604052806000815250613b2e565b5050565b6134e8613dbd565b73ffffffffffffffffffffffffffffffffffffffff16613506612779565b73ffffffffffffffffffffffffffffffffffffffff161461355c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355390615649565b60405180910390fd5b565b600090565b61356e838383613dc5565b505050565b61358e83838360405180602001604052806000815250612cc8565b505050565b600080829050806135a261355e565b11613628576000548110156136275760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603613625575b6000810361361b5760046000836001900393508381526020019081526020016000205490506135f1565b809250505061365a565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000819050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613737613ad0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361379b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006137a8613ad0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16613855613ad0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161389a91906143e6565b60405180910390a35050565b6138b1848484613dc5565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613913576138dc8484848461418a565b613912576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606060008203613960576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613a74565b600082905060005b6000821461399257808061397b90615669565b915050600a8261398b9190614eeb565b9150613968565b60008167ffffffffffffffff8111156139ae576139ad61463a565b5b6040519080825280601f01601f1916602001820160405280156139e05781602001600182028036833780820191505090505b5090505b60008514613a6d576001826139f991906156b1565b9150600a85613a0891906156e5565b6030613a149190614e88565b60f81b818381518110613a2a57613a29615716565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613a669190614eeb565b94506139e4565b8093505050505b919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600033905090565b60008082905060005b8451811015613b2357613b0e82868381518110613b0157613b00615716565b5b60200260200101516142da565b91508080613b1b90615669565b915050613ae1565b508091505092915050565b6000805490506000613b3f8561365f565b03613b76576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303613bb0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613bbd6000858386614305565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1613c226001851461430b565b901b60a042901b613c328661365f565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14613d36575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613ce6600087848060010195508761418a565b613d1c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210613c77578260005414613d3157600080fd5b613da1565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613d37575b816000819055505050613db76000858386614315565b50505050565b600033905090565b6000613dd082613593565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614613e37576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff16613e90613ad0565b73ffffffffffffffffffffffffffffffffffffffff161480613ebf5750613ebe86613eb9613ad0565b612f88565b5b80613efc5750613ecd613ad0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905080613f35576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000613f408661365f565b03613f77576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613f848686866001614305565b6000613f8f8361365f565b14613fcb576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6140928761365f565b1717600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361411a5760006001850190506000600460008381526020019081526020016000205403614118576000548114614117578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46141828686866001614315565b505050505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026141b0613ad0565b8786866040518563ffffffff1660e01b81526004016141d2949392919061579a565b6020604051808303816000875af192505050801561420e57506040513d601f19601f8201168201806040525081019061420b91906157fb565b60015b614287573d806000811461423e576040519150601f19603f3d011682016040523d82523d6000602084013e614243565b606091505b50600081510361427f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008183106142f2576142ed828461431b565b6142fd565b6142fc838361431b565b5b905092915050565b50505050565b6000819050919050565b50505050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61437b81614346565b811461438657600080fd5b50565b60008135905061439881614372565b92915050565b6000602082840312156143b4576143b361433c565b5b60006143c284828501614389565b91505092915050565b60008115159050919050565b6143e0816143cb565b82525050565b60006020820190506143fb60008301846143d7565b92915050565b6000819050919050565b61441481614401565b82525050565b600060208201905061442f600083018461440b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561446f578082015181840152602081019050614454565b60008484015250505050565b6000601f19601f8301169050919050565b600061449782614435565b6144a18185614440565b93506144b1818560208601614451565b6144ba8161447b565b840191505092915050565b600060208201905081810360008301526144df818461448c565b905092915050565b6144f081614401565b81146144fb57600080fd5b50565b60008135905061450d816144e7565b92915050565b6000602082840312156145295761452861433c565b5b6000614537848285016144fe565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061456b82614540565b9050919050565b61457b81614560565b82525050565b60006020820190506145966000830184614572565b92915050565b6145a581614560565b81146145b057600080fd5b50565b6000813590506145c28161459c565b92915050565b600080604083850312156145df576145de61433c565b5b60006145ed858286016145b3565b92505060206145fe858286016144fe565b9150509250929050565b60006020828403121561461e5761461d61433c565b5b600061462c848285016145b3565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6146728261447b565b810181811067ffffffffffffffff821117156146915761469061463a565b5b80604052505050565b60006146a4614332565b90506146b08282614669565b919050565b600067ffffffffffffffff8211156146d0576146cf61463a565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6146f9816146e6565b811461470457600080fd5b50565b600081359050614716816146f0565b92915050565b600061472f61472a846146b5565b61469a565b90508083825260208201905060208402830185811115614752576147516146e1565b5b835b8181101561477b57806147678882614707565b845260208401935050602081019050614754565b5050509392505050565b600082601f83011261479a57614799614635565b5b81356147aa84826020860161471c565b91505092915050565b600080604083850312156147ca576147c961433c565b5b60006147d8858286016144fe565b925050602083013567ffffffffffffffff8111156147f9576147f8614341565b5b61480585828601614785565b9150509250929050565b6000806000606084860312156148285761482761433c565b5b6000614836868287016145b3565b9350506020614847868287016145b3565b9250506040614858868287016144fe565b9150509250925092565b6000602082840312156148785761487761433c565b5b600061488684828501614707565b91505092915050565b600080fd5b60008083601f8401126148aa576148a9614635565b5b8235905067ffffffffffffffff8111156148c7576148c661488f565b5b6020830191508360018202830111156148e3576148e26146e1565b5b9250929050565b600080602083850312156149015761490061433c565b5b600083013567ffffffffffffffff81111561491f5761491e614341565b5b61492b85828601614894565b92509250509250929050565b614940816146e6565b82525050565b600060208201905061495b6000830184614937565b92915050565b61496a816143cb565b811461497557600080fd5b50565b60008135905061498781614961565b92915050565b6000806000604084860312156149a6576149a561433c565b5b60006149b486828701614978565b935050602084013567ffffffffffffffff8111156149d5576149d4614341565b5b6149e186828701614894565b92509250509250925092565b60008060408385031215614a0457614a0361433c565b5b6000614a12858286016145b3565b9250506020614a2385828601614978565b9150509250929050565b600080fd5b600067ffffffffffffffff821115614a4d57614a4c61463a565b5b614a568261447b565b9050602081019050919050565b82818337600083830152505050565b6000614a85614a8084614a32565b61469a565b905082815260208101848484011115614aa157614aa0614a2d565b5b614aac848285614a63565b509392505050565b600082601f830112614ac957614ac8614635565b5b8135614ad9848260208601614a72565b91505092915050565b60008060008060808587031215614afc57614afb61433c565b5b6000614b0a878288016145b3565b9450506020614b1b878288016145b3565b9350506040614b2c878288016144fe565b925050606085013567ffffffffffffffff811115614b4d57614b4c614341565b5b614b5987828801614ab4565b91505092959194509250565b60008060408385031215614b7c57614b7b61433c565b5b6000614b8a858286016145b3565b9250506020614b9b858286016145b3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614bec57607f821691505b602082108103614bff57614bfe614ba5565b5b50919050565b6000604082019050614c1a6000830185614572565b614c276020830184614572565b9392505050565b600081519050614c3d81614961565b92915050565b600060208284031215614c5957614c5861433c565b5b6000614c6784828501614c2e565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614caa82614401565b9150614cb583614401565b9250828202614cc381614401565b91508282048414831517614cda57614cd9614c70565b5b5092915050565b7f43414e4e4f545f4d494e545f4f4e5f5448455f53414d455f424c4f434b000000600082015250565b6000614d17601d83614440565b9150614d2282614ce1565b602082019050919050565b60006020820190508181036000830152614d4681614d0a565b9050919050565b7f434f4e5452414354535f4e4f545f414c4c4f5745445f544f5f4d494e54000000600082015250565b6000614d83601d83614440565b9150614d8e82614d4d565b602082019050919050565b60006020820190508181036000830152614db281614d76565b9050919050565b7f57524f4e475f4554485f56414c55450000000000000000000000000000000000600082015250565b6000614def600f83614440565b9150614dfa82614db9565b602082019050919050565b60006020820190508181036000830152614e1e81614de2565b9050919050565b60008160601b9050919050565b6000614e3d82614e25565b9050919050565b6000614e4f82614e32565b9050919050565b614e67614e6282614560565b614e44565b82525050565b6000614e798284614e56565b60148201915081905092915050565b6000614e9382614401565b9150614e9e83614401565b9250828201905080821115614eb657614eb5614c70565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614ef682614401565b9150614f0183614401565b925082614f1157614f10614ebc565b5b828204905092915050565b600081905092915050565b50565b6000614f37600083614f1c565b9150614f4282614f27565b600082019050919050565b6000614f5882614f2a565b9150819050919050565b7f5472616e73666572204661696c65642100000000000000000000000000000000600082015250565b6000614f98601083614440565b9150614fa382614f62565b602082019050919050565b60006020820190508181036000830152614fc781614f8b565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261503b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614ffe565b6150458683614ffe565b95508019841693508086168417925050509392505050565b6000819050919050565b600061508261507d61507884614401565b61505d565b614401565b9050919050565b6000819050919050565b61509c83615067565b6150b06150a882615089565b84845461500b565b825550505050565b600090565b6150c56150b8565b6150d0818484615093565b505050565b5b818110156150f4576150e96000826150bd565b6001810190506150d6565b5050565b601f8211156151395761510a81614fd9565b61511384614fee565b81016020851015615122578190505b61513661512e85614fee565b8301826150d5565b50505b505050565b600082821c905092915050565b600061515c6000198460080261513e565b1980831691505092915050565b6000615175838361514b565b9150826002028217905092915050565b61518f8383614fce565b67ffffffffffffffff8111156151a8576151a761463a565b5b6151b28254614bd4565b6151bd8282856150f8565b6000601f8311600181146151ec57600084156151da578287013590505b6151e48582615169565b86555061524c565b601f1984166151fa86614fd9565b60005b82811015615222578489013582556001820191506020850194506020810190506151fd565b8683101561523f578489013561523b601f89168261514b565b8355505b6001600288020188555050505b50505050505050565b600081905092915050565b6000815461526d81614bd4565b6152778186615255565b9450600182166000811461529257600181146152a7576152da565b60ff19831686528115158202860193506152da565b6152b085614fd9565b60005b838110156152d2578154818901526001820191506020810190506152b3565b838801955050505b50505092915050565b60006152ee82614435565b6152f88185615255565b9350615308818560208601614451565b80840191505092915050565b60006153208285615260565b915061532c82846152e3565b91508190509392505050565b60006153448284615260565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153ab602683614440565b91506153b68261534f565b604082019050919050565b600060208201905081810360008301526153da8161539e565b9050919050565b7f4d494e545f49535f4e4f545f5945545f41435449564500000000000000000000600082015250565b6000615417601683614440565b9150615422826153e1565b602082019050919050565b600060208201905081810360008301526154468161540a565b9050919050565b7f50524f4f465f494e56414c494400000000000000000000000000000000000000600082015250565b6000615483600d83614440565b915061548e8261544d565b602082019050919050565b600060208201905081810360008301526154b281615476565b9050919050565b7f4e4f545f454e4f5547485f535550504c59000000000000000000000000000000600082015250565b60006154ef601183614440565b91506154fa826154b9565b602082019050919050565b6000602082019050818103600083015261551e816154e2565b9050919050565b7f4558434545445f5f4d494e545f4c494d49540000000000000000000000000000600082015250565b600061555b601283614440565b915061556682615525565b602082019050919050565b6000602082019050818103600083015261558a8161554e565b9050919050565b7f4558434545445f4d494e545f4c494d4954000000000000000000000000000000600082015250565b60006155c7601183614440565b91506155d282615591565b602082019050919050565b600060208201905081810360008301526155f6816155ba565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615633602083614440565b915061563e826155fd565b602082019050919050565b6000602082019050818103600083015261566281615626565b9050919050565b600061567482614401565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036156a6576156a5614c70565b5b600182019050919050565b60006156bc82614401565b91506156c783614401565b92508282039050818111156156df576156de614c70565b5b92915050565b60006156f082614401565b91506156fb83614401565b92508261570b5761570a614ebc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061576c82615745565b6157768185615750565b9350615786818560208601614451565b61578f8161447b565b840191505092915050565b60006080820190506157af6000830187614572565b6157bc6020830186614572565b6157c9604083018561440b565b81810360608301526157db8184615761565b905095945050505050565b6000815190506157f581614372565b92915050565b6000602082840312156158115761581061433c565b5b600061581f848285016157e6565b9150509291505056fea26469706673582212206c26f53737df43ed9c2cae3a2bfac962541da73fc838273ba7c63715480db56464736f6c6343000811003368747470733a2f2f697066732e7733626d696e742e78797a2f697066732f516d594d58464c6a664475677565585a4855704c5a5868366243707231444754797a6e487a573973454576797a6b85244e99da23a279305514b95b109b7d37fa71a1267eb4cb7f248442486eb2412768050fdaa73320d21b3b73c9fc4b18f7168a55bc0bacc67028abaa843b802355e1d2cf1b5962e2b61058ec04b8006571fb7325bf61d30224b9458ae5e2b936986f95503e1a88c1887049569714be3b5de7cb291b1463f2edf88d17883704ac
Deployed Bytecode
0x6080604052600436106104cb5760003560e01c80638094913911610276578063bd39cf451161014f578063dfb10a48116100c1578063e985e9c511610085578063e985e9c51461125b578063ecbee36214611298578063ed13b03a146112c3578063f103b433146112ee578063f11b818914611317578063f2fde38b14611342576104cb565b8063dfb10a4814611172578063e080f6951461119d578063e279a8f5146111c8578063e5c54716146111f3578063e840184c14611230576104cb565b8063c87b56dd11610113578063c87b56dd1461104e578063c8f109d41461108b578063cd925774146110b4578063cfcc7aa8146110df578063d80f1b6d1461110a578063dc33e68114611135576104cb565b8063bd39cf4514610f79578063bd70b45814610fa2578063c214cfbe14610fcd578063c4594e7814610ff8578063c600af6614611023576104cb565b8063a101ff6d116101e8578063aeeb528d116101ac578063aeeb528d14610e6b578063b3ecc22d14610e96578063b88d4fde14610ed3578063ba893ddd14610efc578063baef3a1614610f39578063bbc328bb14610f50576104cb565b8063a101ff6d14610da9578063a14fe89914610dd2578063a22cb46514610dee578063a5bf574a14610e17578063acafa0f814610e42576104cb565b80638da5cb5b1161023a5780638da5cb5b14610ccf5780639109bbff14610cfa57806395d89b4114610d115780639ba6c6a814610d3c5780639e7e026014610d675780639fb6c21814610d92576104cb565b80638094913914610bf85780638342083a14610c2357806384e9fd4f14610c4e5780638a32ce5a14610c795780638ab7d0ac14610ca4576104cb565b80633ccfd60b116103a85780635723b9501161031a578063702fa958116102de578063702fa95814610b1d57806370a0823114610b46578063715018a614610b8357806373413e5f14610b9a5780637475832e14610bb1578063799e63f714610bcd576104cb565b80635723b95014610a455780635d8231c014610a6e578063611f3f1014610a8a5780636352211e14610ab55780636ebeac8514610af2576104cb565b806342b7fe0f1161036c57806342b7fe0f1461095d57806347024ceb146109745780634715fbc51461099f5780635369d3b2146109c857806355b8b183146109f157806355f804b314610a1c576104cb565b80633ccfd60b146108a05780633ffb24d3146108b757806340ba8893146108e2578063417473ae1461090b57806342842e0e14610934576104cb565b8063221a02c2116104415780632c75f1f0116104055780632c75f1f01461079f57806332cb6b0c146107c857806332d66721146107f3578063354ede7c14610830578063356bfb7e1461085b57806336b2bd8f14610884576104cb565b8063221a02c2146106cc57806323b872dd146106f7578063261de9be146107205780632ab949871461074b5780632bee80e214610776576104cb565b80630af7cb89116104935780630af7cb89146105c95780630f76c93b14610606578063110045091461062257806318160ddd1461064b5780631818746a14610676578063219013a9146106a1576104cb565b806301ffc9a7146104d05780630563a4af1461050d57806306fdde0314610538578063081812fc14610563578063095ea7b3146105a0575b600080fd5b3480156104dc57600080fd5b506104f760048036038101906104f2919061439e565b61136b565b60405161050491906143e6565b60405180910390f35b34801561051957600080fd5b506105226113fd565b60405161052f919061441a565b60405180910390f35b34801561054457600080fd5b5061054d611403565b60405161055a91906144c5565b60405180910390f35b34801561056f57600080fd5b5061058a60048036038101906105859190614513565b611495565b6040516105979190614581565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c291906145c8565b611511565b005b3480156105d557600080fd5b506105f060048036038101906105eb9190614608565b61161b565b6040516105fd919061441a565b60405180910390f35b610620600480360381019061061b91906147b3565b611633565b005b34801561062e57600080fd5b5061064960048036038101906106449190614513565b6118cc565b005b34801561065757600080fd5b506106606118de565b60405161066d919061441a565b60405180910390f35b34801561068257600080fd5b5061068b6118f5565b60405161069891906143e6565b60405180910390f35b3480156106ad57600080fd5b506106b6611908565b6040516106c391906143e6565b60405180910390f35b3480156106d857600080fd5b506106e161191b565b6040516106ee919061441a565b60405180910390f35b34801561070357600080fd5b5061071e6004803603810190610719919061480f565b611921565b005b34801561072c57600080fd5b50610735611a71565b604051610742919061441a565b60405180910390f35b34801561075757600080fd5b50610760611a77565b60405161076d919061441a565b60405180910390f35b34801561078257600080fd5b5061079d60048036038101906107989190614513565b611a7d565b005b3480156107ab57600080fd5b506107c660048036038101906107c19190614513565b611a8f565b005b3480156107d457600080fd5b506107dd611aa1565b6040516107ea919061441a565b60405180910390f35b3480156107ff57600080fd5b5061081a60048036038101906108159190614608565b611aa7565b604051610827919061441a565b60405180910390f35b34801561083c57600080fd5b50610845611abf565b604051610852919061441a565b60405180910390f35b34801561086757600080fd5b50610882600480360381019061087d9190614513565b611ac5565b005b61089e600480360381019061089991906147b3565b611ad7565b005b3480156108ac57600080fd5b506108b5611d70565b005b3480156108c357600080fd5b506108cc611f1c565b6040516108d99190614581565b60405180910390f35b3480156108ee57600080fd5b5061090960048036038101906109049190614862565b611f34565b005b34801561091757600080fd5b50610932600480360381019061092d9190614862565b611f46565b005b34801561094057600080fd5b5061095b6004803603810190610956919061480f565b611f58565b005b34801561096957600080fd5b506109726120a8565b005b34801561098057600080fd5b506109896120dc565b604051610996919061441a565b60405180910390f35b3480156109ab57600080fd5b506109c660048036038101906109c19190614513565b6120e2565b005b3480156109d457600080fd5b506109ef60048036038101906109ea9190614862565b6120f4565b005b3480156109fd57600080fd5b50610a06612106565b604051610a13919061441a565b60405180910390f35b348015610a2857600080fd5b50610a436004803603810190610a3e91906148ea565b61210c565b005b348015610a5157600080fd5b50610a6c6004803603810190610a679190614513565b61212a565b005b610a886004803603810190610a8391906147b3565b61213c565b005b348015610a9657600080fd5b50610a9f6123d5565b604051610aac919061441a565b60405180910390f35b348015610ac157600080fd5b50610adc6004803603810190610ad79190614513565b6123db565b604051610ae99190614581565b60405180910390f35b348015610afe57600080fd5b50610b076123ed565b604051610b1491906143e6565b60405180910390f35b348015610b2957600080fd5b50610b446004803603810190610b3f9190614513565b612400565b005b348015610b5257600080fd5b50610b6d6004803603810190610b689190614608565b612412565b604051610b7a919061441a565b60405180910390f35b348015610b8f57600080fd5b50610b986124a6565b005b348015610ba657600080fd5b50610baf6124ba565b005b610bcb6004803603810190610bc69190614513565b6124ee565b005b348015610bd957600080fd5b50610be2612755565b604051610bef919061441a565b60405180910390f35b348015610c0457600080fd5b50610c0d61275b565b604051610c1a919061441a565b60405180910390f35b348015610c2f57600080fd5b50610c38612761565b604051610c45919061441a565b60405180910390f35b348015610c5a57600080fd5b50610c63612767565b604051610c70919061441a565b60405180910390f35b348015610c8557600080fd5b50610c8e61276d565b604051610c9b919061441a565b60405180910390f35b348015610cb057600080fd5b50610cb9612773565b604051610cc6919061441a565b60405180910390f35b348015610cdb57600080fd5b50610ce4612779565b604051610cf19190614581565b60405180910390f35b348015610d0657600080fd5b50610d0f6127a3565b005b348015610d1d57600080fd5b50610d266127d7565b604051610d3391906144c5565b60405180910390f35b348015610d4857600080fd5b50610d51612869565b604051610d5e9190614946565b60405180910390f35b348015610d7357600080fd5b50610d7c61286f565b604051610d8991906143e6565b60405180910390f35b348015610d9e57600080fd5b50610da7612882565b005b348015610db557600080fd5b50610dd06004803603810190610dcb919061498d565b6128b6565b005b610dec6004803603810190610de791906147b3565b6128ef565b005b348015610dfa57600080fd5b50610e156004803603810190610e1091906149ed565b612b88565b005b348015610e2357600080fd5b50610e2c612c92565b604051610e39919061441a565b60405180910390f35b348015610e4e57600080fd5b50610e696004803603810190610e649190614513565b612c98565b005b348015610e7757600080fd5b50610e80612caa565b604051610e8d919061441a565b60405180910390f35b348015610ea257600080fd5b50610ebd6004803603810190610eb89190614608565b612cb0565b604051610eca919061441a565b60405180910390f35b348015610edf57600080fd5b50610efa6004803603810190610ef59190614ae2565b612cc8565b005b348015610f0857600080fd5b50610f236004803603810190610f1e9190614608565b612e1b565b604051610f30919061441a565b60405180910390f35b348015610f4557600080fd5b50610f4e612e33565b005b348015610f5c57600080fd5b50610f776004803603810190610f729190614513565b612e67565b005b348015610f8557600080fd5b50610fa06004803603810190610f9b9190614862565b612e79565b005b348015610fae57600080fd5b50610fb7612e8b565b604051610fc4919061441a565b60405180910390f35b348015610fd957600080fd5b50610fe2612e91565b604051610fef919061441a565b60405180910390f35b34801561100457600080fd5b5061100d612e97565b60405161101a919061441a565b60405180910390f35b34801561102f57600080fd5b50611038612e9d565b60405161104591906143e6565b60405180910390f35b34801561105a57600080fd5b5061107560048036038101906110709190614513565b612eb0565b60405161108291906144c5565b60405180910390f35b34801561109757600080fd5b506110b260048036038101906110ad9190614513565b612f22565b005b3480156110c057600080fd5b506110c9612f34565b6040516110d6919061441a565b60405180910390f35b3480156110eb57600080fd5b506110f4612f3a565b6040516111019190614946565b60405180910390f35b34801561111657600080fd5b5061111f612f40565b60405161112c9190614946565b60405180910390f35b34801561114157600080fd5b5061115c60048036038101906111579190614608565b612f46565b604051611169919061441a565b60405180910390f35b34801561117e57600080fd5b50611187612f58565b604051611194919061441a565b60405180910390f35b3480156111a957600080fd5b506111b2612f5e565b6040516111bf9190614946565b60405180910390f35b3480156111d457600080fd5b506111dd612f64565b6040516111ea919061441a565b60405180910390f35b3480156111ff57600080fd5b5061121a60048036038101906112159190614608565b612f6a565b604051611227919061441a565b60405180910390f35b34801561123c57600080fd5b50611245612f82565b604051611252919061441a565b60405180910390f35b34801561126757600080fd5b50611282600480360381019061127d9190614b65565b612f88565b60405161128f91906143e6565b60405180910390f35b3480156112a457600080fd5b506112ad61301c565b6040516112ba919061441a565b60405180910390f35b3480156112cf57600080fd5b506112d8613022565b6040516112e5919061441a565b60405180910390f35b3480156112fa57600080fd5b5061131560048036038101906113109190614513565b613028565b005b34801561132357600080fd5b5061132c61303a565b60405161133991906143e6565b60405180910390f35b34801561134e57600080fd5b5061136960048036038101906113649190614608565b61304d565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806113c657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806113f65750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60155481565b60606002805461141290614bd4565b80601f016020809104026020016040519081016040528092919081815260200182805461143e90614bd4565b801561148b5780601f106114605761010080835404028352916020019161148b565b820191906000526020600020905b81548152906001019060200180831161146e57829003601f168201915b5050505050905090565b60006114a0826130d0565b6114d6576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561160c576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611589929190614c05565b602060405180830381865afa1580156115a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ca9190614c43565b61160b57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016116029190614581565b60405180910390fd5b5b611616838361312f565b505050565b602d6020528060005260406000206000915090505481565b81601d546116419190614c9f565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106116c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b990614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790614d99565b60405180910390fd5b803414611772576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176990614e05565b60405180910390fd5b61180a601060029054906101000a900460ff16602254600d54602b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601854601354896118058a602754336040516020016117ea9190614e6d565b604051602081830303815290604052805190602001206132d5565b6132ec565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082602b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461189d9190614e88565b9250508190555082602260008282546118b69190614e88565b925050819055506118c733846134c2565b505050565b6118d46134e0565b80601d8190555050565b60006118e861355e565b6001546000540303905090565b601060019054906101000a900460ff1681565b601060039054906101000a900460ff1681565b601c5481565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611a5f573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119935761198e848484613563565b611a6b565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016119dc929190614c05565b602060405180830381865afa1580156119f9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1d9190614c43565b611a5e57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611a559190614581565b60405180910390fd5b5b611a6a848484613563565b5b50505050565b60225481565b601b5481565b611a856134e0565b80600e8190555050565b611a976134e0565b80600d8190555050565b600a5481565b60296020528060005260406000206000915090505481565b60185481565b611acd6134e0565b80601e8190555050565b81601b54611ae59190614c9f565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d90614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611bd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcb90614d99565b60405180910390fd5b803414611c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0d90614e05565b60405180910390fd5b611cae601060009054906101000a900460ff16602054600b54602960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460165460115489611ca98a60255433604051602001611c8e9190614e6d565b604051602081830303815290604052805190602001206132d5565b6132ec565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082602960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d419190614e88565b925050819055508260206000828254611d5a9190614e88565b92505081905550611d6b33846134c2565b505050565b611d786134e0565b600061271061025847611d8b9190614c9f565b611d959190614eeb565b9050600073c9b5553910ba47719e0202ff9f617b8be06b3a0973ffffffffffffffffffffffffffffffffffffffff1682604051611dd190614f4d565b60006040518083038185875af1925050503d8060008114611e0e576040519150601f19603f3d011682016040523d82523d6000602084013e611e13565b606091505b5050905080611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90614fae565b60405180910390fd5b600073c858db9fd379d21b49b2216e8bfc6588be3354d773ffffffffffffffffffffffffffffffffffffffff1647604051611e9190614f4d565b60006040518083038185875af1925050503d8060008114611ece576040519150601f19603f3d011682016040523d82523d6000602084013e611ed3565b606091505b5050905080611f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0e90614fae565b60405180910390fd5b505050565b73c9b5553910ba47719e0202ff9f617b8be06b3a0981565b611f3c6134e0565b8060278190555050565b611f4e6134e0565b8060268190555050565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612096573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611fca57611fc5848484613573565b6120a2565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401612013929190614c05565b602060405180830381865afa158015612030573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120549190614c43565b61209557336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161208c9190614581565b60405180910390fd5b5b6120a1848484613573565b5b50505050565b6120b06134e0565b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b60115481565b6120ea6134e0565b80601f8190555050565b6120fc6134e0565b8060288190555050565b60235481565b6121146134e0565b8181602f9182612125929190615185565b505050565b6121326134e0565b80600b8190555050565b81601c5461214a9190614c9f565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106121cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c290614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223090614d99565b60405180910390fd5b80341461227b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227290614e05565b60405180910390fd5b612313601060019054906101000a900460ff16602154600c54602a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546017546012548961230e8a602654336040516020016122f39190614e6d565b604051602081830303815290604052805190602001206132d5565b6132ec565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082602a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123a69190614e88565b9250508190555082602160008282546123bf9190614e88565b925050819055506123d033846134c2565b505050565b601f5481565b60006123e682613593565b9050919050565b602e60009054906101000a900460ff1681565b6124086134e0565b80600f8190555050565b60008061241e8361365f565b03612455576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6124ae6134e0565b6124b86000613669565b565b6124c26134e0565b601060039054906101000a900460ff1615601060036101000a81548160ff021916908315150217905550565b80601f546124fc9190614c9f565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061257d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257490614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146125eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e290614d99565b60405180910390fd5b80341461262d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262490614e05565b60405180910390fd5b612694601060049054906101000a900460ff16602454600f54602d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601a546015548860016132ec565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081602d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127279190614e88565b9250508190555081602460008282546127409190614e88565b9250508190555061275133836134c2565b5050565b60135481565b601a5481565b600f5481565b600d5481565b60215481565b60195481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6127ab6134e0565b601060029054906101000a900460ff1615601060026101000a81548160ff021916908315150217905550565b6060600380546127e690614bd4565b80601f016020809104026020016040519081016040528092919081815260200182805461281290614bd4565b801561285f5780601f106128345761010080835404028352916020019161285f565b820191906000526020600020905b81548152906001019060200180831161284257829003601f168201915b5050505050905090565b60255481565b601060029054906101000a900460ff1681565b61288a6134e0565b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6128be6134e0565b82602e60006101000a81548160ff0219169083151502179055508181602f91826128e9929190615185565b50505050565b81601e546128fd9190614c9f565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061297e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297590614d2d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e390614d99565b60405180910390fd5b803414612a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2590614e05565b60405180910390fd5b612ac6601060039054906101000a900460ff16602354600e54602c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460195460145489612ac18a60285433604051602001612aa69190614e6d565b604051602081830303815290604052805190602001206132d5565b6132ec565b42603160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082602c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b599190614e88565b925050819055508260236000828254612b729190614e88565b92505081905550612b8333846134c2565b505050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612c83576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612c00929190614c05565b602060405180830381865afa158015612c1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c419190614c43565b612c8257806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401612c799190614581565b60405180910390fd5b5b612c8d838361372f565b505050565b60205481565b612ca06134e0565b80601b8190555050565b60145481565b602a6020528060005260406000206000915090505481565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612e07573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612d3b57612d36858585856138a6565b612e14565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401612d84929190614c05565b602060405180830381865afa158015612da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc59190614c43565b612e0657336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401612dfd9190614581565b60405180910390fd5b5b612e13858585856138a6565b5b5050505050565b602b6020528060005260406000206000915090505481565b612e3b6134e0565b601060049054906101000a900460ff1615601060046101000a81548160ff021916908315150217905550565b612e6f6134e0565b80601c8190555050565b612e816134e0565b8060258190555050565b60245481565b600e5481565b600c5481565b601060049054906101000a900460ff1681565b6060602e60009054906101000a900460ff1615612ef957602f612ed283613919565b604051602001612ee3929190615314565b6040516020818303038152906040529050612f1d565b6030604051602001612f0b9190615338565b60405160208183030381529060405290505b919050565b612f2a6134e0565b80600c8190555050565b60165481565b60265481565b60275481565b6000612f5182613a79565b9050919050565b601d5481565b60285481565b60125481565b602c6020528060005260406000206000915090505481565b600b5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60175481565b601e5481565b6130306134e0565b80600a8190555050565b601060009054906101000a900460ff1681565b6130556134e0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036130c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130bb906153c1565b60405180910390fd5b6130cd81613669565b50565b6000816130db61355e565b111580156130ea575060005482105b8015613128575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600061313a82613593565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036131a1576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166131c0613ad0565b73ffffffffffffffffffffffffffffffffffffffff1614613223576131ec816131e7613ad0565b612f88565b613222576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000826132e28584613ad8565b1490509392505050565b8761332c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133239061542d565b60405180910390fd5b8061336c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336390615499565b60405180910390fd5b600a546133776118de565b836133829190614e88565b11156133c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ba90615505565b60405180910390fd5b8587836133d09190614e88565b1115613411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340890615505565b60405180910390fd5b83828661341e9190614e88565b11158061342b5750600084145b61346a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346190615571565b60405180910390fd5b82821115806134795750600083145b6134b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134af906155dd565b60405180910390fd5b5050505050505050565b6134dc828260405180602001604052806000815250613b2e565b5050565b6134e8613dbd565b73ffffffffffffffffffffffffffffffffffffffff16613506612779565b73ffffffffffffffffffffffffffffffffffffffff161461355c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355390615649565b60405180910390fd5b565b600090565b61356e838383613dc5565b505050565b61358e83838360405180602001604052806000815250612cc8565b505050565b600080829050806135a261355e565b11613628576000548110156136275760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603613625575b6000810361361b5760046000836001900393508381526020019081526020016000205490506135f1565b809250505061365a565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000819050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613737613ad0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361379b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006137a8613ad0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16613855613ad0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161389a91906143e6565b60405180910390a35050565b6138b1848484613dc5565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613913576138dc8484848461418a565b613912576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606060008203613960576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613a74565b600082905060005b6000821461399257808061397b90615669565b915050600a8261398b9190614eeb565b9150613968565b60008167ffffffffffffffff8111156139ae576139ad61463a565b5b6040519080825280601f01601f1916602001820160405280156139e05781602001600182028036833780820191505090505b5090505b60008514613a6d576001826139f991906156b1565b9150600a85613a0891906156e5565b6030613a149190614e88565b60f81b818381518110613a2a57613a29615716565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613a669190614eeb565b94506139e4565b8093505050505b919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600033905090565b60008082905060005b8451811015613b2357613b0e82868381518110613b0157613b00615716565b5b60200260200101516142da565b91508080613b1b90615669565b915050613ae1565b508091505092915050565b6000805490506000613b3f8561365f565b03613b76576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303613bb0576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613bbd6000858386614305565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1613c226001851461430b565b901b60a042901b613c328661365f565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14613d36575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613ce6600087848060010195508761418a565b613d1c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210613c77578260005414613d3157600080fd5b613da1565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613d37575b816000819055505050613db76000858386614315565b50505050565b600033905090565b6000613dd082613593565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614613e37576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff16613e90613ad0565b73ffffffffffffffffffffffffffffffffffffffff161480613ebf5750613ebe86613eb9613ad0565b612f88565b5b80613efc5750613ecd613ad0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905080613f35576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000613f408661365f565b03613f77576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613f848686866001614305565b6000613f8f8361365f565b14613fcb576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6140928761365f565b1717600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361411a5760006001850190506000600460008381526020019081526020016000205403614118576000548114614117578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46141828686866001614315565b505050505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026141b0613ad0565b8786866040518563ffffffff1660e01b81526004016141d2949392919061579a565b6020604051808303816000875af192505050801561420e57506040513d601f19601f8201168201806040525081019061420b91906157fb565b60015b614287573d806000811461423e576040519150601f19603f3d011682016040523d82523d6000602084013e614243565b606091505b50600081510361427f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008183106142f2576142ed828461431b565b6142fd565b6142fc838361431b565b5b905092915050565b50505050565b6000819050919050565b50505050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61437b81614346565b811461438657600080fd5b50565b60008135905061439881614372565b92915050565b6000602082840312156143b4576143b361433c565b5b60006143c284828501614389565b91505092915050565b60008115159050919050565b6143e0816143cb565b82525050565b60006020820190506143fb60008301846143d7565b92915050565b6000819050919050565b61441481614401565b82525050565b600060208201905061442f600083018461440b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561446f578082015181840152602081019050614454565b60008484015250505050565b6000601f19601f8301169050919050565b600061449782614435565b6144a18185614440565b93506144b1818560208601614451565b6144ba8161447b565b840191505092915050565b600060208201905081810360008301526144df818461448c565b905092915050565b6144f081614401565b81146144fb57600080fd5b50565b60008135905061450d816144e7565b92915050565b6000602082840312156145295761452861433c565b5b6000614537848285016144fe565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061456b82614540565b9050919050565b61457b81614560565b82525050565b60006020820190506145966000830184614572565b92915050565b6145a581614560565b81146145b057600080fd5b50565b6000813590506145c28161459c565b92915050565b600080604083850312156145df576145de61433c565b5b60006145ed858286016145b3565b92505060206145fe858286016144fe565b9150509250929050565b60006020828403121561461e5761461d61433c565b5b600061462c848285016145b3565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6146728261447b565b810181811067ffffffffffffffff821117156146915761469061463a565b5b80604052505050565b60006146a4614332565b90506146b08282614669565b919050565b600067ffffffffffffffff8211156146d0576146cf61463a565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6146f9816146e6565b811461470457600080fd5b50565b600081359050614716816146f0565b92915050565b600061472f61472a846146b5565b61469a565b90508083825260208201905060208402830185811115614752576147516146e1565b5b835b8181101561477b57806147678882614707565b845260208401935050602081019050614754565b5050509392505050565b600082601f83011261479a57614799614635565b5b81356147aa84826020860161471c565b91505092915050565b600080604083850312156147ca576147c961433c565b5b60006147d8858286016144fe565b925050602083013567ffffffffffffffff8111156147f9576147f8614341565b5b61480585828601614785565b9150509250929050565b6000806000606084860312156148285761482761433c565b5b6000614836868287016145b3565b9350506020614847868287016145b3565b9250506040614858868287016144fe565b9150509250925092565b6000602082840312156148785761487761433c565b5b600061488684828501614707565b91505092915050565b600080fd5b60008083601f8401126148aa576148a9614635565b5b8235905067ffffffffffffffff8111156148c7576148c661488f565b5b6020830191508360018202830111156148e3576148e26146e1565b5b9250929050565b600080602083850312156149015761490061433c565b5b600083013567ffffffffffffffff81111561491f5761491e614341565b5b61492b85828601614894565b92509250509250929050565b614940816146e6565b82525050565b600060208201905061495b6000830184614937565b92915050565b61496a816143cb565b811461497557600080fd5b50565b60008135905061498781614961565b92915050565b6000806000604084860312156149a6576149a561433c565b5b60006149b486828701614978565b935050602084013567ffffffffffffffff8111156149d5576149d4614341565b5b6149e186828701614894565b92509250509250925092565b60008060408385031215614a0457614a0361433c565b5b6000614a12858286016145b3565b9250506020614a2385828601614978565b9150509250929050565b600080fd5b600067ffffffffffffffff821115614a4d57614a4c61463a565b5b614a568261447b565b9050602081019050919050565b82818337600083830152505050565b6000614a85614a8084614a32565b61469a565b905082815260208101848484011115614aa157614aa0614a2d565b5b614aac848285614a63565b509392505050565b600082601f830112614ac957614ac8614635565b5b8135614ad9848260208601614a72565b91505092915050565b60008060008060808587031215614afc57614afb61433c565b5b6000614b0a878288016145b3565b9450506020614b1b878288016145b3565b9350506040614b2c878288016144fe565b925050606085013567ffffffffffffffff811115614b4d57614b4c614341565b5b614b5987828801614ab4565b91505092959194509250565b60008060408385031215614b7c57614b7b61433c565b5b6000614b8a858286016145b3565b9250506020614b9b858286016145b3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614bec57607f821691505b602082108103614bff57614bfe614ba5565b5b50919050565b6000604082019050614c1a6000830185614572565b614c276020830184614572565b9392505050565b600081519050614c3d81614961565b92915050565b600060208284031215614c5957614c5861433c565b5b6000614c6784828501614c2e565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614caa82614401565b9150614cb583614401565b9250828202614cc381614401565b91508282048414831517614cda57614cd9614c70565b5b5092915050565b7f43414e4e4f545f4d494e545f4f4e5f5448455f53414d455f424c4f434b000000600082015250565b6000614d17601d83614440565b9150614d2282614ce1565b602082019050919050565b60006020820190508181036000830152614d4681614d0a565b9050919050565b7f434f4e5452414354535f4e4f545f414c4c4f5745445f544f5f4d494e54000000600082015250565b6000614d83601d83614440565b9150614d8e82614d4d565b602082019050919050565b60006020820190508181036000830152614db281614d76565b9050919050565b7f57524f4e475f4554485f56414c55450000000000000000000000000000000000600082015250565b6000614def600f83614440565b9150614dfa82614db9565b602082019050919050565b60006020820190508181036000830152614e1e81614de2565b9050919050565b60008160601b9050919050565b6000614e3d82614e25565b9050919050565b6000614e4f82614e32565b9050919050565b614e67614e6282614560565b614e44565b82525050565b6000614e798284614e56565b60148201915081905092915050565b6000614e9382614401565b9150614e9e83614401565b9250828201905080821115614eb657614eb5614c70565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614ef682614401565b9150614f0183614401565b925082614f1157614f10614ebc565b5b828204905092915050565b600081905092915050565b50565b6000614f37600083614f1c565b9150614f4282614f27565b600082019050919050565b6000614f5882614f2a565b9150819050919050565b7f5472616e73666572204661696c65642100000000000000000000000000000000600082015250565b6000614f98601083614440565b9150614fa382614f62565b602082019050919050565b60006020820190508181036000830152614fc781614f8b565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261503b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614ffe565b6150458683614ffe565b95508019841693508086168417925050509392505050565b6000819050919050565b600061508261507d61507884614401565b61505d565b614401565b9050919050565b6000819050919050565b61509c83615067565b6150b06150a882615089565b84845461500b565b825550505050565b600090565b6150c56150b8565b6150d0818484615093565b505050565b5b818110156150f4576150e96000826150bd565b6001810190506150d6565b5050565b601f8211156151395761510a81614fd9565b61511384614fee565b81016020851015615122578190505b61513661512e85614fee565b8301826150d5565b50505b505050565b600082821c905092915050565b600061515c6000198460080261513e565b1980831691505092915050565b6000615175838361514b565b9150826002028217905092915050565b61518f8383614fce565b67ffffffffffffffff8111156151a8576151a761463a565b5b6151b28254614bd4565b6151bd8282856150f8565b6000601f8311600181146151ec57600084156151da578287013590505b6151e48582615169565b86555061524c565b601f1984166151fa86614fd9565b60005b82811015615222578489013582556001820191506020850194506020810190506151fd565b8683101561523f578489013561523b601f89168261514b565b8355505b6001600288020188555050505b50505050505050565b600081905092915050565b6000815461526d81614bd4565b6152778186615255565b9450600182166000811461529257600181146152a7576152da565b60ff19831686528115158202860193506152da565b6152b085614fd9565b60005b838110156152d2578154818901526001820191506020810190506152b3565b838801955050505b50505092915050565b60006152ee82614435565b6152f88185615255565b9350615308818560208601614451565b80840191505092915050565b60006153208285615260565b915061532c82846152e3565b91508190509392505050565b60006153448284615260565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153ab602683614440565b91506153b68261534f565b604082019050919050565b600060208201905081810360008301526153da8161539e565b9050919050565b7f4d494e545f49535f4e4f545f5945545f41435449564500000000000000000000600082015250565b6000615417601683614440565b9150615422826153e1565b602082019050919050565b600060208201905081810360008301526154468161540a565b9050919050565b7f50524f4f465f494e56414c494400000000000000000000000000000000000000600082015250565b6000615483600d83614440565b915061548e8261544d565b602082019050919050565b600060208201905081810360008301526154b281615476565b9050919050565b7f4e4f545f454e4f5547485f535550504c59000000000000000000000000000000600082015250565b60006154ef601183614440565b91506154fa826154b9565b602082019050919050565b6000602082019050818103600083015261551e816154e2565b9050919050565b7f4558434545445f5f4d494e545f4c494d49540000000000000000000000000000600082015250565b600061555b601283614440565b915061556682615525565b602082019050919050565b6000602082019050818103600083015261558a8161554e565b9050919050565b7f4558434545445f4d494e545f4c494d4954000000000000000000000000000000600082015250565b60006155c7601183614440565b91506155d282615591565b602082019050919050565b600060208201905081810360008301526155f6816155ba565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615633602083614440565b915061563e826155fd565b602082019050919050565b6000602082019050818103600083015261566281615626565b9050919050565b600061567482614401565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036156a6576156a5614c70565b5b600182019050919050565b60006156bc82614401565b91506156c783614401565b92508282039050818111156156df576156de614c70565b5b92915050565b60006156f082614401565b91506156fb83614401565b92508261570b5761570a614ebc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061576c82615745565b6157768185615750565b9350615786818560208601614451565b61578f8161447b565b840191505092915050565b60006080820190506157af6000830187614572565b6157bc6020830186614572565b6157c9604083018561440b565b81810360608301526157db8184615761565b905095945050505050565b6000815190506157f581614372565b92915050565b6000602082840312156158115761581061433c565b5b600061581f848285016157e6565b9150509291505056fea26469706673582212206c26f53737df43ed9c2cae3a2bfac962541da73fc838273ba7c63715480db56464736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
85244e99da23a279305514b95b109b7d37fa71a1267eb4cb7f248442486eb2412768050fdaa73320d21b3b73c9fc4b18f7168a55bc0bacc67028abaa843b802355e1d2cf1b5962e2b61058ec04b8006571fb7325bf61d30224b9458ae5e2b936986f95503e1a88c1887049569714be3b5de7cb291b1463f2edf88d17883704ac
-----Decoded View---------------
Arg [0] : _Hornyholder (bytes32): 0x85244e99da23a279305514b95b109b7d37fa71a1267eb4cb7f248442486eb241
Arg [1] : _Hornywhale (bytes32): 0x2768050fdaa73320d21b3b73c9fc4b18f7168a55bc0bacc67028abaa843b8023
Arg [2] : _Hornylord (bytes32): 0x55e1d2cf1b5962e2b61058ec04b8006571fb7325bf61d30224b9458ae5e2b936
Arg [3] : _Bumzlist (bytes32): 0x986f95503e1a88c1887049569714be3b5de7cb291b1463f2edf88d17883704ac
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 85244e99da23a279305514b95b109b7d37fa71a1267eb4cb7f248442486eb241
Arg [1] : 2768050fdaa73320d21b3b73c9fc4b18f7168a55bc0bacc67028abaa843b8023
Arg [2] : 55e1d2cf1b5962e2b61058ec04b8006571fb7325bf61d30224b9458ae5e2b936
Arg [3] : 986f95503e1a88c1887049569714be3b5de7cb291b1463f2edf88d17883704ac
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.