Overview
ETH Balance
0.0003 ETH
Eth Value
$0.80 (@ $2,680.29/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 52 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Uri By Id | 18188509 | 340 days ago | IN | 0 ETH | 0.00032835 | ||||
Set Uri By Id | 18188506 | 340 days ago | IN | 0 ETH | 0.00033936 | ||||
Set Uri By Id | 18188503 | 340 days ago | IN | 0 ETH | 0.00036899 | ||||
Set Uri | 18188498 | 340 days ago | IN | 0 ETH | 0.00034304 | ||||
Add Special Wall... | 18184741 | 340 days ago | IN | 0 ETH | 0.00133276 | ||||
Add Special Wall... | 18184739 | 340 days ago | IN | 0 ETH | 0.0014016 | ||||
Add Special Wall... | 18184114 | 340 days ago | IN | 0 ETH | 0.00085861 | ||||
Add Special Wall... | 18184080 | 340 days ago | IN | 0 ETH | 0.00077872 | ||||
Add Special Wall... | 18184076 | 340 days ago | IN | 0 ETH | 0.00084246 | ||||
Open Mint | 18176794 | 341 days ago | IN | 0 ETH | 0.00024585 | ||||
Set Uri By Id | 18176733 | 341 days ago | IN | 0 ETH | 0.00062213 | ||||
Set Uri By Id | 18176720 | 341 days ago | IN | 0 ETH | 0.00031809 | ||||
Mint | 18176694 | 341 days ago | IN | 0.0001 ETH | 0.00152604 | ||||
Set Uri By Id | 18176690 | 341 days ago | IN | 0 ETH | 0.00037505 | ||||
Set Uri By Id | 18176679 | 341 days ago | IN | 0 ETH | 0.00041699 | ||||
Set Uri | 18176675 | 341 days ago | IN | 0 ETH | 0.00042047 | ||||
Mint | 18176598 | 341 days ago | IN | 0.0001 ETH | 0.00160214 | ||||
Open Mint | 18176590 | 341 days ago | IN | 0 ETH | 0.00045269 | ||||
Transfer Ownersh... | 18163444 | 343 days ago | IN | 0 ETH | 0.00073551 | ||||
Open Mint | 18161480 | 344 days ago | IN | 0 ETH | 0.00019556 | ||||
Mint | 18161477 | 344 days ago | IN | 0.0001 ETH | 0.0017792 | ||||
Open Mint | 18161469 | 344 days ago | IN | 0 ETH | 0.00039451 | ||||
Open Mint | 18161447 | 344 days ago | IN | 0 ETH | 0.00017765 | ||||
Set Price Per NF... | 18161444 | 344 days ago | IN | 0 ETH | 0.00021931 | ||||
Set Price Per NF... | 18161375 | 344 days ago | IN | 0 ETH | 0.00023316 |
Loading...
Loading
Contract Name:
PrivateCityNFT
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "erc721a/contracts/ERC721A.sol"; contract PrivateCityNFT is ERC721A { address public contractOwner; address public admin; address[] public specialWallets; uint256 public pauseAtId = 10000; uint256 public currentIndex; uint256 public pricePerNFT; uint256 public totalAllocatedPercentage = 100; //starts at 10% to accommodate referral string public uri; bool public mintOpen = false; mapping(uint256 => string) private uriByTokenId; mapping(address => uint256) public payoutPercentage; event Payout( address indexed mintingAddress, address indexed payoutAddress, bool indexed isSpecialWaletPayout, uint256 timestamp, uint256 mints, uint256 price, uint256 referralEarnings ); event NewSpecialWalet(address indexed walletAddress, string name); constructor(uint256 _pricePerNFT) ERC721A("Millenium Foundation NFT", "MILL") { pricePerNFT = _pricePerNFT; contractOwner = msg.sender; } //Minting controls function openMint(bool _isOpen) public { require(msg.sender == admin || msg.sender == contractOwner, "Method can only be called by owner or admin"); mintOpen = _isOpen; } function mint(uint256 _quantity, address payable _referral) public payable { require(mintOpen); require( (_currentIndex + _quantity) < pauseAtId + 1, "Reached pauseAt Id value" ); require(msg.value == pricePerNFT * _quantity, "Wrong ETH amount sent"); for (uint256 i = 0; i < _quantity; i++) { uriByTokenId[_currentIndex + i] = uri; } if(_referral != 0x0000000000000000000000000000000000000000){ _referral.transfer(msg.value/10); emit Payout( msg.sender, _referral, false, block.timestamp, _quantity, msg.value, msg.value/10 ); } for(uint i; i< specialWallets.length; i++){ payable(specialWallets[i]).transfer(msg.value * payoutPercentage[specialWallets[i]]/1000); emit Payout( msg.sender, specialWallets[i], true, block.timestamp, _quantity, msg.value, msg.value * payoutPercentage[specialWallets[i]]/1000 ); } _safeMint(msg.sender, _quantity); currentIndex = _currentIndex; } //Admin edit & withdraw eth functions function setPricePerNFT(uint256 _pricePerNFT) public onlyOwnerOrAdmin { pricePerNFT = _pricePerNFT; } function setUri(string memory _uri) public onlyOwnerOrAdmin { uri = _uri; } function setPauseAtId(uint256 _pauseAtId) public onlyOwnerOrAdmin { pauseAtId = _pauseAtId; } function setUriById(uint256 _id, string memory _uri) public onlyOwnerOrAdmin { uriByTokenId[_id] = _uri; } function withdrawEth() public onlyOwner{ payable(msg.sender).transfer(address(this).balance); } function transferOwnership(address _newOwner) public onlyOwner { contractOwner = _newOwner; } function changeAdmin(address _newAdmin) public onlyOwnerOrAdmin { admin = _newAdmin; } function addSpecialWallet(address _specialWallet, uint256 _percentage, string calldata _name) public onlyOwnerOrAdmin { require(totalAllocatedPercentage + _percentage <= 1000, "Suggested special wallet percentage too high"); require(findSpecialWallet(_specialWallet) == -1, "Special wallet has already been added"); specialWallets.push(_specialWallet); payoutPercentage[_specialWallet] = _percentage; totalAllocatedPercentage += _percentage; emit NewSpecialWalet(_specialWallet, _name); } function getSpecialWallets() public view returns(address[] memory){ return specialWallets; } function removeSpecialWallet(address _specialWallet) public onlyOwnerOrAdmin { uint walletIndex = uint(findSpecialWallet(_specialWallet)); require(specialWallets.length > walletIndex, "Index out of range"); for(uint i = walletIndex; i < specialWallets.length - 1; i++){ specialWallets[i] = specialWallets[i+1]; } specialWallets.pop(); totalAllocatedPercentage -= payoutPercentage[_specialWallet]; payoutPercentage[_specialWallet] = 0; } function changeSpecialWalletPercentage(address _specialWallet, uint256 _percentage) public onlyOwnerOrAdmin { require(findSpecialWallet(_specialWallet) != -1, "Special wallet has not been added"); require(totalAllocatedPercentage - payoutPercentage[_specialWallet] + _percentage <= 1000, "Suggested special wallet percentage too high"); totalAllocatedPercentage = totalAllocatedPercentage - payoutPercentage[_specialWallet] + _percentage; payoutPercentage[_specialWallet] = _percentage; } //Metadata URI functions function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return bytes(uriByTokenId[tokenId]).length > 0 ? uriByTokenId[tokenId] : ""; } //Helper functions anf modifiers function findSpecialWallet(address _specialWallet) internal view returns(int) { int addressIndex = -1; for(uint i; i < specialWallets.length; i++){ if(specialWallets[i] == _specialWallet){ addressIndex = int(i); } } return addressIndex; } modifier onlyOwner { require(msg.sender == contractOwner, "Method can only be called by owner"); _; } modifier onlyOwnerOrAdmin { require(msg.sender == admin || msg.sender == contractOwner, "Method can only be called by owner or admin"); _; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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.9.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.9.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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [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://consensys.net/diligence/blog/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.8.0/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.9.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) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 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 256, 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 << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; import "./math/SignedMath.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 `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @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); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); 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 and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 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**128 - 1 (max value of uint128). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { 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; } // Compiler will pack the following // _currentIndex and _burnCounter into a single 256bit word. // The tokenId of the next token to be minted. uint128 internal _currentIndex; // The number of tokens burned. uint128 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_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex times unchecked { return _currentIndex - _burnCounter; } } /** * @dev See {IERC721Enumerable-tokenByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenByIndex(uint256 index) public view override returns (uint256) { uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (!ownership.burned) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert TokenIndexOutOfBounds(); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds(); uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } // Execution should never reach this point. revert(); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).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); } function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * 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 (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (!_checkOnERC721Received(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 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 > 3.4e38 (2**128) - 1 // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 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; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) { revert TransferToNonERC721ReceiverImplementer(); } updatedIndex++; } _currentIndex = uint128(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); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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**128. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].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; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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**128. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].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; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, 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 address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @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 {} }
{ "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":[{"internalType":"uint256","name":"_pricePerNFT","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","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":"walletAddress","type":"address"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"NewSpecialWalet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mintingAddress","type":"address"},{"indexed":true,"internalType":"address","name":"payoutAddress","type":"address"},{"indexed":true,"internalType":"bool","name":"isSpecialWaletPayout","type":"bool"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mints","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"referralEarnings","type":"uint256"}],"name":"Payout","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_specialWallet","type":"address"},{"internalType":"uint256","name":"_percentage","type":"uint256"},{"internalType":"string","name":"_name","type":"string"}],"name":"addSpecialWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_specialWallet","type":"address"},{"internalType":"uint256","name":"_percentage","type":"uint256"}],"name":"changeSpecialWalletPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentIndex","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":"getSpecialWallets","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":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address payable","name":"_referral","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOpen","type":"bool"}],"name":"openMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseAtId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"payoutPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_specialWallet","type":"address"}],"name":"removeSpecialWallet","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":"_pauseAtId","type":"uint256"}],"name":"setPauseAtId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pricePerNFT","type":"uint256"}],"name":"setPricePerNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"}],"name":"setUriById","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"specialWallets","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocatedPercentage","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":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052612710600a556064600d556000600f60006101000a81548160ff0219169083151502179055503480156200003757600080fd5b50604051620053163803806200531683398181016040528101906200005d91906200023c565b6040518060400160405280601881526020017f4d696c6c656e69756d20466f756e646174696f6e204e465400000000000000008152506040518060400160405280600481526020017f4d494c4c000000000000000000000000000000000000000000000000000000008152508160019080519060200190620000e19291906200014c565b508060029080519060200190620000fa9291906200014c565b50505080600c8190555033600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620002d3565b8280546200015a906200029d565b90600052602060002090601f0160209004810192826200017e5760008555620001ca565b82601f106200019957805160ff1916838001178555620001ca565b82800160010185558215620001ca579182015b82811115620001c9578251825591602001919060010190620001ac565b5b509050620001d99190620001dd565b5090565b5b80821115620001f8576000816000905550600101620001de565b5090565b600080fd5b6000819050919050565b620002168162000201565b81146200022257600080fd5b50565b60008151905062000236816200020b565b92915050565b600060208284031215620002555762000254620001fc565b5b6000620002658482850162000225565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002b657607f821691505b60208210811415620002cd57620002cc6200026e565b5b50919050565b61503380620002e36000396000f3fe6080604052600436106102305760003560e01c8063706b87221161012e578063c87b56dd116100ab578063eac989f81161006f578063eac989f814610850578063f2fde38b1461087b578063f851a440146108a4578063fb45de6d146108cf578063fc3d149c1461090c57610230565b8063c87b56dd14610757578063cc9f019414610794578063ce606ee0146107bd578063e044e9c3146107e8578063e985e9c51461081357610230565b80639b642de1116100f25780639b642de11461069c578063a0a863dd146106c5578063a0ef91df146106ee578063a22cb46514610705578063b88d4fde1461072e57610230565b8063706b8722146105c457806370a08231146105ef5780638f2839701461062c57806394bf804d1461065557806395d89b411461067157610230565b806324bbd049116101bc57806342842e0e1161018057806342842e0e146104cf57806344f8e532146104f85780634f6ccce71461052157806358a85bca1461055e5780636352211e1461058757610230565b806324bbd049146103d657806326987b60146104015780632f745c591461042c5780633730f319146104695780634081ca2b1461049257610230565b8063081812fc11610203578063081812fc146102f3578063095ea7b3146103305780630ee52dfb1461035957806318160ddd1461038257806323b872dd146103ad57610230565b806301ffc9a714610235578063047c312a146102725780630628aa701461029d57806306fdde03146102c8575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613e5d565b610935565b6040516102699190613ea5565b60405180910390f35b34801561027e57600080fd5b50610287610a7f565b6040516102949190613ed9565b60405180910390f35b3480156102a957600080fd5b506102b2610a85565b6040516102bf9190613ed9565b60405180910390f35b3480156102d457600080fd5b506102dd610a8b565b6040516102ea9190613f8d565b60405180910390f35b3480156102ff57600080fd5b5061031a60048036038101906103159190613fdb565b610b1d565b6040516103279190614049565b60405180910390f35b34801561033c57600080fd5b5061035760048036038101906103529190614090565b610b99565b005b34801561036557600080fd5b50610380600480360381019061037b91906140d0565b610ca4565b005b34801561038e57600080fd5b50610397610fa2565b6040516103a49190613ed9565b60405180910390f35b3480156103b957600080fd5b506103d460048036038101906103cf91906140fd565b610ff7565b005b3480156103e257600080fd5b506103eb611007565b6040516103f89190613ea5565b60405180910390f35b34801561040d57600080fd5b5061041661101a565b6040516104239190613ed9565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e9190614090565b611020565b6040516104609190613ed9565b60405180910390f35b34801561047557600080fd5b50610490600480360381019061048b9190613fdb565b611227565b005b34801561049e57600080fd5b506104b960048036038101906104b49190613fdb565b611319565b6040516104c69190614049565b60405180910390f35b3480156104db57600080fd5b506104f660048036038101906104f191906140fd565b611358565b005b34801561050457600080fd5b5061051f600480360381019061051a91906141b5565b611378565b005b34801561052d57600080fd5b5061054860048036038101906105439190613fdb565b611632565b6040516105559190613ed9565b60405180910390f35b34801561056a57600080fd5b5061058560048036038101906105809190614255565b6117a3565b005b34801561059357600080fd5b506105ae60048036038101906105a99190613fdb565b6118a8565b6040516105bb9190614049565b60405180910390f35b3480156105d057600080fd5b506105d96118be565b6040516105e69190613ed9565b60405180910390f35b3480156105fb57600080fd5b50610616600480360381019061061191906140d0565b6118c4565b6040516106239190613ed9565b60405180910390f35b34801561063857600080fd5b50610653600480360381019061064e91906140d0565b611994565b005b61066f600480360381019061066a91906142c0565b611ac0565b005b34801561067d57600080fd5b50610686611ffc565b6040516106939190613f8d565b60405180910390f35b3480156106a857600080fd5b506106c360048036038101906106be9190614430565b61208e565b005b3480156106d157600080fd5b506106ec60048036038101906106e79190614479565b612190565b005b3480156106fa57600080fd5b506107036122a4565b005b34801561071157600080fd5b5061072c600480360381019061072791906144d5565b61237d565b005b34801561073a57600080fd5b50610755600480360381019061075091906145b6565b6124f5565b005b34801561076357600080fd5b5061077e60048036038101906107799190613fdb565b612548565b60405161078b9190613f8d565b60405180910390f35b3480156107a057600080fd5b506107bb60048036038101906107b69190613fdb565b612672565b005b3480156107c957600080fd5b506107d2612764565b6040516107df9190614049565b60405180910390f35b3480156107f457600080fd5b506107fd61278a565b60405161080a91906146f7565b60405180910390f35b34801561081f57600080fd5b5061083a60048036038101906108359190614719565b612818565b6040516108479190613ea5565b60405180910390f35b34801561085c57600080fd5b506108656128ac565b6040516108729190613f8d565b60405180910390f35b34801561088757600080fd5b506108a2600480360381019061089d91906140d0565b61293a565b005b3480156108b057600080fd5b506108b9612a0e565b6040516108c69190614049565b60405180910390f35b3480156108db57600080fd5b506108f660048036038101906108f191906140d0565b612a34565b6040516109039190613ed9565b60405180910390f35b34801561091857600080fd5b50610933600480360381019061092e9190614090565b612a4c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a0057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a6857507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a785750610a7782612ce1565b5b9050919050565b600d5481565b600c5481565b606060018054610a9a90614788565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac690614788565b8015610b135780601f10610ae857610100808354040283529160200191610b13565b820191906000526020600020905b815481529060010190602001808311610af657829003601f168201915b5050505050905090565b6000610b2882612d4b565b610b5e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ba4826118a8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c0c576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c2b612db3565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c5d5750610c5b81610c56612db3565b612818565b155b15610c94576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c9f838383612dbb565b505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610d4d5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d839061482c565b60405180910390fd5b6000610d9782612e6d565b90508060098054905011610de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd790614898565b60405180910390fd5b60008190505b6001600980549050610df891906148e7565b811015610eb9576009600182610e0e919061491b565b81548110610e1f57610e1e614971565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660098281548110610e5e57610e5d614971565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610eb1906149a0565b915050610de6565b506009805480610ecc57610ecb6149e9565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690559055601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d6000828254610f5291906148e7565b925050819055506000601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b611002838383612f36565b505050565b600f60009054906101000a900460ff1681565b600b5481565b600061102b836118c4565b8210611063576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b8381101561121b576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511561117a575061120e565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111ba57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561120c5786841415611203578195505050505050611221565b83806001019450505b505b808060010191505061109d565b50600080fd5b92915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806112d05750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61130f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113069061482c565b60405180910390fd5b80600a8190555050565b6009818154811061132957600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611373838383604051806020016040528060008152506124f5565b505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806114215750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611460576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114579061482c565b60405180910390fd5b6103e883600d54611471919061491b565b11156114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990614a8a565b60405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6114dc85612e6d565b1461151c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151390614b1c565b60405180910390fd5b6009849080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082600d60008282546115d5919061491b565b925050819055508373ffffffffffffffffffffffffffffffffffffffff167f67a541c3664cc94c195ea06b4f4d7755e65834914d7917bc4d52dd9e274098b28383604051611624929190614b69565b60405180910390a250505050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b8281101561176b576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161175d5785831415611754578194505050505061179e565b82806001019350505b50808060010191505061166a565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061184c5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61188b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118829061482c565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b60006118b382613453565b600001519050919050565b600a5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561192c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611a3d5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611a7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a739061482c565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f60009054906101000a900460ff16611ad957600080fd5b6001600a54611ae8919061491b565b8260008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16611b22919061491b565b10611b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5990614bd9565b60405180910390fd5b81600c54611b709190614bf9565b3414611bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba890614c9f565b60405180910390fd5b60005b82811015611c3557600e601060008360008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16611bfc919061491b565b8152602001908152602001600020908054611c1690614788565b611c21929190613c7e565b508080611c2d906149a0565b915050611bb4565b50600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d39578073ffffffffffffffffffffffffffffffffffffffff166108fc600a34611c919190614cee565b9081150290604051600060405180830381858888f19350505050158015611cbc573d6000803e3d6000fd5b50600015158173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe3095a65df00b482caf1f4ca44a2a28112f797981926ade3d3cde252ad586ffa428634600a34611d209190614cee565b604051611d309493929190614d1f565b60405180910390a45b60005b600980549050811015611fb85760098181548110611d5d57611d5c614971565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6103e86011600060098681548110611dbc57611dbb614971565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205434611e2d9190614bf9565b611e379190614cee565b9081150290604051600060405180830381858888f19350505050158015611e62573d6000803e3d6000fd5b506001151560098281548110611e7b57611e7a614971565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe3095a65df00b482caf1f4ca44a2a28112f797981926ade3d3cde252ad586ffa4287346103e86011600060098b81548110611f1257611f11614971565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205434611f839190614bf9565b611f8d9190614cee565b604051611f9d9493929190614d1f565b60405180910390a48080611fb0906149a0565b915050611d3c565b50611fc333836136fb565b60008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16600b819055505050565b60606002805461200b90614788565b80601f016020809104026020016040519081016040528092919081815260200182805461203790614788565b80156120845780601f1061205957610100808354040283529160200191612084565b820191906000526020600020905b81548152906001019060200180831161206757829003601f168201915b5050505050905090565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806121375750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216d9061482c565b60405180910390fd5b80600e908051906020019061218c929190613d0b565b5050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806122395750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226f9061482c565b60405180910390fd5b8060106000848152602001908152602001600020908051906020019061229f929190613d0b565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232b90614dd6565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561237a573d6000803e3d6000fd5b50565b612385612db3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123ea576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660006123f7612db3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166124a4612db3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124e99190613ea5565b60405180910390a35050565b612500848484612f36565b61250c84848484613719565b612542576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061255382612d4b565b612592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258990614e68565b60405180910390fd5b60006010600084815260200190815260200160002080546125b290614788565b9050116125ce576040518060200160405280600081525061266b565b6010600083815260200190815260200160002080546125ec90614788565b80601f016020809104026020016040519081016040528092919081815260200182805461261890614788565b80156126655780601f1061263a57610100808354040283529160200191612665565b820191906000526020600020905b81548152906001019060200180831161264857829003601f168201915b50505050505b9050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061271b5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61275a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127519061482c565b60405180910390fd5b80600c8190555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600980548060200260200160405190810160405280929190818152602001828054801561280e57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116127c4575b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e80546128b990614788565b80601f01602080910402602001604051908101604052809291908181526020018280546128e590614788565b80156129325780601f1061290757610100808354040283529160200191612932565b820191906000526020600020905b81548152906001019060200180831161291557829003601f168201915b505050505081565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146129ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c190614dd6565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60116020528060005260406000206000915090505481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612af55750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2b9061482c565b60405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff612b5e83612e6d565b1415612b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9690614efa565b60405180910390fd5b6103e881601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d54612bf091906148e7565b612bfa919061491b565b1115612c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3290614a8a565b60405180910390fd5b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d54612c8991906148e7565b612c93919061491b565b600d8190555080601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1682108015612dac575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905060005b600980549050811015612f2c578373ffffffffffffffffffffffffffffffffffffffff1660098281548110612ece57612ecd614971565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612f19578091505b8080612f24906149a0565b915050612e96565b5080915050919050565b6000612f4182613453565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612f68612db3565b73ffffffffffffffffffffffffffffffffffffffff161480612f9b5750612f9a8260000151612f95612db3565b612818565b5b80612fe05750612fa9612db3565b73ffffffffffffffffffffffffffffffffffffffff16612fc884610b1d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613019576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614613082576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156130e9576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130f685858560016138a7565b6131066000848460000151612dbb565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156133e35760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156133e25782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461344c85858560016138ad565b5050505050565b61345b613d91565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156136c4576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516136c257600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146135a65780925050506136f6565b5b6001156136c157818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146136bc5780925050506136f6565b6135a7565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6137158282604051806020016040528060008152506138b3565b5050565b600061373a8473ffffffffffffffffffffffffffffffffffffffff166138c5565b1561389a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613763612db3565b8786866040518563ffffffff1660e01b81526004016137859493929190614f6f565b602060405180830381600087803b15801561379f57600080fd5b505af19250505080156137d057506040513d601f19601f820116820180604052508101906137cd9190614fd0565b60015b61384a573d8060008114613800576040519150601f19603f3d011682016040523d82523d6000602084013e613805565b606091505b50600081511415613842576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061389f565b600190505b949350505050565b50505050565b50505050565b6138c083838360016138e8565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613983576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156139be576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6139cb60008683876138a7565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015613c3057818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015613be45750613be26000888488613719565b155b15613c1b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050613b69565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050613c7760008683876138ad565b5050505050565b828054613c8a90614788565b90600052602060002090601f016020900481019282613cac5760008555613cfa565b82601f10613cbd5780548555613cfa565b82800160010185558215613cfa57600052602060002091601f016020900482015b82811115613cf9578254825591600101919060010190613cde565b5b509050613d079190613dd4565b5090565b828054613d1790614788565b90600052602060002090601f016020900481019282613d395760008555613d80565b82601f10613d5257805160ff1916838001178555613d80565b82800160010185558215613d80579182015b82811115613d7f578251825591602001919060010190613d64565b5b509050613d8d9190613dd4565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613ded576000816000905550600101613dd5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e3a81613e05565b8114613e4557600080fd5b50565b600081359050613e5781613e31565b92915050565b600060208284031215613e7357613e72613dfb565b5b6000613e8184828501613e48565b91505092915050565b60008115159050919050565b613e9f81613e8a565b82525050565b6000602082019050613eba6000830184613e96565b92915050565b6000819050919050565b613ed381613ec0565b82525050565b6000602082019050613eee6000830184613eca565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f2e578082015181840152602081019050613f13565b83811115613f3d576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f5f82613ef4565b613f698185613eff565b9350613f79818560208601613f10565b613f8281613f43565b840191505092915050565b60006020820190508181036000830152613fa78184613f54565b905092915050565b613fb881613ec0565b8114613fc357600080fd5b50565b600081359050613fd581613faf565b92915050565b600060208284031215613ff157613ff0613dfb565b5b6000613fff84828501613fc6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061403382614008565b9050919050565b61404381614028565b82525050565b600060208201905061405e600083018461403a565b92915050565b61406d81614028565b811461407857600080fd5b50565b60008135905061408a81614064565b92915050565b600080604083850312156140a7576140a6613dfb565b5b60006140b58582860161407b565b92505060206140c685828601613fc6565b9150509250929050565b6000602082840312156140e6576140e5613dfb565b5b60006140f48482850161407b565b91505092915050565b60008060006060848603121561411657614115613dfb565b5b60006141248682870161407b565b93505060206141358682870161407b565b925050604061414686828701613fc6565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f84011261417557614174614150565b5b8235905067ffffffffffffffff81111561419257614191614155565b5b6020830191508360018202830111156141ae576141ad61415a565b5b9250929050565b600080600080606085870312156141cf576141ce613dfb565b5b60006141dd8782880161407b565b94505060206141ee87828801613fc6565b935050604085013567ffffffffffffffff81111561420f5761420e613e00565b5b61421b8782880161415f565b925092505092959194509250565b61423281613e8a565b811461423d57600080fd5b50565b60008135905061424f81614229565b92915050565b60006020828403121561426b5761426a613dfb565b5b600061427984828501614240565b91505092915050565b600061428d82614008565b9050919050565b61429d81614282565b81146142a857600080fd5b50565b6000813590506142ba81614294565b92915050565b600080604083850312156142d7576142d6613dfb565b5b60006142e585828601613fc6565b92505060206142f6858286016142ab565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61433d82613f43565b810181811067ffffffffffffffff8211171561435c5761435b614305565b5b80604052505050565b600061436f613df1565b905061437b8282614334565b919050565b600067ffffffffffffffff82111561439b5761439a614305565b5b6143a482613f43565b9050602081019050919050565b82818337600083830152505050565b60006143d36143ce84614380565b614365565b9050828152602081018484840111156143ef576143ee614300565b5b6143fa8482856143b1565b509392505050565b600082601f83011261441757614416614150565b5b81356144278482602086016143c0565b91505092915050565b60006020828403121561444657614445613dfb565b5b600082013567ffffffffffffffff81111561446457614463613e00565b5b61447084828501614402565b91505092915050565b600080604083850312156144905761448f613dfb565b5b600061449e85828601613fc6565b925050602083013567ffffffffffffffff8111156144bf576144be613e00565b5b6144cb85828601614402565b9150509250929050565b600080604083850312156144ec576144eb613dfb565b5b60006144fa8582860161407b565b925050602061450b85828601614240565b9150509250929050565b600067ffffffffffffffff8211156145305761452f614305565b5b61453982613f43565b9050602081019050919050565b600061455961455484614515565b614365565b90508281526020810184848401111561457557614574614300565b5b6145808482856143b1565b509392505050565b600082601f83011261459d5761459c614150565b5b81356145ad848260208601614546565b91505092915050565b600080600080608085870312156145d0576145cf613dfb565b5b60006145de8782880161407b565b94505060206145ef8782880161407b565b935050604061460087828801613fc6565b925050606085013567ffffffffffffffff81111561462157614620613e00565b5b61462d87828801614588565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61466e81614028565b82525050565b60006146808383614665565b60208301905092915050565b6000602082019050919050565b60006146a482614639565b6146ae8185614644565b93506146b983614655565b8060005b838110156146ea5781516146d18882614674565b97506146dc8361468c565b9250506001810190506146bd565b5085935050505092915050565b600060208201905081810360008301526147118184614699565b905092915050565b600080604083850312156147305761472f613dfb565b5b600061473e8582860161407b565b925050602061474f8582860161407b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806147a057607f821691505b602082108114156147b4576147b3614759565b5b50919050565b7f4d6574686f642063616e206f6e6c792062652063616c6c6564206279206f776e60008201527f6572206f722061646d696e000000000000000000000000000000000000000000602082015250565b6000614816602b83613eff565b9150614821826147ba565b604082019050919050565b6000602082019050818103600083015261484581614809565b9050919050565b7f496e646578206f7574206f662072616e67650000000000000000000000000000600082015250565b6000614882601283613eff565b915061488d8261484c565b602082019050919050565b600060208201905081810360008301526148b181614875565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148f282613ec0565b91506148fd83613ec0565b9250828210156149105761490f6148b8565b5b828203905092915050565b600061492682613ec0565b915061493183613ec0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614966576149656148b8565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006149ab82613ec0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149de576149dd6148b8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f537567676573746564207370656369616c2077616c6c65742070657263656e7460008201527f61676520746f6f20686967680000000000000000000000000000000000000000602082015250565b6000614a74602c83613eff565b9150614a7f82614a18565b604082019050919050565b60006020820190508181036000830152614aa381614a67565b9050919050565b7f5370656369616c2077616c6c65742068617320616c7265616479206265656e2060008201527f6164646564000000000000000000000000000000000000000000000000000000602082015250565b6000614b06602583613eff565b9150614b1182614aaa565b604082019050919050565b60006020820190508181036000830152614b3581614af9565b9050919050565b6000614b488385613eff565b9350614b558385846143b1565b614b5e83613f43565b840190509392505050565b60006020820190508181036000830152614b84818486614b3c565b90509392505050565b7f5265616368656420706175736541742049642076616c75650000000000000000600082015250565b6000614bc3601883613eff565b9150614bce82614b8d565b602082019050919050565b60006020820190508181036000830152614bf281614bb6565b9050919050565b6000614c0482613ec0565b9150614c0f83613ec0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c4857614c476148b8565b5b828202905092915050565b7f57726f6e672045544820616d6f756e742073656e740000000000000000000000600082015250565b6000614c89601583613eff565b9150614c9482614c53565b602082019050919050565b60006020820190508181036000830152614cb881614c7c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614cf982613ec0565b9150614d0483613ec0565b925082614d1457614d13614cbf565b5b828204905092915050565b6000608082019050614d346000830187613eca565b614d416020830186613eca565b614d4e6040830185613eca565b614d5b6060830184613eca565b95945050505050565b7f4d6574686f642063616e206f6e6c792062652063616c6c6564206279206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000614dc0602283613eff565b9150614dcb82614d64565b604082019050919050565b60006020820190508181036000830152614def81614db3565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614e52602f83613eff565b9150614e5d82614df6565b604082019050919050565b60006020820190508181036000830152614e8181614e45565b9050919050565b7f5370656369616c2077616c6c657420686173206e6f74206265656e206164646560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ee4602183613eff565b9150614eef82614e88565b604082019050919050565b60006020820190508181036000830152614f1381614ed7565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614f4182614f1a565b614f4b8185614f25565b9350614f5b818560208601613f10565b614f6481613f43565b840191505092915050565b6000608082019050614f84600083018761403a565b614f91602083018661403a565b614f9e6040830185613eca565b8181036060830152614fb08184614f36565b905095945050505050565b600081519050614fca81613e31565b92915050565b600060208284031215614fe657614fe5613dfb565b5b6000614ff484828501614fbb565b9150509291505056fea26469706673582212207e090037a9c0e3e5b813fac5f82707ff8fb853abc1b22ee35e4856dbddb8709264736f6c634300080900330000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102305760003560e01c8063706b87221161012e578063c87b56dd116100ab578063eac989f81161006f578063eac989f814610850578063f2fde38b1461087b578063f851a440146108a4578063fb45de6d146108cf578063fc3d149c1461090c57610230565b8063c87b56dd14610757578063cc9f019414610794578063ce606ee0146107bd578063e044e9c3146107e8578063e985e9c51461081357610230565b80639b642de1116100f25780639b642de11461069c578063a0a863dd146106c5578063a0ef91df146106ee578063a22cb46514610705578063b88d4fde1461072e57610230565b8063706b8722146105c457806370a08231146105ef5780638f2839701461062c57806394bf804d1461065557806395d89b411461067157610230565b806324bbd049116101bc57806342842e0e1161018057806342842e0e146104cf57806344f8e532146104f85780634f6ccce71461052157806358a85bca1461055e5780636352211e1461058757610230565b806324bbd049146103d657806326987b60146104015780632f745c591461042c5780633730f319146104695780634081ca2b1461049257610230565b8063081812fc11610203578063081812fc146102f3578063095ea7b3146103305780630ee52dfb1461035957806318160ddd1461038257806323b872dd146103ad57610230565b806301ffc9a714610235578063047c312a146102725780630628aa701461029d57806306fdde03146102c8575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613e5d565b610935565b6040516102699190613ea5565b60405180910390f35b34801561027e57600080fd5b50610287610a7f565b6040516102949190613ed9565b60405180910390f35b3480156102a957600080fd5b506102b2610a85565b6040516102bf9190613ed9565b60405180910390f35b3480156102d457600080fd5b506102dd610a8b565b6040516102ea9190613f8d565b60405180910390f35b3480156102ff57600080fd5b5061031a60048036038101906103159190613fdb565b610b1d565b6040516103279190614049565b60405180910390f35b34801561033c57600080fd5b5061035760048036038101906103529190614090565b610b99565b005b34801561036557600080fd5b50610380600480360381019061037b91906140d0565b610ca4565b005b34801561038e57600080fd5b50610397610fa2565b6040516103a49190613ed9565b60405180910390f35b3480156103b957600080fd5b506103d460048036038101906103cf91906140fd565b610ff7565b005b3480156103e257600080fd5b506103eb611007565b6040516103f89190613ea5565b60405180910390f35b34801561040d57600080fd5b5061041661101a565b6040516104239190613ed9565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e9190614090565b611020565b6040516104609190613ed9565b60405180910390f35b34801561047557600080fd5b50610490600480360381019061048b9190613fdb565b611227565b005b34801561049e57600080fd5b506104b960048036038101906104b49190613fdb565b611319565b6040516104c69190614049565b60405180910390f35b3480156104db57600080fd5b506104f660048036038101906104f191906140fd565b611358565b005b34801561050457600080fd5b5061051f600480360381019061051a91906141b5565b611378565b005b34801561052d57600080fd5b5061054860048036038101906105439190613fdb565b611632565b6040516105559190613ed9565b60405180910390f35b34801561056a57600080fd5b5061058560048036038101906105809190614255565b6117a3565b005b34801561059357600080fd5b506105ae60048036038101906105a99190613fdb565b6118a8565b6040516105bb9190614049565b60405180910390f35b3480156105d057600080fd5b506105d96118be565b6040516105e69190613ed9565b60405180910390f35b3480156105fb57600080fd5b50610616600480360381019061061191906140d0565b6118c4565b6040516106239190613ed9565b60405180910390f35b34801561063857600080fd5b50610653600480360381019061064e91906140d0565b611994565b005b61066f600480360381019061066a91906142c0565b611ac0565b005b34801561067d57600080fd5b50610686611ffc565b6040516106939190613f8d565b60405180910390f35b3480156106a857600080fd5b506106c360048036038101906106be9190614430565b61208e565b005b3480156106d157600080fd5b506106ec60048036038101906106e79190614479565b612190565b005b3480156106fa57600080fd5b506107036122a4565b005b34801561071157600080fd5b5061072c600480360381019061072791906144d5565b61237d565b005b34801561073a57600080fd5b50610755600480360381019061075091906145b6565b6124f5565b005b34801561076357600080fd5b5061077e60048036038101906107799190613fdb565b612548565b60405161078b9190613f8d565b60405180910390f35b3480156107a057600080fd5b506107bb60048036038101906107b69190613fdb565b612672565b005b3480156107c957600080fd5b506107d2612764565b6040516107df9190614049565b60405180910390f35b3480156107f457600080fd5b506107fd61278a565b60405161080a91906146f7565b60405180910390f35b34801561081f57600080fd5b5061083a60048036038101906108359190614719565b612818565b6040516108479190613ea5565b60405180910390f35b34801561085c57600080fd5b506108656128ac565b6040516108729190613f8d565b60405180910390f35b34801561088757600080fd5b506108a2600480360381019061089d91906140d0565b61293a565b005b3480156108b057600080fd5b506108b9612a0e565b6040516108c69190614049565b60405180910390f35b3480156108db57600080fd5b506108f660048036038101906108f191906140d0565b612a34565b6040516109039190613ed9565b60405180910390f35b34801561091857600080fd5b50610933600480360381019061092e9190614090565b612a4c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a0057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a6857507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a785750610a7782612ce1565b5b9050919050565b600d5481565b600c5481565b606060018054610a9a90614788565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac690614788565b8015610b135780601f10610ae857610100808354040283529160200191610b13565b820191906000526020600020905b815481529060010190602001808311610af657829003601f168201915b5050505050905090565b6000610b2882612d4b565b610b5e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ba4826118a8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c0c576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c2b612db3565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c5d5750610c5b81610c56612db3565b612818565b155b15610c94576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c9f838383612dbb565b505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610d4d5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d839061482c565b60405180910390fd5b6000610d9782612e6d565b90508060098054905011610de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd790614898565b60405180910390fd5b60008190505b6001600980549050610df891906148e7565b811015610eb9576009600182610e0e919061491b565b81548110610e1f57610e1e614971565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660098281548110610e5e57610e5d614971565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610eb1906149a0565b915050610de6565b506009805480610ecc57610ecb6149e9565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690559055601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d6000828254610f5291906148e7565b925050819055506000601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b611002838383612f36565b505050565b600f60009054906101000a900460ff1681565b600b5481565b600061102b836118c4565b8210611063576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b8381101561121b576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511561117a575061120e565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111ba57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561120c5786841415611203578195505050505050611221565b83806001019450505b505b808060010191505061109d565b50600080fd5b92915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806112d05750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61130f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113069061482c565b60405180910390fd5b80600a8190555050565b6009818154811061132957600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611373838383604051806020016040528060008152506124f5565b505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806114215750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611460576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114579061482c565b60405180910390fd5b6103e883600d54611471919061491b565b11156114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990614a8a565b60405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6114dc85612e6d565b1461151c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151390614b1c565b60405180910390fd5b6009849080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082600d60008282546115d5919061491b565b925050819055508373ffffffffffffffffffffffffffffffffffffffff167f67a541c3664cc94c195ea06b4f4d7755e65834914d7917bc4d52dd9e274098b28383604051611624929190614b69565b60405180910390a250505050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b8281101561176b576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161175d5785831415611754578194505050505061179e565b82806001019350505b50808060010191505061166a565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061184c5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61188b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118829061482c565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b60006118b382613453565b600001519050919050565b600a5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561192c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611a3d5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611a7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a739061482c565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f60009054906101000a900460ff16611ad957600080fd5b6001600a54611ae8919061491b565b8260008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16611b22919061491b565b10611b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5990614bd9565b60405180910390fd5b81600c54611b709190614bf9565b3414611bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba890614c9f565b60405180910390fd5b60005b82811015611c3557600e601060008360008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16611bfc919061491b565b8152602001908152602001600020908054611c1690614788565b611c21929190613c7e565b508080611c2d906149a0565b915050611bb4565b50600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d39578073ffffffffffffffffffffffffffffffffffffffff166108fc600a34611c919190614cee565b9081150290604051600060405180830381858888f19350505050158015611cbc573d6000803e3d6000fd5b50600015158173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe3095a65df00b482caf1f4ca44a2a28112f797981926ade3d3cde252ad586ffa428634600a34611d209190614cee565b604051611d309493929190614d1f565b60405180910390a45b60005b600980549050811015611fb85760098181548110611d5d57611d5c614971565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6103e86011600060098681548110611dbc57611dbb614971565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205434611e2d9190614bf9565b611e379190614cee565b9081150290604051600060405180830381858888f19350505050158015611e62573d6000803e3d6000fd5b506001151560098281548110611e7b57611e7a614971565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe3095a65df00b482caf1f4ca44a2a28112f797981926ade3d3cde252ad586ffa4287346103e86011600060098b81548110611f1257611f11614971565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205434611f839190614bf9565b611f8d9190614cee565b604051611f9d9493929190614d1f565b60405180910390a48080611fb0906149a0565b915050611d3c565b50611fc333836136fb565b60008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16600b819055505050565b60606002805461200b90614788565b80601f016020809104026020016040519081016040528092919081815260200182805461203790614788565b80156120845780601f1061205957610100808354040283529160200191612084565b820191906000526020600020905b81548152906001019060200180831161206757829003601f168201915b5050505050905090565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806121375750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216d9061482c565b60405180910390fd5b80600e908051906020019061218c929190613d0b565b5050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806122395750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226f9061482c565b60405180910390fd5b8060106000848152602001908152602001600020908051906020019061229f929190613d0b565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232b90614dd6565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561237a573d6000803e3d6000fd5b50565b612385612db3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123ea576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660006123f7612db3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166124a4612db3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124e99190613ea5565b60405180910390a35050565b612500848484612f36565b61250c84848484613719565b612542576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061255382612d4b565b612592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258990614e68565b60405180910390fd5b60006010600084815260200190815260200160002080546125b290614788565b9050116125ce576040518060200160405280600081525061266b565b6010600083815260200190815260200160002080546125ec90614788565b80601f016020809104026020016040519081016040528092919081815260200182805461261890614788565b80156126655780601f1061263a57610100808354040283529160200191612665565b820191906000526020600020905b81548152906001019060200180831161264857829003601f168201915b50505050505b9050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061271b5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61275a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127519061482c565b60405180910390fd5b80600c8190555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600980548060200260200160405190810160405280929190818152602001828054801561280e57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116127c4575b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e80546128b990614788565b80601f01602080910402602001604051908101604052809291908181526020018280546128e590614788565b80156129325780601f1061290757610100808354040283529160200191612932565b820191906000526020600020905b81548152906001019060200180831161291557829003601f168201915b505050505081565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146129ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c190614dd6565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60116020528060005260406000206000915090505481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612af55750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2b9061482c565b60405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff612b5e83612e6d565b1415612b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9690614efa565b60405180910390fd5b6103e881601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d54612bf091906148e7565b612bfa919061491b565b1115612c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3290614a8a565b60405180910390fd5b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d54612c8991906148e7565b612c93919061491b565b600d8190555080601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1682108015612dac575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905060005b600980549050811015612f2c578373ffffffffffffffffffffffffffffffffffffffff1660098281548110612ece57612ecd614971565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612f19578091505b8080612f24906149a0565b915050612e96565b5080915050919050565b6000612f4182613453565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612f68612db3565b73ffffffffffffffffffffffffffffffffffffffff161480612f9b5750612f9a8260000151612f95612db3565b612818565b5b80612fe05750612fa9612db3565b73ffffffffffffffffffffffffffffffffffffffff16612fc884610b1d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613019576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614613082576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156130e9576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130f685858560016138a7565b6131066000848460000151612dbb565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156133e35760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156133e25782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461344c85858560016138ad565b5050505050565b61345b613d91565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156136c4576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516136c257600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146135a65780925050506136f6565b5b6001156136c157818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146136bc5780925050506136f6565b6135a7565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6137158282604051806020016040528060008152506138b3565b5050565b600061373a8473ffffffffffffffffffffffffffffffffffffffff166138c5565b1561389a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613763612db3565b8786866040518563ffffffff1660e01b81526004016137859493929190614f6f565b602060405180830381600087803b15801561379f57600080fd5b505af19250505080156137d057506040513d601f19601f820116820180604052508101906137cd9190614fd0565b60015b61384a573d8060008114613800576040519150601f19603f3d011682016040523d82523d6000602084013e613805565b606091505b50600081511415613842576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061389f565b600190505b949350505050565b50505050565b50505050565b6138c083838360016138e8565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613983576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156139be576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6139cb60008683876138a7565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015613c3057818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015613be45750613be26000888488613719565b155b15613c1b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050613b69565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050613c7760008683876138ad565b5050505050565b828054613c8a90614788565b90600052602060002090601f016020900481019282613cac5760008555613cfa565b82601f10613cbd5780548555613cfa565b82800160010185558215613cfa57600052602060002091601f016020900482015b82811115613cf9578254825591600101919060010190613cde565b5b509050613d079190613dd4565b5090565b828054613d1790614788565b90600052602060002090601f016020900481019282613d395760008555613d80565b82601f10613d5257805160ff1916838001178555613d80565b82800160010185558215613d80579182015b82811115613d7f578251825591602001919060010190613d64565b5b509050613d8d9190613dd4565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613ded576000816000905550600101613dd5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e3a81613e05565b8114613e4557600080fd5b50565b600081359050613e5781613e31565b92915050565b600060208284031215613e7357613e72613dfb565b5b6000613e8184828501613e48565b91505092915050565b60008115159050919050565b613e9f81613e8a565b82525050565b6000602082019050613eba6000830184613e96565b92915050565b6000819050919050565b613ed381613ec0565b82525050565b6000602082019050613eee6000830184613eca565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f2e578082015181840152602081019050613f13565b83811115613f3d576000848401525b50505050565b6000601f19601f8301169050919050565b6000613f5f82613ef4565b613f698185613eff565b9350613f79818560208601613f10565b613f8281613f43565b840191505092915050565b60006020820190508181036000830152613fa78184613f54565b905092915050565b613fb881613ec0565b8114613fc357600080fd5b50565b600081359050613fd581613faf565b92915050565b600060208284031215613ff157613ff0613dfb565b5b6000613fff84828501613fc6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061403382614008565b9050919050565b61404381614028565b82525050565b600060208201905061405e600083018461403a565b92915050565b61406d81614028565b811461407857600080fd5b50565b60008135905061408a81614064565b92915050565b600080604083850312156140a7576140a6613dfb565b5b60006140b58582860161407b565b92505060206140c685828601613fc6565b9150509250929050565b6000602082840312156140e6576140e5613dfb565b5b60006140f48482850161407b565b91505092915050565b60008060006060848603121561411657614115613dfb565b5b60006141248682870161407b565b93505060206141358682870161407b565b925050604061414686828701613fc6565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f84011261417557614174614150565b5b8235905067ffffffffffffffff81111561419257614191614155565b5b6020830191508360018202830111156141ae576141ad61415a565b5b9250929050565b600080600080606085870312156141cf576141ce613dfb565b5b60006141dd8782880161407b565b94505060206141ee87828801613fc6565b935050604085013567ffffffffffffffff81111561420f5761420e613e00565b5b61421b8782880161415f565b925092505092959194509250565b61423281613e8a565b811461423d57600080fd5b50565b60008135905061424f81614229565b92915050565b60006020828403121561426b5761426a613dfb565b5b600061427984828501614240565b91505092915050565b600061428d82614008565b9050919050565b61429d81614282565b81146142a857600080fd5b50565b6000813590506142ba81614294565b92915050565b600080604083850312156142d7576142d6613dfb565b5b60006142e585828601613fc6565b92505060206142f6858286016142ab565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61433d82613f43565b810181811067ffffffffffffffff8211171561435c5761435b614305565b5b80604052505050565b600061436f613df1565b905061437b8282614334565b919050565b600067ffffffffffffffff82111561439b5761439a614305565b5b6143a482613f43565b9050602081019050919050565b82818337600083830152505050565b60006143d36143ce84614380565b614365565b9050828152602081018484840111156143ef576143ee614300565b5b6143fa8482856143b1565b509392505050565b600082601f83011261441757614416614150565b5b81356144278482602086016143c0565b91505092915050565b60006020828403121561444657614445613dfb565b5b600082013567ffffffffffffffff81111561446457614463613e00565b5b61447084828501614402565b91505092915050565b600080604083850312156144905761448f613dfb565b5b600061449e85828601613fc6565b925050602083013567ffffffffffffffff8111156144bf576144be613e00565b5b6144cb85828601614402565b9150509250929050565b600080604083850312156144ec576144eb613dfb565b5b60006144fa8582860161407b565b925050602061450b85828601614240565b9150509250929050565b600067ffffffffffffffff8211156145305761452f614305565b5b61453982613f43565b9050602081019050919050565b600061455961455484614515565b614365565b90508281526020810184848401111561457557614574614300565b5b6145808482856143b1565b509392505050565b600082601f83011261459d5761459c614150565b5b81356145ad848260208601614546565b91505092915050565b600080600080608085870312156145d0576145cf613dfb565b5b60006145de8782880161407b565b94505060206145ef8782880161407b565b935050604061460087828801613fc6565b925050606085013567ffffffffffffffff81111561462157614620613e00565b5b61462d87828801614588565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61466e81614028565b82525050565b60006146808383614665565b60208301905092915050565b6000602082019050919050565b60006146a482614639565b6146ae8185614644565b93506146b983614655565b8060005b838110156146ea5781516146d18882614674565b97506146dc8361468c565b9250506001810190506146bd565b5085935050505092915050565b600060208201905081810360008301526147118184614699565b905092915050565b600080604083850312156147305761472f613dfb565b5b600061473e8582860161407b565b925050602061474f8582860161407b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806147a057607f821691505b602082108114156147b4576147b3614759565b5b50919050565b7f4d6574686f642063616e206f6e6c792062652063616c6c6564206279206f776e60008201527f6572206f722061646d696e000000000000000000000000000000000000000000602082015250565b6000614816602b83613eff565b9150614821826147ba565b604082019050919050565b6000602082019050818103600083015261484581614809565b9050919050565b7f496e646578206f7574206f662072616e67650000000000000000000000000000600082015250565b6000614882601283613eff565b915061488d8261484c565b602082019050919050565b600060208201905081810360008301526148b181614875565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148f282613ec0565b91506148fd83613ec0565b9250828210156149105761490f6148b8565b5b828203905092915050565b600061492682613ec0565b915061493183613ec0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614966576149656148b8565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006149ab82613ec0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149de576149dd6148b8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f537567676573746564207370656369616c2077616c6c65742070657263656e7460008201527f61676520746f6f20686967680000000000000000000000000000000000000000602082015250565b6000614a74602c83613eff565b9150614a7f82614a18565b604082019050919050565b60006020820190508181036000830152614aa381614a67565b9050919050565b7f5370656369616c2077616c6c65742068617320616c7265616479206265656e2060008201527f6164646564000000000000000000000000000000000000000000000000000000602082015250565b6000614b06602583613eff565b9150614b1182614aaa565b604082019050919050565b60006020820190508181036000830152614b3581614af9565b9050919050565b6000614b488385613eff565b9350614b558385846143b1565b614b5e83613f43565b840190509392505050565b60006020820190508181036000830152614b84818486614b3c565b90509392505050565b7f5265616368656420706175736541742049642076616c75650000000000000000600082015250565b6000614bc3601883613eff565b9150614bce82614b8d565b602082019050919050565b60006020820190508181036000830152614bf281614bb6565b9050919050565b6000614c0482613ec0565b9150614c0f83613ec0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c4857614c476148b8565b5b828202905092915050565b7f57726f6e672045544820616d6f756e742073656e740000000000000000000000600082015250565b6000614c89601583613eff565b9150614c9482614c53565b602082019050919050565b60006020820190508181036000830152614cb881614c7c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614cf982613ec0565b9150614d0483613ec0565b925082614d1457614d13614cbf565b5b828204905092915050565b6000608082019050614d346000830187613eca565b614d416020830186613eca565b614d4e6040830185613eca565b614d5b6060830184613eca565b95945050505050565b7f4d6574686f642063616e206f6e6c792062652063616c6c6564206279206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000614dc0602283613eff565b9150614dcb82614d64565b604082019050919050565b60006020820190508181036000830152614def81614db3565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614e52602f83613eff565b9150614e5d82614df6565b604082019050919050565b60006020820190508181036000830152614e8181614e45565b9050919050565b7f5370656369616c2077616c6c657420686173206e6f74206265656e206164646560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ee4602183613eff565b9150614eef82614e88565b604082019050919050565b60006020820190508181036000830152614f1381614ed7565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614f4182614f1a565b614f4b8185614f25565b9350614f5b818560208601613f10565b614f6481613f43565b840191505092915050565b6000608082019050614f84600083018761403a565b614f91602083018661403a565b614f9e6040830185613eca565b8181036060830152614fb08184614f36565b905095945050505050565b600081519050614fca81613e31565b92915050565b600060208284031215614fe657614fe5613dfb565b5b6000614ff484828501614fbb565b9150509291505056fea26469706673582212207e090037a9c0e3e5b813fac5f82707ff8fb853abc1b22ee35e4856dbddb8709264736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _pricePerNFT (uint256): 0
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $2,679.58 | 0.0003 | $0.803873 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.