Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
5,555 DDLZ
Holders
3,277
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 DDLZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Dudelz
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /// // // /// ////////// // ////////// // // // // // // ////////// // // // // // // // // // // // // // // // // // ////////// // // // // // // // // ////////// // // // // // // // // // // // // // // // // // ////////// ////////// // /// ////////// /// ////////// ////////// ////////// contract Dudelz is ERC721A, Ownable { using SafeMath for uint256; using Strings for uint256; uint256 public MAX_SUPPLY = 5555; uint256 public MAX_PUBLIC_MINT = 1; uint256 public MAX_GOLDLIST_MINT = 1; uint256 public MAX_NFTPERADDRESSLIMIT = 1; uint256 public PUBLIC_SALE_PRICE = 0.000 ether; uint256 public GOLDLIST_SALE_PRICE = 0.000 ether; uint256 public MINETHVALUE = 0.04 ether; string private baseTokenUri; bool public publicSale; bool public goldListSale; bool public pause; bool public teamMinted; // List of addresses allowed to mint during Goldlist presale address[] public goldlistedAddresses; mapping(address => uint256) public totalPublicMint; mapping(address => uint256) public totalGoldlistMint; mapping(address => uint256) public addressMintedBalance; constructor() ERC721A("Dudelz", "DDLZ"){ } modifier callerIsUser() { require(tx.origin == msg.sender, "Dudelz :: Cannot be called by a contract"); _; } function mint(uint256 _quantity) external payable callerIsUser{ require(publicSale, "Dudelz :: Not Yet Active."); require((totalSupply() + _quantity) <= MAX_SUPPLY, "Dudelz :: Cannot mint beyond max supply"); require((totalPublicMint[msg.sender] +_quantity) <= MAX_PUBLIC_MINT, "Dudelz :: Cannot mint beyond max mint!"); require(msg.value >= (PUBLIC_SALE_PRICE * _quantity), "Dudelz :: Payment is below the price"); require((msg.sender).balance >= MINETHVALUE, "Dudelz :: Minimum Eth balance is too low"); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require(ownerMintedCount + _quantity <= MAX_NFTPERADDRESSLIMIT, "Dudelz :: Max NFT per address exceeded"); totalPublicMint[msg.sender] += _quantity; _safeMint(msg.sender, _quantity); } function goldlistMint(uint256 _quantity) external payable callerIsUser{ require(goldListSale, "Dudelz :: Minting is on Pause"); require((totalSupply() + _quantity) <= MAX_SUPPLY, "Dudelz :: Cannot mint beyond max supply"); require((totalGoldlistMint[msg.sender] + _quantity) <= MAX_GOLDLIST_MINT, "Dudelz :: Cannot mint beyond whitelist max mint!"); require(msg.value >= (GOLDLIST_SALE_PRICE * _quantity), "Dudelz :: Payment is below the price"); require((msg.sender).balance >= MINETHVALUE, "Dudelz :: Minimum Eth balance is too low"); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require(ownerMintedCount + _quantity <= MAX_NFTPERADDRESSLIMIT, "Dudelz :: Max NFT per address exceeded"); require(isGoldlisted(msg.sender), "Dudelz :: User is not whitelisted"); totalGoldlistMint[msg.sender] += _quantity; _safeMint(msg.sender, _quantity); } function isGoldlisted(address _user) public view returns (bool) { for (uint i = 0; i < goldlistedAddresses.length; i++) { if (goldlistedAddresses[i] == _user) { return true; } } return false; } /// @dev Returns the tokenIds of the address. O(totalSupply) in complexity. function tokensOfOwner(address owner) external view returns (uint256[] memory) { unchecked { uint256[] memory a = new uint256[](balanceOf(owner)); uint256 end = _currentIndex; uint256 tokenIdsIdx; address currOwnershipAddr; for (uint256 i; i < end; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { a[tokenIdsIdx++] = i; } } return a; } } function teamMint(uint256 _mintAmount, address _receiver) public onlyOwner { require((totalSupply() + _mintAmount) <= MAX_SUPPLY, "Dudelz :: Cannot mint beyond max supply"); _safeMint(_receiver, _mintAmount); } function _baseURI() internal view virtual override returns (string memory) { return baseTokenUri; } //return uri for certain token function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); uint256 trueId = tokenId + 1; //string memory baseURI = _baseURI(); return bytes(baseTokenUri).length > 0 ? string(abi.encodePacked(baseTokenUri, trueId.toString(), ".json")) : ""; } function setTokenUri(string memory _baseTokenUri) external onlyOwner{ baseTokenUri = _baseTokenUri; } function togglePause() external onlyOwner{ pause = !pause; } function toggleGoldListSale() external onlyOwner{ goldListSale = !goldListSale; } function togglePublicSale() external onlyOwner{ publicSale = !publicSale; } function setPublicCost(uint256 _newCost) public onlyOwner { PUBLIC_SALE_PRICE = _newCost; } function setGoldlistCost(uint256 _newCost) public onlyOwner { GOLDLIST_SALE_PRICE = _newCost; } function setmaxPublicMintAmount(uint256 _newmaxMintAmount) public onlyOwner { MAX_PUBLIC_MINT = _newmaxMintAmount; } function setmaxGoldMintAmount(uint256 _newmaxMintAmount) public onlyOwner { MAX_GOLDLIST_MINT = _newmaxMintAmount; } function setNftPerAddressLimit(uint256 _limit) public onlyOwner { MAX_NFTPERADDRESSLIMIT = _limit; } function setmaxSupply(uint256 _newmaxSupply) public onlyOwner { MAX_SUPPLY = _newmaxSupply; } function setMinEthValue(uint256 _newminEthValue) public onlyOwner { MINETHVALUE = _newminEthValue; } function GoldlistUsers(address[] calldata _users) public onlyOwner { delete goldlistedAddresses; goldlistedAddresses = _users; } function withdraw() public onlyOwner { // This will pay MLM 3% of the initial sale. // ============================================================================= (bool hs, ) = payable(0x91D40EdfF22dFea50385e873DE15FaD03994C3c2).call{value: address(this).balance * 3 / 100}(""); require(hs); // ============================================================================= // This will transfer the remaining contract balance to the owner. // Do not remove this otherwise you will not be able to withdraw the funds. // ============================================================================= (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); // ============================================================================= } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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.8.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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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 (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.8.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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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/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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// 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.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _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) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _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 pragma solidity ^0.8.12; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; import 'operator-filter-registry/src/DefaultOperatorFilterer.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, DefaultOperatorFilterer { 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 operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { address owner = ERC721A.ownerOf(tokenId); if (operator == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(operator, 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 override onlyAllowedOperatorApproval(operator) { 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 onlyAllowedOperator(from) { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override onlyAllowedOperator(from) { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override onlyAllowedOperator(from) { _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 pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
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":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":"GOLDLIST_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"GoldlistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"MAX_GOLDLIST_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NFTPERADDRESSLIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINETHVALUE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"goldListSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"goldlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"goldlistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isGoldlisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setGoldlistCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newminEthValue","type":"uint256"}],"name":"setMinEthValue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPublicCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenUri","type":"string"}],"name":"setTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxGoldMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxPublicMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxSupply","type":"uint256"}],"name":"setmaxSupply","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":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleGoldListSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalGoldlistMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526115b36009556001600a556001600b556001600c556000600d556000600e55668e1bc9bf040000600f553480156200003b57600080fd5b506040518060400160405280600681526020017f447564656c7a00000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f44444c5a00000000000000000000000000000000000000000000000000000000815250733cc6cdda760b79bafa08df41ecfa224f810dceb6600160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002b45780156200017a576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200014092919062000430565b600060405180830381600087803b1580156200015b57600080fd5b505af115801562000170573d6000803e3d6000fd5b50505050620002b3565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000234576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620001fa92919062000430565b600060405180830381600087803b1580156200021557600080fd5b505af11580156200022a573d6000803e3d6000fd5b50505050620002b2565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200027d91906200045d565b600060405180830381600087803b1580156200029857600080fd5b505af1158015620002ad573d6000803e3d6000fd5b505050505b5b5b50508160029081620002c79190620006f4565b508060039081620002d99190620006f4565b50620002ea6200031860201b60201c565b600081905550505062000312620003066200031d60201b60201c565b6200032560201b60201c565b620007db565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200041882620003eb565b9050919050565b6200042a816200040b565b82525050565b60006040820190506200044760008301856200041f565b6200045660208301846200041f565b9392505050565b60006020820190506200047460008301846200041f565b92915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004fc57607f821691505b602082108103620005125762000511620004b4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200057c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200053d565b6200058886836200053d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005d5620005cf620005c984620005a0565b620005aa565b620005a0565b9050919050565b6000819050919050565b620005f183620005b4565b620006096200060082620005dc565b8484546200054a565b825550505050565b600090565b6200062062000611565b6200062d818484620005e6565b505050565b5b8181101562000655576200064960008262000616565b60018101905062000633565b5050565b601f821115620006a4576200066e8162000518565b62000679846200052d565b8101602085101562000689578190505b620006a162000698856200052d565b83018262000632565b50505b505050565b600082821c905092915050565b6000620006c960001984600802620006a9565b1980831691505092915050565b6000620006e48383620006b6565b9150826002028217905092915050565b620006ff826200047a565b67ffffffffffffffff8111156200071b576200071a62000485565b5b620007278254620004e3565b6200073482828562000659565b600060209050601f8311600181146200076c576000841562000757578287015190505b620007638582620006d6565b865550620007d3565b601f1984166200077c8662000518565b60005b82811015620007a6578489015182556001820191506020850194506020810190506200077f565b86831015620007c65784890151620007c2601f891682620006b6565b8355505b6001600288020188555050505b505050505050565b614dab80620007eb6000396000f3fe6080604052600436106102e35760003560e01c8063715018a611610190578063be9f5dbc116100dc578063cd4cca4511610095578063e222c7f91161006f578063e222c7f914610b07578063e8b5498d14610b1e578063e985e9c514610b49578063f2fde38b14610b86576102e3565b8063cd4cca4514610aab578063d0eb26b014610ac7578063d66d52b714610af0576102e3565b8063be9f5dbc146109b3578063bfa457bc146109dc578063c4ae316814610a05578063c87b56dd14610a1c578063c9c7053414610a59578063ccf1b85714610a82576102e3565b806395d89b4111610149578063b21a3e6111610123578063b21a3e61146108f7578063b4ba0b0b14610922578063b88d4fde1461095f578063ba313f0114610988576102e3565b806395d89b4114610887578063a0712d68146108b2578063a22cb465146108ce576102e3565b8063715018a61461078b57806377e2fc82146107a2578063811d2437146107cb5780638456cb59146107f45780638462151c1461081f5780638da5cb5b1461085c576102e3565b80632212a95e1161024f5780633ccfd60b116102085780636352211e116101e25780636352211e146106a957806365f13097146106e6578063661b200c1461071157806370a082311461074e576102e3565b80633ccfd60b1461063e57806341f434341461065557806342842e0e14610680576102e3565b80632212a95e14610540578063228025e81461056b57806323b872dd1461059457806328f8b591146105bd57806332cb6b0c146105e857806333bc1c5c14610613576102e3565b8063095ea7b3116102a1578063095ea7b31461040a5780630ac0aebe1461043357806318160ddd1461047057806318cae2691461049b5780631c16521c146104d85780631e25b58914610515576102e3565b80626dec61146102e857806301ffc9a7146103115780630675b7c61461034e57806306fdde031461037757806307e89ec0146103a2578063081812fc146103cd575b600080fd5b3480156102f457600080fd5b5061030f600480360381019061030a91906136be565b610baf565b005b34801561031d57600080fd5b5061033860048036038101906103339190613743565b610bc1565b604051610345919061378b565b60405180910390f35b34801561035a57600080fd5b50610375600480360381019061037091906138ec565b610ca3565b005b34801561038357600080fd5b5061038c610cbe565b60405161039991906139b4565b60405180910390f35b3480156103ae57600080fd5b506103b7610d50565b6040516103c491906139e5565b60405180910390f35b3480156103d957600080fd5b506103f460048036038101906103ef91906136be565b610d56565b6040516104019190613a41565b60405180910390f35b34801561041657600080fd5b50610431600480360381019061042c9190613a88565b610dd2565b005b34801561043f57600080fd5b5061045a600480360381019061045591906136be565b610ee7565b6040516104679190613a41565b60405180910390f35b34801561047c57600080fd5b50610485610f26565b60405161049291906139e5565b60405180910390f35b3480156104a757600080fd5b506104c260048036038101906104bd9190613ac8565b610f3d565b6040516104cf91906139e5565b60405180910390f35b3480156104e457600080fd5b506104ff60048036038101906104fa9190613ac8565b610f55565b60405161050c91906139e5565b60405180910390f35b34801561052157600080fd5b5061052a610f6d565b60405161053791906139e5565b60405180910390f35b34801561054c57600080fd5b50610555610f73565b60405161056291906139e5565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d91906136be565b610f79565b005b3480156105a057600080fd5b506105bb60048036038101906105b69190613af5565b610f8b565b005b3480156105c957600080fd5b506105d2610fda565b6040516105df91906139e5565b60405180910390f35b3480156105f457600080fd5b506105fd610fe0565b60405161060a91906139e5565b60405180910390f35b34801561061f57600080fd5b50610628610fe6565b604051610635919061378b565b60405180910390f35b34801561064a57600080fd5b50610653610ff9565b005b34801561066157600080fd5b5061066a611124565b6040516106779190613ba7565b60405180910390f35b34801561068c57600080fd5b506106a760048036038101906106a29190613af5565b611136565b005b3480156106b557600080fd5b506106d060048036038101906106cb91906136be565b611195565b6040516106dd9190613a41565b60405180910390f35b3480156106f257600080fd5b506106fb6111ab565b60405161070891906139e5565b60405180910390f35b34801561071d57600080fd5b5061073860048036038101906107339190613ac8565b6111b1565b604051610745919061378b565b60405180910390f35b34801561075a57600080fd5b5061077560048036038101906107709190613ac8565b61125f565b60405161078291906139e5565b60405180910390f35b34801561079757600080fd5b506107a061132e565b005b3480156107ae57600080fd5b506107c960048036038101906107c491906136be565b611342565b005b3480156107d757600080fd5b506107f260048036038101906107ed91906136be565b611354565b005b34801561080057600080fd5b50610809611366565b604051610816919061378b565b60405180910390f35b34801561082b57600080fd5b5061084660048036038101906108419190613ac8565b611379565b6040516108539190613c80565b60405180910390f35b34801561086857600080fd5b5061087161156f565b60405161087e9190613a41565b60405180910390f35b34801561089357600080fd5b5061089c611599565b6040516108a991906139b4565b60405180910390f35b6108cc60048036038101906108c791906136be565b61162b565b005b3480156108da57600080fd5b506108f560048036038101906108f09190613cce565b611972565b005b34801561090357600080fd5b5061090c611af4565b604051610919919061378b565b60405180910390f35b34801561092e57600080fd5b5061094960048036038101906109449190613ac8565b611b07565b60405161095691906139e5565b60405180910390f35b34801561096b57600080fd5b5061098660048036038101906109819190613daf565b611b1f565b005b34801561099457600080fd5b5061099d611bda565b6040516109aa91906139e5565b60405180910390f35b3480156109bf57600080fd5b506109da60048036038101906109d591906136be565b611be0565b005b3480156109e857600080fd5b50610a0360048036038101906109fe9190613e32565b611bf2565b005b348015610a1157600080fd5b50610a1a611c5f565b005b348015610a2857600080fd5b50610a436004803603810190610a3e91906136be565b611c93565b604051610a5091906139b4565b60405180910390f35b348015610a6557600080fd5b50610a806004803603810190610a7b91906136be565b611d4d565b005b348015610a8e57600080fd5b50610aa96004803603810190610aa49190613ed2565b611d5f565b005b610ac56004803603810190610ac091906136be565b611d8b565b005b348015610ad357600080fd5b50610aee6004803603810190610ae991906136be565b61211a565b005b348015610afc57600080fd5b50610b0561212c565b005b348015610b1357600080fd5b50610b1c612160565b005b348015610b2a57600080fd5b50610b33612194565b604051610b40919061378b565b60405180910390f35b348015610b5557600080fd5b50610b706004803603810190610b6b9190613f1f565b6121a7565b604051610b7d919061378b565b60405180910390f35b348015610b9257600080fd5b50610bad6004803603810190610ba89190613ac8565b61223b565b005b610bb76122be565b80600f8190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c8c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c9c5750610c9b8261233c565b5b9050919050565b610cab6122be565b8060109081610cba9190614161565b5050565b606060028054610ccd90613f8e565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf990613f8e565b8015610d465780601f10610d1b57610100808354040283529160200191610d46565b820191906000526020600020905b815481529060010190602001808311610d2957829003601f168201915b5050505050905090565b600d5481565b6000610d61826123a6565b610d97576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610ddc816123f4565b6000610de783611195565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610e4e576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e6d6124f1565b73ffffffffffffffffffffffffffffffffffffffff1614158015610e9f5750610e9d81610e986124f1565b6121a7565b155b15610ed6576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ee18484836124f9565b50505050565b60128181548110610ef757600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610f306125ab565b6001546000540303905090565b60156020528060005260406000206000915090505481565b60136020528060005260406000206000915090505481565b600c5481565b600b5481565b610f816122be565b8060098190555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fc957610fc8336123f4565b5b610fd48484846125b0565b50505050565b600f5481565b60095481565b601160009054906101000a900460ff1681565b6110016122be565b60007391d40edff22dfea50385e873de15fad03994c3c273ffffffffffffffffffffffffffffffffffffffff16606460034761103d9190614262565b61104791906142d3565b60405161105390614335565b60006040518083038185875af1925050503d8060008114611090576040519150601f19603f3d011682016040523d82523d6000602084013e611095565b606091505b50509050806110a357600080fd5b60006110ad61156f565b73ffffffffffffffffffffffffffffffffffffffff16476040516110d090614335565b60006040518083038185875af1925050503d806000811461110d576040519150601f19603f3d011682016040523d82523d6000602084013e611112565b606091505b505090508061112057600080fd5b5050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461117457611173336123f4565b5b61118f84848460405180602001604052806000815250611b1f565b50505050565b60006111a082612a64565b600001519050919050565b600a5481565b600080600090505b601280549050811015611254578273ffffffffffffffffffffffffffffffffffffffff16601282815481106111f1576111f061434a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361124157600191505061125a565b808061124c90614379565b9150506111b9565b50600090505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112c6576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6113366122be565b6113406000612cf3565b565b61134a6122be565b80600b8190555050565b61135c6122be565b80600d8190555050565b601160029054906101000a900460ff1681565b606060006113868361125f565b67ffffffffffffffff81111561139f5761139e6137c1565b5b6040519080825280602002602001820160405280156113cd5781602001602082028036833780820191505090505b50905060008054905060008060005b83811015611562576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151156114b95750611555565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146114f957806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361155357818685806001019650815181106115465761154561434a565b5b6020026020010181815250505b505b80806001019150506113dc565b5083945050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546115a890613f8e565b80601f01602080910402602001604051908101604052809291908181526020018280546115d490613f8e565b80156116215780601f106115f657610100808354040283529160200191611621565b820191906000526020600020905b81548152906001019060200180831161160457829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611699576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169090614433565b60405180910390fd5b601160009054906101000a900460ff166116e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116df9061449f565b60405180910390fd5b600954816116f4610f26565b6116fe91906144bf565b111561173f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173690614565565b60405180910390fd5b600a5481601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461178d91906144bf565b11156117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c5906145f7565b60405180910390fd5b80600d546117dc9190614262565b34101561181e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181590614689565b60405180910390fd5b600f543373ffffffffffffffffffffffffffffffffffffffff1631101561187a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118719061471b565b60405180910390fd5b6000601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600c5482826118cd91906144bf565b111561190e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611905906147ad565b60405180910390fd5b81601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461195d91906144bf565b9250508190555061196e3383612db9565b5050565b8161197c816123f4565b6119846124f1565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119e8576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600760006119f56124f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508273ffffffffffffffffffffffffffffffffffffffff16611aa26124f1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3184604051611ae7919061378b565b60405180910390a3505050565b601160019054906101000a900460ff1681565b60146020528060005260406000206000915090505481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b5d57611b5c336123f4565b5b611b688585856125b0565b611b878473ffffffffffffffffffffffffffffffffffffffff16612dd7565b8015611b9c5750611b9a85858585612dfa565b155b15611bd3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b600e5481565b611be86122be565b80600e8190555050565b611bfa6122be565b60095482611c06610f26565b611c1091906144bf565b1115611c51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4890614565565b60405180910390fd5b611c5b8183612db9565b5050565b611c676122be565b601160029054906101000a900460ff1615601160026101000a81548160ff021916908315150217905550565b6060611c9e826123a6565b611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd49061483f565b60405180910390fd5b6000600183611cec91906144bf565b9050600060108054611cfd90613f8e565b905011611d195760405180602001604052806000815250611d45565b6010611d2482612f4a565b604051602001611d3592919061496a565b6040516020818303038152906040525b915050919050565b611d556122be565b80600a8190555050565b611d676122be565b60126000611d759190613553565b818160129190611d86929190613574565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df090614433565b60405180910390fd5b601160019054906101000a900460ff16611e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3f906149e5565b60405180910390fd5b60095481611e54610f26565b611e5e91906144bf565b1115611e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9690614565565b60405180910390fd5b600b5481601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611eed91906144bf565b1115611f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2590614a77565b60405180910390fd5b80600e54611f3c9190614262565b341015611f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7590614689565b60405180910390fd5b600f543373ffffffffffffffffffffffffffffffffffffffff16311015611fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd19061471b565b60405180910390fd5b6000601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600c54828261202d91906144bf565b111561206e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612065906147ad565b60405180910390fd5b612077336111b1565b6120b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ad90614b09565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461210591906144bf565b925050819055506121163383612db9565b5050565b6121226122be565b80600c8190555050565b6121346122be565b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b6121686122be565b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b601160039054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122436122be565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a990614b9b565b60405180910390fd5b6122bb81612cf3565b50565b6122c66124f1565b73ffffffffffffffffffffffffffffffffffffffff166122e461156f565b73ffffffffffffffffffffffffffffffffffffffff161461233a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233190614c07565b60405180910390fd5b565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816123b16125ab565b111580156123c0575060005482105b80156123ed575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156124ee576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161246b929190614c27565b602060405180830381865afa158015612488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ac9190614c65565b6124ed57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016124e49190613a41565b60405180910390fd5b5b50565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006125bb82612a64565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612626576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166126476124f1565b73ffffffffffffffffffffffffffffffffffffffff1614806126765750612675856126706124f1565b6121a7565b5b806126bb57506126846124f1565b73ffffffffffffffffffffffffffffffffffffffff166126a384610d56565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806126f4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361275a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127678585856001613018565b612773600084876124f9565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036129f25760005482146129f157878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a5d858585600161301e565b5050505050565b612a6c613614565b600082905080612a7a6125ab565b11158015612a89575060005481105b15612cbc576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612cba57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b9e578092505050612cee565b5b600115612cb957818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612cb4578092505050612cee565b612b9f565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612dd3828260405180602001604052806000815250613024565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e206124f1565b8786866040518563ffffffff1660e01b8152600401612e429493929190614ce7565b6020604051808303816000875af1925050508015612e7e57506040513d601f19601f82011682018060405250810190612e7b9190614d48565b60015b612ef7573d8060008114612eae576040519150601f19603f3d011682016040523d82523d6000602084013e612eb3565b606091505b506000815103612eef576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060006001612f5984613036565b01905060008167ffffffffffffffff811115612f7857612f776137c1565b5b6040519080825280601f01601f191660200182016040528015612faa5781602001600182028036833780820191505090505b509050600082602001820190505b60011561300d578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581613001576130006142a4565b5b04945060008503612fb8575b819350505050919050565b50505050565b50505050565b6130318383836001613189565b505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613094577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161308a576130896142a4565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106130d1576d04ee2d6d415b85acef810000000083816130c7576130c66142a4565b5b0492506020810190505b662386f26fc10000831061310057662386f26fc1000083816130f6576130f56142a4565b5b0492506010810190505b6305f5e1008310613129576305f5e100838161311f5761311e6142a4565b5b0492506008810190505b612710831061314e576127108381613144576131436142a4565b5b0492506004810190505b606483106131715760648381613167576131666142a4565b5b0492506002810190505b600a8310613180576001810190505b80915050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036131f5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000840361322f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61323c6000868387613018565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561340657506134058773ffffffffffffffffffffffffffffffffffffffff16612dd7565b5b156134cb575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461347b6000888480600101955088612dfa565b6134b1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361340c5782600054146134c657600080fd5b613536565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036134cc575b81600081905550505061354c600086838761301e565b5050505050565b50805460008255906000526020600020908101906135719190613657565b50565b828054828255906000526020600020908101928215613603579160200282015b8281111561360257823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613594565b5b5090506136109190613657565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613670576000816000905550600101613658565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61369b81613688565b81146136a657600080fd5b50565b6000813590506136b881613692565b92915050565b6000602082840312156136d4576136d361367e565b5b60006136e2848285016136a9565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613720816136eb565b811461372b57600080fd5b50565b60008135905061373d81613717565b92915050565b6000602082840312156137595761375861367e565b5b60006137678482850161372e565b91505092915050565b60008115159050919050565b61378581613770565b82525050565b60006020820190506137a0600083018461377c565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6137f9826137b0565b810181811067ffffffffffffffff82111715613818576138176137c1565b5b80604052505050565b600061382b613674565b905061383782826137f0565b919050565b600067ffffffffffffffff821115613857576138566137c1565b5b613860826137b0565b9050602081019050919050565b82818337600083830152505050565b600061388f61388a8461383c565b613821565b9050828152602081018484840111156138ab576138aa6137ab565b5b6138b684828561386d565b509392505050565b600082601f8301126138d3576138d26137a6565b5b81356138e384826020860161387c565b91505092915050565b6000602082840312156139025761390161367e565b5b600082013567ffffffffffffffff8111156139205761391f613683565b5b61392c848285016138be565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561396f578082015181840152602081019050613954565b60008484015250505050565b600061398682613935565b6139908185613940565b93506139a0818560208601613951565b6139a9816137b0565b840191505092915050565b600060208201905081810360008301526139ce818461397b565b905092915050565b6139df81613688565b82525050565b60006020820190506139fa60008301846139d6565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a2b82613a00565b9050919050565b613a3b81613a20565b82525050565b6000602082019050613a566000830184613a32565b92915050565b613a6581613a20565b8114613a7057600080fd5b50565b600081359050613a8281613a5c565b92915050565b60008060408385031215613a9f57613a9e61367e565b5b6000613aad85828601613a73565b9250506020613abe858286016136a9565b9150509250929050565b600060208284031215613ade57613add61367e565b5b6000613aec84828501613a73565b91505092915050565b600080600060608486031215613b0e57613b0d61367e565b5b6000613b1c86828701613a73565b9350506020613b2d86828701613a73565b9250506040613b3e868287016136a9565b9150509250925092565b6000819050919050565b6000613b6d613b68613b6384613a00565b613b48565b613a00565b9050919050565b6000613b7f82613b52565b9050919050565b6000613b9182613b74565b9050919050565b613ba181613b86565b82525050565b6000602082019050613bbc6000830184613b98565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613bf781613688565b82525050565b6000613c098383613bee565b60208301905092915050565b6000602082019050919050565b6000613c2d82613bc2565b613c378185613bcd565b9350613c4283613bde565b8060005b83811015613c73578151613c5a8882613bfd565b9750613c6583613c15565b925050600181019050613c46565b5085935050505092915050565b60006020820190508181036000830152613c9a8184613c22565b905092915050565b613cab81613770565b8114613cb657600080fd5b50565b600081359050613cc881613ca2565b92915050565b60008060408385031215613ce557613ce461367e565b5b6000613cf385828601613a73565b9250506020613d0485828601613cb9565b9150509250929050565b600067ffffffffffffffff821115613d2957613d286137c1565b5b613d32826137b0565b9050602081019050919050565b6000613d52613d4d84613d0e565b613821565b905082815260208101848484011115613d6e57613d6d6137ab565b5b613d7984828561386d565b509392505050565b600082601f830112613d9657613d956137a6565b5b8135613da6848260208601613d3f565b91505092915050565b60008060008060808587031215613dc957613dc861367e565b5b6000613dd787828801613a73565b9450506020613de887828801613a73565b9350506040613df9878288016136a9565b925050606085013567ffffffffffffffff811115613e1a57613e19613683565b5b613e2687828801613d81565b91505092959194509250565b60008060408385031215613e4957613e4861367e565b5b6000613e57858286016136a9565b9250506020613e6885828601613a73565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613e9257613e916137a6565b5b8235905067ffffffffffffffff811115613eaf57613eae613e72565b5b602083019150836020820283011115613ecb57613eca613e77565b5b9250929050565b60008060208385031215613ee957613ee861367e565b5b600083013567ffffffffffffffff811115613f0757613f06613683565b5b613f1385828601613e7c565b92509250509250929050565b60008060408385031215613f3657613f3561367e565b5b6000613f4485828601613a73565b9250506020613f5585828601613a73565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fa657607f821691505b602082108103613fb957613fb8613f5f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026140217fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613fe4565b61402b8683613fe4565b95508019841693508086168417925050509392505050565b600061405e61405961405484613688565b613b48565b613688565b9050919050565b6000819050919050565b61407883614043565b61408c61408482614065565b848454613ff1565b825550505050565b600090565b6140a1614094565b6140ac81848461406f565b505050565b5b818110156140d0576140c5600082614099565b6001810190506140b2565b5050565b601f821115614115576140e681613fbf565b6140ef84613fd4565b810160208510156140fe578190505b61411261410a85613fd4565b8301826140b1565b50505b505050565b600082821c905092915050565b60006141386000198460080261411a565b1980831691505092915050565b60006141518383614127565b9150826002028217905092915050565b61416a82613935565b67ffffffffffffffff811115614183576141826137c1565b5b61418d8254613f8e565b6141988282856140d4565b600060209050601f8311600181146141cb57600084156141b9578287015190505b6141c38582614145565b86555061422b565b601f1984166141d986613fbf565b60005b82811015614201578489015182556001820191506020850194506020810190506141dc565b8683101561421e578489015161421a601f891682614127565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061426d82613688565b915061427883613688565b925082820261428681613688565b9150828204841483151761429d5761429c614233565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142de82613688565b91506142e983613688565b9250826142f9576142f86142a4565b5b828204905092915050565b600081905092915050565b50565b600061431f600083614304565b915061432a8261430f565b600082019050919050565b600061434082614312565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061438482613688565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036143b6576143b5614233565b5b600182019050919050565b7f447564656c7a203a3a2043616e6e6f742062652063616c6c656420627920612060008201527f636f6e7472616374000000000000000000000000000000000000000000000000602082015250565b600061441d602883613940565b9150614428826143c1565b604082019050919050565b6000602082019050818103600083015261444c81614410565b9050919050565b7f447564656c7a203a3a204e6f7420596574204163746976652e00000000000000600082015250565b6000614489601983613940565b915061449482614453565b602082019050919050565b600060208201905081810360008301526144b88161447c565b9050919050565b60006144ca82613688565b91506144d583613688565b92508282019050808211156144ed576144ec614233565b5b92915050565b7f447564656c7a203a3a2043616e6e6f74206d696e74206265796f6e64206d617860008201527f20737570706c7900000000000000000000000000000000000000000000000000602082015250565b600061454f602783613940565b915061455a826144f3565b604082019050919050565b6000602082019050818103600083015261457e81614542565b9050919050565b7f447564656c7a203a3a2043616e6e6f74206d696e74206265796f6e64206d617860008201527f206d696e74210000000000000000000000000000000000000000000000000000602082015250565b60006145e1602683613940565b91506145ec82614585565b604082019050919050565b60006020820190508181036000830152614610816145d4565b9050919050565b7f447564656c7a203a3a205061796d656e742069732062656c6f7720746865207060008201527f7269636500000000000000000000000000000000000000000000000000000000602082015250565b6000614673602483613940565b915061467e82614617565b604082019050919050565b600060208201905081810360008301526146a281614666565b9050919050565b7f447564656c7a203a3a204d696e696d756d204574682062616c616e636520697360008201527f20746f6f206c6f77000000000000000000000000000000000000000000000000602082015250565b6000614705602883613940565b9150614710826146a9565b604082019050919050565b60006020820190508181036000830152614734816146f8565b9050919050565b7f447564656c7a203a3a204d6178204e465420706572206164647265737320657860008201527f6365656465640000000000000000000000000000000000000000000000000000602082015250565b6000614797602683613940565b91506147a28261473b565b604082019050919050565b600060208201905081810360008301526147c68161478a565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614829602f83613940565b9150614834826147cd565b604082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b600081905092915050565b6000815461487781613f8e565b614881818661485f565b9450600182166000811461489c57600181146148b1576148e4565b60ff19831686528115158202860193506148e4565b6148ba85613fbf565b60005b838110156148dc578154818901526001820191506020810190506148bd565b838801955050505b50505092915050565b60006148f882613935565b614902818561485f565b9350614912818560208601613951565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061495460058361485f565b915061495f8261491e565b600582019050919050565b6000614976828561486a565b915061498282846148ed565b915061498d82614947565b91508190509392505050565b7f447564656c7a203a3a204d696e74696e67206973206f6e205061757365000000600082015250565b60006149cf601d83613940565b91506149da82614999565b602082019050919050565b600060208201905081810360008301526149fe816149c2565b9050919050565b7f447564656c7a203a3a2043616e6e6f74206d696e74206265796f6e642077686960008201527f74656c697374206d6178206d696e742100000000000000000000000000000000602082015250565b6000614a61603083613940565b9150614a6c82614a05565b604082019050919050565b60006020820190508181036000830152614a9081614a54565b9050919050565b7f447564656c7a203a3a2055736572206973206e6f742077686974656c6973746560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614af3602183613940565b9150614afe82614a97565b604082019050919050565b60006020820190508181036000830152614b2281614ae6565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b85602683613940565b9150614b9082614b29565b604082019050919050565b60006020820190508181036000830152614bb481614b78565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614bf1602083613940565b9150614bfc82614bbb565b602082019050919050565b60006020820190508181036000830152614c2081614be4565b9050919050565b6000604082019050614c3c6000830185613a32565b614c496020830184613a32565b9392505050565b600081519050614c5f81613ca2565b92915050565b600060208284031215614c7b57614c7a61367e565b5b6000614c8984828501614c50565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000614cb982614c92565b614cc38185614c9d565b9350614cd3818560208601613951565b614cdc816137b0565b840191505092915050565b6000608082019050614cfc6000830187613a32565b614d096020830186613a32565b614d1660408301856139d6565b8181036060830152614d288184614cae565b905095945050505050565b600081519050614d4281613717565b92915050565b600060208284031215614d5e57614d5d61367e565b5b6000614d6c84828501614d33565b9150509291505056fea26469706673582212205c0e174ba5208164adad2c3aef47493752f440b4668f032544e8d8cc077886c364736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102e35760003560e01c8063715018a611610190578063be9f5dbc116100dc578063cd4cca4511610095578063e222c7f91161006f578063e222c7f914610b07578063e8b5498d14610b1e578063e985e9c514610b49578063f2fde38b14610b86576102e3565b8063cd4cca4514610aab578063d0eb26b014610ac7578063d66d52b714610af0576102e3565b8063be9f5dbc146109b3578063bfa457bc146109dc578063c4ae316814610a05578063c87b56dd14610a1c578063c9c7053414610a59578063ccf1b85714610a82576102e3565b806395d89b4111610149578063b21a3e6111610123578063b21a3e61146108f7578063b4ba0b0b14610922578063b88d4fde1461095f578063ba313f0114610988576102e3565b806395d89b4114610887578063a0712d68146108b2578063a22cb465146108ce576102e3565b8063715018a61461078b57806377e2fc82146107a2578063811d2437146107cb5780638456cb59146107f45780638462151c1461081f5780638da5cb5b1461085c576102e3565b80632212a95e1161024f5780633ccfd60b116102085780636352211e116101e25780636352211e146106a957806365f13097146106e6578063661b200c1461071157806370a082311461074e576102e3565b80633ccfd60b1461063e57806341f434341461065557806342842e0e14610680576102e3565b80632212a95e14610540578063228025e81461056b57806323b872dd1461059457806328f8b591146105bd57806332cb6b0c146105e857806333bc1c5c14610613576102e3565b8063095ea7b3116102a1578063095ea7b31461040a5780630ac0aebe1461043357806318160ddd1461047057806318cae2691461049b5780631c16521c146104d85780631e25b58914610515576102e3565b80626dec61146102e857806301ffc9a7146103115780630675b7c61461034e57806306fdde031461037757806307e89ec0146103a2578063081812fc146103cd575b600080fd5b3480156102f457600080fd5b5061030f600480360381019061030a91906136be565b610baf565b005b34801561031d57600080fd5b5061033860048036038101906103339190613743565b610bc1565b604051610345919061378b565b60405180910390f35b34801561035a57600080fd5b50610375600480360381019061037091906138ec565b610ca3565b005b34801561038357600080fd5b5061038c610cbe565b60405161039991906139b4565b60405180910390f35b3480156103ae57600080fd5b506103b7610d50565b6040516103c491906139e5565b60405180910390f35b3480156103d957600080fd5b506103f460048036038101906103ef91906136be565b610d56565b6040516104019190613a41565b60405180910390f35b34801561041657600080fd5b50610431600480360381019061042c9190613a88565b610dd2565b005b34801561043f57600080fd5b5061045a600480360381019061045591906136be565b610ee7565b6040516104679190613a41565b60405180910390f35b34801561047c57600080fd5b50610485610f26565b60405161049291906139e5565b60405180910390f35b3480156104a757600080fd5b506104c260048036038101906104bd9190613ac8565b610f3d565b6040516104cf91906139e5565b60405180910390f35b3480156104e457600080fd5b506104ff60048036038101906104fa9190613ac8565b610f55565b60405161050c91906139e5565b60405180910390f35b34801561052157600080fd5b5061052a610f6d565b60405161053791906139e5565b60405180910390f35b34801561054c57600080fd5b50610555610f73565b60405161056291906139e5565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d91906136be565b610f79565b005b3480156105a057600080fd5b506105bb60048036038101906105b69190613af5565b610f8b565b005b3480156105c957600080fd5b506105d2610fda565b6040516105df91906139e5565b60405180910390f35b3480156105f457600080fd5b506105fd610fe0565b60405161060a91906139e5565b60405180910390f35b34801561061f57600080fd5b50610628610fe6565b604051610635919061378b565b60405180910390f35b34801561064a57600080fd5b50610653610ff9565b005b34801561066157600080fd5b5061066a611124565b6040516106779190613ba7565b60405180910390f35b34801561068c57600080fd5b506106a760048036038101906106a29190613af5565b611136565b005b3480156106b557600080fd5b506106d060048036038101906106cb91906136be565b611195565b6040516106dd9190613a41565b60405180910390f35b3480156106f257600080fd5b506106fb6111ab565b60405161070891906139e5565b60405180910390f35b34801561071d57600080fd5b5061073860048036038101906107339190613ac8565b6111b1565b604051610745919061378b565b60405180910390f35b34801561075a57600080fd5b5061077560048036038101906107709190613ac8565b61125f565b60405161078291906139e5565b60405180910390f35b34801561079757600080fd5b506107a061132e565b005b3480156107ae57600080fd5b506107c960048036038101906107c491906136be565b611342565b005b3480156107d757600080fd5b506107f260048036038101906107ed91906136be565b611354565b005b34801561080057600080fd5b50610809611366565b604051610816919061378b565b60405180910390f35b34801561082b57600080fd5b5061084660048036038101906108419190613ac8565b611379565b6040516108539190613c80565b60405180910390f35b34801561086857600080fd5b5061087161156f565b60405161087e9190613a41565b60405180910390f35b34801561089357600080fd5b5061089c611599565b6040516108a991906139b4565b60405180910390f35b6108cc60048036038101906108c791906136be565b61162b565b005b3480156108da57600080fd5b506108f560048036038101906108f09190613cce565b611972565b005b34801561090357600080fd5b5061090c611af4565b604051610919919061378b565b60405180910390f35b34801561092e57600080fd5b5061094960048036038101906109449190613ac8565b611b07565b60405161095691906139e5565b60405180910390f35b34801561096b57600080fd5b5061098660048036038101906109819190613daf565b611b1f565b005b34801561099457600080fd5b5061099d611bda565b6040516109aa91906139e5565b60405180910390f35b3480156109bf57600080fd5b506109da60048036038101906109d591906136be565b611be0565b005b3480156109e857600080fd5b50610a0360048036038101906109fe9190613e32565b611bf2565b005b348015610a1157600080fd5b50610a1a611c5f565b005b348015610a2857600080fd5b50610a436004803603810190610a3e91906136be565b611c93565b604051610a5091906139b4565b60405180910390f35b348015610a6557600080fd5b50610a806004803603810190610a7b91906136be565b611d4d565b005b348015610a8e57600080fd5b50610aa96004803603810190610aa49190613ed2565b611d5f565b005b610ac56004803603810190610ac091906136be565b611d8b565b005b348015610ad357600080fd5b50610aee6004803603810190610ae991906136be565b61211a565b005b348015610afc57600080fd5b50610b0561212c565b005b348015610b1357600080fd5b50610b1c612160565b005b348015610b2a57600080fd5b50610b33612194565b604051610b40919061378b565b60405180910390f35b348015610b5557600080fd5b50610b706004803603810190610b6b9190613f1f565b6121a7565b604051610b7d919061378b565b60405180910390f35b348015610b9257600080fd5b50610bad6004803603810190610ba89190613ac8565b61223b565b005b610bb76122be565b80600f8190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c8c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c9c5750610c9b8261233c565b5b9050919050565b610cab6122be565b8060109081610cba9190614161565b5050565b606060028054610ccd90613f8e565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf990613f8e565b8015610d465780601f10610d1b57610100808354040283529160200191610d46565b820191906000526020600020905b815481529060010190602001808311610d2957829003601f168201915b5050505050905090565b600d5481565b6000610d61826123a6565b610d97576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610ddc816123f4565b6000610de783611195565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610e4e576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e6d6124f1565b73ffffffffffffffffffffffffffffffffffffffff1614158015610e9f5750610e9d81610e986124f1565b6121a7565b155b15610ed6576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ee18484836124f9565b50505050565b60128181548110610ef757600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610f306125ab565b6001546000540303905090565b60156020528060005260406000206000915090505481565b60136020528060005260406000206000915090505481565b600c5481565b600b5481565b610f816122be565b8060098190555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fc957610fc8336123f4565b5b610fd48484846125b0565b50505050565b600f5481565b60095481565b601160009054906101000a900460ff1681565b6110016122be565b60007391d40edff22dfea50385e873de15fad03994c3c273ffffffffffffffffffffffffffffffffffffffff16606460034761103d9190614262565b61104791906142d3565b60405161105390614335565b60006040518083038185875af1925050503d8060008114611090576040519150601f19603f3d011682016040523d82523d6000602084013e611095565b606091505b50509050806110a357600080fd5b60006110ad61156f565b73ffffffffffffffffffffffffffffffffffffffff16476040516110d090614335565b60006040518083038185875af1925050503d806000811461110d576040519150601f19603f3d011682016040523d82523d6000602084013e611112565b606091505b505090508061112057600080fd5b5050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461117457611173336123f4565b5b61118f84848460405180602001604052806000815250611b1f565b50505050565b60006111a082612a64565b600001519050919050565b600a5481565b600080600090505b601280549050811015611254578273ffffffffffffffffffffffffffffffffffffffff16601282815481106111f1576111f061434a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361124157600191505061125a565b808061124c90614379565b9150506111b9565b50600090505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112c6576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6113366122be565b6113406000612cf3565b565b61134a6122be565b80600b8190555050565b61135c6122be565b80600d8190555050565b601160029054906101000a900460ff1681565b606060006113868361125f565b67ffffffffffffffff81111561139f5761139e6137c1565b5b6040519080825280602002602001820160405280156113cd5781602001602082028036833780820191505090505b50905060008054905060008060005b83811015611562576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151156114b95750611555565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146114f957806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361155357818685806001019650815181106115465761154561434a565b5b6020026020010181815250505b505b80806001019150506113dc565b5083945050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546115a890613f8e565b80601f01602080910402602001604051908101604052809291908181526020018280546115d490613f8e565b80156116215780601f106115f657610100808354040283529160200191611621565b820191906000526020600020905b81548152906001019060200180831161160457829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611699576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169090614433565b60405180910390fd5b601160009054906101000a900460ff166116e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116df9061449f565b60405180910390fd5b600954816116f4610f26565b6116fe91906144bf565b111561173f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173690614565565b60405180910390fd5b600a5481601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461178d91906144bf565b11156117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c5906145f7565b60405180910390fd5b80600d546117dc9190614262565b34101561181e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181590614689565b60405180910390fd5b600f543373ffffffffffffffffffffffffffffffffffffffff1631101561187a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118719061471b565b60405180910390fd5b6000601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600c5482826118cd91906144bf565b111561190e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611905906147ad565b60405180910390fd5b81601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461195d91906144bf565b9250508190555061196e3383612db9565b5050565b8161197c816123f4565b6119846124f1565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119e8576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600760006119f56124f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508273ffffffffffffffffffffffffffffffffffffffff16611aa26124f1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3184604051611ae7919061378b565b60405180910390a3505050565b601160019054906101000a900460ff1681565b60146020528060005260406000206000915090505481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b5d57611b5c336123f4565b5b611b688585856125b0565b611b878473ffffffffffffffffffffffffffffffffffffffff16612dd7565b8015611b9c5750611b9a85858585612dfa565b155b15611bd3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b600e5481565b611be86122be565b80600e8190555050565b611bfa6122be565b60095482611c06610f26565b611c1091906144bf565b1115611c51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4890614565565b60405180910390fd5b611c5b8183612db9565b5050565b611c676122be565b601160029054906101000a900460ff1615601160026101000a81548160ff021916908315150217905550565b6060611c9e826123a6565b611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd49061483f565b60405180910390fd5b6000600183611cec91906144bf565b9050600060108054611cfd90613f8e565b905011611d195760405180602001604052806000815250611d45565b6010611d2482612f4a565b604051602001611d3592919061496a565b6040516020818303038152906040525b915050919050565b611d556122be565b80600a8190555050565b611d676122be565b60126000611d759190613553565b818160129190611d86929190613574565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df090614433565b60405180910390fd5b601160019054906101000a900460ff16611e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3f906149e5565b60405180910390fd5b60095481611e54610f26565b611e5e91906144bf565b1115611e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9690614565565b60405180910390fd5b600b5481601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611eed91906144bf565b1115611f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2590614a77565b60405180910390fd5b80600e54611f3c9190614262565b341015611f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7590614689565b60405180910390fd5b600f543373ffffffffffffffffffffffffffffffffffffffff16311015611fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd19061471b565b60405180910390fd5b6000601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600c54828261202d91906144bf565b111561206e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612065906147ad565b60405180910390fd5b612077336111b1565b6120b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ad90614b09565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461210591906144bf565b925050819055506121163383612db9565b5050565b6121226122be565b80600c8190555050565b6121346122be565b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b6121686122be565b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b601160039054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122436122be565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a990614b9b565b60405180910390fd5b6122bb81612cf3565b50565b6122c66124f1565b73ffffffffffffffffffffffffffffffffffffffff166122e461156f565b73ffffffffffffffffffffffffffffffffffffffff161461233a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233190614c07565b60405180910390fd5b565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816123b16125ab565b111580156123c0575060005482105b80156123ed575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156124ee576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161246b929190614c27565b602060405180830381865afa158015612488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ac9190614c65565b6124ed57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016124e49190613a41565b60405180910390fd5b5b50565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006125bb82612a64565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612626576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166126476124f1565b73ffffffffffffffffffffffffffffffffffffffff1614806126765750612675856126706124f1565b6121a7565b5b806126bb57506126846124f1565b73ffffffffffffffffffffffffffffffffffffffff166126a384610d56565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806126f4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361275a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127678585856001613018565b612773600084876124f9565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036129f25760005482146129f157878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a5d858585600161301e565b5050505050565b612a6c613614565b600082905080612a7a6125ab565b11158015612a89575060005481105b15612cbc576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612cba57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b9e578092505050612cee565b5b600115612cb957818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612cb4578092505050612cee565b612b9f565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612dd3828260405180602001604052806000815250613024565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e206124f1565b8786866040518563ffffffff1660e01b8152600401612e429493929190614ce7565b6020604051808303816000875af1925050508015612e7e57506040513d601f19601f82011682018060405250810190612e7b9190614d48565b60015b612ef7573d8060008114612eae576040519150601f19603f3d011682016040523d82523d6000602084013e612eb3565b606091505b506000815103612eef576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060006001612f5984613036565b01905060008167ffffffffffffffff811115612f7857612f776137c1565b5b6040519080825280601f01601f191660200182016040528015612faa5781602001600182028036833780820191505090505b509050600082602001820190505b60011561300d578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581613001576130006142a4565b5b04945060008503612fb8575b819350505050919050565b50505050565b50505050565b6130318383836001613189565b505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613094577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161308a576130896142a4565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106130d1576d04ee2d6d415b85acef810000000083816130c7576130c66142a4565b5b0492506020810190505b662386f26fc10000831061310057662386f26fc1000083816130f6576130f56142a4565b5b0492506010810190505b6305f5e1008310613129576305f5e100838161311f5761311e6142a4565b5b0492506008810190505b612710831061314e576127108381613144576131436142a4565b5b0492506004810190505b606483106131715760648381613167576131666142a4565b5b0492506002810190505b600a8310613180576001810190505b80915050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036131f5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000840361322f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61323c6000868387613018565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561340657506134058773ffffffffffffffffffffffffffffffffffffffff16612dd7565b5b156134cb575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461347b6000888480600101955088612dfa565b6134b1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361340c5782600054146134c657600080fd5b613536565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036134cc575b81600081905550505061354c600086838761301e565b5050505050565b50805460008255906000526020600020908101906135719190613657565b50565b828054828255906000526020600020908101928215613603579160200282015b8281111561360257823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613594565b5b5090506136109190613657565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613670576000816000905550600101613658565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61369b81613688565b81146136a657600080fd5b50565b6000813590506136b881613692565b92915050565b6000602082840312156136d4576136d361367e565b5b60006136e2848285016136a9565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613720816136eb565b811461372b57600080fd5b50565b60008135905061373d81613717565b92915050565b6000602082840312156137595761375861367e565b5b60006137678482850161372e565b91505092915050565b60008115159050919050565b61378581613770565b82525050565b60006020820190506137a0600083018461377c565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6137f9826137b0565b810181811067ffffffffffffffff82111715613818576138176137c1565b5b80604052505050565b600061382b613674565b905061383782826137f0565b919050565b600067ffffffffffffffff821115613857576138566137c1565b5b613860826137b0565b9050602081019050919050565b82818337600083830152505050565b600061388f61388a8461383c565b613821565b9050828152602081018484840111156138ab576138aa6137ab565b5b6138b684828561386d565b509392505050565b600082601f8301126138d3576138d26137a6565b5b81356138e384826020860161387c565b91505092915050565b6000602082840312156139025761390161367e565b5b600082013567ffffffffffffffff8111156139205761391f613683565b5b61392c848285016138be565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561396f578082015181840152602081019050613954565b60008484015250505050565b600061398682613935565b6139908185613940565b93506139a0818560208601613951565b6139a9816137b0565b840191505092915050565b600060208201905081810360008301526139ce818461397b565b905092915050565b6139df81613688565b82525050565b60006020820190506139fa60008301846139d6565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a2b82613a00565b9050919050565b613a3b81613a20565b82525050565b6000602082019050613a566000830184613a32565b92915050565b613a6581613a20565b8114613a7057600080fd5b50565b600081359050613a8281613a5c565b92915050565b60008060408385031215613a9f57613a9e61367e565b5b6000613aad85828601613a73565b9250506020613abe858286016136a9565b9150509250929050565b600060208284031215613ade57613add61367e565b5b6000613aec84828501613a73565b91505092915050565b600080600060608486031215613b0e57613b0d61367e565b5b6000613b1c86828701613a73565b9350506020613b2d86828701613a73565b9250506040613b3e868287016136a9565b9150509250925092565b6000819050919050565b6000613b6d613b68613b6384613a00565b613b48565b613a00565b9050919050565b6000613b7f82613b52565b9050919050565b6000613b9182613b74565b9050919050565b613ba181613b86565b82525050565b6000602082019050613bbc6000830184613b98565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613bf781613688565b82525050565b6000613c098383613bee565b60208301905092915050565b6000602082019050919050565b6000613c2d82613bc2565b613c378185613bcd565b9350613c4283613bde565b8060005b83811015613c73578151613c5a8882613bfd565b9750613c6583613c15565b925050600181019050613c46565b5085935050505092915050565b60006020820190508181036000830152613c9a8184613c22565b905092915050565b613cab81613770565b8114613cb657600080fd5b50565b600081359050613cc881613ca2565b92915050565b60008060408385031215613ce557613ce461367e565b5b6000613cf385828601613a73565b9250506020613d0485828601613cb9565b9150509250929050565b600067ffffffffffffffff821115613d2957613d286137c1565b5b613d32826137b0565b9050602081019050919050565b6000613d52613d4d84613d0e565b613821565b905082815260208101848484011115613d6e57613d6d6137ab565b5b613d7984828561386d565b509392505050565b600082601f830112613d9657613d956137a6565b5b8135613da6848260208601613d3f565b91505092915050565b60008060008060808587031215613dc957613dc861367e565b5b6000613dd787828801613a73565b9450506020613de887828801613a73565b9350506040613df9878288016136a9565b925050606085013567ffffffffffffffff811115613e1a57613e19613683565b5b613e2687828801613d81565b91505092959194509250565b60008060408385031215613e4957613e4861367e565b5b6000613e57858286016136a9565b9250506020613e6885828601613a73565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613e9257613e916137a6565b5b8235905067ffffffffffffffff811115613eaf57613eae613e72565b5b602083019150836020820283011115613ecb57613eca613e77565b5b9250929050565b60008060208385031215613ee957613ee861367e565b5b600083013567ffffffffffffffff811115613f0757613f06613683565b5b613f1385828601613e7c565b92509250509250929050565b60008060408385031215613f3657613f3561367e565b5b6000613f4485828601613a73565b9250506020613f5585828601613a73565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fa657607f821691505b602082108103613fb957613fb8613f5f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026140217fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613fe4565b61402b8683613fe4565b95508019841693508086168417925050509392505050565b600061405e61405961405484613688565b613b48565b613688565b9050919050565b6000819050919050565b61407883614043565b61408c61408482614065565b848454613ff1565b825550505050565b600090565b6140a1614094565b6140ac81848461406f565b505050565b5b818110156140d0576140c5600082614099565b6001810190506140b2565b5050565b601f821115614115576140e681613fbf565b6140ef84613fd4565b810160208510156140fe578190505b61411261410a85613fd4565b8301826140b1565b50505b505050565b600082821c905092915050565b60006141386000198460080261411a565b1980831691505092915050565b60006141518383614127565b9150826002028217905092915050565b61416a82613935565b67ffffffffffffffff811115614183576141826137c1565b5b61418d8254613f8e565b6141988282856140d4565b600060209050601f8311600181146141cb57600084156141b9578287015190505b6141c38582614145565b86555061422b565b601f1984166141d986613fbf565b60005b82811015614201578489015182556001820191506020850194506020810190506141dc565b8683101561421e578489015161421a601f891682614127565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061426d82613688565b915061427883613688565b925082820261428681613688565b9150828204841483151761429d5761429c614233565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142de82613688565b91506142e983613688565b9250826142f9576142f86142a4565b5b828204905092915050565b600081905092915050565b50565b600061431f600083614304565b915061432a8261430f565b600082019050919050565b600061434082614312565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061438482613688565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036143b6576143b5614233565b5b600182019050919050565b7f447564656c7a203a3a2043616e6e6f742062652063616c6c656420627920612060008201527f636f6e7472616374000000000000000000000000000000000000000000000000602082015250565b600061441d602883613940565b9150614428826143c1565b604082019050919050565b6000602082019050818103600083015261444c81614410565b9050919050565b7f447564656c7a203a3a204e6f7420596574204163746976652e00000000000000600082015250565b6000614489601983613940565b915061449482614453565b602082019050919050565b600060208201905081810360008301526144b88161447c565b9050919050565b60006144ca82613688565b91506144d583613688565b92508282019050808211156144ed576144ec614233565b5b92915050565b7f447564656c7a203a3a2043616e6e6f74206d696e74206265796f6e64206d617860008201527f20737570706c7900000000000000000000000000000000000000000000000000602082015250565b600061454f602783613940565b915061455a826144f3565b604082019050919050565b6000602082019050818103600083015261457e81614542565b9050919050565b7f447564656c7a203a3a2043616e6e6f74206d696e74206265796f6e64206d617860008201527f206d696e74210000000000000000000000000000000000000000000000000000602082015250565b60006145e1602683613940565b91506145ec82614585565b604082019050919050565b60006020820190508181036000830152614610816145d4565b9050919050565b7f447564656c7a203a3a205061796d656e742069732062656c6f7720746865207060008201527f7269636500000000000000000000000000000000000000000000000000000000602082015250565b6000614673602483613940565b915061467e82614617565b604082019050919050565b600060208201905081810360008301526146a281614666565b9050919050565b7f447564656c7a203a3a204d696e696d756d204574682062616c616e636520697360008201527f20746f6f206c6f77000000000000000000000000000000000000000000000000602082015250565b6000614705602883613940565b9150614710826146a9565b604082019050919050565b60006020820190508181036000830152614734816146f8565b9050919050565b7f447564656c7a203a3a204d6178204e465420706572206164647265737320657860008201527f6365656465640000000000000000000000000000000000000000000000000000602082015250565b6000614797602683613940565b91506147a28261473b565b604082019050919050565b600060208201905081810360008301526147c68161478a565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614829602f83613940565b9150614834826147cd565b604082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b600081905092915050565b6000815461487781613f8e565b614881818661485f565b9450600182166000811461489c57600181146148b1576148e4565b60ff19831686528115158202860193506148e4565b6148ba85613fbf565b60005b838110156148dc578154818901526001820191506020810190506148bd565b838801955050505b50505092915050565b60006148f882613935565b614902818561485f565b9350614912818560208601613951565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061495460058361485f565b915061495f8261491e565b600582019050919050565b6000614976828561486a565b915061498282846148ed565b915061498d82614947565b91508190509392505050565b7f447564656c7a203a3a204d696e74696e67206973206f6e205061757365000000600082015250565b60006149cf601d83613940565b91506149da82614999565b602082019050919050565b600060208201905081810360008301526149fe816149c2565b9050919050565b7f447564656c7a203a3a2043616e6e6f74206d696e74206265796f6e642077686960008201527f74656c697374206d6178206d696e742100000000000000000000000000000000602082015250565b6000614a61603083613940565b9150614a6c82614a05565b604082019050919050565b60006020820190508181036000830152614a9081614a54565b9050919050565b7f447564656c7a203a3a2055736572206973206e6f742077686974656c6973746560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614af3602183613940565b9150614afe82614a97565b604082019050919050565b60006020820190508181036000830152614b2281614ae6565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b85602683613940565b9150614b9082614b29565b604082019050919050565b60006020820190508181036000830152614bb481614b78565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614bf1602083613940565b9150614bfc82614bbb565b602082019050919050565b60006020820190508181036000830152614c2081614be4565b9050919050565b6000604082019050614c3c6000830185613a32565b614c496020830184613a32565b9392505050565b600081519050614c5f81613ca2565b92915050565b600060208284031215614c7b57614c7a61367e565b5b6000614c8984828501614c50565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000614cb982614c92565b614cc38185614c9d565b9350614cd3818560208601613951565b614cdc816137b0565b840191505092915050565b6000608082019050614cfc6000830187613a32565b614d096020830186613a32565b614d1660408301856139d6565b8181036060830152614d288184614cae565b905095945050505050565b600081519050614d4281613717565b92915050565b600060208284031215614d5e57614d5d61367e565b5b6000614d6c84828501614d33565b9150509291505056fea26469706673582212205c0e174ba5208164adad2c3aef47493752f440b4668f032544e8d8cc077886c364736f6c63430008110033
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.