ERC-721
Overview
Max Total Supply
3,333 FBC
Holders
663
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 FBCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FreshBoyzClub
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT //███████╗██████╗ ██████╗ //██╔════╝██╔══██╗██╔════╝ //█████╗ ██████╔╝██║ //██╔══╝ ██╔══██╗██║ //██║ ██████╔╝╚██████╗ //╚═╝ ╚═════╝ ╚═════╝ pragma solidity ^0.8.4; pragma abicoder v2; import "./ERC721A.sol"; // import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract FreshBoyzClub is ERC721A, Ownable { using SafeMath for uint256; using Strings for uint256; bytes32 public merkleRoot; bytes32 public vipMerkleRoot; uint256 constant public MAX_SUPPLY= 3333; uint256 constant public MAX_WL_SUPPLY = 1333; uint256 constant public MAX_VIPWL_SUPPLY = 1333; uint256 public WL_PRICE = 0.08 ether; uint256 public VIPWL_PRICE = 0.08 ether; uint256 public PRICE = 0.12 ether; uint256 public giveawayLimit = 15; string public baseTokenURI; bool public whitelistSaleIsActive; bool public saleIsActive; address private wallet1 = 0x0500a81f0E2C00bC413135869506Dd6d885736b6; // A 38% address private wallet2 = 0x8feD6C9956764F4bB522Ea59CeBF15193a574c60; // D 37% address private wallet3 = 0x1B14c9672e2ca87Ca4dBb231EBd654242e985f4f; // Da 15% address private wallet4 = 0xA843268A75F1acF967c916900a3a5eEE70604bAA; // New 10% address public Authorized = 0xa731d7C15f90b005e881916D6f301D3fF348ed58; // Dev Wallet for Testing (no percentage) uint256 public maxPurchase = 15; uint256 public maxWLPurchase = 10; uint256 public maxVIPPurchase = 10; uint256 public maxTxWL = 10; uint256 public maxTxVIP = 10; uint256 public maxTx = 15; constructor() ERC721A("Fresh Boyz Club", "FBC") { } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } modifier onlyAuthorized { require(msg.sender == owner() || msg.sender == Authorized , "Not authorized"); _; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setBaseURI(string memory baseURI) public onlyOwner { baseTokenURI = baseURI; } function flipSaleState() external onlyOwner { saleIsActive = !saleIsActive; } function flipWhitelistSaleState() external onlyOwner { whitelistSaleIsActive = !whitelistSaleIsActive; } function updateMerkleRoot(bytes32 newMerkleRoot) external onlyOwner { merkleRoot = newMerkleRoot; } function updateVIPMerkleRoot(bytes32 newMerkleRoot) external onlyOwner { vipMerkleRoot = newMerkleRoot; } 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, tokenId.toString(),".json")) : ""; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function whitelistMint(uint256 numberOfTokens, bytes32[] calldata merkleProof ) payable external callerIsUser { require(whitelistSaleIsActive, "Whitelist Sale must be active to mint"); require(totalSupply().add(numberOfTokens) <= MAX_WL_SUPPLY, "Total WL Supply has been minted"); require(numberOfTokens > 0 && numberOfTokens <= maxTxWL, "Can only mint upto 1 NFTs in a transaction"); require(msg.value == WL_PRICE.mul(numberOfTokens), "Ether value sent is not correct"); require(numberMinted(msg.sender).add(numberOfTokens) <= maxWLPurchase,"Exceeds Max mints allowed per whitelisted wallet"); // Verify the merkle proof require(MerkleProof.verify(merkleProof, merkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "Invalid proof"); _safeMint(msg.sender, numberOfTokens); } function vipMint(uint256 numberOfTokens, bytes32[] calldata merkleProof ) payable external callerIsUser { require(whitelistSaleIsActive, "Whitelist Sale must be active to mint"); require(totalSupply().add(numberOfTokens) <= MAX_VIPWL_SUPPLY, "Total VIPWL Supply has been minted"); require(numberOfTokens > 0 && numberOfTokens <= maxTxVIP, "Can only mint upto 2 NFTs in a transaction"); require(msg.value == VIPWL_PRICE.mul(numberOfTokens), "Ether value sent is not correct"); require(numberMinted(msg.sender).add(numberOfTokens) <= maxVIPPurchase,"Exceeds Max mints allowed per whitelisted wallet"); // Verify the merkle proof require(MerkleProof.verify(merkleProof, vipMerkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "Invalid proof"); _safeMint(msg.sender, numberOfTokens); } function mint(uint256 numberOfTokens) external payable callerIsUser { require(saleIsActive, "Sale must be active to mint"); require(totalSupply().add(numberOfTokens) <= MAX_SUPPLY, "Total Supply has been minted"); require(msg.value == PRICE.mul(numberOfTokens), "Ether value sent is not correct"); require(numberOfTokens > 0 && numberOfTokens <= maxTx, "1 pTX allowed"); require(numberMinted(msg.sender).add(numberOfTokens) <= maxPurchase,"Exceeds Max mints allowed per wallet"); _safeMint(msg.sender, numberOfTokens); } function withdraw() public onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } function withdrawAll() external onlyOwner { require(address(this).balance > 0, "No balance"); uint256 _amount = address(this).balance; (bool wallet1Success, ) = wallet1.call{value: _amount.mul(38).div(100)}(""); (bool wallet2Success, ) = wallet2.call{value: _amount.mul(37).div(100)}(""); (bool wallet3Success, ) = wallet3.call{value: _amount.mul(15).div(100)}(""); (bool wallet4Success, ) = wallet4.call{value: _amount.mul(10).div(100)}(""); require(wallet1Success && wallet2Success && wallet3Success && wallet4Success, "Withdrawal failed."); } function giveAway(uint256 numberOfTokens, address to) external onlyOwner { require(giveawayLimit.sub(numberOfTokens) >= 0,"Giveaways exhausted"); _safeMint(to, numberOfTokens); giveawayLimit = giveawayLimit.sub(numberOfTokens); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function setPriceWL(uint256 _wlPrice) public onlyAuthorized { WL_PRICE = _wlPrice; } function setPriceVIPWL(uint256 _vipwlPrice) public onlyAuthorized { VIPWL_PRICE = _vipwlPrice; } function setPrice(uint256 _price) public onlyAuthorized { PRICE = _price; } function setMaxTxLimit(uint256 _txLimit) public onlyAuthorized { maxTx = _txLimit; } function setMaxTxWL(uint256 _txLimit) public onlyAuthorized { maxTxWL = _txLimit; } function setMaxTxVIP(uint256 _txLimit) public onlyAuthorized { maxTxVIP = _txLimit; } function setMaxPurchaseLimit(uint256 _limit) public onlyAuthorized { maxPurchase = _limit; } function setMaxWLPurchaseLimit(uint256 _limit) public onlyAuthorized { maxWLPurchase = _limit; } function setMaxVIPPurchaseLimit(uint256 _limit) public onlyAuthorized { maxVIPPurchase = _limit; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @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 Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. 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; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _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 _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * 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 See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].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 { _addressData[owner].aux = aux; } /** * 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) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // 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. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @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 == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _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.isContract() && !_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 && !_ownerships[tokenId].burned; } 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 { _mint(to, quantity, _data, true); } /** * @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, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(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 { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { 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 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 { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is 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 { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } 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 Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @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 IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":[],"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":[],"name":"Authorized","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_VIPWL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VIPWL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipWhitelistSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giveawayLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxVIP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxVIPPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWLPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxPurchaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_txLimit","type":"uint256"}],"name":"setMaxTxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_txLimit","type":"uint256"}],"name":"setMaxTxVIP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_txLimit","type":"uint256"}],"name":"setMaxTxWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxVIPPurchaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxWLPurchaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_vipwlPrice","type":"uint256"}],"name":"setPriceVIPWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlPrice","type":"uint256"}],"name":"setPriceWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"updateVIPMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vipMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"vipMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405267011c37937e080000600b5567011c37937e080000600c556701aa535d3d0c0000600d55600f600e55730500a81f0e2c00bc413135869506dd6d885736b6601060026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550738fed6c9956764f4bb522ea59cebf15193a574c60601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550731b14c9672e2ca87ca4dbb231ebd654242e985f4f601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073a843268a75f1acf967c916900a3a5eee70604baa601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073a731d7c15f90b005e881916d6f301d3ff348ed58601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600f601555600a601655600a601755600a601855600a601955600f601a553480156200020157600080fd5b506040518060400160405280600f81526020017f467265736820426f797a20436c756200000000000000000000000000000000008152506040518060400160405280600381526020017f4642430000000000000000000000000000000000000000000000000000000000815250816002908051906020019062000286929190620003b5565b5080600390805190602001906200029f929190620003b5565b50620002b0620002de60201b60201c565b6000819055505050620002d8620002cc620002e760201b60201c565b620002ef60201b60201c565b620004ca565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003c39062000494565b90600052602060002090601f016020900481019282620003e7576000855562000433565b82601f106200040257805160ff191683800117855562000433565b8280016001018555821562000433579182015b828111156200043257825182559160200191906001019062000415565b5b50905062000442919062000446565b5090565b5b808211156200046157600081600090555060010162000447565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004ad57607f821691505b60208210811415620004c457620004c362000465565b5b50919050565b61555a80620004da6000396000f3fe6080604052600436106103765760003560e01c806381d8488f116101d1578063a64a281a11610102578063d547cfb7116100a0578063ea64f7dd1161006f578063ea64f7dd14610c2d578063eacfc0ae14610c56578063eb8d244414610c81578063f2fde38b14610cac57610376565b8063d547cfb714610b5d578063db37faaf14610b88578063dc33e68114610bb3578063e985e9c514610bf057610376565b8063c87b56dd116100dc578063c87b56dd14610ac4578063c9d9b9f514610b01578063d1beca6414610b2a578063d2cab05614610b4157610376565b8063a64a281a14610a47578063b88d4fde14610a70578063c56acc8f14610a9957610376565b806391b7f5ed1161016f5780639db7863f116101495780639db7863f146109ac578063a0712d68146109d7578063a22cb465146109f3578063a29f1f6414610a1c57610376565b806391b7f5ed1461092d57806395d89b4114610956578063977b055b1461098157610376565b806388ef0018116101ab57806388ef0018146108925780638d859f3e146108ae5780638da5cb5b146108d95780638f3a89cf1461090457610376565b806381d8488f14610829578063853828b61461085257806387ea9f211461086957610376565b806342842e0e116102ab57806364f5a5bb1161024957806370a082311161022357806370a082311461077f578063715018a6146107bc57806372a1056c146107d35780637437681e146107fe57610376565b806364f5a5bb146107025780636895f1ca1461072b5780636d181fe61461075457610376565b80634f8f591b116102855780634f8f591b1461064657806355f804b31461067157806358ae3c541461069a5780636352211e146106c557610376565b806342842e0e146105cb57806345e313aa146105f45780634783f0ef1461061d57610376565b8063261d3b211161031857806332cb6b0c116102f257806332cb6b0c1461054757806334918dfd146105725780633ccfd60b146105895780633f676c50146105a057610376565b8063261d3b21146104c85780632eb4a7ab146104f157806331c3c7a01461051c57610376565b8063095ea7b311610354578063095ea7b31461042057806310b5454d1461044957806318160ddd1461047457806323b872dd1461049f57610376565b806301ffc9a71461037b57806306fdde03146103b8578063081812fc146103e3575b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d9190613f88565b610cd5565b6040516103af9190613fd0565b60405180910390f35b3480156103c457600080fd5b506103cd610db7565b6040516103da9190614084565b60405180910390f35b3480156103ef57600080fd5b5061040a600480360381019061040591906140dc565b610e49565b604051610417919061414a565b60405180910390f35b34801561042c57600080fd5b5061044760048036038101906104429190614191565b610ec5565b005b34801561045557600080fd5b5061045e610fd0565b60405161046b9190613fd0565b60405180910390f35b34801561048057600080fd5b50610489610fe3565b60405161049691906141e0565b60405180910390f35b3480156104ab57600080fd5b506104c660048036038101906104c191906141fb565b610ffa565b005b3480156104d457600080fd5b506104ef60048036038101906104ea919061424e565b61100a565b005b3480156104fd57600080fd5b50610506611093565b60405161051391906142a7565b60405180910390f35b34801561052857600080fd5b50610531611099565b60405161053e91906141e0565b60405180910390f35b34801561055357600080fd5b5061055c61109f565b60405161056991906141e0565b60405180910390f35b34801561057e57600080fd5b506105876110a5565b005b34801561059557600080fd5b5061059e6110d9565b005b3480156105ac57600080fd5b506105b5611130565b6040516105c291906141e0565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed91906141fb565b611136565b005b34801561060057600080fd5b5061061b600480360381019061061691906140dc565b611156565b005b34801561062957600080fd5b50610644600480360381019061063f91906142ee565b61122d565b005b34801561065257600080fd5b5061065b61123f565b60405161066891906141e0565b60405180910390f35b34801561067d57600080fd5b5061069860048036038101906106939190614450565b611245565b005b3480156106a657600080fd5b506106af611267565b6040516106bc91906141e0565b60405180910390f35b3480156106d157600080fd5b506106ec60048036038101906106e791906140dc565b61126d565b6040516106f9919061414a565b60405180910390f35b34801561070e57600080fd5b50610729600480360381019061072491906140dc565b611283565b005b34801561073757600080fd5b50610752600480360381019061074d91906140dc565b61135a565b005b34801561076057600080fd5b50610769611431565b60405161077691906141e0565b60405180910390f35b34801561078b57600080fd5b506107a660048036038101906107a19190614499565b611437565b6040516107b391906141e0565b60405180910390f35b3480156107c857600080fd5b506107d1611507565b005b3480156107df57600080fd5b506107e861151b565b6040516107f591906142a7565b60405180910390f35b34801561080a57600080fd5b50610813611521565b60405161082091906141e0565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b91906140dc565b611527565b005b34801561085e57600080fd5b506108676115fe565b005b34801561087557600080fd5b50610890600480360381019061088b91906140dc565b611980565b005b6108ac60048036038101906108a79190614526565b611a57565b005b3480156108ba57600080fd5b506108c3611d3a565b6040516108d091906141e0565b60405180910390f35b3480156108e557600080fd5b506108ee611d40565b6040516108fb919061414a565b60405180910390f35b34801561091057600080fd5b5061092b600480360381019061092691906140dc565b611d6a565b005b34801561093957600080fd5b50610954600480360381019061094f91906140dc565b611e41565b005b34801561096257600080fd5b5061096b611f18565b6040516109789190614084565b60405180910390f35b34801561098d57600080fd5b50610996611faa565b6040516109a391906141e0565b60405180910390f35b3480156109b857600080fd5b506109c1611fb0565b6040516109ce91906141e0565b60405180910390f35b6109f160048036038101906109ec91906140dc565b611fb6565b005b3480156109ff57600080fd5b50610a1a6004803603810190610a1591906145b2565b6121e4565b005b348015610a2857600080fd5b50610a3161235c565b604051610a3e91906141e0565b60405180910390f35b348015610a5357600080fd5b50610a6e6004803603810190610a6991906140dc565b612362565b005b348015610a7c57600080fd5b50610a976004803603810190610a929190614693565b612439565b005b348015610aa557600080fd5b50610aae6124b5565b604051610abb91906141e0565b60405180910390f35b348015610ad057600080fd5b50610aeb6004803603810190610ae691906140dc565b6124bb565b604051610af89190614084565b60405180910390f35b348015610b0d57600080fd5b50610b286004803603810190610b2391906142ee565b612559565b005b348015610b3657600080fd5b50610b3f61256b565b005b610b5b6004803603810190610b569190614526565b61259f565b005b348015610b6957600080fd5b50610b72612882565b604051610b7f9190614084565b60405180910390f35b348015610b9457600080fd5b50610b9d612910565b604051610baa91906141e0565b60405180910390f35b348015610bbf57600080fd5b50610bda6004803603810190610bd59190614499565b612916565b604051610be791906141e0565b60405180910390f35b348015610bfc57600080fd5b50610c176004803603810190610c129190614716565b612928565b604051610c249190613fd0565b60405180910390f35b348015610c3957600080fd5b50610c546004803603810190610c4f91906140dc565b6129bc565b005b348015610c6257600080fd5b50610c6b612a93565b604051610c78919061414a565b60405180910390f35b348015610c8d57600080fd5b50610c96612ab9565b604051610ca39190613fd0565b60405180910390f35b348015610cb857600080fd5b50610cd36004803603810190610cce9190614499565b612acc565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610da057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610db05750610daf82612b50565b5b9050919050565b606060028054610dc690614785565b80601f0160208091040260200160405190810160405280929190818152602001828054610df290614785565b8015610e3f5780601f10610e1457610100808354040283529160200191610e3f565b820191906000526020600020905b815481529060010190602001808311610e2257829003601f168201915b5050505050905090565b6000610e5482612bba565b610e8a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ed08261126d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f38576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f57612c08565b73ffffffffffffffffffffffffffffffffffffffff1614158015610f895750610f8781610f82612c08565b612928565b155b15610fc0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fcb838383612c10565b505050565b601060009054906101000a900460ff1681565b6000610fed612cc2565b6001546000540303905090565b611005838383612ccb565b505050565b611012613181565b600061102983600e546131ff90919063ffffffff16565b101561106a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106190614803565b60405180910390fd5b6110748183613215565b61108982600e546131ff90919063ffffffff16565b600e819055505050565b60095481565b600b5481565b610d0581565b6110ad613181565b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b6110e1613181565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561112c573d6000803e3d6000fd5b5050565b61053581565b61115183838360405180602001604052806000815250612439565b505050565b61115e611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806111e45750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a9061486f565b60405180910390fd5b8060158190555050565b611235613181565b8060098190555050565b60195481565b61124d613181565b80600f9080519060200190611263929190613e36565b5050565b600e5481565b600061127882613233565b600001519050919050565b61128b611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113115750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611350576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113479061486f565b60405180910390fd5b80601a8190555050565b611362611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113e85750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141e9061486f565b60405180910390fd5b8060178190555050565b60175481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561149f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61150f613181565b61151960006134c2565b565b600a5481565b601a5481565b61152f611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806115b55750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb9061486f565b60405180910390fd5b80600b8190555050565b611606613181565b60004711611649576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611640906148db565b60405180910390fd5b60004790506000601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166116b060646116a260268661358890919063ffffffff16565b61359e90919063ffffffff16565b6040516116bc9061492c565b60006040518083038185875af1925050503d80600081146116f9576040519150601f19603f3d011682016040523d82523d6000602084013e6116fe565b606091505b505090506000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611764606461175660258761358890919063ffffffff16565b61359e90919063ffffffff16565b6040516117709061492c565b60006040518083038185875af1925050503d80600081146117ad576040519150601f19603f3d011682016040523d82523d6000602084013e6117b2565b606091505b505090506000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611818606461180a600f8861358890919063ffffffff16565b61359e90919063ffffffff16565b6040516118249061492c565b60006040518083038185875af1925050503d8060008114611861576040519150601f19603f3d011682016040523d82523d6000602084013e611866565b606091505b505090506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166118cc60646118be600a8961358890919063ffffffff16565b61359e90919063ffffffff16565b6040516118d89061492c565b60006040518083038185875af1925050503d8060008114611915576040519150601f19603f3d011682016040523d82523d6000602084013e61191a565b606091505b505090508380156119285750825b80156119315750815b801561193a5750805b611979576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119709061498d565b60405180910390fd5b5050505050565b611988611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611a0e5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a449061486f565b60405180910390fd5b8060188190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abc906149f9565b60405180910390fd5b601060009054906101000a900460ff16611b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0b90614a8b565b60405180910390fd5b610535611b3184611b23610fe3565b6135b490919063ffffffff16565b1115611b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6990614b1d565b60405180910390fd5b600083118015611b8457506019548311155b611bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bba90614baf565b60405180910390fd5b611bd883600c5461358890919063ffffffff16565b3414611c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1090614c1b565b60405180910390fd5b601754611c3784611c2933612916565b6135b490919063ffffffff16565b1115611c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6f90614cad565b60405180910390fd5b611cec828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5433604051602001611cd19190614d15565b604051602081830303815290604052805190602001206135ca565b611d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2290614d7c565b60405180910390fd5b611d353384613215565b505050565b600d5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d72611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611df85750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2e9061486f565b60405180910390fd5b8060168190555050565b611e49611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611ecf5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f059061486f565b60405180910390fd5b80600d8190555050565b606060038054611f2790614785565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5390614785565b8015611fa05780601f10611f7557610100808354040283529160200191611fa0565b820191906000526020600020905b815481529060010190602001808311611f8357829003601f168201915b5050505050905090565b60155481565b60185481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201b906149f9565b60405180910390fd5b601060019054906101000a900460ff16612073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206a90614de8565b60405180910390fd5b610d0561209082612082610fe3565b6135b490919063ffffffff16565b11156120d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c890614e54565b60405180910390fd5b6120e681600d5461358890919063ffffffff16565b3414612127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211e90614c1b565b60405180910390fd5b6000811180156121395750601a548111155b612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216f90614ec0565b60405180910390fd5b6015546121968261218833612916565b6135b490919063ffffffff16565b11156121d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ce90614f52565b60405180910390fd5b6121e13382613215565b50565b6121ec612c08565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612251576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061225e612c08565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661230b612c08565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123509190613fd0565b60405180910390a35050565b600c5481565b61236a611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806123f05750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61242f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124269061486f565b60405180910390fd5b8060198190555050565b612444848484612ccb565b6124638373ffffffffffffffffffffffffffffffffffffffff166135e1565b8015612478575061247684848484613604565b155b156124af576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61053581565b60606124c682612bba565b6124fc576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612506613755565b905060008151116125265760405180602001604052806000815250612551565b80612530846137e7565b604051602001612541929190614ffa565b6040516020818303038152906040525b915050919050565b612561613181565b80600a8190555050565b612573613181565b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461260d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612604906149f9565b60405180910390fd5b601060009054906101000a900460ff1661265c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265390614a8b565b60405180910390fd5b6105356126798461266b610fe3565b6135b490919063ffffffff16565b11156126ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b190615075565b60405180910390fd5b6000831180156126cc57506018548311155b61270b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270290615107565b60405180910390fd5b61272083600b5461358890919063ffffffff16565b3414612761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275890614c1b565b60405180910390fd5b60165461277f8461277133612916565b6135b490919063ffffffff16565b11156127c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b790614cad565b60405180910390fd5b612834828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600954336040516020016128199190614d15565b604051602081830303815290604052805190602001206135ca565b612873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286a90614d7c565b60405180910390fd5b61287d3384613215565b505050565b600f805461288f90614785565b80601f01602080910402602001604051908101604052809291908181526020018280546128bb90614785565b80156129085780601f106128dd57610100808354040283529160200191612908565b820191906000526020600020905b8154815290600101906020018083116128eb57829003601f168201915b505050505081565b60165481565b600061292182613948565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6129c4611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612a4a5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a809061486f565b60405180910390fd5b80600c8190555050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601060019054906101000a900460ff1681565b612ad4613181565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3b90615199565b60405180910390fd5b612b4d816134c2565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612bc5612cc2565b11158015612bd4575060005482105b8015612c01575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612cd682613233565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d41576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612d62612c08565b73ffffffffffffffffffffffffffffffffffffffff161480612d915750612d9085612d8b612c08565b612928565b5b80612dd65750612d9f612c08565b73ffffffffffffffffffffffffffffffffffffffff16612dbe84610e49565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612e0f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612e76576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e8385858560016139b2565b612e8f60008487612c10565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561310f57600054821461310e57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461317a85858560016139b8565b5050505050565b613189612c08565b73ffffffffffffffffffffffffffffffffffffffff166131a7611d40565b73ffffffffffffffffffffffffffffffffffffffff16146131fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131f490615205565b60405180910390fd5b565b6000818361320d9190615254565b905092915050565b61322f8282604051806020016040528060008152506139be565b5050565b61323b613ebc565b600082905080613249612cc2565b11158015613258575060005481105b1561348b576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161348957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461336d5780925050506134bd565b5b60011561348857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134835780925050506134bd565b61336e565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081836135969190615288565b905092915050565b600081836135ac9190615311565b905092915050565b600081836135c29190615342565b905092915050565b6000826135d785846139d0565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261362a612c08565b8786866040518563ffffffff1660e01b815260040161364c94939291906153ed565b6020604051808303816000875af192505050801561368857506040513d601f19601f82011682018060405250810190613685919061544e565b60015b613702573d80600081146136b8576040519150601f19603f3d011682016040523d82523d6000602084013e6136bd565b606091505b506000815114156136fa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f805461376490614785565b80601f016020809104026020016040519081016040528092919081815260200182805461379090614785565b80156137dd5780601f106137b2576101008083540402835291602001916137dd565b820191906000526020600020905b8154815290600101906020018083116137c057829003601f168201915b5050505050905090565b6060600082141561382f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613943565b600082905060005b6000821461386157808061384a9061547b565b915050600a8261385a9190615311565b9150613837565b60008167ffffffffffffffff81111561387d5761387c614325565b5b6040519080825280601f01601f1916602001820160405280156138af5781602001600182028036833780820191505090505b5090505b6000851461393c576001826138c89190615254565b9150600a856138d791906154c4565b60306138e39190615342565b60f81b8183815181106138f9576138f86154f5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856139359190615311565b94506138b3565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b6139cb8383836001613a26565b505050565b60008082905060005b8451811015613a1b57613a06828683815181106139f9576139f86154f5565b5b6020026020010151613df4565b91508080613a139061547b565b9150506139d9565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613a93576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613ace576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613adb60008683876139b2565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613ca55750613ca48773ffffffffffffffffffffffffffffffffffffffff166135e1565b5b15613d6b575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613d1a6000888480600101955088613604565b613d50576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613cab578260005414613d6657600080fd5b613dd7565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613d6c575b816000819055505050613ded60008683876139b8565b5050505050565b6000818310613e0c57613e078284613e1f565b613e17565b613e168383613e1f565b5b905092915050565b600082600052816020526040600020905092915050565b828054613e4290614785565b90600052602060002090601f016020900481019282613e645760008555613eab565b82601f10613e7d57805160ff1916838001178555613eab565b82800160010185558215613eab579182015b82811115613eaa578251825591602001919060010190613e8f565b5b509050613eb89190613eff565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613f18576000816000905550600101613f00565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f6581613f30565b8114613f7057600080fd5b50565b600081359050613f8281613f5c565b92915050565b600060208284031215613f9e57613f9d613f26565b5b6000613fac84828501613f73565b91505092915050565b60008115159050919050565b613fca81613fb5565b82525050565b6000602082019050613fe56000830184613fc1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561402557808201518184015260208101905061400a565b83811115614034576000848401525b50505050565b6000601f19601f8301169050919050565b600061405682613feb565b6140608185613ff6565b9350614070818560208601614007565b6140798161403a565b840191505092915050565b6000602082019050818103600083015261409e818461404b565b905092915050565b6000819050919050565b6140b9816140a6565b81146140c457600080fd5b50565b6000813590506140d6816140b0565b92915050565b6000602082840312156140f2576140f1613f26565b5b6000614100848285016140c7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061413482614109565b9050919050565b61414481614129565b82525050565b600060208201905061415f600083018461413b565b92915050565b61416e81614129565b811461417957600080fd5b50565b60008135905061418b81614165565b92915050565b600080604083850312156141a8576141a7613f26565b5b60006141b68582860161417c565b92505060206141c7858286016140c7565b9150509250929050565b6141da816140a6565b82525050565b60006020820190506141f560008301846141d1565b92915050565b60008060006060848603121561421457614213613f26565b5b60006142228682870161417c565b93505060206142338682870161417c565b9250506040614244868287016140c7565b9150509250925092565b6000806040838503121561426557614264613f26565b5b6000614273858286016140c7565b92505060206142848582860161417c565b9150509250929050565b6000819050919050565b6142a18161428e565b82525050565b60006020820190506142bc6000830184614298565b92915050565b6142cb8161428e565b81146142d657600080fd5b50565b6000813590506142e8816142c2565b92915050565b60006020828403121561430457614303613f26565b5b6000614312848285016142d9565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61435d8261403a565b810181811067ffffffffffffffff8211171561437c5761437b614325565b5b80604052505050565b600061438f613f1c565b905061439b8282614354565b919050565b600067ffffffffffffffff8211156143bb576143ba614325565b5b6143c48261403a565b9050602081019050919050565b82818337600083830152505050565b60006143f36143ee846143a0565b614385565b90508281526020810184848401111561440f5761440e614320565b5b61441a8482856143d1565b509392505050565b600082601f8301126144375761443661431b565b5b81356144478482602086016143e0565b91505092915050565b60006020828403121561446657614465613f26565b5b600082013567ffffffffffffffff81111561448457614483613f2b565b5b61449084828501614422565b91505092915050565b6000602082840312156144af576144ae613f26565b5b60006144bd8482850161417c565b91505092915050565b600080fd5b600080fd5b60008083601f8401126144e6576144e561431b565b5b8235905067ffffffffffffffff811115614503576145026144c6565b5b60208301915083602082028301111561451f5761451e6144cb565b5b9250929050565b60008060006040848603121561453f5761453e613f26565b5b600061454d868287016140c7565b935050602084013567ffffffffffffffff81111561456e5761456d613f2b565b5b61457a868287016144d0565b92509250509250925092565b61458f81613fb5565b811461459a57600080fd5b50565b6000813590506145ac81614586565b92915050565b600080604083850312156145c9576145c8613f26565b5b60006145d78582860161417c565b92505060206145e88582860161459d565b9150509250929050565b600067ffffffffffffffff82111561460d5761460c614325565b5b6146168261403a565b9050602081019050919050565b6000614636614631846145f2565b614385565b90508281526020810184848401111561465257614651614320565b5b61465d8482856143d1565b509392505050565b600082601f83011261467a5761467961431b565b5b813561468a848260208601614623565b91505092915050565b600080600080608085870312156146ad576146ac613f26565b5b60006146bb8782880161417c565b94505060206146cc8782880161417c565b93505060406146dd878288016140c7565b925050606085013567ffffffffffffffff8111156146fe576146fd613f2b565b5b61470a87828801614665565b91505092959194509250565b6000806040838503121561472d5761472c613f26565b5b600061473b8582860161417c565b925050602061474c8582860161417c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061479d57607f821691505b602082108114156147b1576147b0614756565b5b50919050565b7f4769766561776179732065786861757374656400000000000000000000000000600082015250565b60006147ed601383613ff6565b91506147f8826147b7565b602082019050919050565b6000602082019050818103600083015261481c816147e0565b9050919050565b7f4e6f7420617574686f72697a6564000000000000000000000000000000000000600082015250565b6000614859600e83613ff6565b915061486482614823565b602082019050919050565b600060208201905081810360008301526148888161484c565b9050919050565b7f4e6f2062616c616e636500000000000000000000000000000000000000000000600082015250565b60006148c5600a83613ff6565b91506148d08261488f565b602082019050919050565b600060208201905081810360008301526148f4816148b8565b9050919050565b600081905092915050565b50565b60006149166000836148fb565b915061492182614906565b600082019050919050565b600061493782614909565b9150819050919050565b7f5769746864726177616c206661696c65642e0000000000000000000000000000600082015250565b6000614977601283613ff6565b915061498282614941565b602082019050919050565b600060208201905081810360008301526149a68161496a565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b60006149e3601e83613ff6565b91506149ee826149ad565b602082019050919050565b60006020820190508181036000830152614a12816149d6565b9050919050565b7f57686974656c6973742053616c65206d7573742062652061637469766520746f60008201527f206d696e74000000000000000000000000000000000000000000000000000000602082015250565b6000614a75602583613ff6565b9150614a8082614a19565b604082019050919050565b60006020820190508181036000830152614aa481614a68565b9050919050565b7f546f74616c20564950574c20537570706c7920686173206265656e206d696e7460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b07602283613ff6565b9150614b1282614aab565b604082019050919050565b60006020820190508181036000830152614b3681614afa565b9050919050565b7f43616e206f6e6c79206d696e74207570746f2032204e46547320696e2061207460008201527f72616e73616374696f6e00000000000000000000000000000000000000000000602082015250565b6000614b99602a83613ff6565b9150614ba482614b3d565b604082019050919050565b60006020820190508181036000830152614bc881614b8c565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614c05601f83613ff6565b9150614c1082614bcf565b602082019050919050565b60006020820190508181036000830152614c3481614bf8565b9050919050565b7f45786365656473204d6178206d696e747320616c6c6f7765642070657220776860008201527f6974656c69737465642077616c6c657400000000000000000000000000000000602082015250565b6000614c97603083613ff6565b9150614ca282614c3b565b604082019050919050565b60006020820190508181036000830152614cc681614c8a565b9050919050565b60008160601b9050919050565b6000614ce582614ccd565b9050919050565b6000614cf782614cda565b9050919050565b614d0f614d0a82614129565b614cec565b82525050565b6000614d218284614cfe565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614d66600d83613ff6565b9150614d7182614d30565b602082019050919050565b60006020820190508181036000830152614d9581614d59565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b6000614dd2601b83613ff6565b9150614ddd82614d9c565b602082019050919050565b60006020820190508181036000830152614e0181614dc5565b9050919050565b7f546f74616c20537570706c7920686173206265656e206d696e74656400000000600082015250565b6000614e3e601c83613ff6565b9150614e4982614e08565b602082019050919050565b60006020820190508181036000830152614e6d81614e31565b9050919050565b7f312070545820616c6c6f77656400000000000000000000000000000000000000600082015250565b6000614eaa600d83613ff6565b9150614eb582614e74565b602082019050919050565b60006020820190508181036000830152614ed981614e9d565b9050919050565b7f45786365656473204d6178206d696e747320616c6c6f7765642070657220776160008201527f6c6c657400000000000000000000000000000000000000000000000000000000602082015250565b6000614f3c602483613ff6565b9150614f4782614ee0565b604082019050919050565b60006020820190508181036000830152614f6b81614f2f565b9050919050565b600081905092915050565b6000614f8882613feb565b614f928185614f72565b9350614fa2818560208601614007565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614fe4600583614f72565b9150614fef82614fae565b600582019050919050565b60006150068285614f7d565b91506150128284614f7d565b915061501d82614fd7565b91508190509392505050565b7f546f74616c20574c20537570706c7920686173206265656e206d696e74656400600082015250565b600061505f601f83613ff6565b915061506a82615029565b602082019050919050565b6000602082019050818103600083015261508e81615052565b9050919050565b7f43616e206f6e6c79206d696e74207570746f2031204e46547320696e2061207460008201527f72616e73616374696f6e00000000000000000000000000000000000000000000602082015250565b60006150f1602a83613ff6565b91506150fc82615095565b604082019050919050565b60006020820190508181036000830152615120816150e4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615183602683613ff6565b915061518e82615127565b604082019050919050565b600060208201905081810360008301526151b281615176565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006151ef602083613ff6565b91506151fa826151b9565b602082019050919050565b6000602082019050818103600083015261521e816151e2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061525f826140a6565b915061526a836140a6565b92508282101561527d5761527c615225565b5b828203905092915050565b6000615293826140a6565b915061529e836140a6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152d7576152d6615225565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061531c826140a6565b9150615327836140a6565b925082615337576153366152e2565b5b828204905092915050565b600061534d826140a6565b9150615358836140a6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561538d5761538c615225565b5b828201905092915050565b600081519050919050565b600082825260208201905092915050565b60006153bf82615398565b6153c981856153a3565b93506153d9818560208601614007565b6153e28161403a565b840191505092915050565b6000608082019050615402600083018761413b565b61540f602083018661413b565b61541c60408301856141d1565b818103606083015261542e81846153b4565b905095945050505050565b60008151905061544881613f5c565b92915050565b60006020828403121561546457615463613f26565b5b600061547284828501615439565b91505092915050565b6000615486826140a6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154b9576154b8615225565b5b600182019050919050565b60006154cf826140a6565b91506154da836140a6565b9250826154ea576154e96152e2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212201aa886bc552b0c913490a55026d1a796e632c4e4b728c57288ff88243654665a64736f6c634300080a0033
Deployed Bytecode
0x6080604052600436106103765760003560e01c806381d8488f116101d1578063a64a281a11610102578063d547cfb7116100a0578063ea64f7dd1161006f578063ea64f7dd14610c2d578063eacfc0ae14610c56578063eb8d244414610c81578063f2fde38b14610cac57610376565b8063d547cfb714610b5d578063db37faaf14610b88578063dc33e68114610bb3578063e985e9c514610bf057610376565b8063c87b56dd116100dc578063c87b56dd14610ac4578063c9d9b9f514610b01578063d1beca6414610b2a578063d2cab05614610b4157610376565b8063a64a281a14610a47578063b88d4fde14610a70578063c56acc8f14610a9957610376565b806391b7f5ed1161016f5780639db7863f116101495780639db7863f146109ac578063a0712d68146109d7578063a22cb465146109f3578063a29f1f6414610a1c57610376565b806391b7f5ed1461092d57806395d89b4114610956578063977b055b1461098157610376565b806388ef0018116101ab57806388ef0018146108925780638d859f3e146108ae5780638da5cb5b146108d95780638f3a89cf1461090457610376565b806381d8488f14610829578063853828b61461085257806387ea9f211461086957610376565b806342842e0e116102ab57806364f5a5bb1161024957806370a082311161022357806370a082311461077f578063715018a6146107bc57806372a1056c146107d35780637437681e146107fe57610376565b806364f5a5bb146107025780636895f1ca1461072b5780636d181fe61461075457610376565b80634f8f591b116102855780634f8f591b1461064657806355f804b31461067157806358ae3c541461069a5780636352211e146106c557610376565b806342842e0e146105cb57806345e313aa146105f45780634783f0ef1461061d57610376565b8063261d3b211161031857806332cb6b0c116102f257806332cb6b0c1461054757806334918dfd146105725780633ccfd60b146105895780633f676c50146105a057610376565b8063261d3b21146104c85780632eb4a7ab146104f157806331c3c7a01461051c57610376565b8063095ea7b311610354578063095ea7b31461042057806310b5454d1461044957806318160ddd1461047457806323b872dd1461049f57610376565b806301ffc9a71461037b57806306fdde03146103b8578063081812fc146103e3575b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d9190613f88565b610cd5565b6040516103af9190613fd0565b60405180910390f35b3480156103c457600080fd5b506103cd610db7565b6040516103da9190614084565b60405180910390f35b3480156103ef57600080fd5b5061040a600480360381019061040591906140dc565b610e49565b604051610417919061414a565b60405180910390f35b34801561042c57600080fd5b5061044760048036038101906104429190614191565b610ec5565b005b34801561045557600080fd5b5061045e610fd0565b60405161046b9190613fd0565b60405180910390f35b34801561048057600080fd5b50610489610fe3565b60405161049691906141e0565b60405180910390f35b3480156104ab57600080fd5b506104c660048036038101906104c191906141fb565b610ffa565b005b3480156104d457600080fd5b506104ef60048036038101906104ea919061424e565b61100a565b005b3480156104fd57600080fd5b50610506611093565b60405161051391906142a7565b60405180910390f35b34801561052857600080fd5b50610531611099565b60405161053e91906141e0565b60405180910390f35b34801561055357600080fd5b5061055c61109f565b60405161056991906141e0565b60405180910390f35b34801561057e57600080fd5b506105876110a5565b005b34801561059557600080fd5b5061059e6110d9565b005b3480156105ac57600080fd5b506105b5611130565b6040516105c291906141e0565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed91906141fb565b611136565b005b34801561060057600080fd5b5061061b600480360381019061061691906140dc565b611156565b005b34801561062957600080fd5b50610644600480360381019061063f91906142ee565b61122d565b005b34801561065257600080fd5b5061065b61123f565b60405161066891906141e0565b60405180910390f35b34801561067d57600080fd5b5061069860048036038101906106939190614450565b611245565b005b3480156106a657600080fd5b506106af611267565b6040516106bc91906141e0565b60405180910390f35b3480156106d157600080fd5b506106ec60048036038101906106e791906140dc565b61126d565b6040516106f9919061414a565b60405180910390f35b34801561070e57600080fd5b50610729600480360381019061072491906140dc565b611283565b005b34801561073757600080fd5b50610752600480360381019061074d91906140dc565b61135a565b005b34801561076057600080fd5b50610769611431565b60405161077691906141e0565b60405180910390f35b34801561078b57600080fd5b506107a660048036038101906107a19190614499565b611437565b6040516107b391906141e0565b60405180910390f35b3480156107c857600080fd5b506107d1611507565b005b3480156107df57600080fd5b506107e861151b565b6040516107f591906142a7565b60405180910390f35b34801561080a57600080fd5b50610813611521565b60405161082091906141e0565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b91906140dc565b611527565b005b34801561085e57600080fd5b506108676115fe565b005b34801561087557600080fd5b50610890600480360381019061088b91906140dc565b611980565b005b6108ac60048036038101906108a79190614526565b611a57565b005b3480156108ba57600080fd5b506108c3611d3a565b6040516108d091906141e0565b60405180910390f35b3480156108e557600080fd5b506108ee611d40565b6040516108fb919061414a565b60405180910390f35b34801561091057600080fd5b5061092b600480360381019061092691906140dc565b611d6a565b005b34801561093957600080fd5b50610954600480360381019061094f91906140dc565b611e41565b005b34801561096257600080fd5b5061096b611f18565b6040516109789190614084565b60405180910390f35b34801561098d57600080fd5b50610996611faa565b6040516109a391906141e0565b60405180910390f35b3480156109b857600080fd5b506109c1611fb0565b6040516109ce91906141e0565b60405180910390f35b6109f160048036038101906109ec91906140dc565b611fb6565b005b3480156109ff57600080fd5b50610a1a6004803603810190610a1591906145b2565b6121e4565b005b348015610a2857600080fd5b50610a3161235c565b604051610a3e91906141e0565b60405180910390f35b348015610a5357600080fd5b50610a6e6004803603810190610a6991906140dc565b612362565b005b348015610a7c57600080fd5b50610a976004803603810190610a929190614693565b612439565b005b348015610aa557600080fd5b50610aae6124b5565b604051610abb91906141e0565b60405180910390f35b348015610ad057600080fd5b50610aeb6004803603810190610ae691906140dc565b6124bb565b604051610af89190614084565b60405180910390f35b348015610b0d57600080fd5b50610b286004803603810190610b2391906142ee565b612559565b005b348015610b3657600080fd5b50610b3f61256b565b005b610b5b6004803603810190610b569190614526565b61259f565b005b348015610b6957600080fd5b50610b72612882565b604051610b7f9190614084565b60405180910390f35b348015610b9457600080fd5b50610b9d612910565b604051610baa91906141e0565b60405180910390f35b348015610bbf57600080fd5b50610bda6004803603810190610bd59190614499565b612916565b604051610be791906141e0565b60405180910390f35b348015610bfc57600080fd5b50610c176004803603810190610c129190614716565b612928565b604051610c249190613fd0565b60405180910390f35b348015610c3957600080fd5b50610c546004803603810190610c4f91906140dc565b6129bc565b005b348015610c6257600080fd5b50610c6b612a93565b604051610c78919061414a565b60405180910390f35b348015610c8d57600080fd5b50610c96612ab9565b604051610ca39190613fd0565b60405180910390f35b348015610cb857600080fd5b50610cd36004803603810190610cce9190614499565b612acc565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610da057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610db05750610daf82612b50565b5b9050919050565b606060028054610dc690614785565b80601f0160208091040260200160405190810160405280929190818152602001828054610df290614785565b8015610e3f5780601f10610e1457610100808354040283529160200191610e3f565b820191906000526020600020905b815481529060010190602001808311610e2257829003601f168201915b5050505050905090565b6000610e5482612bba565b610e8a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ed08261126d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f38576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f57612c08565b73ffffffffffffffffffffffffffffffffffffffff1614158015610f895750610f8781610f82612c08565b612928565b155b15610fc0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fcb838383612c10565b505050565b601060009054906101000a900460ff1681565b6000610fed612cc2565b6001546000540303905090565b611005838383612ccb565b505050565b611012613181565b600061102983600e546131ff90919063ffffffff16565b101561106a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106190614803565b60405180910390fd5b6110748183613215565b61108982600e546131ff90919063ffffffff16565b600e819055505050565b60095481565b600b5481565b610d0581565b6110ad613181565b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b6110e1613181565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561112c573d6000803e3d6000fd5b5050565b61053581565b61115183838360405180602001604052806000815250612439565b505050565b61115e611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806111e45750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a9061486f565b60405180910390fd5b8060158190555050565b611235613181565b8060098190555050565b60195481565b61124d613181565b80600f9080519060200190611263929190613e36565b5050565b600e5481565b600061127882613233565b600001519050919050565b61128b611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113115750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611350576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113479061486f565b60405180910390fd5b80601a8190555050565b611362611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113e85750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141e9061486f565b60405180910390fd5b8060178190555050565b60175481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561149f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61150f613181565b61151960006134c2565b565b600a5481565b601a5481565b61152f611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806115b55750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb9061486f565b60405180910390fd5b80600b8190555050565b611606613181565b60004711611649576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611640906148db565b60405180910390fd5b60004790506000601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166116b060646116a260268661358890919063ffffffff16565b61359e90919063ffffffff16565b6040516116bc9061492c565b60006040518083038185875af1925050503d80600081146116f9576040519150601f19603f3d011682016040523d82523d6000602084013e6116fe565b606091505b505090506000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611764606461175660258761358890919063ffffffff16565b61359e90919063ffffffff16565b6040516117709061492c565b60006040518083038185875af1925050503d80600081146117ad576040519150601f19603f3d011682016040523d82523d6000602084013e6117b2565b606091505b505090506000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611818606461180a600f8861358890919063ffffffff16565b61359e90919063ffffffff16565b6040516118249061492c565b60006040518083038185875af1925050503d8060008114611861576040519150601f19603f3d011682016040523d82523d6000602084013e611866565b606091505b505090506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166118cc60646118be600a8961358890919063ffffffff16565b61359e90919063ffffffff16565b6040516118d89061492c565b60006040518083038185875af1925050503d8060008114611915576040519150601f19603f3d011682016040523d82523d6000602084013e61191a565b606091505b505090508380156119285750825b80156119315750815b801561193a5750805b611979576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119709061498d565b60405180910390fd5b5050505050565b611988611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611a0e5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a449061486f565b60405180910390fd5b8060188190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abc906149f9565b60405180910390fd5b601060009054906101000a900460ff16611b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0b90614a8b565b60405180910390fd5b610535611b3184611b23610fe3565b6135b490919063ffffffff16565b1115611b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6990614b1d565b60405180910390fd5b600083118015611b8457506019548311155b611bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bba90614baf565b60405180910390fd5b611bd883600c5461358890919063ffffffff16565b3414611c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1090614c1b565b60405180910390fd5b601754611c3784611c2933612916565b6135b490919063ffffffff16565b1115611c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6f90614cad565b60405180910390fd5b611cec828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5433604051602001611cd19190614d15565b604051602081830303815290604052805190602001206135ca565b611d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2290614d7c565b60405180910390fd5b611d353384613215565b505050565b600d5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d72611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611df85750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2e9061486f565b60405180910390fd5b8060168190555050565b611e49611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611ecf5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f059061486f565b60405180910390fd5b80600d8190555050565b606060038054611f2790614785565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5390614785565b8015611fa05780601f10611f7557610100808354040283529160200191611fa0565b820191906000526020600020905b815481529060010190602001808311611f8357829003601f168201915b5050505050905090565b60155481565b60185481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201b906149f9565b60405180910390fd5b601060019054906101000a900460ff16612073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206a90614de8565b60405180910390fd5b610d0561209082612082610fe3565b6135b490919063ffffffff16565b11156120d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c890614e54565b60405180910390fd5b6120e681600d5461358890919063ffffffff16565b3414612127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211e90614c1b565b60405180910390fd5b6000811180156121395750601a548111155b612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216f90614ec0565b60405180910390fd5b6015546121968261218833612916565b6135b490919063ffffffff16565b11156121d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ce90614f52565b60405180910390fd5b6121e13382613215565b50565b6121ec612c08565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612251576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061225e612c08565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661230b612c08565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123509190613fd0565b60405180910390a35050565b600c5481565b61236a611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806123f05750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61242f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124269061486f565b60405180910390fd5b8060198190555050565b612444848484612ccb565b6124638373ffffffffffffffffffffffffffffffffffffffff166135e1565b8015612478575061247684848484613604565b155b156124af576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61053581565b60606124c682612bba565b6124fc576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612506613755565b905060008151116125265760405180602001604052806000815250612551565b80612530846137e7565b604051602001612541929190614ffa565b6040516020818303038152906040525b915050919050565b612561613181565b80600a8190555050565b612573613181565b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461260d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612604906149f9565b60405180910390fd5b601060009054906101000a900460ff1661265c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265390614a8b565b60405180910390fd5b6105356126798461266b610fe3565b6135b490919063ffffffff16565b11156126ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b190615075565b60405180910390fd5b6000831180156126cc57506018548311155b61270b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270290615107565b60405180910390fd5b61272083600b5461358890919063ffffffff16565b3414612761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275890614c1b565b60405180910390fd5b60165461277f8461277133612916565b6135b490919063ffffffff16565b11156127c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b790614cad565b60405180910390fd5b612834828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600954336040516020016128199190614d15565b604051602081830303815290604052805190602001206135ca565b612873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286a90614d7c565b60405180910390fd5b61287d3384613215565b505050565b600f805461288f90614785565b80601f01602080910402602001604051908101604052809291908181526020018280546128bb90614785565b80156129085780601f106128dd57610100808354040283529160200191612908565b820191906000526020600020905b8154815290600101906020018083116128eb57829003601f168201915b505050505081565b60165481565b600061292182613948565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6129c4611d40565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612a4a5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a809061486f565b60405180910390fd5b80600c8190555050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601060019054906101000a900460ff1681565b612ad4613181565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3b90615199565b60405180910390fd5b612b4d816134c2565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612bc5612cc2565b11158015612bd4575060005482105b8015612c01575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612cd682613233565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d41576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612d62612c08565b73ffffffffffffffffffffffffffffffffffffffff161480612d915750612d9085612d8b612c08565b612928565b5b80612dd65750612d9f612c08565b73ffffffffffffffffffffffffffffffffffffffff16612dbe84610e49565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612e0f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612e76576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e8385858560016139b2565b612e8f60008487612c10565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561310f57600054821461310e57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461317a85858560016139b8565b5050505050565b613189612c08565b73ffffffffffffffffffffffffffffffffffffffff166131a7611d40565b73ffffffffffffffffffffffffffffffffffffffff16146131fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131f490615205565b60405180910390fd5b565b6000818361320d9190615254565b905092915050565b61322f8282604051806020016040528060008152506139be565b5050565b61323b613ebc565b600082905080613249612cc2565b11158015613258575060005481105b1561348b576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161348957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461336d5780925050506134bd565b5b60011561348857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134835780925050506134bd565b61336e565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081836135969190615288565b905092915050565b600081836135ac9190615311565b905092915050565b600081836135c29190615342565b905092915050565b6000826135d785846139d0565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261362a612c08565b8786866040518563ffffffff1660e01b815260040161364c94939291906153ed565b6020604051808303816000875af192505050801561368857506040513d601f19601f82011682018060405250810190613685919061544e565b60015b613702573d80600081146136b8576040519150601f19603f3d011682016040523d82523d6000602084013e6136bd565b606091505b506000815114156136fa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f805461376490614785565b80601f016020809104026020016040519081016040528092919081815260200182805461379090614785565b80156137dd5780601f106137b2576101008083540402835291602001916137dd565b820191906000526020600020905b8154815290600101906020018083116137c057829003601f168201915b5050505050905090565b6060600082141561382f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613943565b600082905060005b6000821461386157808061384a9061547b565b915050600a8261385a9190615311565b9150613837565b60008167ffffffffffffffff81111561387d5761387c614325565b5b6040519080825280601f01601f1916602001820160405280156138af5781602001600182028036833780820191505090505b5090505b6000851461393c576001826138c89190615254565b9150600a856138d791906154c4565b60306138e39190615342565b60f81b8183815181106138f9576138f86154f5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856139359190615311565b94506138b3565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b6139cb8383836001613a26565b505050565b60008082905060005b8451811015613a1b57613a06828683815181106139f9576139f86154f5565b5b6020026020010151613df4565b91508080613a139061547b565b9150506139d9565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613a93576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613ace576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613adb60008683876139b2565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613ca55750613ca48773ffffffffffffffffffffffffffffffffffffffff166135e1565b5b15613d6b575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613d1a6000888480600101955088613604565b613d50576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613cab578260005414613d6657600080fd5b613dd7565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613d6c575b816000819055505050613ded60008683876139b8565b5050505050565b6000818310613e0c57613e078284613e1f565b613e17565b613e168383613e1f565b5b905092915050565b600082600052816020526040600020905092915050565b828054613e4290614785565b90600052602060002090601f016020900481019282613e645760008555613eab565b82601f10613e7d57805160ff1916838001178555613eab565b82800160010185558215613eab579182015b82811115613eaa578251825591602001919060010190613e8f565b5b509050613eb89190613eff565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613f18576000816000905550600101613f00565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f6581613f30565b8114613f7057600080fd5b50565b600081359050613f8281613f5c565b92915050565b600060208284031215613f9e57613f9d613f26565b5b6000613fac84828501613f73565b91505092915050565b60008115159050919050565b613fca81613fb5565b82525050565b6000602082019050613fe56000830184613fc1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561402557808201518184015260208101905061400a565b83811115614034576000848401525b50505050565b6000601f19601f8301169050919050565b600061405682613feb565b6140608185613ff6565b9350614070818560208601614007565b6140798161403a565b840191505092915050565b6000602082019050818103600083015261409e818461404b565b905092915050565b6000819050919050565b6140b9816140a6565b81146140c457600080fd5b50565b6000813590506140d6816140b0565b92915050565b6000602082840312156140f2576140f1613f26565b5b6000614100848285016140c7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061413482614109565b9050919050565b61414481614129565b82525050565b600060208201905061415f600083018461413b565b92915050565b61416e81614129565b811461417957600080fd5b50565b60008135905061418b81614165565b92915050565b600080604083850312156141a8576141a7613f26565b5b60006141b68582860161417c565b92505060206141c7858286016140c7565b9150509250929050565b6141da816140a6565b82525050565b60006020820190506141f560008301846141d1565b92915050565b60008060006060848603121561421457614213613f26565b5b60006142228682870161417c565b93505060206142338682870161417c565b9250506040614244868287016140c7565b9150509250925092565b6000806040838503121561426557614264613f26565b5b6000614273858286016140c7565b92505060206142848582860161417c565b9150509250929050565b6000819050919050565b6142a18161428e565b82525050565b60006020820190506142bc6000830184614298565b92915050565b6142cb8161428e565b81146142d657600080fd5b50565b6000813590506142e8816142c2565b92915050565b60006020828403121561430457614303613f26565b5b6000614312848285016142d9565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61435d8261403a565b810181811067ffffffffffffffff8211171561437c5761437b614325565b5b80604052505050565b600061438f613f1c565b905061439b8282614354565b919050565b600067ffffffffffffffff8211156143bb576143ba614325565b5b6143c48261403a565b9050602081019050919050565b82818337600083830152505050565b60006143f36143ee846143a0565b614385565b90508281526020810184848401111561440f5761440e614320565b5b61441a8482856143d1565b509392505050565b600082601f8301126144375761443661431b565b5b81356144478482602086016143e0565b91505092915050565b60006020828403121561446657614465613f26565b5b600082013567ffffffffffffffff81111561448457614483613f2b565b5b61449084828501614422565b91505092915050565b6000602082840312156144af576144ae613f26565b5b60006144bd8482850161417c565b91505092915050565b600080fd5b600080fd5b60008083601f8401126144e6576144e561431b565b5b8235905067ffffffffffffffff811115614503576145026144c6565b5b60208301915083602082028301111561451f5761451e6144cb565b5b9250929050565b60008060006040848603121561453f5761453e613f26565b5b600061454d868287016140c7565b935050602084013567ffffffffffffffff81111561456e5761456d613f2b565b5b61457a868287016144d0565b92509250509250925092565b61458f81613fb5565b811461459a57600080fd5b50565b6000813590506145ac81614586565b92915050565b600080604083850312156145c9576145c8613f26565b5b60006145d78582860161417c565b92505060206145e88582860161459d565b9150509250929050565b600067ffffffffffffffff82111561460d5761460c614325565b5b6146168261403a565b9050602081019050919050565b6000614636614631846145f2565b614385565b90508281526020810184848401111561465257614651614320565b5b61465d8482856143d1565b509392505050565b600082601f83011261467a5761467961431b565b5b813561468a848260208601614623565b91505092915050565b600080600080608085870312156146ad576146ac613f26565b5b60006146bb8782880161417c565b94505060206146cc8782880161417c565b93505060406146dd878288016140c7565b925050606085013567ffffffffffffffff8111156146fe576146fd613f2b565b5b61470a87828801614665565b91505092959194509250565b6000806040838503121561472d5761472c613f26565b5b600061473b8582860161417c565b925050602061474c8582860161417c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061479d57607f821691505b602082108114156147b1576147b0614756565b5b50919050565b7f4769766561776179732065786861757374656400000000000000000000000000600082015250565b60006147ed601383613ff6565b91506147f8826147b7565b602082019050919050565b6000602082019050818103600083015261481c816147e0565b9050919050565b7f4e6f7420617574686f72697a6564000000000000000000000000000000000000600082015250565b6000614859600e83613ff6565b915061486482614823565b602082019050919050565b600060208201905081810360008301526148888161484c565b9050919050565b7f4e6f2062616c616e636500000000000000000000000000000000000000000000600082015250565b60006148c5600a83613ff6565b91506148d08261488f565b602082019050919050565b600060208201905081810360008301526148f4816148b8565b9050919050565b600081905092915050565b50565b60006149166000836148fb565b915061492182614906565b600082019050919050565b600061493782614909565b9150819050919050565b7f5769746864726177616c206661696c65642e0000000000000000000000000000600082015250565b6000614977601283613ff6565b915061498282614941565b602082019050919050565b600060208201905081810360008301526149a68161496a565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b60006149e3601e83613ff6565b91506149ee826149ad565b602082019050919050565b60006020820190508181036000830152614a12816149d6565b9050919050565b7f57686974656c6973742053616c65206d7573742062652061637469766520746f60008201527f206d696e74000000000000000000000000000000000000000000000000000000602082015250565b6000614a75602583613ff6565b9150614a8082614a19565b604082019050919050565b60006020820190508181036000830152614aa481614a68565b9050919050565b7f546f74616c20564950574c20537570706c7920686173206265656e206d696e7460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b07602283613ff6565b9150614b1282614aab565b604082019050919050565b60006020820190508181036000830152614b3681614afa565b9050919050565b7f43616e206f6e6c79206d696e74207570746f2032204e46547320696e2061207460008201527f72616e73616374696f6e00000000000000000000000000000000000000000000602082015250565b6000614b99602a83613ff6565b9150614ba482614b3d565b604082019050919050565b60006020820190508181036000830152614bc881614b8c565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614c05601f83613ff6565b9150614c1082614bcf565b602082019050919050565b60006020820190508181036000830152614c3481614bf8565b9050919050565b7f45786365656473204d6178206d696e747320616c6c6f7765642070657220776860008201527f6974656c69737465642077616c6c657400000000000000000000000000000000602082015250565b6000614c97603083613ff6565b9150614ca282614c3b565b604082019050919050565b60006020820190508181036000830152614cc681614c8a565b9050919050565b60008160601b9050919050565b6000614ce582614ccd565b9050919050565b6000614cf782614cda565b9050919050565b614d0f614d0a82614129565b614cec565b82525050565b6000614d218284614cfe565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614d66600d83613ff6565b9150614d7182614d30565b602082019050919050565b60006020820190508181036000830152614d9581614d59565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b6000614dd2601b83613ff6565b9150614ddd82614d9c565b602082019050919050565b60006020820190508181036000830152614e0181614dc5565b9050919050565b7f546f74616c20537570706c7920686173206265656e206d696e74656400000000600082015250565b6000614e3e601c83613ff6565b9150614e4982614e08565b602082019050919050565b60006020820190508181036000830152614e6d81614e31565b9050919050565b7f312070545820616c6c6f77656400000000000000000000000000000000000000600082015250565b6000614eaa600d83613ff6565b9150614eb582614e74565b602082019050919050565b60006020820190508181036000830152614ed981614e9d565b9050919050565b7f45786365656473204d6178206d696e747320616c6c6f7765642070657220776160008201527f6c6c657400000000000000000000000000000000000000000000000000000000602082015250565b6000614f3c602483613ff6565b9150614f4782614ee0565b604082019050919050565b60006020820190508181036000830152614f6b81614f2f565b9050919050565b600081905092915050565b6000614f8882613feb565b614f928185614f72565b9350614fa2818560208601614007565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614fe4600583614f72565b9150614fef82614fae565b600582019050919050565b60006150068285614f7d565b91506150128284614f7d565b915061501d82614fd7565b91508190509392505050565b7f546f74616c20574c20537570706c7920686173206265656e206d696e74656400600082015250565b600061505f601f83613ff6565b915061506a82615029565b602082019050919050565b6000602082019050818103600083015261508e81615052565b9050919050565b7f43616e206f6e6c79206d696e74207570746f2031204e46547320696e2061207460008201527f72616e73616374696f6e00000000000000000000000000000000000000000000602082015250565b60006150f1602a83613ff6565b91506150fc82615095565b604082019050919050565b60006020820190508181036000830152615120816150e4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615183602683613ff6565b915061518e82615127565b604082019050919050565b600060208201905081810360008301526151b281615176565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006151ef602083613ff6565b91506151fa826151b9565b602082019050919050565b6000602082019050818103600083015261521e816151e2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061525f826140a6565b915061526a836140a6565b92508282101561527d5761527c615225565b5b828203905092915050565b6000615293826140a6565b915061529e836140a6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152d7576152d6615225565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061531c826140a6565b9150615327836140a6565b925082615337576153366152e2565b5b828204905092915050565b600061534d826140a6565b9150615358836140a6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561538d5761538c615225565b5b828201905092915050565b600081519050919050565b600082825260208201905092915050565b60006153bf82615398565b6153c981856153a3565b93506153d9818560208601614007565b6153e28161403a565b840191505092915050565b6000608082019050615402600083018761413b565b61540f602083018661413b565b61541c60408301856141d1565b818103606083015261542e81846153b4565b905095945050505050565b60008151905061544881613f5c565b92915050565b60006020828403121561546457615463613f26565b5b600061547284828501615439565b91505092915050565b6000615486826140a6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154b9576154b8615225565b5b600182019050919050565b60006154cf826140a6565b91506154da836140a6565b9250826154ea576154e96152e2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212201aa886bc552b0c913490a55026d1a796e632c4e4b728c57288ff88243654665a64736f6c634300080a0033
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.