Overview
TokenID
3926
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SquareGuyz
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.9; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "erc721a/contracts/extensions/ERC721AQueryable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract SquareGuyz is ERC721AQueryable, ReentrancyGuard, Ownable { uint256 public maxSupply = 8888; bool private _paused = false; uint256 public PUBLIC_MINT_PRICE = 0.001 ether; bool public revealed = true; uint256 public MAX_FREE_MINT_PER_WALLET = 5; uint256 public MAX_PER_TX = 10; bytes32 public root; mapping(address => bool) whitelistUserMinted; uint256 public MAX_FREE_MINT = 4444; mapping(address => bool) userFreeMinted; // TODO: 记得Deploy to mainet的时候,要把这个uriPrefix修改为正确的指向json的目录 string public uriPrefix = "ar://bLlRFRTUioMMbT7eIqxehNvfrjwtK_Dujk6PIA0HU_4/"; using Strings for uint256; constructor(bytes32 _root) ERC721A("SquareGuyz NFT", "SQG") { root = _root; } function whitelistMint(uint256 _quantity, bytes32[] memory proof) public payable { require( _quantity <= MAX_FREE_MINT_PER_WALLET, "Quantity must be 1 in white list minting stage" ); require( whitelistUserMinted[_msgSender()] == false, "You have minted 1 NFT in white list minting stage" ); require( isValid(proof, keccak256(abi.encodePacked(_msgSender()))), "You are not on the white list" ); require(_paused == false, "Mint paused"); require(_quantity > 0, "Invalid quantity!"); require(totalSupply() + _quantity <= maxSupply, "Max supply exceed!"); _safeMint(_msgSender(), _quantity); whitelistUserMinted[_msgSender()] = true; } function freeMint() public payable { require( userFreeMinted[_msgSender()] == false, "You have minted 1 free NFT" ); require(_paused == false, "Mint paused"); require( totalSupply() + MAX_FREE_MINT_PER_WALLET <= MAX_FREE_MINT, "Max free exceed!" ); _safeMint(_msgSender(), MAX_FREE_MINT_PER_WALLET); userFreeMinted[_msgSender()] = true; } // First 4,444 free then 0.001 ETH each! Max supply 8,888. Max 10 NFTs per transaction. Instant reveal. function mint(uint256 _quantity) public payable { require(_paused == false, "Mint paused"); require(_quantity > 0, "Invalid quantity!"); require(_quantity <= MAX_PER_TX, "Max 10 per transaction"); require(totalSupply() + _quantity <= maxSupply, "Max supply exceed!"); require(msg.value >= PUBLIC_MINT_PRICE * _quantity, "Incorrect price"); _safeMint(_msgSender(), _quantity); } /** * @dev token id starts with 1 */ function _startTokenId() internal view virtual override returns (uint256) { return 1; } /** * @dev override base URI */ function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } /** * @dev get token URI by token ID */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); if (revealed) { return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), ".json" ) ) : ""; } else { return string(abi.encodePacked(currentBaseURI, "1.json")); } } /** @dev withdraw */ function withdraw() public onlyOwner nonReentrant { uint256 balance = address(this).balance; (bool os, ) = payable(owner()).call{value: balance}(""); require(os); } function changeBaseURI(string memory baseURI) public onlyOwner { uriPrefix = baseURI; } function changeMaxSupply(uint256 _maxSupply) public onlyOwner { maxSupply = _maxSupply; } function ownerMint(uint256 _quantity) public onlyOwner { require(_quantity > 0, "Invalid mint ammount!"); require(totalSupply() + _quantity <= maxSupply, "Max supply exceed!"); _safeMint(_msgSender(), _quantity); } function paused() public view returns (bool) { return _paused; } function unpause() public onlyOwner { require( _paused == true, "Make sure it was paused so it can be unpause" ); _paused = false; } function pause() public onlyOwner { require(_paused == false, "Already paused"); _paused = true; } function reveal() public onlyOwner { require(revealed == false, "Already revealed"); revealed = true; } function changePrice(uint256 _price) public onlyOwner { PUBLIC_MINT_PRICE = _price; } function setWhitelistMerkleRoot(bytes32 _merkleRoot) public onlyOwner { root = _merkleRoot; } function isValid(bytes32[] memory proof, bytes32 leaf) public view returns (bool) { return MerkleProof.verify(proof, root, leaf); } function changeMaxFreeMint(uint256 _quantity) public onlyOwner { MAX_FREE_MINT_PER_WALLET = _quantity; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import '../ERC721A.sol'; /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _currentIndex) { return ownership; } ownership = _ownerships[tokenId]; if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _currentIndex; // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, _currentIndex)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// 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 // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import '../IERC721A.sol'; /** * @dev Interface of an ERC721AQueryable compliant contract. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.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'; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721A { using Address for address; using Strings for uint256; // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) 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) if(!isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A is IERC721, IERC721Metadata { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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 be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// 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 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.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.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly 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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// 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; } }
{ "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":"bytes32","name":"_root","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_FREE_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"changeMaxFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"changeMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"ownerMint","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526122b8600a556000600b60006101000a81548160ff02191690831515021790555066038d7ea4c68000600c556001600d60006101000a81548160ff0219169083151502179055506005600e55600a600f5561115c60125560405180606001604052806031815260200162005a3360319139601490805190602001906200008c92919062000283565b503480156200009a57600080fd5b5060405162005a6438038062005a648339818101604052810190620000c0919062000373565b6040518060400160405280600e81526020017f5371756172654775797a204e46540000000000000000000000000000000000008152506040518060400160405280600381526020017f535147000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200014492919062000283565b5080600390805190602001906200015d92919062000283565b506200016e620001ac60201b60201c565b600081905550505060016008819055506200019e62000192620001b560201b60201c565b620001bd60201b60201c565b80601081905550506200040a565b60006001905090565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200029190620003d4565b90600052602060002090601f016020900481019282620002b5576000855562000301565b82601f10620002d057805160ff191683800117855562000301565b8280016001018555821562000301579182015b8281111562000300578251825591602001919060010190620002e3565b5b50905062000310919062000314565b5090565b5b808211156200032f57600081600090555060010162000315565b5090565b600080fd5b6000819050919050565b6200034d8162000338565b81146200035957600080fd5b50565b6000815190506200036d8162000342565b92915050565b6000602082840312156200038c576200038b62000333565b5b60006200039c848285016200035c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003ed57607f821691505b60208210811415620004045762000403620003a5565b5b50919050565b615619806200041a6000396000f3fe6080604052600436106102675760003560e01c80638456cb5911610144578063b8a20ed0116100b6578063d5abeb011161007a578063d5abeb01146108cb578063e985e9c5146108f6578063ebf0c71714610933578063f19e75d41461095e578063f2fde38b14610987578063f43a22dc146109b057610267565b8063b8a20ed0146107cf578063bd32fb661461080c578063c23dc68f14610835578063c87b56dd14610872578063d2cab056146108af57610267565b8063a0712d6811610108578063a0712d68146106f6578063a22cb46514610712578063a2b40d191461073b578063a475b5dd14610764578063a6eb27e21461077b578063b88d4fde146107a657610267565b80638456cb591461060f5780638462151c146106265780638da5cb5b1461066357806395d89b411461068e57806399a2557a146106b957610267565b806342842e0e116101dd57806362b99ad4116101a157806362b99ad4146104ff5780636352211e1461052a5780636bde26271461056757806370a0823114610592578063715018a6146105cf5780637c472f3e146105e657610267565b806342842e0e1461043957806351830227146104625780635b70ea9f1461048d5780635bbb2177146104975780635c975abb146104d457610267565b806323b872dd1161022f57806323b872dd1461036557806339a0c6f91461038e5780633ccfd60b146103b75780633f4ba83a146103ce578063404c7cdd146103e557806341cda2031461040e57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b31461031157806318160ddd1461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613c21565b6109db565b6040516102a09190613c69565b60405180910390f35b3480156102b557600080fd5b506102be610abd565b6040516102cb9190613d1d565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613d75565b610b4f565b6040516103089190613de3565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190613e2a565b610bcb565b005b34801561034657600080fd5b5061034f610cd0565b60405161035c9190613e79565b60405180910390f35b34801561037157600080fd5b5061038c60048036038101906103879190613e94565b610ce7565b005b34801561039a57600080fd5b506103b560048036038101906103b0919061401c565b610cf7565b005b3480156103c357600080fd5b506103cc610d8d565b005b3480156103da57600080fd5b506103e3610ee5565b005b3480156103f157600080fd5b5061040c60048036038101906104079190613d75565b610fd4565b005b34801561041a57600080fd5b5061042361105a565b6040516104309190613e79565b60405180910390f35b34801561044557600080fd5b50610460600480360381019061045b9190613e94565b611060565b005b34801561046e57600080fd5b50610477611080565b6040516104849190613c69565b60405180910390f35b610495611093565b005b3480156104a357600080fd5b506104be60048036038101906104b9919061412d565b611250565b6040516104cb91906142a8565b60405180910390f35b3480156104e057600080fd5b506104e9611311565b6040516104f69190613c69565b60405180910390f35b34801561050b57600080fd5b50610514611328565b6040516105219190613d1d565b60405180910390f35b34801561053657600080fd5b50610551600480360381019061054c9190613d75565b6113b6565b60405161055e9190613de3565b60405180910390f35b34801561057357600080fd5b5061057c6113cc565b6040516105899190613e79565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b491906142ca565b6113d2565b6040516105c69190613e79565b60405180910390f35b3480156105db57600080fd5b506105e46114a2565b005b3480156105f257600080fd5b5061060d60048036038101906106089190613d75565b61152a565b005b34801561061b57600080fd5b506106246115b0565b005b34801561063257600080fd5b5061064d600480360381019061064891906142ca565b61169f565b60405161065a91906143b5565b60405180910390f35b34801561066f57600080fd5b506106786118a1565b6040516106859190613de3565b60405180910390f35b34801561069a57600080fd5b506106a36118cb565b6040516106b09190613d1d565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db91906143d7565b61195d565b6040516106ed91906143b5565b60405180910390f35b610710600480360381019061070b9190613d75565b611c24565b005b34801561071e57600080fd5b5061073960048036038101906107349190614456565b611dbd565b005b34801561074757600080fd5b50610762600480360381019061075d9190613d75565b611f35565b005b34801561077057600080fd5b50610779611fbb565b005b34801561078757600080fd5b506107906120aa565b60405161079d9190613e79565b60405180910390f35b3480156107b257600080fd5b506107cd60048036038101906107c89190614537565b6120b0565b005b3480156107db57600080fd5b506107f660048036038101906107f191906146b3565b612128565b6040516108039190613c69565b60405180910390f35b34801561081857600080fd5b50610833600480360381019061082e919061470f565b61213f565b005b34801561084157600080fd5b5061085c60048036038101906108579190613d75565b6121c5565b604051610869919061477e565b60405180910390f35b34801561087e57600080fd5b5061089960048036038101906108949190613d75565b6122e2565b6040516108a69190613d1d565b60405180910390f35b6108c960048036038101906108c49190614799565b6123c7565b005b3480156108d757600080fd5b506108e0612680565b6040516108ed9190613e79565b60405180910390f35b34801561090257600080fd5b5061091d600480360381019061091891906147f5565b612686565b60405161092a9190613c69565b60405180910390f35b34801561093f57600080fd5b5061094861271a565b6040516109559190614844565b60405180910390f35b34801561096a57600080fd5b5061098560048036038101906109809190613d75565b612720565b005b34801561099357600080fd5b506109ae60048036038101906109a991906142ca565b61284a565b005b3480156109bc57600080fd5b506109c5612942565b6040516109d29190613e79565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aa657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ab65750610ab582612948565b5b9050919050565b606060028054610acc9061488e565b80601f0160208091040260200160405190810160405280929190818152602001828054610af89061488e565b8015610b455780601f10610b1a57610100808354040283529160200191610b45565b820191906000526020600020905b815481529060010190602001808311610b2857829003601f168201915b5050505050905090565b6000610b5a826129b2565b610b90576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bd6826113b6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c3e576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c5d612a00565b73ffffffffffffffffffffffffffffffffffffffff1614610cc057610c8981610c84612a00565b612686565b610cbf576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610ccb838383612a08565b505050565b6000610cda612aba565b6001546000540303905090565b610cf2838383612ac3565b505050565b610cff612a00565b73ffffffffffffffffffffffffffffffffffffffff16610d1d6118a1565b73ffffffffffffffffffffffffffffffffffffffff1614610d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6a9061490c565b60405180910390fd5b8060149080519060200190610d89929190613acf565b5050565b610d95612a00565b73ffffffffffffffffffffffffffffffffffffffff16610db36118a1565b73ffffffffffffffffffffffffffffffffffffffff1614610e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e009061490c565b60405180910390fd5b60026008541415610e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4690614978565b60405180910390fd5b600260088190555060004790506000610e666118a1565b73ffffffffffffffffffffffffffffffffffffffff1682604051610e89906149c9565b60006040518083038185875af1925050503d8060008114610ec6576040519150601f19603f3d011682016040523d82523d6000602084013e610ecb565b606091505b5050905080610ed957600080fd5b50506001600881905550565b610eed612a00565b73ffffffffffffffffffffffffffffffffffffffff16610f0b6118a1565b73ffffffffffffffffffffffffffffffffffffffff1614610f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f589061490c565b60405180910390fd5b60011515600b60009054906101000a900460ff16151514610fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae90614a50565b60405180910390fd5b6000600b60006101000a81548160ff021916908315150217905550565b610fdc612a00565b73ffffffffffffffffffffffffffffffffffffffff16610ffa6118a1565b73ffffffffffffffffffffffffffffffffffffffff1614611050576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110479061490c565b60405180910390fd5b80600a8190555050565b60125481565b61107b838383604051806020016040528060008152506120b0565b505050565b600d60009054906101000a900460ff1681565b60001515601360006110a3612a00565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461112d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112490614abc565b60405180910390fd5b60001515600b60009054906101000a900460ff16151514611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117a90614b28565b60405180910390fd5b601254600e54611191610cd0565b61119b9190614b77565b11156111dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d390614c19565b60405180910390fd5b6111ef6111e7612a00565b600e54612f79565b6001601360006111fd612a00565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550565b606060008251905060008167ffffffffffffffff81111561127457611273613ef1565b5b6040519080825280602002602001820160405280156112ad57816020015b61129a613b55565b8152602001906001900390816112925790505b50905060005b828114611306576112dd8582815181106112d0576112cf614c39565b5b60200260200101516121c5565b8282815181106112f0576112ef614c39565b5b60200260200101819052508060010190506112b3565b508092505050919050565b6000600b60009054906101000a900460ff16905090565b601480546113359061488e565b80601f01602080910402602001604051908101604052809291908181526020018280546113619061488e565b80156113ae5780601f10611383576101008083540402835291602001916113ae565b820191906000526020600020905b81548152906001019060200180831161139157829003601f168201915b505050505081565b60006113c182612f97565b600001519050919050565b600c5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561143a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6114aa612a00565b73ffffffffffffffffffffffffffffffffffffffff166114c86118a1565b73ffffffffffffffffffffffffffffffffffffffff161461151e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115159061490c565b60405180910390fd5b6115286000613222565b565b611532612a00565b73ffffffffffffffffffffffffffffffffffffffff166115506118a1565b73ffffffffffffffffffffffffffffffffffffffff16146115a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159d9061490c565b60405180910390fd5b80600e8190555050565b6115b8612a00565b73ffffffffffffffffffffffffffffffffffffffff166115d66118a1565b73ffffffffffffffffffffffffffffffffffffffff161461162c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116239061490c565b60405180910390fd5b60001515600b60009054906101000a900460ff16151514611682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167990614cb4565b60405180910390fd5b6001600b60006101000a81548160ff021916908315150217905550565b606060008060006116af856113d2565b905060008167ffffffffffffffff8111156116cd576116cc613ef1565b5b6040519080825280602002602001820160405280156116fb5781602001602082028036833780820191505090505b509050611706613b55565b6000611710612aba565b90505b83861461189357600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505091508160400151156117ec57611888565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461182c57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611887578083878060010198508151811061187a57611879614c39565b5b6020026020010181815250505b5b806001019050611713565b508195505050505050919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546118da9061488e565b80601f01602080910402602001604051908101604052809291908181526020018280546119069061488e565b80156119535780601f1061192857610100808354040283529160200191611953565b820191906000526020600020905b81548152906001019060200180831161193657829003601f168201915b5050505050905090565b6060818310611998576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060005490506119a8612aba565b8510156119ba576119b7612aba565b94505b808411156119c6578093505b60006119d1876113d2565b9050848610156119f45760008686039050818110156119ee578091505b506119f9565b600090505b60008167ffffffffffffffff811115611a1557611a14613ef1565b5b604051908082528060200260200182016040528015611a435781602001602082028036833780820191505090505b5090506000821415611a5b5780945050505050611c1d565b6000611a66886121c5565b905060008160400151611a7b57816000015190505b60008990505b888114158015611a915750848714155b15611c0f57600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509250826040015115611b6857611c04565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611ba857826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c035780848880600101995081518110611bf657611bf5614c39565b5b6020026020010181815250505b5b806001019050611a81565b508583528296505050505050505b9392505050565b60001515600b60009054906101000a900460ff16151514611c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7190614b28565b60405180910390fd5b60008111611cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb490614d20565b60405180910390fd5b600f54811115611d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf990614d8c565b60405180910390fd5b600a5481611d0e610cd0565b611d189190614b77565b1115611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5090614df8565b60405180910390fd5b80600c54611d679190614e18565b341015611da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da090614ebe565b60405180910390fd5b611dba611db4612a00565b82612f79565b50565b611dc5612a00565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e2a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611e37612a00565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ee4612a00565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f299190613c69565b60405180910390a35050565b611f3d612a00565b73ffffffffffffffffffffffffffffffffffffffff16611f5b6118a1565b73ffffffffffffffffffffffffffffffffffffffff1614611fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa89061490c565b60405180910390fd5b80600c8190555050565b611fc3612a00565b73ffffffffffffffffffffffffffffffffffffffff16611fe16118a1565b73ffffffffffffffffffffffffffffffffffffffff1614612037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202e9061490c565b60405180910390fd5b60001515600d60009054906101000a900460ff1615151461208d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208490614f2a565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b600e5481565b6120bb848484612ac3565b6120da8373ffffffffffffffffffffffffffffffffffffffff166132e8565b15612122576120eb8484848461330b565b612121576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000612137836010548461346b565b905092915050565b612147612a00565b73ffffffffffffffffffffffffffffffffffffffff166121656118a1565b73ffffffffffffffffffffffffffffffffffffffff16146121bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b29061490c565b60405180910390fd5b8060108190555050565b6121cd613b55565b6121d5613b55565b6121dd612aba565b8310806121ec57506000548310155b156121fa57809150506122dd565b600460008481526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151156122d057809150506122dd565b6122d983612f97565b9150505b919050565b60606122ed826129b2565b61232c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232390614fbc565b60405180910390fd5b6000612336613482565b9050600d60009054906101000a900460ff161561239e57600081511161236b5760405180602001604052806000815250612396565b8061237584613514565b604051602001612386929190615064565b6040516020818303038152906040525b9150506123c2565b806040516020016123af91906150df565b6040516020818303038152906040529150505b919050565b600e5482111561240c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240390615173565b60405180910390fd5b600015156011600061241c612a00565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146124a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249d90615205565b60405180910390fd5b6124dd816124b2612a00565b6040516020016124c2919061526d565b60405160208183030381529060405280519060200120612128565b61251c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612513906152d4565b60405180910390fd5b60001515600b60009054906101000a900460ff16151514612572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256990614b28565b60405180910390fd5b600082116125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac90614d20565b60405180910390fd5b600a54826125c1610cd0565b6125cb9190614b77565b111561260c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260390614df8565b60405180910390fd5b61261d612617612a00565b83612f79565b60016011600061262b612a00565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600a5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60105481565b612728612a00565b73ffffffffffffffffffffffffffffffffffffffff166127466118a1565b73ffffffffffffffffffffffffffffffffffffffff161461279c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127939061490c565b60405180910390fd5b600081116127df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d690615340565b60405180910390fd5b600a54816127eb610cd0565b6127f59190614b77565b1115612836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282d90614df8565b60405180910390fd5b612847612841612a00565b82612f79565b50565b612852612a00565b73ffffffffffffffffffffffffffffffffffffffff166128706118a1565b73ffffffffffffffffffffffffffffffffffffffff16146128c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128bd9061490c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292d906153d2565b60405180910390fd5b61293f81613222565b50565b600f5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816129bd612aba565b111580156129cc575060005482105b80156129f9575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612ace82612f97565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b39576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612b5a612a00565b73ffffffffffffffffffffffffffffffffffffffff161480612b895750612b8885612b83612a00565b612686565b5b80612bce5750612b97612a00565b73ffffffffffffffffffffffffffffffffffffffff16612bb684610b4f565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612c07576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c6e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c7b8585856001613675565b612c8760008487612a08565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612f07576000548214612f0657878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f72858585600161367b565b5050505050565b612f93828260405180602001604052806000815250613681565b5050565b612f9f613b55565b600082905080612fad612aba565b116131eb576000548110156131ea576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516131e857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130cc57809250505061321d565b5b6001156131e757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146131e257809250505061321d565b6130cd565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613331612a00565b8786866040518563ffffffff1660e01b81526004016133539493929190615447565b602060405180830381600087803b15801561336d57600080fd5b505af192505050801561339e57506040513d601f19601f8201168201806040525081019061339b91906154a8565b60015b613418573d80600081146133ce576040519150601f19603f3d011682016040523d82523d6000602084013e6133d3565b606091505b50600081511415613410576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000826134788584613a43565b1490509392505050565b6060601480546134919061488e565b80601f01602080910402602001604051908101604052809291908181526020018280546134bd9061488e565b801561350a5780601f106134df5761010080835404028352916020019161350a565b820191906000526020600020905b8154815290600101906020018083116134ed57829003601f168201915b5050505050905090565b6060600082141561355c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613670565b600082905060005b6000821461358e578080613577906154d5565b915050600a82613587919061554d565b9150613564565b60008167ffffffffffffffff8111156135aa576135a9613ef1565b5b6040519080825280601f01601f1916602001820160405280156135dc5781602001600182028036833780820191505090505b5090505b60008514613669576001826135f5919061557e565b9150600a8561360491906155b2565b60306136109190614b77565b60f81b81838151811061362657613625614c39565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613662919061554d565b94506135e0565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156136ee576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415613729576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6137366000858386613675565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506138f78673ffffffffffffffffffffffffffffffffffffffff166132e8565b156139bc575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461396c600087848060010195508761330b565b6139a2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106138fd5782600054146139b757600080fd5b613a27565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106139bd575b816000819055505050613a3d600085838661367b565b50505050565b60008082905060005b8451811015613aad576000858281518110613a6a57613a69614c39565b5b60200260200101519050808311613a8c57613a858382613ab8565b9250613a99565b613a968184613ab8565b92505b508080613aa5906154d5565b915050613a4c565b508091505092915050565b600082600052816020526040600020905092915050565b828054613adb9061488e565b90600052602060002090601f016020900481019282613afd5760008555613b44565b82601f10613b1657805160ff1916838001178555613b44565b82800160010185558215613b44579182015b82811115613b43578251825591602001919060010190613b28565b5b509050613b519190613b98565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613bb1576000816000905550600101613b99565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bfe81613bc9565b8114613c0957600080fd5b50565b600081359050613c1b81613bf5565b92915050565b600060208284031215613c3757613c36613bbf565b5b6000613c4584828501613c0c565b91505092915050565b60008115159050919050565b613c6381613c4e565b82525050565b6000602082019050613c7e6000830184613c5a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613cbe578082015181840152602081019050613ca3565b83811115613ccd576000848401525b50505050565b6000601f19601f8301169050919050565b6000613cef82613c84565b613cf98185613c8f565b9350613d09818560208601613ca0565b613d1281613cd3565b840191505092915050565b60006020820190508181036000830152613d378184613ce4565b905092915050565b6000819050919050565b613d5281613d3f565b8114613d5d57600080fd5b50565b600081359050613d6f81613d49565b92915050565b600060208284031215613d8b57613d8a613bbf565b5b6000613d9984828501613d60565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613dcd82613da2565b9050919050565b613ddd81613dc2565b82525050565b6000602082019050613df86000830184613dd4565b92915050565b613e0781613dc2565b8114613e1257600080fd5b50565b600081359050613e2481613dfe565b92915050565b60008060408385031215613e4157613e40613bbf565b5b6000613e4f85828601613e15565b9250506020613e6085828601613d60565b9150509250929050565b613e7381613d3f565b82525050565b6000602082019050613e8e6000830184613e6a565b92915050565b600080600060608486031215613ead57613eac613bbf565b5b6000613ebb86828701613e15565b9350506020613ecc86828701613e15565b9250506040613edd86828701613d60565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f2982613cd3565b810181811067ffffffffffffffff82111715613f4857613f47613ef1565b5b80604052505050565b6000613f5b613bb5565b9050613f678282613f20565b919050565b600067ffffffffffffffff821115613f8757613f86613ef1565b5b613f9082613cd3565b9050602081019050919050565b82818337600083830152505050565b6000613fbf613fba84613f6c565b613f51565b905082815260208101848484011115613fdb57613fda613eec565b5b613fe6848285613f9d565b509392505050565b600082601f83011261400357614002613ee7565b5b8135614013848260208601613fac565b91505092915050565b60006020828403121561403257614031613bbf565b5b600082013567ffffffffffffffff8111156140505761404f613bc4565b5b61405c84828501613fee565b91505092915050565b600067ffffffffffffffff8211156140805761407f613ef1565b5b602082029050602081019050919050565b600080fd5b60006140a96140a484614065565b613f51565b905080838252602082019050602084028301858111156140cc576140cb614091565b5b835b818110156140f557806140e18882613d60565b8452602084019350506020810190506140ce565b5050509392505050565b600082601f83011261411457614113613ee7565b5b8135614124848260208601614096565b91505092915050565b60006020828403121561414357614142613bbf565b5b600082013567ffffffffffffffff81111561416157614160613bc4565b5b61416d848285016140ff565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6141ab81613dc2565b82525050565b600067ffffffffffffffff82169050919050565b6141ce816141b1565b82525050565b6141dd81613c4e565b82525050565b6060820160008201516141f960008501826141a2565b50602082015161420c60208501826141c5565b50604082015161421f60408501826141d4565b50505050565b600061423183836141e3565b60608301905092915050565b6000602082019050919050565b600061425582614176565b61425f8185614181565b935061426a83614192565b8060005b8381101561429b5781516142828882614225565b975061428d8361423d565b92505060018101905061426e565b5085935050505092915050565b600060208201905081810360008301526142c2818461424a565b905092915050565b6000602082840312156142e0576142df613bbf565b5b60006142ee84828501613e15565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61432c81613d3f565b82525050565b600061433e8383614323565b60208301905092915050565b6000602082019050919050565b6000614362826142f7565b61436c8185614302565b935061437783614313565b8060005b838110156143a857815161438f8882614332565b975061439a8361434a565b92505060018101905061437b565b5085935050505092915050565b600060208201905081810360008301526143cf8184614357565b905092915050565b6000806000606084860312156143f0576143ef613bbf565b5b60006143fe86828701613e15565b935050602061440f86828701613d60565b925050604061442086828701613d60565b9150509250925092565b61443381613c4e565b811461443e57600080fd5b50565b6000813590506144508161442a565b92915050565b6000806040838503121561446d5761446c613bbf565b5b600061447b85828601613e15565b925050602061448c85828601614441565b9150509250929050565b600067ffffffffffffffff8211156144b1576144b0613ef1565b5b6144ba82613cd3565b9050602081019050919050565b60006144da6144d584614496565b613f51565b9050828152602081018484840111156144f6576144f5613eec565b5b614501848285613f9d565b509392505050565b600082601f83011261451e5761451d613ee7565b5b813561452e8482602086016144c7565b91505092915050565b6000806000806080858703121561455157614550613bbf565b5b600061455f87828801613e15565b945050602061457087828801613e15565b935050604061458187828801613d60565b925050606085013567ffffffffffffffff8111156145a2576145a1613bc4565b5b6145ae87828801614509565b91505092959194509250565b600067ffffffffffffffff8211156145d5576145d4613ef1565b5b602082029050602081019050919050565b6000819050919050565b6145f9816145e6565b811461460457600080fd5b50565b600081359050614616816145f0565b92915050565b600061462f61462a846145ba565b613f51565b9050808382526020820190506020840283018581111561465257614651614091565b5b835b8181101561467b57806146678882614607565b845260208401935050602081019050614654565b5050509392505050565b600082601f83011261469a57614699613ee7565b5b81356146aa84826020860161461c565b91505092915050565b600080604083850312156146ca576146c9613bbf565b5b600083013567ffffffffffffffff8111156146e8576146e7613bc4565b5b6146f485828601614685565b925050602061470585828601614607565b9150509250929050565b60006020828403121561472557614724613bbf565b5b600061473384828501614607565b91505092915050565b60608201600082015161475260008501826141a2565b50602082015161476560208501826141c5565b50604082015161477860408501826141d4565b50505050565b6000606082019050614793600083018461473c565b92915050565b600080604083850312156147b0576147af613bbf565b5b60006147be85828601613d60565b925050602083013567ffffffffffffffff8111156147df576147de613bc4565b5b6147eb85828601614685565b9150509250929050565b6000806040838503121561480c5761480b613bbf565b5b600061481a85828601613e15565b925050602061482b85828601613e15565b9150509250929050565b61483e816145e6565b82525050565b60006020820190506148596000830184614835565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806148a657607f821691505b602082108114156148ba576148b961485f565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006148f6602083613c8f565b9150614901826148c0565b602082019050919050565b60006020820190508181036000830152614925816148e9565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614962601f83613c8f565b915061496d8261492c565b602082019050919050565b6000602082019050818103600083015261499181614955565b9050919050565b600081905092915050565b50565b60006149b3600083614998565b91506149be826149a3565b600082019050919050565b60006149d4826149a6565b9150819050919050565b7f4d616b652073757265206974207761732070617573656420736f20697420636160008201527f6e20626520756e70617573650000000000000000000000000000000000000000602082015250565b6000614a3a602c83613c8f565b9150614a45826149de565b604082019050919050565b60006020820190508181036000830152614a6981614a2d565b9050919050565b7f596f752068617665206d696e74656420312066726565204e4654000000000000600082015250565b6000614aa6601a83613c8f565b9150614ab182614a70565b602082019050919050565b60006020820190508181036000830152614ad581614a99565b9050919050565b7f4d696e7420706175736564000000000000000000000000000000000000000000600082015250565b6000614b12600b83613c8f565b9150614b1d82614adc565b602082019050919050565b60006020820190508181036000830152614b4181614b05565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b8282613d3f565b9150614b8d83613d3f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bc257614bc1614b48565b5b828201905092915050565b7f4d61782066726565206578636565642100000000000000000000000000000000600082015250565b6000614c03601083613c8f565b9150614c0e82614bcd565b602082019050919050565b60006020820190508181036000830152614c3281614bf6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f416c726561647920706175736564000000000000000000000000000000000000600082015250565b6000614c9e600e83613c8f565b9150614ca982614c68565b602082019050919050565b60006020820190508181036000830152614ccd81614c91565b9050919050565b7f496e76616c6964207175616e7469747921000000000000000000000000000000600082015250565b6000614d0a601183613c8f565b9150614d1582614cd4565b602082019050919050565b60006020820190508181036000830152614d3981614cfd565b9050919050565b7f4d617820313020706572207472616e73616374696f6e00000000000000000000600082015250565b6000614d76601683613c8f565b9150614d8182614d40565b602082019050919050565b60006020820190508181036000830152614da581614d69565b9050919050565b7f4d617820737570706c7920657863656564210000000000000000000000000000600082015250565b6000614de2601283613c8f565b9150614ded82614dac565b602082019050919050565b60006020820190508181036000830152614e1181614dd5565b9050919050565b6000614e2382613d3f565b9150614e2e83613d3f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e6757614e66614b48565b5b828202905092915050565b7f496e636f72726563742070726963650000000000000000000000000000000000600082015250565b6000614ea8600f83613c8f565b9150614eb382614e72565b602082019050919050565b60006020820190508181036000830152614ed781614e9b565b9050919050565b7f416c72656164792072657665616c656400000000000000000000000000000000600082015250565b6000614f14601083613c8f565b9150614f1f82614ede565b602082019050919050565b60006020820190508181036000830152614f4381614f07565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614fa6602f83613c8f565b9150614fb182614f4a565b604082019050919050565b60006020820190508181036000830152614fd581614f99565b9050919050565b600081905092915050565b6000614ff282613c84565b614ffc8185614fdc565b935061500c818560208601613ca0565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061504e600583614fdc565b915061505982615018565b600582019050919050565b60006150708285614fe7565b915061507c8284614fe7565b915061508782615041565b91508190509392505050565b7f312e6a736f6e0000000000000000000000000000000000000000000000000000600082015250565b60006150c9600683614fdc565b91506150d482615093565b600682019050919050565b60006150eb8284614fe7565b91506150f6826150bc565b915081905092915050565b7f5175616e74697479206d757374206265203120696e207768697465206c69737460008201527f206d696e74696e67207374616765000000000000000000000000000000000000602082015250565b600061515d602e83613c8f565b915061516882615101565b604082019050919050565b6000602082019050818103600083015261518c81615150565b9050919050565b7f596f752068617665206d696e7465642031204e465420696e207768697465206c60008201527f697374206d696e74696e67207374616765000000000000000000000000000000602082015250565b60006151ef603183613c8f565b91506151fa82615193565b604082019050919050565b6000602082019050818103600083015261521e816151e2565b9050919050565b60008160601b9050919050565b600061523d82615225565b9050919050565b600061524f82615232565b9050919050565b61526761526282613dc2565b615244565b82525050565b60006152798284615256565b60148201915081905092915050565b7f596f7520617265206e6f74206f6e20746865207768697465206c697374000000600082015250565b60006152be601d83613c8f565b91506152c982615288565b602082019050919050565b600060208201905081810360008301526152ed816152b1565b9050919050565b7f496e76616c6964206d696e7420616d6d6f756e74210000000000000000000000600082015250565b600061532a601583613c8f565b9150615335826152f4565b602082019050919050565b600060208201905081810360008301526153598161531d565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153bc602683613c8f565b91506153c782615360565b604082019050919050565b600060208201905081810360008301526153eb816153af565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615419826153f2565b61542381856153fd565b9350615433818560208601613ca0565b61543c81613cd3565b840191505092915050565b600060808201905061545c6000830187613dd4565b6154696020830186613dd4565b6154766040830185613e6a565b8181036060830152615488818461540e565b905095945050505050565b6000815190506154a281613bf5565b92915050565b6000602082840312156154be576154bd613bbf565b5b60006154cc84828501615493565b91505092915050565b60006154e082613d3f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561551357615512614b48565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061555882613d3f565b915061556383613d3f565b9250826155735761557261551e565b5b828204905092915050565b600061558982613d3f565b915061559483613d3f565b9250828210156155a7576155a6614b48565b5b828203905092915050565b60006155bd82613d3f565b91506155c883613d3f565b9250826155d8576155d761551e565b5b82820690509291505056fea264697066735822122084b46684c83f18f7be5359e6458384acfcd7f35232f5a1c64ea0c0ae91b043a864736f6c6343000809003361723a2f2f624c6c5246525455696f4d4d6254376549717865684e7666726a77744b5f44756a6b365049413048555f342fc37762df40dcd277eb4479ba85447966ed5e367b79957aaa161df6c7b512cce4
Deployed Bytecode
0x6080604052600436106102675760003560e01c80638456cb5911610144578063b8a20ed0116100b6578063d5abeb011161007a578063d5abeb01146108cb578063e985e9c5146108f6578063ebf0c71714610933578063f19e75d41461095e578063f2fde38b14610987578063f43a22dc146109b057610267565b8063b8a20ed0146107cf578063bd32fb661461080c578063c23dc68f14610835578063c87b56dd14610872578063d2cab056146108af57610267565b8063a0712d6811610108578063a0712d68146106f6578063a22cb46514610712578063a2b40d191461073b578063a475b5dd14610764578063a6eb27e21461077b578063b88d4fde146107a657610267565b80638456cb591461060f5780638462151c146106265780638da5cb5b1461066357806395d89b411461068e57806399a2557a146106b957610267565b806342842e0e116101dd57806362b99ad4116101a157806362b99ad4146104ff5780636352211e1461052a5780636bde26271461056757806370a0823114610592578063715018a6146105cf5780637c472f3e146105e657610267565b806342842e0e1461043957806351830227146104625780635b70ea9f1461048d5780635bbb2177146104975780635c975abb146104d457610267565b806323b872dd1161022f57806323b872dd1461036557806339a0c6f91461038e5780633ccfd60b146103b75780633f4ba83a146103ce578063404c7cdd146103e557806341cda2031461040e57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b31461031157806318160ddd1461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613c21565b6109db565b6040516102a09190613c69565b60405180910390f35b3480156102b557600080fd5b506102be610abd565b6040516102cb9190613d1d565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613d75565b610b4f565b6040516103089190613de3565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190613e2a565b610bcb565b005b34801561034657600080fd5b5061034f610cd0565b60405161035c9190613e79565b60405180910390f35b34801561037157600080fd5b5061038c60048036038101906103879190613e94565b610ce7565b005b34801561039a57600080fd5b506103b560048036038101906103b0919061401c565b610cf7565b005b3480156103c357600080fd5b506103cc610d8d565b005b3480156103da57600080fd5b506103e3610ee5565b005b3480156103f157600080fd5b5061040c60048036038101906104079190613d75565b610fd4565b005b34801561041a57600080fd5b5061042361105a565b6040516104309190613e79565b60405180910390f35b34801561044557600080fd5b50610460600480360381019061045b9190613e94565b611060565b005b34801561046e57600080fd5b50610477611080565b6040516104849190613c69565b60405180910390f35b610495611093565b005b3480156104a357600080fd5b506104be60048036038101906104b9919061412d565b611250565b6040516104cb91906142a8565b60405180910390f35b3480156104e057600080fd5b506104e9611311565b6040516104f69190613c69565b60405180910390f35b34801561050b57600080fd5b50610514611328565b6040516105219190613d1d565b60405180910390f35b34801561053657600080fd5b50610551600480360381019061054c9190613d75565b6113b6565b60405161055e9190613de3565b60405180910390f35b34801561057357600080fd5b5061057c6113cc565b6040516105899190613e79565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b491906142ca565b6113d2565b6040516105c69190613e79565b60405180910390f35b3480156105db57600080fd5b506105e46114a2565b005b3480156105f257600080fd5b5061060d60048036038101906106089190613d75565b61152a565b005b34801561061b57600080fd5b506106246115b0565b005b34801561063257600080fd5b5061064d600480360381019061064891906142ca565b61169f565b60405161065a91906143b5565b60405180910390f35b34801561066f57600080fd5b506106786118a1565b6040516106859190613de3565b60405180910390f35b34801561069a57600080fd5b506106a36118cb565b6040516106b09190613d1d565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db91906143d7565b61195d565b6040516106ed91906143b5565b60405180910390f35b610710600480360381019061070b9190613d75565b611c24565b005b34801561071e57600080fd5b5061073960048036038101906107349190614456565b611dbd565b005b34801561074757600080fd5b50610762600480360381019061075d9190613d75565b611f35565b005b34801561077057600080fd5b50610779611fbb565b005b34801561078757600080fd5b506107906120aa565b60405161079d9190613e79565b60405180910390f35b3480156107b257600080fd5b506107cd60048036038101906107c89190614537565b6120b0565b005b3480156107db57600080fd5b506107f660048036038101906107f191906146b3565b612128565b6040516108039190613c69565b60405180910390f35b34801561081857600080fd5b50610833600480360381019061082e919061470f565b61213f565b005b34801561084157600080fd5b5061085c60048036038101906108579190613d75565b6121c5565b604051610869919061477e565b60405180910390f35b34801561087e57600080fd5b5061089960048036038101906108949190613d75565b6122e2565b6040516108a69190613d1d565b60405180910390f35b6108c960048036038101906108c49190614799565b6123c7565b005b3480156108d757600080fd5b506108e0612680565b6040516108ed9190613e79565b60405180910390f35b34801561090257600080fd5b5061091d600480360381019061091891906147f5565b612686565b60405161092a9190613c69565b60405180910390f35b34801561093f57600080fd5b5061094861271a565b6040516109559190614844565b60405180910390f35b34801561096a57600080fd5b5061098560048036038101906109809190613d75565b612720565b005b34801561099357600080fd5b506109ae60048036038101906109a991906142ca565b61284a565b005b3480156109bc57600080fd5b506109c5612942565b6040516109d29190613e79565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aa657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ab65750610ab582612948565b5b9050919050565b606060028054610acc9061488e565b80601f0160208091040260200160405190810160405280929190818152602001828054610af89061488e565b8015610b455780601f10610b1a57610100808354040283529160200191610b45565b820191906000526020600020905b815481529060010190602001808311610b2857829003601f168201915b5050505050905090565b6000610b5a826129b2565b610b90576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bd6826113b6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c3e576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c5d612a00565b73ffffffffffffffffffffffffffffffffffffffff1614610cc057610c8981610c84612a00565b612686565b610cbf576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610ccb838383612a08565b505050565b6000610cda612aba565b6001546000540303905090565b610cf2838383612ac3565b505050565b610cff612a00565b73ffffffffffffffffffffffffffffffffffffffff16610d1d6118a1565b73ffffffffffffffffffffffffffffffffffffffff1614610d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6a9061490c565b60405180910390fd5b8060149080519060200190610d89929190613acf565b5050565b610d95612a00565b73ffffffffffffffffffffffffffffffffffffffff16610db36118a1565b73ffffffffffffffffffffffffffffffffffffffff1614610e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e009061490c565b60405180910390fd5b60026008541415610e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4690614978565b60405180910390fd5b600260088190555060004790506000610e666118a1565b73ffffffffffffffffffffffffffffffffffffffff1682604051610e89906149c9565b60006040518083038185875af1925050503d8060008114610ec6576040519150601f19603f3d011682016040523d82523d6000602084013e610ecb565b606091505b5050905080610ed957600080fd5b50506001600881905550565b610eed612a00565b73ffffffffffffffffffffffffffffffffffffffff16610f0b6118a1565b73ffffffffffffffffffffffffffffffffffffffff1614610f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f589061490c565b60405180910390fd5b60011515600b60009054906101000a900460ff16151514610fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae90614a50565b60405180910390fd5b6000600b60006101000a81548160ff021916908315150217905550565b610fdc612a00565b73ffffffffffffffffffffffffffffffffffffffff16610ffa6118a1565b73ffffffffffffffffffffffffffffffffffffffff1614611050576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110479061490c565b60405180910390fd5b80600a8190555050565b60125481565b61107b838383604051806020016040528060008152506120b0565b505050565b600d60009054906101000a900460ff1681565b60001515601360006110a3612a00565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461112d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112490614abc565b60405180910390fd5b60001515600b60009054906101000a900460ff16151514611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117a90614b28565b60405180910390fd5b601254600e54611191610cd0565b61119b9190614b77565b11156111dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d390614c19565b60405180910390fd5b6111ef6111e7612a00565b600e54612f79565b6001601360006111fd612a00565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550565b606060008251905060008167ffffffffffffffff81111561127457611273613ef1565b5b6040519080825280602002602001820160405280156112ad57816020015b61129a613b55565b8152602001906001900390816112925790505b50905060005b828114611306576112dd8582815181106112d0576112cf614c39565b5b60200260200101516121c5565b8282815181106112f0576112ef614c39565b5b60200260200101819052508060010190506112b3565b508092505050919050565b6000600b60009054906101000a900460ff16905090565b601480546113359061488e565b80601f01602080910402602001604051908101604052809291908181526020018280546113619061488e565b80156113ae5780601f10611383576101008083540402835291602001916113ae565b820191906000526020600020905b81548152906001019060200180831161139157829003601f168201915b505050505081565b60006113c182612f97565b600001519050919050565b600c5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561143a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6114aa612a00565b73ffffffffffffffffffffffffffffffffffffffff166114c86118a1565b73ffffffffffffffffffffffffffffffffffffffff161461151e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115159061490c565b60405180910390fd5b6115286000613222565b565b611532612a00565b73ffffffffffffffffffffffffffffffffffffffff166115506118a1565b73ffffffffffffffffffffffffffffffffffffffff16146115a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159d9061490c565b60405180910390fd5b80600e8190555050565b6115b8612a00565b73ffffffffffffffffffffffffffffffffffffffff166115d66118a1565b73ffffffffffffffffffffffffffffffffffffffff161461162c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116239061490c565b60405180910390fd5b60001515600b60009054906101000a900460ff16151514611682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167990614cb4565b60405180910390fd5b6001600b60006101000a81548160ff021916908315150217905550565b606060008060006116af856113d2565b905060008167ffffffffffffffff8111156116cd576116cc613ef1565b5b6040519080825280602002602001820160405280156116fb5781602001602082028036833780820191505090505b509050611706613b55565b6000611710612aba565b90505b83861461189357600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505091508160400151156117ec57611888565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461182c57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611887578083878060010198508151811061187a57611879614c39565b5b6020026020010181815250505b5b806001019050611713565b508195505050505050919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546118da9061488e565b80601f01602080910402602001604051908101604052809291908181526020018280546119069061488e565b80156119535780601f1061192857610100808354040283529160200191611953565b820191906000526020600020905b81548152906001019060200180831161193657829003601f168201915b5050505050905090565b6060818310611998576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060005490506119a8612aba565b8510156119ba576119b7612aba565b94505b808411156119c6578093505b60006119d1876113d2565b9050848610156119f45760008686039050818110156119ee578091505b506119f9565b600090505b60008167ffffffffffffffff811115611a1557611a14613ef1565b5b604051908082528060200260200182016040528015611a435781602001602082028036833780820191505090505b5090506000821415611a5b5780945050505050611c1d565b6000611a66886121c5565b905060008160400151611a7b57816000015190505b60008990505b888114158015611a915750848714155b15611c0f57600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509250826040015115611b6857611c04565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611ba857826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c035780848880600101995081518110611bf657611bf5614c39565b5b6020026020010181815250505b5b806001019050611a81565b508583528296505050505050505b9392505050565b60001515600b60009054906101000a900460ff16151514611c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7190614b28565b60405180910390fd5b60008111611cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb490614d20565b60405180910390fd5b600f54811115611d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf990614d8c565b60405180910390fd5b600a5481611d0e610cd0565b611d189190614b77565b1115611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5090614df8565b60405180910390fd5b80600c54611d679190614e18565b341015611da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da090614ebe565b60405180910390fd5b611dba611db4612a00565b82612f79565b50565b611dc5612a00565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e2a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611e37612a00565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ee4612a00565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f299190613c69565b60405180910390a35050565b611f3d612a00565b73ffffffffffffffffffffffffffffffffffffffff16611f5b6118a1565b73ffffffffffffffffffffffffffffffffffffffff1614611fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa89061490c565b60405180910390fd5b80600c8190555050565b611fc3612a00565b73ffffffffffffffffffffffffffffffffffffffff16611fe16118a1565b73ffffffffffffffffffffffffffffffffffffffff1614612037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202e9061490c565b60405180910390fd5b60001515600d60009054906101000a900460ff1615151461208d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208490614f2a565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b600e5481565b6120bb848484612ac3565b6120da8373ffffffffffffffffffffffffffffffffffffffff166132e8565b15612122576120eb8484848461330b565b612121576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000612137836010548461346b565b905092915050565b612147612a00565b73ffffffffffffffffffffffffffffffffffffffff166121656118a1565b73ffffffffffffffffffffffffffffffffffffffff16146121bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b29061490c565b60405180910390fd5b8060108190555050565b6121cd613b55565b6121d5613b55565b6121dd612aba565b8310806121ec57506000548310155b156121fa57809150506122dd565b600460008481526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151156122d057809150506122dd565b6122d983612f97565b9150505b919050565b60606122ed826129b2565b61232c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232390614fbc565b60405180910390fd5b6000612336613482565b9050600d60009054906101000a900460ff161561239e57600081511161236b5760405180602001604052806000815250612396565b8061237584613514565b604051602001612386929190615064565b6040516020818303038152906040525b9150506123c2565b806040516020016123af91906150df565b6040516020818303038152906040529150505b919050565b600e5482111561240c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240390615173565b60405180910390fd5b600015156011600061241c612a00565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146124a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249d90615205565b60405180910390fd5b6124dd816124b2612a00565b6040516020016124c2919061526d565b60405160208183030381529060405280519060200120612128565b61251c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612513906152d4565b60405180910390fd5b60001515600b60009054906101000a900460ff16151514612572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256990614b28565b60405180910390fd5b600082116125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac90614d20565b60405180910390fd5b600a54826125c1610cd0565b6125cb9190614b77565b111561260c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260390614df8565b60405180910390fd5b61261d612617612a00565b83612f79565b60016011600061262b612a00565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600a5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60105481565b612728612a00565b73ffffffffffffffffffffffffffffffffffffffff166127466118a1565b73ffffffffffffffffffffffffffffffffffffffff161461279c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127939061490c565b60405180910390fd5b600081116127df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d690615340565b60405180910390fd5b600a54816127eb610cd0565b6127f59190614b77565b1115612836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282d90614df8565b60405180910390fd5b612847612841612a00565b82612f79565b50565b612852612a00565b73ffffffffffffffffffffffffffffffffffffffff166128706118a1565b73ffffffffffffffffffffffffffffffffffffffff16146128c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128bd9061490c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292d906153d2565b60405180910390fd5b61293f81613222565b50565b600f5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816129bd612aba565b111580156129cc575060005482105b80156129f9575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612ace82612f97565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b39576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612b5a612a00565b73ffffffffffffffffffffffffffffffffffffffff161480612b895750612b8885612b83612a00565b612686565b5b80612bce5750612b97612a00565b73ffffffffffffffffffffffffffffffffffffffff16612bb684610b4f565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612c07576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c6e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c7b8585856001613675565b612c8760008487612a08565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612f07576000548214612f0657878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f72858585600161367b565b5050505050565b612f93828260405180602001604052806000815250613681565b5050565b612f9f613b55565b600082905080612fad612aba565b116131eb576000548110156131ea576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516131e857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130cc57809250505061321d565b5b6001156131e757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146131e257809250505061321d565b6130cd565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613331612a00565b8786866040518563ffffffff1660e01b81526004016133539493929190615447565b602060405180830381600087803b15801561336d57600080fd5b505af192505050801561339e57506040513d601f19601f8201168201806040525081019061339b91906154a8565b60015b613418573d80600081146133ce576040519150601f19603f3d011682016040523d82523d6000602084013e6133d3565b606091505b50600081511415613410576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000826134788584613a43565b1490509392505050565b6060601480546134919061488e565b80601f01602080910402602001604051908101604052809291908181526020018280546134bd9061488e565b801561350a5780601f106134df5761010080835404028352916020019161350a565b820191906000526020600020905b8154815290600101906020018083116134ed57829003601f168201915b5050505050905090565b6060600082141561355c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613670565b600082905060005b6000821461358e578080613577906154d5565b915050600a82613587919061554d565b9150613564565b60008167ffffffffffffffff8111156135aa576135a9613ef1565b5b6040519080825280601f01601f1916602001820160405280156135dc5781602001600182028036833780820191505090505b5090505b60008514613669576001826135f5919061557e565b9150600a8561360491906155b2565b60306136109190614b77565b60f81b81838151811061362657613625614c39565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613662919061554d565b94506135e0565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156136ee576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415613729576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6137366000858386613675565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506138f78673ffffffffffffffffffffffffffffffffffffffff166132e8565b156139bc575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461396c600087848060010195508761330b565b6139a2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106138fd5782600054146139b757600080fd5b613a27565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106139bd575b816000819055505050613a3d600085838661367b565b50505050565b60008082905060005b8451811015613aad576000858281518110613a6a57613a69614c39565b5b60200260200101519050808311613a8c57613a858382613ab8565b9250613a99565b613a968184613ab8565b92505b508080613aa5906154d5565b915050613a4c565b508091505092915050565b600082600052816020526040600020905092915050565b828054613adb9061488e565b90600052602060002090601f016020900481019282613afd5760008555613b44565b82601f10613b1657805160ff1916838001178555613b44565b82800160010185558215613b44579182015b82811115613b43578251825591602001919060010190613b28565b5b509050613b519190613b98565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613bb1576000816000905550600101613b99565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bfe81613bc9565b8114613c0957600080fd5b50565b600081359050613c1b81613bf5565b92915050565b600060208284031215613c3757613c36613bbf565b5b6000613c4584828501613c0c565b91505092915050565b60008115159050919050565b613c6381613c4e565b82525050565b6000602082019050613c7e6000830184613c5a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613cbe578082015181840152602081019050613ca3565b83811115613ccd576000848401525b50505050565b6000601f19601f8301169050919050565b6000613cef82613c84565b613cf98185613c8f565b9350613d09818560208601613ca0565b613d1281613cd3565b840191505092915050565b60006020820190508181036000830152613d378184613ce4565b905092915050565b6000819050919050565b613d5281613d3f565b8114613d5d57600080fd5b50565b600081359050613d6f81613d49565b92915050565b600060208284031215613d8b57613d8a613bbf565b5b6000613d9984828501613d60565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613dcd82613da2565b9050919050565b613ddd81613dc2565b82525050565b6000602082019050613df86000830184613dd4565b92915050565b613e0781613dc2565b8114613e1257600080fd5b50565b600081359050613e2481613dfe565b92915050565b60008060408385031215613e4157613e40613bbf565b5b6000613e4f85828601613e15565b9250506020613e6085828601613d60565b9150509250929050565b613e7381613d3f565b82525050565b6000602082019050613e8e6000830184613e6a565b92915050565b600080600060608486031215613ead57613eac613bbf565b5b6000613ebb86828701613e15565b9350506020613ecc86828701613e15565b9250506040613edd86828701613d60565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f2982613cd3565b810181811067ffffffffffffffff82111715613f4857613f47613ef1565b5b80604052505050565b6000613f5b613bb5565b9050613f678282613f20565b919050565b600067ffffffffffffffff821115613f8757613f86613ef1565b5b613f9082613cd3565b9050602081019050919050565b82818337600083830152505050565b6000613fbf613fba84613f6c565b613f51565b905082815260208101848484011115613fdb57613fda613eec565b5b613fe6848285613f9d565b509392505050565b600082601f83011261400357614002613ee7565b5b8135614013848260208601613fac565b91505092915050565b60006020828403121561403257614031613bbf565b5b600082013567ffffffffffffffff8111156140505761404f613bc4565b5b61405c84828501613fee565b91505092915050565b600067ffffffffffffffff8211156140805761407f613ef1565b5b602082029050602081019050919050565b600080fd5b60006140a96140a484614065565b613f51565b905080838252602082019050602084028301858111156140cc576140cb614091565b5b835b818110156140f557806140e18882613d60565b8452602084019350506020810190506140ce565b5050509392505050565b600082601f83011261411457614113613ee7565b5b8135614124848260208601614096565b91505092915050565b60006020828403121561414357614142613bbf565b5b600082013567ffffffffffffffff81111561416157614160613bc4565b5b61416d848285016140ff565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6141ab81613dc2565b82525050565b600067ffffffffffffffff82169050919050565b6141ce816141b1565b82525050565b6141dd81613c4e565b82525050565b6060820160008201516141f960008501826141a2565b50602082015161420c60208501826141c5565b50604082015161421f60408501826141d4565b50505050565b600061423183836141e3565b60608301905092915050565b6000602082019050919050565b600061425582614176565b61425f8185614181565b935061426a83614192565b8060005b8381101561429b5781516142828882614225565b975061428d8361423d565b92505060018101905061426e565b5085935050505092915050565b600060208201905081810360008301526142c2818461424a565b905092915050565b6000602082840312156142e0576142df613bbf565b5b60006142ee84828501613e15565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61432c81613d3f565b82525050565b600061433e8383614323565b60208301905092915050565b6000602082019050919050565b6000614362826142f7565b61436c8185614302565b935061437783614313565b8060005b838110156143a857815161438f8882614332565b975061439a8361434a565b92505060018101905061437b565b5085935050505092915050565b600060208201905081810360008301526143cf8184614357565b905092915050565b6000806000606084860312156143f0576143ef613bbf565b5b60006143fe86828701613e15565b935050602061440f86828701613d60565b925050604061442086828701613d60565b9150509250925092565b61443381613c4e565b811461443e57600080fd5b50565b6000813590506144508161442a565b92915050565b6000806040838503121561446d5761446c613bbf565b5b600061447b85828601613e15565b925050602061448c85828601614441565b9150509250929050565b600067ffffffffffffffff8211156144b1576144b0613ef1565b5b6144ba82613cd3565b9050602081019050919050565b60006144da6144d584614496565b613f51565b9050828152602081018484840111156144f6576144f5613eec565b5b614501848285613f9d565b509392505050565b600082601f83011261451e5761451d613ee7565b5b813561452e8482602086016144c7565b91505092915050565b6000806000806080858703121561455157614550613bbf565b5b600061455f87828801613e15565b945050602061457087828801613e15565b935050604061458187828801613d60565b925050606085013567ffffffffffffffff8111156145a2576145a1613bc4565b5b6145ae87828801614509565b91505092959194509250565b600067ffffffffffffffff8211156145d5576145d4613ef1565b5b602082029050602081019050919050565b6000819050919050565b6145f9816145e6565b811461460457600080fd5b50565b600081359050614616816145f0565b92915050565b600061462f61462a846145ba565b613f51565b9050808382526020820190506020840283018581111561465257614651614091565b5b835b8181101561467b57806146678882614607565b845260208401935050602081019050614654565b5050509392505050565b600082601f83011261469a57614699613ee7565b5b81356146aa84826020860161461c565b91505092915050565b600080604083850312156146ca576146c9613bbf565b5b600083013567ffffffffffffffff8111156146e8576146e7613bc4565b5b6146f485828601614685565b925050602061470585828601614607565b9150509250929050565b60006020828403121561472557614724613bbf565b5b600061473384828501614607565b91505092915050565b60608201600082015161475260008501826141a2565b50602082015161476560208501826141c5565b50604082015161477860408501826141d4565b50505050565b6000606082019050614793600083018461473c565b92915050565b600080604083850312156147b0576147af613bbf565b5b60006147be85828601613d60565b925050602083013567ffffffffffffffff8111156147df576147de613bc4565b5b6147eb85828601614685565b9150509250929050565b6000806040838503121561480c5761480b613bbf565b5b600061481a85828601613e15565b925050602061482b85828601613e15565b9150509250929050565b61483e816145e6565b82525050565b60006020820190506148596000830184614835565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806148a657607f821691505b602082108114156148ba576148b961485f565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006148f6602083613c8f565b9150614901826148c0565b602082019050919050565b60006020820190508181036000830152614925816148e9565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614962601f83613c8f565b915061496d8261492c565b602082019050919050565b6000602082019050818103600083015261499181614955565b9050919050565b600081905092915050565b50565b60006149b3600083614998565b91506149be826149a3565b600082019050919050565b60006149d4826149a6565b9150819050919050565b7f4d616b652073757265206974207761732070617573656420736f20697420636160008201527f6e20626520756e70617573650000000000000000000000000000000000000000602082015250565b6000614a3a602c83613c8f565b9150614a45826149de565b604082019050919050565b60006020820190508181036000830152614a6981614a2d565b9050919050565b7f596f752068617665206d696e74656420312066726565204e4654000000000000600082015250565b6000614aa6601a83613c8f565b9150614ab182614a70565b602082019050919050565b60006020820190508181036000830152614ad581614a99565b9050919050565b7f4d696e7420706175736564000000000000000000000000000000000000000000600082015250565b6000614b12600b83613c8f565b9150614b1d82614adc565b602082019050919050565b60006020820190508181036000830152614b4181614b05565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b8282613d3f565b9150614b8d83613d3f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bc257614bc1614b48565b5b828201905092915050565b7f4d61782066726565206578636565642100000000000000000000000000000000600082015250565b6000614c03601083613c8f565b9150614c0e82614bcd565b602082019050919050565b60006020820190508181036000830152614c3281614bf6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f416c726561647920706175736564000000000000000000000000000000000000600082015250565b6000614c9e600e83613c8f565b9150614ca982614c68565b602082019050919050565b60006020820190508181036000830152614ccd81614c91565b9050919050565b7f496e76616c6964207175616e7469747921000000000000000000000000000000600082015250565b6000614d0a601183613c8f565b9150614d1582614cd4565b602082019050919050565b60006020820190508181036000830152614d3981614cfd565b9050919050565b7f4d617820313020706572207472616e73616374696f6e00000000000000000000600082015250565b6000614d76601683613c8f565b9150614d8182614d40565b602082019050919050565b60006020820190508181036000830152614da581614d69565b9050919050565b7f4d617820737570706c7920657863656564210000000000000000000000000000600082015250565b6000614de2601283613c8f565b9150614ded82614dac565b602082019050919050565b60006020820190508181036000830152614e1181614dd5565b9050919050565b6000614e2382613d3f565b9150614e2e83613d3f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e6757614e66614b48565b5b828202905092915050565b7f496e636f72726563742070726963650000000000000000000000000000000000600082015250565b6000614ea8600f83613c8f565b9150614eb382614e72565b602082019050919050565b60006020820190508181036000830152614ed781614e9b565b9050919050565b7f416c72656164792072657665616c656400000000000000000000000000000000600082015250565b6000614f14601083613c8f565b9150614f1f82614ede565b602082019050919050565b60006020820190508181036000830152614f4381614f07565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614fa6602f83613c8f565b9150614fb182614f4a565b604082019050919050565b60006020820190508181036000830152614fd581614f99565b9050919050565b600081905092915050565b6000614ff282613c84565b614ffc8185614fdc565b935061500c818560208601613ca0565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061504e600583614fdc565b915061505982615018565b600582019050919050565b60006150708285614fe7565b915061507c8284614fe7565b915061508782615041565b91508190509392505050565b7f312e6a736f6e0000000000000000000000000000000000000000000000000000600082015250565b60006150c9600683614fdc565b91506150d482615093565b600682019050919050565b60006150eb8284614fe7565b91506150f6826150bc565b915081905092915050565b7f5175616e74697479206d757374206265203120696e207768697465206c69737460008201527f206d696e74696e67207374616765000000000000000000000000000000000000602082015250565b600061515d602e83613c8f565b915061516882615101565b604082019050919050565b6000602082019050818103600083015261518c81615150565b9050919050565b7f596f752068617665206d696e7465642031204e465420696e207768697465206c60008201527f697374206d696e74696e67207374616765000000000000000000000000000000602082015250565b60006151ef603183613c8f565b91506151fa82615193565b604082019050919050565b6000602082019050818103600083015261521e816151e2565b9050919050565b60008160601b9050919050565b600061523d82615225565b9050919050565b600061524f82615232565b9050919050565b61526761526282613dc2565b615244565b82525050565b60006152798284615256565b60148201915081905092915050565b7f596f7520617265206e6f74206f6e20746865207768697465206c697374000000600082015250565b60006152be601d83613c8f565b91506152c982615288565b602082019050919050565b600060208201905081810360008301526152ed816152b1565b9050919050565b7f496e76616c6964206d696e7420616d6d6f756e74210000000000000000000000600082015250565b600061532a601583613c8f565b9150615335826152f4565b602082019050919050565b600060208201905081810360008301526153598161531d565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153bc602683613c8f565b91506153c782615360565b604082019050919050565b600060208201905081810360008301526153eb816153af565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615419826153f2565b61542381856153fd565b9350615433818560208601613ca0565b61543c81613cd3565b840191505092915050565b600060808201905061545c6000830187613dd4565b6154696020830186613dd4565b6154766040830185613e6a565b8181036060830152615488818461540e565b905095945050505050565b6000815190506154a281613bf5565b92915050565b6000602082840312156154be576154bd613bbf565b5b60006154cc84828501615493565b91505092915050565b60006154e082613d3f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561551357615512614b48565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061555882613d3f565b915061556383613d3f565b9250826155735761557261551e565b5b828204905092915050565b600061558982613d3f565b915061559483613d3f565b9250828210156155a7576155a6614b48565b5b828203905092915050565b60006155bd82613d3f565b91506155c883613d3f565b9250826155d8576155d761551e565b5b82820690509291505056fea264697066735822122084b46684c83f18f7be5359e6458384acfcd7f35232f5a1c64ea0c0ae91b043a864736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
c37762df40dcd277eb4479ba85447966ed5e367b79957aaa161df6c7b512cce4
-----Decoded View---------------
Arg [0] : _root (bytes32): 0xc37762df40dcd277eb4479ba85447966ed5e367b79957aaa161df6c7b512cce4
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : c37762df40dcd277eb4479ba85447966ed5e367b79957aaa161df6c7b512cce4
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.