Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,777 SKTGEN
Holders
1,044
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 SKTGENLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SkulltoonsGenesis
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; // Utils import "@openzeppelin/contracts/utils/Strings.sol"; // Security import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; // Contracts extending import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "erc721a/contracts/ERC721A.sol"; contract SkulltoonsGenesis is ERC721A, IERC2981, Ownable, ReentrancyGuard { // CONTRACT META DATA string public baseTokenURI; string public nonRevealedURI; address public requiredOwnContract; // CONTRACT STATE INFO bool public revealed = false; enum Phase { NOT_ACTIVE, PRE_SALE, SKULL_TOON_HOLDERS_MINT, PUBLIC } Phase phase; Phase constant default_phase = Phase.NOT_ACTIVE; // CONTRACT ADDRESS INFO address public royaltyAddress; // IMMUTABLE CONSTRAINTS uint256 public constant MAX_SUPPLY = 1777; // MUTABLE CONSTRAINTS uint256 public MAX_TOKEN_HOLDERS_MINT_PER_WALLET = 1; uint256 public MAX_PUBLIC_PER_WALLET = 1; uint256 public ROYALTY_PERCENT = 7; // PHASE Based limit mapping(address => bool) private preSaleClaimedList; mapping(address => bool) private tokenGatedClaimedList; mapping(address => bool) private publicClaimedList; // SECURITY bytes32 private whiteListRoot; constructor( string memory _baseTokenURI, string memory _nonRevealedURI, address _requiredOwnContract, bytes32 _whiteListRoot ) ERC721A("SkulltoonsGenesis", "SKTGEN") { baseTokenURI = _baseTokenURI; nonRevealedURI = _nonRevealedURI; requiredOwnContract = _requiredOwnContract; whiteListRoot = _whiteListRoot; royaltyAddress = msg.sender; } // Business Logic function getAllowedMintCount(bytes32[] calldata _wlProof) internal view returns (uint) { uint allowedCount = 0; if (IERC721A(requiredOwnContract).balanceOf(msg.sender) >= 10) { allowedCount = 2; } else if (IERC721A(requiredOwnContract).balanceOf(msg.sender) >= 5) { allowedCount = 1; } else if (verifyWhiteList(_wlProof)) { allowedCount = 1; } return allowedCount; } function hasSkulltoon() internal view returns (bool) { return IERC721A(requiredOwnContract).balanceOf(msg.sender) > 0; } function preSaleMint(bytes32[] calldata _wlProof) external payable nonReentrant { uint allowedCount = getAllowedMintCount(_wlProof); require(phase == Phase.PRE_SALE, "Phase not set to PRE_SALE phase"); require(preSaleClaimedList[msg.sender] == false, 'wallet already minted in presale phase'); require(allowedCount > 0, 'Cannot premint - this address is not on whitelisted or holding the required amount of skulltoons tokens'); require(_totalMinted() + allowedCount <= MAX_SUPPLY, "Not enough NFTs left!"); preSaleClaimedList[msg.sender] = true; _safeMint(msg.sender, allowedCount); } function tokenHoldersMint() external payable nonReentrant { require(phase == Phase.SKULL_TOON_HOLDERS_MINT, "Phase not set to SKULL_TOON_HOLDERS_MINT"); require(tokenGatedClaimedList[msg.sender] == false, 'wallet already minted in token gated phase'); require(hasSkulltoon(), "this address does not contain a skulltoon"); require(_totalMinted() + MAX_TOKEN_HOLDERS_MINT_PER_WALLET <= MAX_SUPPLY, "Not enough NFTs left!"); tokenGatedClaimedList[msg.sender] = true; _safeMint(msg.sender, MAX_TOKEN_HOLDERS_MINT_PER_WALLET); } function publicMint() external payable nonReentrant { require(phase == Phase.PUBLIC, "Phase not set to PUBLIC"); require(publicClaimedList[msg.sender] == false, 'wallet already minted in public phase'); require(_totalMinted() + MAX_PUBLIC_PER_WALLET <= MAX_SUPPLY, "Not enough NFTs left!"); publicClaimedList[msg.sender] = true; _safeMint(msg.sender, MAX_PUBLIC_PER_WALLET); } function numberMinted(address wallet) external view returns (uint256) { return _numberMinted(wallet); } function verifyWhiteList(bytes32[] calldata merkleProof) internal view returns (bool) { require(whiteListRoot.length > 0, 'special list root is empty'); return MerkleProof.verify(merkleProof, whiteListRoot, keccak256(abi.encodePacked(msg.sender))); } /****************************************\ * OWNER FUNCTIONS * \****************************************/ function setBaseTokenURI(string memory _baseTokenURI) external onlyOwner nonReentrant { baseTokenURI = _baseTokenURI; } function setNonRevealedTokenURI(string memory _nonRevealedURI) external onlyOwner nonReentrant { nonRevealedURI = _nonRevealedURI; } function setRequiredOwnContract(address _contract) external onlyOwner nonReentrant { requiredOwnContract = _contract; } function setRevealed(bool _reveal) external onlyOwner nonReentrant { revealed = _reveal; } function setCurrentPhase(Phase _phase) external onlyOwner nonReentrant { phase = _phase; } function setTokenHoldersMintAmount(uint8 amount) external onlyOwner nonReentrant { MAX_TOKEN_HOLDERS_MINT_PER_WALLET = amount; } function setPublicMintAmount(uint8 amount) external onlyOwner nonReentrant { MAX_PUBLIC_PER_WALLET = amount; } function reserve(uint8 quant) external onlyOwner nonReentrant { require(_totalMinted() + quant <= MAX_SUPPLY, "Not enough NFTs left!"); _mint(msg.sender, quant); } function bulkAirDrop(IERC721A _token, address[] calldata _to, uint256[] calldata _id) external onlyOwner nonReentrant { require(_to.length == _id.length, "Receivers and IDs are different lengths"); for (uint256 i = 0; i < _to.length; i++) { _token.safeTransferFrom(msg.sender, _to[i], _id[i]); } } function setWlRoot(bytes32 _merkleRoot) external onlyOwner nonReentrant { whiteListRoot = _merkleRoot; } function withdraw() external onlyOwner nonReentrant { payable(msg.sender).transfer(address(this).balance); } /****************************************\ * OVERRIDES & EXTRAS * \****************************************/ function getCurrentPhase() external view returns (string memory) { // Error handling for input require(uint8(phase) <= 3); if (Phase.NOT_ACTIVE == phase) return "NOT_ACTIVE"; if (Phase.PRE_SALE == phase) return "PRE_SALE"; if (Phase.SKULL_TOON_HOLDERS_MINT == phase) return "SKULL_TOON_HOLDERS_MINT"; if (Phase.PUBLIC == phase) return "PUBLIC"; return "NOT_A_VALID_PHASE"; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist"); if (revealed) { return string( abi.encodePacked( baseTokenURI, Strings.toString(_tokenId), ".json" ) ); } else { return nonRevealedURI; } } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, IERC165) returns (bool) { return super.supportsInterface(interfaceId); } // EIP-2981: NFT Royalty Standard function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address, uint256 royaltyAmount) { require(_exists(tokenId), "Token does not exist"); return (royaltyAddress, ((salePrice / 100) * ROYALTY_PERCENT)); } }
// 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 (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 (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 // 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 (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/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 // 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/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/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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); }
{ "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":"string","name":"_baseTokenURI","type":"string"},{"internalType":"string","name":"_nonRevealedURI","type":"string"},{"internalType":"address","name":"_requiredOwnContract","type":"address"},{"internalType":"bytes32","name":"_whiteListRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"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_PUBLIC_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKEN_HOLDERS_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC721A","name":"_token","type":"address"},{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_id","type":"uint256[]"}],"name":"bulkAirDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentPhase","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nonRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_wlProof","type":"bytes32[]"}],"name":"preSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requiredOwnContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"quant","type":"uint8"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum SkulltoonsGenesis.Phase","name":"_phase","type":"uint8"}],"name":"setCurrentPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_nonRevealedURI","type":"string"}],"name":"setNonRevealedTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"setPublicMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setRequiredOwnContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_reveal","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"setTokenHoldersMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setWlRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenHoldersMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600c60146101000a81548160ff0219169083151502179055506001600e556001600f5560076010553480156200003b57600080fd5b506040516200643738038062006437833981810160405281019062000061919062000427565b6040518060400160405280601181526020017f536b756c6c746f6f6e7347656e657369730000000000000000000000000000008152506040518060400160405280600681526020017f534b5447454e00000000000000000000000000000000000000000000000000008152508160029080519060200190620000e5929190620002d7565b508060039080519060200190620000fe929190620002d7565b506200010f6200020460201b60201c565b6000819055505050620001376200012b6200020960201b60201c565b6200021160201b60201c565b600160098190555083600a908051906020019062000157929190620002d7565b5082600b908051906020019062000170929190620002d7565b5081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060148190555033600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050620006a7565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002e59062000598565b90600052602060002090601f01602090048101928262000309576000855562000355565b82601f106200032457805160ff191683800117855562000355565b8280016001018555821562000355579182015b828111156200035457825182559160200191906001019062000337565b5b50905062000364919062000368565b5090565b5b808211156200038357600081600090555060010162000369565b5090565b60006200039e6200039884620004ee565b620004c5565b905082815260208101848484011115620003b757600080fd5b620003c484828562000562565b509392505050565b600081519050620003dd8162000673565b92915050565b600081519050620003f4816200068d565b92915050565b600082601f8301126200040c57600080fd5b81516200041e84826020860162000387565b91505092915050565b600080600080608085870312156200043e57600080fd5b600085015167ffffffffffffffff8111156200045957600080fd5b6200046787828801620003fa565b945050602085015167ffffffffffffffff8111156200048557600080fd5b6200049387828801620003fa565b9350506040620004a687828801620003cc565b9250506060620004b987828801620003e3565b91505092959194509250565b6000620004d1620004e4565b9050620004df8282620005ce565b919050565b6000604051905090565b600067ffffffffffffffff8211156200050c576200050b62000633565b5b620005178262000662565b9050602081019050919050565b6000620005318262000542565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200058257808201518184015260208101905062000565565b8381111562000592576000848401525b50505050565b60006002820490506001821680620005b157607f821691505b60208210811415620005c857620005c762000604565b5b50919050565b620005d98262000662565b810181811067ffffffffffffffff82111715620005fb57620005fa62000633565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200067e8162000524565b81146200068a57600080fd5b50565b620006988162000538565b8114620006a457600080fd5b50565b615d8080620006b76000396000f3fe60806040526004361061025b5760003560e01c80636352211e11610144578063b88d4fde116100b6578063dc33e6811161007a578063dc33e68114610873578063e0a80853146108b0578063e985e9c5146108d9578063f11ef5cf14610916578063f2fde38b1461093f578063f5bc29b8146109685761025b565b8063b88d4fde1461078e578063c87b56dd146107b7578063cd3f2910146107f4578063cdcd897e1461081d578063d547cfb7146108485761025b565b8063a1554a0311610108578063a1554a03146106c0578063a22cb465146106dc578063a3a40ea514610705578063aa54d61414610730578063ad2f852a1461073a578063ad8bd82c146107655761025b565b80636352211e146105d957806370a0823114610616578063715018a6146106535780638da5cb5b1461066a57806395d89b41146106955761025b565b806326092b83116101dd578063394e3b58116101a1578063394e3b58146104ef5780633ccfd60b1461051a57806342842e0e1461053157806346d98cb51461055a5780634e26d1af1461058357806351830227146105ae5761025b565b806326092b831461042857806327e17b6a146104325780632a55205a1461045d57806330176e131461049b57806332cb6b0c146104c45761025b565b806306fdde031161022457806306fdde0314610343578063081812fc1461036e578063095ea7b3146103ab57806318160ddd146103d457806323b872dd146103ff5761025b565b8062641e1e1461026057806301ffc9a714610289578063050411d1146102c6578063055ea141146102ef57806305c94d9d1461031a575b600080fd5b34801561026c57600080fd5b50610287600480360381019061028291906148c6565b610991565b005b34801561029557600080fd5b506102b060048036038101906102ab9190614b04565b610aa7565b6040516102bd91906151a7565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e89190614cd7565b610ab9565b005b3480156102fb57600080fd5b50610304610b98565b60405161031191906151c2565b60405180910390f35b34801561032657600080fd5b50610341600480360381019061033c9190614c08565b610c26565b005b34801561034f57600080fd5b50610358610d12565b60405161036591906151c2565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190614c49565b610da4565b6040516103a291906150e0565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd9190614a31565b610e20565b005b3480156103e057600080fd5b506103e9610f25565b6040516103f691906153c4565b60405180910390f35b34801561040b57600080fd5b506104266004803603810190610421919061492b565b610f3c565b005b610430610f4c565b005b34801561043e57600080fd5b506104476111b5565b60405161045491906153c4565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190614c9b565b6111bb565b60405161049292919061517e565b60405180910390f35b3480156104a757600080fd5b506104c260048036038101906104bd9190614c08565b61124e565b005b3480156104d057600080fd5b506104d961133a565b6040516104e691906153c4565b60405180910390f35b3480156104fb57600080fd5b50610504611340565b60405161051191906150e0565b60405180910390f35b34801561052657600080fd5b5061052f611366565b005b34801561053d57600080fd5b506105586004803603810190610553919061492b565b611481565b005b34801561056657600080fd5b50610581600480360381019061057c9190614cd7565b6114a1565b005b34801561058f57600080fd5b50610598611580565b6040516105a591906153c4565b60405180910390f35b3480156105ba57600080fd5b506105c3611586565b6040516105d091906151a7565b60405180910390f35b3480156105e557600080fd5b5061060060048036038101906105fb9190614c49565b611599565b60405161060d91906150e0565b60405180910390f35b34801561062257600080fd5b5061063d600480360381019061063891906148c6565b6115af565b60405161064a91906153c4565b60405180910390f35b34801561065f57600080fd5b5061066861167f565b005b34801561067657600080fd5b5061067f611707565b60405161068c91906150e0565b60405180910390f35b3480156106a157600080fd5b506106aa611731565b6040516106b791906151c2565b60405180910390f35b6106da60048036038101906106d59190614a6d565b6117c3565b005b3480156106e857600080fd5b5061070360048036038101906106fe91906149f5565b611a7d565b005b34801561071157600080fd5b5061071a611bf5565b60405161072791906151c2565b60405180910390f35b610738611f9e565b005b34801561074657600080fd5b5061074f61224f565b60405161075c91906150e0565b60405180910390f35b34801561077157600080fd5b5061078c60048036038101906107879190614adb565b612275565b005b34801561079a57600080fd5b506107b560048036038101906107b0919061497a565b612351565b005b3480156107c357600080fd5b506107de60048036038101906107d99190614c49565b6123c9565b6040516107eb91906151c2565b60405180910390f35b34801561080057600080fd5b5061081b60048036038101906108169190614bdf565b6124ed565b005b34801561082957600080fd5b50610832612612565b60405161083f91906153c4565b60405180910390f35b34801561085457600080fd5b5061085d612618565b60405161086a91906151c2565b60405180910390f35b34801561087f57600080fd5b5061089a600480360381019061089591906148c6565b6126a6565b6040516108a791906153c4565b60405180910390f35b3480156108bc57600080fd5b506108d760048036038101906108d29190614ab2565b6126b8565b005b3480156108e557600080fd5b5061090060048036038101906108fb91906148ef565b6127a7565b60405161090d91906151a7565b60405180910390f35b34801561092257600080fd5b5061093d60048036038101906109389190614cd7565b61283b565b005b34801561094b57600080fd5b50610966600480360381019061096191906148c6565b612977565b005b34801561097457600080fd5b5061098f600480360381019061098a9190614b56565b612a6f565b005b610999612cad565b73ffffffffffffffffffffffffffffffffffffffff166109b7611707565b73ffffffffffffffffffffffffffffffffffffffff1614610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0490615304565b60405180910390fd5b60026009541415610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a90615344565b60405180910390fd5b600260098190555080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160098190555050565b6000610ab282612cb5565b9050919050565b610ac1612cad565b73ffffffffffffffffffffffffffffffffffffffff16610adf611707565b73ffffffffffffffffffffffffffffffffffffffff1614610b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2c90615304565b60405180910390fd5b60026009541415610b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7290615344565b60405180910390fd5b60026009819055508060ff16600f81905550600160098190555050565b600b8054610ba5906156b2565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd1906156b2565b8015610c1e5780601f10610bf357610100808354040283529160200191610c1e565b820191906000526020600020905b815481529060010190602001808311610c0157829003601f168201915b505050505081565b610c2e612cad565b73ffffffffffffffffffffffffffffffffffffffff16610c4c611707565b73ffffffffffffffffffffffffffffffffffffffff1614610ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9990615304565b60405180910390fd5b60026009541415610ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdf90615344565b60405180910390fd5b600260098190555080600b9080519060200190610d06929190614560565b50600160098190555050565b606060028054610d21906156b2565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4d906156b2565b8015610d9a5780601f10610d6f57610100808354040283529160200191610d9a565b820191906000526020600020905b815481529060010190602001808311610d7d57829003601f168201915b5050505050905090565b6000610daf82612d97565b610de5576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e2b82611599565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e93576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610eb2612cad565b73ffffffffffffffffffffffffffffffffffffffff1614610f1557610ede81610ed9612cad565b6127a7565b610f14576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610f20838383612de5565b505050565b6000610f2f612e97565b6001546000540303905090565b610f47838383612e9c565b505050565b60026009541415610f92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8990615344565b60405180910390fd5b6002600981905550600380811115610fd3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600c60159054906101000a900460ff16600381111561101b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461105b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105290615324565b60405180910390fd5b60001515601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146110ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e5906152a4565b60405180910390fd5b6106f1600f546110fc613352565b61110691906154be565b1115611147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113e90615284565b60405180910390fd5b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506111ab33600f54613365565b6001600981905550565b600e5481565b6000806111c784612d97565b611206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fd90615264565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166010546064856112399190615514565b6112439190615545565b915091509250929050565b611256612cad565b73ffffffffffffffffffffffffffffffffffffffff16611274611707565b73ffffffffffffffffffffffffffffffffffffffff16146112ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c190615304565b60405180910390fd5b60026009541415611310576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130790615344565b60405180910390fd5b600260098190555080600a908051906020019061132e929190614560565b50600160098190555050565b6106f181565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61136e612cad565b73ffffffffffffffffffffffffffffffffffffffff1661138c611707565b73ffffffffffffffffffffffffffffffffffffffff16146113e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d990615304565b60405180910390fd5b60026009541415611428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141f90615344565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611476573d6000803e3d6000fd5b506001600981905550565b61149c83838360405180602001604052806000815250612351565b505050565b6114a9612cad565b73ffffffffffffffffffffffffffffffffffffffff166114c7611707565b73ffffffffffffffffffffffffffffffffffffffff161461151d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151490615304565b60405180910390fd5b60026009541415611563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155a90615344565b60405180910390fd5b60026009819055508060ff16600e81905550600160098190555050565b600f5481565b600c60149054906101000a900460ff1681565b60006115a482613383565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611617576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611687612cad565b73ffffffffffffffffffffffffffffffffffffffff166116a5611707565b73ffffffffffffffffffffffffffffffffffffffff16146116fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f290615304565b60405180910390fd5b611705600061360e565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611740906156b2565b80601f016020809104026020016040519081016040528092919081815260200182805461176c906156b2565b80156117b95780601f1061178e576101008083540402835291602001916117b9565b820191906000526020600020905b81548152906001019060200180831161179c57829003601f168201915b5050505050905090565b60026009541415611809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180090615344565b60405180910390fd5b6002600981905550600061181d83836136d4565b905060016003811115611859577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600c60159054906101000a900460ff1660038111156118a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146118e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d890615364565b60405180910390fd5b60001515601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196b906152e4565b60405180910390fd5b600081116119b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ae906152c4565b60405180910390fd5b6106f1816119c3613352565b6119cd91906154be565b1115611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0590615284565b60405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a703382613365565b5060016009819055505050565b611a85612cad565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aea576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611af7612cad565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ba4612cad565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611be991906151a7565b60405180910390a35050565b60606003600c60159054906101000a900460ff166003811115611c41577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60ff161115611c4f57600080fd5b600c60159054906101000a900460ff166003811115611c97577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60006003811115611cd1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611d14576040518060400160405280600a81526020017f4e4f545f414354495645000000000000000000000000000000000000000000008152509050611f9b565b600c60159054906101000a900460ff166003811115611d5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60016003811115611d96577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611dd9576040518060400160405280600881526020017f5052455f53414c450000000000000000000000000000000000000000000000008152509050611f9b565b600c60159054906101000a900460ff166003811115611e21577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60026003811115611e5b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611e9e576040518060400160405280601781526020017f534b554c4c5f544f4f4e5f484f4c444552535f4d494e540000000000000000008152509050611f9b565b600c60159054906101000a900460ff166003811115611ee6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600380811115611f1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611f62576040518060400160405280600681526020017f5055424c494300000000000000000000000000000000000000000000000000008152509050611f9b565b6040518060400160405280601181526020017f4e4f545f415f56414c49445f504841534500000000000000000000000000000081525090505b90565b60026009541415611fe4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdb90615344565b60405180910390fd5b600260098190555060026003811115612026577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600c60159054906101000a900460ff16600381111561206e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146120ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a590615384565b60405180910390fd5b60001515601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514612141576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612138906151e4565b60405180910390fd5b612149613871565b612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217f90615244565b60405180910390fd5b6106f1600e54612196613352565b6121a091906154be565b11156121e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d890615284565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061224533600e54613365565b6001600981905550565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61227d612cad565b73ffffffffffffffffffffffffffffffffffffffff1661229b611707565b73ffffffffffffffffffffffffffffffffffffffff16146122f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e890615304565b60405180910390fd5b60026009541415612337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232e90615344565b60405180910390fd5b600260098190555080601481905550600160098190555050565b61235c848484612e9c565b61237b8373ffffffffffffffffffffffffffffffffffffffff16613925565b156123c35761238c84848484613948565b6123c2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606123d482612d97565b612413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240a90615264565b60405180910390fd5b600c60149054906101000a900460ff161561245a57600a61243383613aa8565b6040516020016124449291906150b1565b60405160208183030381529060405290506124e8565b600b8054612467906156b2565b80601f0160208091040260200160405190810160405280929190818152602001828054612493906156b2565b80156124e05780601f106124b5576101008083540402835291602001916124e0565b820191906000526020600020905b8154815290600101906020018083116124c357829003601f168201915b505050505090505b919050565b6124f5612cad565b73ffffffffffffffffffffffffffffffffffffffff16612513611707565b73ffffffffffffffffffffffffffffffffffffffff1614612569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256090615304565b60405180910390fd5b600260095414156125af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a690615344565b60405180910390fd5b600260098190555080600c60156101000a81548160ff02191690836003811115612602577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550600160098190555050565b60105481565b600a8054612625906156b2565b80601f0160208091040260200160405190810160405280929190818152602001828054612651906156b2565b801561269e5780601f106126735761010080835404028352916020019161269e565b820191906000526020600020905b81548152906001019060200180831161268157829003601f168201915b505050505081565b60006126b182613c55565b9050919050565b6126c0612cad565b73ffffffffffffffffffffffffffffffffffffffff166126de611707565b73ffffffffffffffffffffffffffffffffffffffff1614612734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272b90615304565b60405180910390fd5b6002600954141561277a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277190615344565b60405180910390fd5b600260098190555080600c60146101000a81548160ff021916908315150217905550600160098190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612843612cad565b73ffffffffffffffffffffffffffffffffffffffff16612861611707565b73ffffffffffffffffffffffffffffffffffffffff16146128b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ae90615304565b60405180910390fd5b600260095414156128fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f490615344565b60405180910390fd5b60026009819055506106f18160ff16612914613352565b61291e91906154be565b111561295f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295690615284565b60405180910390fd5b61296c338260ff16613cbf565b600160098190555050565b61297f612cad565b73ffffffffffffffffffffffffffffffffffffffff1661299d611707565b73ffffffffffffffffffffffffffffffffffffffff16146129f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ea90615304565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5a90615204565b60405180910390fd5b612a6c8161360e565b50565b612a77612cad565b73ffffffffffffffffffffffffffffffffffffffff16612a95611707565b73ffffffffffffffffffffffffffffffffffffffff1614612aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae290615304565b60405180910390fd5b60026009541415612b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2890615344565b60405180910390fd5b6002600981905550818190508484905014612b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b78906153a4565b60405180910390fd5b60005b84849050811015612c9d578573ffffffffffffffffffffffffffffffffffffffff166342842e0e33878785818110612be5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190612bfa91906148c6565b868686818110612c33577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b8152600401612c58939291906150fb565b600060405180830381600087803b158015612c7257600080fd5b505af1158015612c86573d6000803e3d6000fd5b505050508080612c9590615715565b915050612b84565b5060016009819055505050505050565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d8057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d905750612d8f82613f9b565b5b9050919050565b600081612da2612e97565b11158015612db1575060005482105b8015612dde575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000612ea782613383565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f12576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612f33612cad565b73ffffffffffffffffffffffffffffffffffffffff161480612f625750612f6185612f5c612cad565b6127a7565b5b80612fa75750612f70612cad565b73ffffffffffffffffffffffffffffffffffffffff16612f8f84610da4565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612fe0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613047576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130548585856001614005565b61306060008487612de5565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156132e05760005482146132df57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461334b858585600161400b565b5050505050565b600061335c612e97565b60005403905090565b61337f828260405180602001604052806000815250614011565b5050565b61338b6145e6565b600082905080613399612e97565b116135d7576000548110156135d6576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516135d457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134b8578092505050613609565b5b6001156135d357818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146135ce578092505050613609565b6134b9565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060009050600a600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161373891906150e0565b60206040518083038186803b15801561375057600080fd5b505afa158015613764573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137889190614c72565b106137965760029050613867565b6005600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016137f391906150e0565b60206040518083038186803b15801561380b57600080fd5b505afa15801561381f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138439190614c72565b106138515760019050613866565b61385b84846143d3565b1561386557600190505b5b5b8091505092915050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016138cf91906150e0565b60206040518083038186803b1580156138e757600080fd5b505afa1580156138fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061391f9190614c72565b11905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261396e612cad565b8786866040518563ffffffff1660e01b81526004016139909493929190615132565b602060405180830381600087803b1580156139aa57600080fd5b505af19250505080156139db57506040513d601f19601f820116820180604052508101906139d89190614b2d565b60015b613a55573d8060008114613a0b576040519150601f19603f3d011682016040523d82523d6000602084013e613a10565b606091505b50600081511415613a4d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415613af0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c50565b600082905060005b60008214613b22578080613b0b90615715565b915050600a82613b1b9190615514565b9150613af8565b60008167ffffffffffffffff811115613b64577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613b965781602001600182028036833780820191505090505b5090505b60008514613c4957600182613baf919061559f565b9150600a85613bbe9190615782565b6030613bca91906154be565b60f81b818381518110613c06577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c429190615514565b9450613b9a565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613d2c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415613d67576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613d746000848385614005565b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550826004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613f1757816000819055505050613f96600084838561400b565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561407e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156140b9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6140c66000858386614005565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506142878673ffffffffffffffffffffffffffffffffffffffff16613925565b1561434c575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46142fc6000878480600101955087613948565b614332576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061428d57826000541461434757600080fd5b6143b7565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061434d575b8160008190555050506143cd600085838661400b565b50505050565b600080602060ff161161441b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161441290615224565b60405180910390fd5b61448f838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601454336040516020016144749190615096565b60405160208183030381529060405280519060200120614497565b905092915050565b6000826144a485846144ae565b1490509392505050565b60008082905060005b845181101561453e5760008582815181106144fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161451d576145168382614549565b925061452a565b6145278184614549565b92505b50808061453690615715565b9150506144b7565b508091505092915050565b600082600052816020526040600020905092915050565b82805461456c906156b2565b90600052602060002090601f01602090048101928261458e57600085556145d5565b82601f106145a757805160ff19168380011785556145d5565b828001600101855582156145d5579182015b828111156145d45782518255916020019190600101906145b9565b5b5090506145e29190614629565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561464257600081600090555060010161462a565b5090565b600061465961465484615404565b6153df565b90508281526020810184848401111561467157600080fd5b61467c848285615670565b509392505050565b600061469761469284615435565b6153df565b9050828152602081018484840111156146af57600080fd5b6146ba848285615670565b509392505050565b6000813590506146d181615c99565b92915050565b60008083601f8401126146e957600080fd5b8235905067ffffffffffffffff81111561470257600080fd5b60208301915083602082028301111561471a57600080fd5b9250929050565b60008083601f84011261473357600080fd5b8235905067ffffffffffffffff81111561474c57600080fd5b60208301915083602082028301111561476457600080fd5b9250929050565b60008083601f84011261477d57600080fd5b8235905067ffffffffffffffff81111561479657600080fd5b6020830191508360208202830111156147ae57600080fd5b9250929050565b6000813590506147c481615cb0565b92915050565b6000813590506147d981615cc7565b92915050565b6000813590506147ee81615cde565b92915050565b60008151905061480381615cde565b92915050565b600082601f83011261481a57600080fd5b813561482a848260208601614646565b91505092915050565b60008135905061484281615cf5565b92915050565b60008135905061485781615d0c565b92915050565b600082601f83011261486e57600080fd5b813561487e848260208601614684565b91505092915050565b60008135905061489681615d1c565b92915050565b6000815190506148ab81615d1c565b92915050565b6000813590506148c081615d33565b92915050565b6000602082840312156148d857600080fd5b60006148e6848285016146c2565b91505092915050565b6000806040838503121561490257600080fd5b6000614910858286016146c2565b9250506020614921858286016146c2565b9150509250929050565b60008060006060848603121561494057600080fd5b600061494e868287016146c2565b935050602061495f868287016146c2565b925050604061497086828701614887565b9150509250925092565b6000806000806080858703121561499057600080fd5b600061499e878288016146c2565b94505060206149af878288016146c2565b93505060406149c087828801614887565b925050606085013567ffffffffffffffff8111156149dd57600080fd5b6149e987828801614809565b91505092959194509250565b60008060408385031215614a0857600080fd5b6000614a16858286016146c2565b9250506020614a27858286016147b5565b9150509250929050565b60008060408385031215614a4457600080fd5b6000614a52858286016146c2565b9250506020614a6385828601614887565b9150509250929050565b60008060208385031215614a8057600080fd5b600083013567ffffffffffffffff811115614a9a57600080fd5b614aa685828601614721565b92509250509250929050565b600060208284031215614ac457600080fd5b6000614ad2848285016147b5565b91505092915050565b600060208284031215614aed57600080fd5b6000614afb848285016147ca565b91505092915050565b600060208284031215614b1657600080fd5b6000614b24848285016147df565b91505092915050565b600060208284031215614b3f57600080fd5b6000614b4d848285016147f4565b91505092915050565b600080600080600060608688031215614b6e57600080fd5b6000614b7c88828901614833565b955050602086013567ffffffffffffffff811115614b9957600080fd5b614ba5888289016146d7565b9450945050604086013567ffffffffffffffff811115614bc457600080fd5b614bd08882890161476b565b92509250509295509295909350565b600060208284031215614bf157600080fd5b6000614bff84828501614848565b91505092915050565b600060208284031215614c1a57600080fd5b600082013567ffffffffffffffff811115614c3457600080fd5b614c408482850161485d565b91505092915050565b600060208284031215614c5b57600080fd5b6000614c6984828501614887565b91505092915050565b600060208284031215614c8457600080fd5b6000614c928482850161489c565b91505092915050565b60008060408385031215614cae57600080fd5b6000614cbc85828601614887565b9250506020614ccd85828601614887565b9150509250929050565b600060208284031215614ce957600080fd5b6000614cf7848285016148b1565b91505092915050565b614d09816155d3565b82525050565b614d20614d1b826155d3565b61575e565b82525050565b614d2f816155e5565b82525050565b6000614d408261547b565b614d4a8185615491565b9350614d5a81856020860161567f565b614d638161586f565b840191505092915050565b6000614d7982615486565b614d8381856154a2565b9350614d9381856020860161567f565b614d9c8161586f565b840191505092915050565b6000614db282615486565b614dbc81856154b3565b9350614dcc81856020860161567f565b80840191505092915050565b60008154614de5816156b2565b614def81866154b3565b94506001821660008114614e0a5760018114614e1b57614e4e565b60ff19831686528186019350614e4e565b614e2485615466565b60005b83811015614e4657815481890152600182019150602081019050614e27565b838801955050505b50505092915050565b6000614e64602a836154a2565b9150614e6f8261588d565b604082019050919050565b6000614e876026836154a2565b9150614e92826158dc565b604082019050919050565b6000614eaa601a836154a2565b9150614eb58261592b565b602082019050919050565b6000614ecd6029836154a2565b9150614ed882615954565b604082019050919050565b6000614ef06014836154a2565b9150614efb826159a3565b602082019050919050565b6000614f136015836154a2565b9150614f1e826159cc565b602082019050919050565b6000614f366025836154a2565b9150614f41826159f5565b604082019050919050565b6000614f596067836154a2565b9150614f6482615a44565b608082019050919050565b6000614f7c6026836154a2565b9150614f8782615adf565b604082019050919050565b6000614f9f6005836154b3565b9150614faa82615b2e565b600582019050919050565b6000614fc26020836154a2565b9150614fcd82615b57565b602082019050919050565b6000614fe56017836154a2565b9150614ff082615b80565b602082019050919050565b6000615008601f836154a2565b915061501382615ba9565b602082019050919050565b600061502b601f836154a2565b915061503682615bd2565b602082019050919050565b600061504e6028836154a2565b915061505982615bfb565b604082019050919050565b60006150716027836154a2565b915061507c82615c4a565b604082019050919050565b61509081615659565b82525050565b60006150a28284614d0f565b60148201915081905092915050565b60006150bd8285614dd8565b91506150c98284614da7565b91506150d482614f92565b91508190509392505050565b60006020820190506150f56000830184614d00565b92915050565b60006060820190506151106000830186614d00565b61511d6020830185614d00565b61512a6040830184615087565b949350505050565b60006080820190506151476000830187614d00565b6151546020830186614d00565b6151616040830185615087565b81810360608301526151738184614d35565b905095945050505050565b60006040820190506151936000830185614d00565b6151a06020830184615087565b9392505050565b60006020820190506151bc6000830184614d26565b92915050565b600060208201905081810360008301526151dc8184614d6e565b905092915050565b600060208201905081810360008301526151fd81614e57565b9050919050565b6000602082019050818103600083015261521d81614e7a565b9050919050565b6000602082019050818103600083015261523d81614e9d565b9050919050565b6000602082019050818103600083015261525d81614ec0565b9050919050565b6000602082019050818103600083015261527d81614ee3565b9050919050565b6000602082019050818103600083015261529d81614f06565b9050919050565b600060208201905081810360008301526152bd81614f29565b9050919050565b600060208201905081810360008301526152dd81614f4c565b9050919050565b600060208201905081810360008301526152fd81614f6f565b9050919050565b6000602082019050818103600083015261531d81614fb5565b9050919050565b6000602082019050818103600083015261533d81614fd8565b9050919050565b6000602082019050818103600083015261535d81614ffb565b9050919050565b6000602082019050818103600083015261537d8161501e565b9050919050565b6000602082019050818103600083015261539d81615041565b9050919050565b600060208201905081810360008301526153bd81615064565b9050919050565b60006020820190506153d96000830184615087565b92915050565b60006153e96153fa565b90506153f582826156e4565b919050565b6000604051905090565b600067ffffffffffffffff82111561541f5761541e615840565b5b6154288261586f565b9050602081019050919050565b600067ffffffffffffffff8211156154505761544f615840565b5b6154598261586f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006154c982615659565b91506154d483615659565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615509576155086157b3565b5b828201905092915050565b600061551f82615659565b915061552a83615659565b92508261553a576155396157e2565b5b828204905092915050565b600061555082615659565b915061555b83615659565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615594576155936157b3565b5b828202905092915050565b60006155aa82615659565b91506155b583615659565b9250828210156155c8576155c76157b3565b5b828203905092915050565b60006155de82615639565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000615632826155d3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561569d578082015181840152602081019050615682565b838111156156ac576000848401525b50505050565b600060028204905060018216806156ca57607f821691505b602082108114156156de576156dd615811565b5b50919050565b6156ed8261586f565b810181811067ffffffffffffffff8211171561570c5761570b615840565b5b80604052505050565b600061572082615659565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615753576157526157b3565b5b600182019050919050565b600061576982615770565b9050919050565b600061577b82615880565b9050919050565b600061578d82615659565b915061579883615659565b9250826157a8576157a76157e2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f77616c6c657420616c7265616479206d696e74656420696e20746f6b656e206760008201527f6174656420706861736500000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f7370656369616c206c69737420726f6f7420697320656d707479000000000000600082015250565b7f74686973206164647265737320646f6573206e6f7420636f6e7461696e20612060008201527f736b756c6c746f6f6e0000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f4e6f7420656e6f756768204e465473206c656674210000000000000000000000600082015250565b7f77616c6c657420616c7265616479206d696e74656420696e207075626c69632060008201527f7068617365000000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f74207072656d696e74202d2074686973206164647265737320697360008201527f206e6f74206f6e2077686974656c6973746564206f7220686f6c64696e67207460208201527f686520726571756972656420616d6f756e74206f6620736b756c6c746f6f6e7360408201527f20746f6b656e7300000000000000000000000000000000000000000000000000606082015250565b7f77616c6c657420616c7265616479206d696e74656420696e2070726573616c6560008201527f2070686173650000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5068617365206e6f742073657420746f205055424c4943000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f5068617365206e6f742073657420746f205052455f53414c4520706861736500600082015250565b7f5068617365206e6f742073657420746f20534b554c4c5f544f4f4e5f484f4c4460008201527f4552535f4d494e54000000000000000000000000000000000000000000000000602082015250565b7f52656365697665727320616e64204944732061726520646966666572656e742060008201527f6c656e6774687300000000000000000000000000000000000000000000000000602082015250565b615ca2816155d3565b8114615cad57600080fd5b50565b615cb9816155e5565b8114615cc457600080fd5b50565b615cd0816155f1565b8114615cdb57600080fd5b50565b615ce7816155fb565b8114615cf257600080fd5b50565b615cfe81615627565b8114615d0957600080fd5b50565b60048110615d1957600080fd5b50565b615d2581615659565b8114615d3057600080fd5b50565b615d3c81615663565b8114615d4757600080fd5b5056fea2646970667358221220023477ca776c2e73c0a28a938a78bf311d1dd38a7cc5a0fc60dff69151d56dfe64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000002b841d4b7ca08d45cc3de814de08850dc3008c43579c2278892d1896a648043945c878af0f9c4282786b0064a24b51e81f86fd6b0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5066525a484d356776566442376e4a50776b6f446f596e68527833447957664e65565a3571524d6b4a39617a2f000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d5571556d76434e6a533668726b687861563351635873704c33576f686d38345343636e7148435870763436632f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061025b5760003560e01c80636352211e11610144578063b88d4fde116100b6578063dc33e6811161007a578063dc33e68114610873578063e0a80853146108b0578063e985e9c5146108d9578063f11ef5cf14610916578063f2fde38b1461093f578063f5bc29b8146109685761025b565b8063b88d4fde1461078e578063c87b56dd146107b7578063cd3f2910146107f4578063cdcd897e1461081d578063d547cfb7146108485761025b565b8063a1554a0311610108578063a1554a03146106c0578063a22cb465146106dc578063a3a40ea514610705578063aa54d61414610730578063ad2f852a1461073a578063ad8bd82c146107655761025b565b80636352211e146105d957806370a0823114610616578063715018a6146106535780638da5cb5b1461066a57806395d89b41146106955761025b565b806326092b83116101dd578063394e3b58116101a1578063394e3b58146104ef5780633ccfd60b1461051a57806342842e0e1461053157806346d98cb51461055a5780634e26d1af1461058357806351830227146105ae5761025b565b806326092b831461042857806327e17b6a146104325780632a55205a1461045d57806330176e131461049b57806332cb6b0c146104c45761025b565b806306fdde031161022457806306fdde0314610343578063081812fc1461036e578063095ea7b3146103ab57806318160ddd146103d457806323b872dd146103ff5761025b565b8062641e1e1461026057806301ffc9a714610289578063050411d1146102c6578063055ea141146102ef57806305c94d9d1461031a575b600080fd5b34801561026c57600080fd5b50610287600480360381019061028291906148c6565b610991565b005b34801561029557600080fd5b506102b060048036038101906102ab9190614b04565b610aa7565b6040516102bd91906151a7565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e89190614cd7565b610ab9565b005b3480156102fb57600080fd5b50610304610b98565b60405161031191906151c2565b60405180910390f35b34801561032657600080fd5b50610341600480360381019061033c9190614c08565b610c26565b005b34801561034f57600080fd5b50610358610d12565b60405161036591906151c2565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190614c49565b610da4565b6040516103a291906150e0565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd9190614a31565b610e20565b005b3480156103e057600080fd5b506103e9610f25565b6040516103f691906153c4565b60405180910390f35b34801561040b57600080fd5b506104266004803603810190610421919061492b565b610f3c565b005b610430610f4c565b005b34801561043e57600080fd5b506104476111b5565b60405161045491906153c4565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190614c9b565b6111bb565b60405161049292919061517e565b60405180910390f35b3480156104a757600080fd5b506104c260048036038101906104bd9190614c08565b61124e565b005b3480156104d057600080fd5b506104d961133a565b6040516104e691906153c4565b60405180910390f35b3480156104fb57600080fd5b50610504611340565b60405161051191906150e0565b60405180910390f35b34801561052657600080fd5b5061052f611366565b005b34801561053d57600080fd5b506105586004803603810190610553919061492b565b611481565b005b34801561056657600080fd5b50610581600480360381019061057c9190614cd7565b6114a1565b005b34801561058f57600080fd5b50610598611580565b6040516105a591906153c4565b60405180910390f35b3480156105ba57600080fd5b506105c3611586565b6040516105d091906151a7565b60405180910390f35b3480156105e557600080fd5b5061060060048036038101906105fb9190614c49565b611599565b60405161060d91906150e0565b60405180910390f35b34801561062257600080fd5b5061063d600480360381019061063891906148c6565b6115af565b60405161064a91906153c4565b60405180910390f35b34801561065f57600080fd5b5061066861167f565b005b34801561067657600080fd5b5061067f611707565b60405161068c91906150e0565b60405180910390f35b3480156106a157600080fd5b506106aa611731565b6040516106b791906151c2565b60405180910390f35b6106da60048036038101906106d59190614a6d565b6117c3565b005b3480156106e857600080fd5b5061070360048036038101906106fe91906149f5565b611a7d565b005b34801561071157600080fd5b5061071a611bf5565b60405161072791906151c2565b60405180910390f35b610738611f9e565b005b34801561074657600080fd5b5061074f61224f565b60405161075c91906150e0565b60405180910390f35b34801561077157600080fd5b5061078c60048036038101906107879190614adb565b612275565b005b34801561079a57600080fd5b506107b560048036038101906107b0919061497a565b612351565b005b3480156107c357600080fd5b506107de60048036038101906107d99190614c49565b6123c9565b6040516107eb91906151c2565b60405180910390f35b34801561080057600080fd5b5061081b60048036038101906108169190614bdf565b6124ed565b005b34801561082957600080fd5b50610832612612565b60405161083f91906153c4565b60405180910390f35b34801561085457600080fd5b5061085d612618565b60405161086a91906151c2565b60405180910390f35b34801561087f57600080fd5b5061089a600480360381019061089591906148c6565b6126a6565b6040516108a791906153c4565b60405180910390f35b3480156108bc57600080fd5b506108d760048036038101906108d29190614ab2565b6126b8565b005b3480156108e557600080fd5b5061090060048036038101906108fb91906148ef565b6127a7565b60405161090d91906151a7565b60405180910390f35b34801561092257600080fd5b5061093d60048036038101906109389190614cd7565b61283b565b005b34801561094b57600080fd5b50610966600480360381019061096191906148c6565b612977565b005b34801561097457600080fd5b5061098f600480360381019061098a9190614b56565b612a6f565b005b610999612cad565b73ffffffffffffffffffffffffffffffffffffffff166109b7611707565b73ffffffffffffffffffffffffffffffffffffffff1614610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0490615304565b60405180910390fd5b60026009541415610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a90615344565b60405180910390fd5b600260098190555080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160098190555050565b6000610ab282612cb5565b9050919050565b610ac1612cad565b73ffffffffffffffffffffffffffffffffffffffff16610adf611707565b73ffffffffffffffffffffffffffffffffffffffff1614610b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2c90615304565b60405180910390fd5b60026009541415610b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7290615344565b60405180910390fd5b60026009819055508060ff16600f81905550600160098190555050565b600b8054610ba5906156b2565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd1906156b2565b8015610c1e5780601f10610bf357610100808354040283529160200191610c1e565b820191906000526020600020905b815481529060010190602001808311610c0157829003601f168201915b505050505081565b610c2e612cad565b73ffffffffffffffffffffffffffffffffffffffff16610c4c611707565b73ffffffffffffffffffffffffffffffffffffffff1614610ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9990615304565b60405180910390fd5b60026009541415610ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdf90615344565b60405180910390fd5b600260098190555080600b9080519060200190610d06929190614560565b50600160098190555050565b606060028054610d21906156b2565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4d906156b2565b8015610d9a5780601f10610d6f57610100808354040283529160200191610d9a565b820191906000526020600020905b815481529060010190602001808311610d7d57829003601f168201915b5050505050905090565b6000610daf82612d97565b610de5576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e2b82611599565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e93576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610eb2612cad565b73ffffffffffffffffffffffffffffffffffffffff1614610f1557610ede81610ed9612cad565b6127a7565b610f14576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610f20838383612de5565b505050565b6000610f2f612e97565b6001546000540303905090565b610f47838383612e9c565b505050565b60026009541415610f92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8990615344565b60405180910390fd5b6002600981905550600380811115610fd3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600c60159054906101000a900460ff16600381111561101b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461105b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105290615324565b60405180910390fd5b60001515601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146110ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e5906152a4565b60405180910390fd5b6106f1600f546110fc613352565b61110691906154be565b1115611147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113e90615284565b60405180910390fd5b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506111ab33600f54613365565b6001600981905550565b600e5481565b6000806111c784612d97565b611206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fd90615264565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166010546064856112399190615514565b6112439190615545565b915091509250929050565b611256612cad565b73ffffffffffffffffffffffffffffffffffffffff16611274611707565b73ffffffffffffffffffffffffffffffffffffffff16146112ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c190615304565b60405180910390fd5b60026009541415611310576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130790615344565b60405180910390fd5b600260098190555080600a908051906020019061132e929190614560565b50600160098190555050565b6106f181565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61136e612cad565b73ffffffffffffffffffffffffffffffffffffffff1661138c611707565b73ffffffffffffffffffffffffffffffffffffffff16146113e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d990615304565b60405180910390fd5b60026009541415611428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141f90615344565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611476573d6000803e3d6000fd5b506001600981905550565b61149c83838360405180602001604052806000815250612351565b505050565b6114a9612cad565b73ffffffffffffffffffffffffffffffffffffffff166114c7611707565b73ffffffffffffffffffffffffffffffffffffffff161461151d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151490615304565b60405180910390fd5b60026009541415611563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155a90615344565b60405180910390fd5b60026009819055508060ff16600e81905550600160098190555050565b600f5481565b600c60149054906101000a900460ff1681565b60006115a482613383565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611617576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611687612cad565b73ffffffffffffffffffffffffffffffffffffffff166116a5611707565b73ffffffffffffffffffffffffffffffffffffffff16146116fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f290615304565b60405180910390fd5b611705600061360e565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611740906156b2565b80601f016020809104026020016040519081016040528092919081815260200182805461176c906156b2565b80156117b95780601f1061178e576101008083540402835291602001916117b9565b820191906000526020600020905b81548152906001019060200180831161179c57829003601f168201915b5050505050905090565b60026009541415611809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180090615344565b60405180910390fd5b6002600981905550600061181d83836136d4565b905060016003811115611859577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600c60159054906101000a900460ff1660038111156118a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146118e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d890615364565b60405180910390fd5b60001515601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196b906152e4565b60405180910390fd5b600081116119b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ae906152c4565b60405180910390fd5b6106f1816119c3613352565b6119cd91906154be565b1115611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0590615284565b60405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a703382613365565b5060016009819055505050565b611a85612cad565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aea576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611af7612cad565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ba4612cad565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611be991906151a7565b60405180910390a35050565b60606003600c60159054906101000a900460ff166003811115611c41577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60ff161115611c4f57600080fd5b600c60159054906101000a900460ff166003811115611c97577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60006003811115611cd1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611d14576040518060400160405280600a81526020017f4e4f545f414354495645000000000000000000000000000000000000000000008152509050611f9b565b600c60159054906101000a900460ff166003811115611d5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60016003811115611d96577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611dd9576040518060400160405280600881526020017f5052455f53414c450000000000000000000000000000000000000000000000008152509050611f9b565b600c60159054906101000a900460ff166003811115611e21577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60026003811115611e5b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611e9e576040518060400160405280601781526020017f534b554c4c5f544f4f4e5f484f4c444552535f4d494e540000000000000000008152509050611f9b565b600c60159054906101000a900460ff166003811115611ee6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600380811115611f1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611f62576040518060400160405280600681526020017f5055424c494300000000000000000000000000000000000000000000000000008152509050611f9b565b6040518060400160405280601181526020017f4e4f545f415f56414c49445f504841534500000000000000000000000000000081525090505b90565b60026009541415611fe4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdb90615344565b60405180910390fd5b600260098190555060026003811115612026577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600c60159054906101000a900460ff16600381111561206e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146120ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a590615384565b60405180910390fd5b60001515601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514612141576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612138906151e4565b60405180910390fd5b612149613871565b612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217f90615244565b60405180910390fd5b6106f1600e54612196613352565b6121a091906154be565b11156121e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d890615284565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061224533600e54613365565b6001600981905550565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61227d612cad565b73ffffffffffffffffffffffffffffffffffffffff1661229b611707565b73ffffffffffffffffffffffffffffffffffffffff16146122f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e890615304565b60405180910390fd5b60026009541415612337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232e90615344565b60405180910390fd5b600260098190555080601481905550600160098190555050565b61235c848484612e9c565b61237b8373ffffffffffffffffffffffffffffffffffffffff16613925565b156123c35761238c84848484613948565b6123c2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606123d482612d97565b612413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240a90615264565b60405180910390fd5b600c60149054906101000a900460ff161561245a57600a61243383613aa8565b6040516020016124449291906150b1565b60405160208183030381529060405290506124e8565b600b8054612467906156b2565b80601f0160208091040260200160405190810160405280929190818152602001828054612493906156b2565b80156124e05780601f106124b5576101008083540402835291602001916124e0565b820191906000526020600020905b8154815290600101906020018083116124c357829003601f168201915b505050505090505b919050565b6124f5612cad565b73ffffffffffffffffffffffffffffffffffffffff16612513611707565b73ffffffffffffffffffffffffffffffffffffffff1614612569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256090615304565b60405180910390fd5b600260095414156125af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a690615344565b60405180910390fd5b600260098190555080600c60156101000a81548160ff02191690836003811115612602577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550600160098190555050565b60105481565b600a8054612625906156b2565b80601f0160208091040260200160405190810160405280929190818152602001828054612651906156b2565b801561269e5780601f106126735761010080835404028352916020019161269e565b820191906000526020600020905b81548152906001019060200180831161268157829003601f168201915b505050505081565b60006126b182613c55565b9050919050565b6126c0612cad565b73ffffffffffffffffffffffffffffffffffffffff166126de611707565b73ffffffffffffffffffffffffffffffffffffffff1614612734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272b90615304565b60405180910390fd5b6002600954141561277a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277190615344565b60405180910390fd5b600260098190555080600c60146101000a81548160ff021916908315150217905550600160098190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612843612cad565b73ffffffffffffffffffffffffffffffffffffffff16612861611707565b73ffffffffffffffffffffffffffffffffffffffff16146128b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ae90615304565b60405180910390fd5b600260095414156128fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f490615344565b60405180910390fd5b60026009819055506106f18160ff16612914613352565b61291e91906154be565b111561295f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295690615284565b60405180910390fd5b61296c338260ff16613cbf565b600160098190555050565b61297f612cad565b73ffffffffffffffffffffffffffffffffffffffff1661299d611707565b73ffffffffffffffffffffffffffffffffffffffff16146129f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ea90615304565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5a90615204565b60405180910390fd5b612a6c8161360e565b50565b612a77612cad565b73ffffffffffffffffffffffffffffffffffffffff16612a95611707565b73ffffffffffffffffffffffffffffffffffffffff1614612aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae290615304565b60405180910390fd5b60026009541415612b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2890615344565b60405180910390fd5b6002600981905550818190508484905014612b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b78906153a4565b60405180910390fd5b60005b84849050811015612c9d578573ffffffffffffffffffffffffffffffffffffffff166342842e0e33878785818110612be5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190612bfa91906148c6565b868686818110612c33577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b8152600401612c58939291906150fb565b600060405180830381600087803b158015612c7257600080fd5b505af1158015612c86573d6000803e3d6000fd5b505050508080612c9590615715565b915050612b84565b5060016009819055505050505050565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d8057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d905750612d8f82613f9b565b5b9050919050565b600081612da2612e97565b11158015612db1575060005482105b8015612dde575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000612ea782613383565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f12576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612f33612cad565b73ffffffffffffffffffffffffffffffffffffffff161480612f625750612f6185612f5c612cad565b6127a7565b5b80612fa75750612f70612cad565b73ffffffffffffffffffffffffffffffffffffffff16612f8f84610da4565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612fe0576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613047576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130548585856001614005565b61306060008487612de5565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156132e05760005482146132df57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461334b858585600161400b565b5050505050565b600061335c612e97565b60005403905090565b61337f828260405180602001604052806000815250614011565b5050565b61338b6145e6565b600082905080613399612e97565b116135d7576000548110156135d6576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516135d457600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134b8578092505050613609565b5b6001156135d357818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146135ce578092505050613609565b6134b9565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060009050600a600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161373891906150e0565b60206040518083038186803b15801561375057600080fd5b505afa158015613764573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137889190614c72565b106137965760029050613867565b6005600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016137f391906150e0565b60206040518083038186803b15801561380b57600080fd5b505afa15801561381f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138439190614c72565b106138515760019050613866565b61385b84846143d3565b1561386557600190505b5b5b8091505092915050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016138cf91906150e0565b60206040518083038186803b1580156138e757600080fd5b505afa1580156138fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061391f9190614c72565b11905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261396e612cad565b8786866040518563ffffffff1660e01b81526004016139909493929190615132565b602060405180830381600087803b1580156139aa57600080fd5b505af19250505080156139db57506040513d601f19601f820116820180604052508101906139d89190614b2d565b60015b613a55573d8060008114613a0b576040519150601f19603f3d011682016040523d82523d6000602084013e613a10565b606091505b50600081511415613a4d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415613af0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c50565b600082905060005b60008214613b22578080613b0b90615715565b915050600a82613b1b9190615514565b9150613af8565b60008167ffffffffffffffff811115613b64577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613b965781602001600182028036833780820191505090505b5090505b60008514613c4957600182613baf919061559f565b9150600a85613bbe9190615782565b6030613bca91906154be565b60f81b818381518110613c06577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c429190615514565b9450613b9a565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613d2c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415613d67576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613d746000848385614005565b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550826004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613f1757816000819055505050613f96600084838561400b565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561407e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156140b9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6140c66000858386614005565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506142878673ffffffffffffffffffffffffffffffffffffffff16613925565b1561434c575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46142fc6000878480600101955087613948565b614332576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061428d57826000541461434757600080fd5b6143b7565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061434d575b8160008190555050506143cd600085838661400b565b50505050565b600080602060ff161161441b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161441290615224565b60405180910390fd5b61448f838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601454336040516020016144749190615096565b60405160208183030381529060405280519060200120614497565b905092915050565b6000826144a485846144ae565b1490509392505050565b60008082905060005b845181101561453e5760008582815181106144fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161451d576145168382614549565b925061452a565b6145278184614549565b92505b50808061453690615715565b9150506144b7565b508091505092915050565b600082600052816020526040600020905092915050565b82805461456c906156b2565b90600052602060002090601f01602090048101928261458e57600085556145d5565b82601f106145a757805160ff19168380011785556145d5565b828001600101855582156145d5579182015b828111156145d45782518255916020019190600101906145b9565b5b5090506145e29190614629565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561464257600081600090555060010161462a565b5090565b600061465961465484615404565b6153df565b90508281526020810184848401111561467157600080fd5b61467c848285615670565b509392505050565b600061469761469284615435565b6153df565b9050828152602081018484840111156146af57600080fd5b6146ba848285615670565b509392505050565b6000813590506146d181615c99565b92915050565b60008083601f8401126146e957600080fd5b8235905067ffffffffffffffff81111561470257600080fd5b60208301915083602082028301111561471a57600080fd5b9250929050565b60008083601f84011261473357600080fd5b8235905067ffffffffffffffff81111561474c57600080fd5b60208301915083602082028301111561476457600080fd5b9250929050565b60008083601f84011261477d57600080fd5b8235905067ffffffffffffffff81111561479657600080fd5b6020830191508360208202830111156147ae57600080fd5b9250929050565b6000813590506147c481615cb0565b92915050565b6000813590506147d981615cc7565b92915050565b6000813590506147ee81615cde565b92915050565b60008151905061480381615cde565b92915050565b600082601f83011261481a57600080fd5b813561482a848260208601614646565b91505092915050565b60008135905061484281615cf5565b92915050565b60008135905061485781615d0c565b92915050565b600082601f83011261486e57600080fd5b813561487e848260208601614684565b91505092915050565b60008135905061489681615d1c565b92915050565b6000815190506148ab81615d1c565b92915050565b6000813590506148c081615d33565b92915050565b6000602082840312156148d857600080fd5b60006148e6848285016146c2565b91505092915050565b6000806040838503121561490257600080fd5b6000614910858286016146c2565b9250506020614921858286016146c2565b9150509250929050565b60008060006060848603121561494057600080fd5b600061494e868287016146c2565b935050602061495f868287016146c2565b925050604061497086828701614887565b9150509250925092565b6000806000806080858703121561499057600080fd5b600061499e878288016146c2565b94505060206149af878288016146c2565b93505060406149c087828801614887565b925050606085013567ffffffffffffffff8111156149dd57600080fd5b6149e987828801614809565b91505092959194509250565b60008060408385031215614a0857600080fd5b6000614a16858286016146c2565b9250506020614a27858286016147b5565b9150509250929050565b60008060408385031215614a4457600080fd5b6000614a52858286016146c2565b9250506020614a6385828601614887565b9150509250929050565b60008060208385031215614a8057600080fd5b600083013567ffffffffffffffff811115614a9a57600080fd5b614aa685828601614721565b92509250509250929050565b600060208284031215614ac457600080fd5b6000614ad2848285016147b5565b91505092915050565b600060208284031215614aed57600080fd5b6000614afb848285016147ca565b91505092915050565b600060208284031215614b1657600080fd5b6000614b24848285016147df565b91505092915050565b600060208284031215614b3f57600080fd5b6000614b4d848285016147f4565b91505092915050565b600080600080600060608688031215614b6e57600080fd5b6000614b7c88828901614833565b955050602086013567ffffffffffffffff811115614b9957600080fd5b614ba5888289016146d7565b9450945050604086013567ffffffffffffffff811115614bc457600080fd5b614bd08882890161476b565b92509250509295509295909350565b600060208284031215614bf157600080fd5b6000614bff84828501614848565b91505092915050565b600060208284031215614c1a57600080fd5b600082013567ffffffffffffffff811115614c3457600080fd5b614c408482850161485d565b91505092915050565b600060208284031215614c5b57600080fd5b6000614c6984828501614887565b91505092915050565b600060208284031215614c8457600080fd5b6000614c928482850161489c565b91505092915050565b60008060408385031215614cae57600080fd5b6000614cbc85828601614887565b9250506020614ccd85828601614887565b9150509250929050565b600060208284031215614ce957600080fd5b6000614cf7848285016148b1565b91505092915050565b614d09816155d3565b82525050565b614d20614d1b826155d3565b61575e565b82525050565b614d2f816155e5565b82525050565b6000614d408261547b565b614d4a8185615491565b9350614d5a81856020860161567f565b614d638161586f565b840191505092915050565b6000614d7982615486565b614d8381856154a2565b9350614d9381856020860161567f565b614d9c8161586f565b840191505092915050565b6000614db282615486565b614dbc81856154b3565b9350614dcc81856020860161567f565b80840191505092915050565b60008154614de5816156b2565b614def81866154b3565b94506001821660008114614e0a5760018114614e1b57614e4e565b60ff19831686528186019350614e4e565b614e2485615466565b60005b83811015614e4657815481890152600182019150602081019050614e27565b838801955050505b50505092915050565b6000614e64602a836154a2565b9150614e6f8261588d565b604082019050919050565b6000614e876026836154a2565b9150614e92826158dc565b604082019050919050565b6000614eaa601a836154a2565b9150614eb58261592b565b602082019050919050565b6000614ecd6029836154a2565b9150614ed882615954565b604082019050919050565b6000614ef06014836154a2565b9150614efb826159a3565b602082019050919050565b6000614f136015836154a2565b9150614f1e826159cc565b602082019050919050565b6000614f366025836154a2565b9150614f41826159f5565b604082019050919050565b6000614f596067836154a2565b9150614f6482615a44565b608082019050919050565b6000614f7c6026836154a2565b9150614f8782615adf565b604082019050919050565b6000614f9f6005836154b3565b9150614faa82615b2e565b600582019050919050565b6000614fc26020836154a2565b9150614fcd82615b57565b602082019050919050565b6000614fe56017836154a2565b9150614ff082615b80565b602082019050919050565b6000615008601f836154a2565b915061501382615ba9565b602082019050919050565b600061502b601f836154a2565b915061503682615bd2565b602082019050919050565b600061504e6028836154a2565b915061505982615bfb565b604082019050919050565b60006150716027836154a2565b915061507c82615c4a565b604082019050919050565b61509081615659565b82525050565b60006150a28284614d0f565b60148201915081905092915050565b60006150bd8285614dd8565b91506150c98284614da7565b91506150d482614f92565b91508190509392505050565b60006020820190506150f56000830184614d00565b92915050565b60006060820190506151106000830186614d00565b61511d6020830185614d00565b61512a6040830184615087565b949350505050565b60006080820190506151476000830187614d00565b6151546020830186614d00565b6151616040830185615087565b81810360608301526151738184614d35565b905095945050505050565b60006040820190506151936000830185614d00565b6151a06020830184615087565b9392505050565b60006020820190506151bc6000830184614d26565b92915050565b600060208201905081810360008301526151dc8184614d6e565b905092915050565b600060208201905081810360008301526151fd81614e57565b9050919050565b6000602082019050818103600083015261521d81614e7a565b9050919050565b6000602082019050818103600083015261523d81614e9d565b9050919050565b6000602082019050818103600083015261525d81614ec0565b9050919050565b6000602082019050818103600083015261527d81614ee3565b9050919050565b6000602082019050818103600083015261529d81614f06565b9050919050565b600060208201905081810360008301526152bd81614f29565b9050919050565b600060208201905081810360008301526152dd81614f4c565b9050919050565b600060208201905081810360008301526152fd81614f6f565b9050919050565b6000602082019050818103600083015261531d81614fb5565b9050919050565b6000602082019050818103600083015261533d81614fd8565b9050919050565b6000602082019050818103600083015261535d81614ffb565b9050919050565b6000602082019050818103600083015261537d8161501e565b9050919050565b6000602082019050818103600083015261539d81615041565b9050919050565b600060208201905081810360008301526153bd81615064565b9050919050565b60006020820190506153d96000830184615087565b92915050565b60006153e96153fa565b90506153f582826156e4565b919050565b6000604051905090565b600067ffffffffffffffff82111561541f5761541e615840565b5b6154288261586f565b9050602081019050919050565b600067ffffffffffffffff8211156154505761544f615840565b5b6154598261586f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006154c982615659565b91506154d483615659565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615509576155086157b3565b5b828201905092915050565b600061551f82615659565b915061552a83615659565b92508261553a576155396157e2565b5b828204905092915050565b600061555082615659565b915061555b83615659565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615594576155936157b3565b5b828202905092915050565b60006155aa82615659565b91506155b583615659565b9250828210156155c8576155c76157b3565b5b828203905092915050565b60006155de82615639565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000615632826155d3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561569d578082015181840152602081019050615682565b838111156156ac576000848401525b50505050565b600060028204905060018216806156ca57607f821691505b602082108114156156de576156dd615811565b5b50919050565b6156ed8261586f565b810181811067ffffffffffffffff8211171561570c5761570b615840565b5b80604052505050565b600061572082615659565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615753576157526157b3565b5b600182019050919050565b600061576982615770565b9050919050565b600061577b82615880565b9050919050565b600061578d82615659565b915061579883615659565b9250826157a8576157a76157e2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f77616c6c657420616c7265616479206d696e74656420696e20746f6b656e206760008201527f6174656420706861736500000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f7370656369616c206c69737420726f6f7420697320656d707479000000000000600082015250565b7f74686973206164647265737320646f6573206e6f7420636f6e7461696e20612060008201527f736b756c6c746f6f6e0000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f4e6f7420656e6f756768204e465473206c656674210000000000000000000000600082015250565b7f77616c6c657420616c7265616479206d696e74656420696e207075626c69632060008201527f7068617365000000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f74207072656d696e74202d2074686973206164647265737320697360008201527f206e6f74206f6e2077686974656c6973746564206f7220686f6c64696e67207460208201527f686520726571756972656420616d6f756e74206f6620736b756c6c746f6f6e7360408201527f20746f6b656e7300000000000000000000000000000000000000000000000000606082015250565b7f77616c6c657420616c7265616479206d696e74656420696e2070726573616c6560008201527f2070686173650000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5068617365206e6f742073657420746f205055424c4943000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f5068617365206e6f742073657420746f205052455f53414c4520706861736500600082015250565b7f5068617365206e6f742073657420746f20534b554c4c5f544f4f4e5f484f4c4460008201527f4552535f4d494e54000000000000000000000000000000000000000000000000602082015250565b7f52656365697665727320616e64204944732061726520646966666572656e742060008201527f6c656e6774687300000000000000000000000000000000000000000000000000602082015250565b615ca2816155d3565b8114615cad57600080fd5b50565b615cb9816155e5565b8114615cc457600080fd5b50565b615cd0816155f1565b8114615cdb57600080fd5b50565b615ce7816155fb565b8114615cf257600080fd5b50565b615cfe81615627565b8114615d0957600080fd5b50565b60048110615d1957600080fd5b50565b615d2581615659565b8114615d3057600080fd5b50565b615d3c81615663565b8114615d4757600080fd5b5056fea2646970667358221220023477ca776c2e73c0a28a938a78bf311d1dd38a7cc5a0fc60dff69151d56dfe64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000002b841d4b7ca08d45cc3de814de08850dc3008c43579c2278892d1896a648043945c878af0f9c4282786b0064a24b51e81f86fd6b0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5066525a484d356776566442376e4a50776b6f446f596e68527833447957664e65565a3571524d6b4a39617a2f000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d5571556d76434e6a533668726b687861563351635873704c33576f686d38345343636e7148435870763436632f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseTokenURI (string): ipfs://QmPfRZHM5gvVdB7nJPwkoDoYnhRx3DyWfNeVZ5qRMkJ9az/
Arg [1] : _nonRevealedURI (string): ipfs://QmUqUmvCNjS6hrkhxaV3QcXspL3Wohm84SCcnqHCXpv46c/hidden.json
Arg [2] : _requiredOwnContract (address): 0x2b841d4b7ca08D45Cc3DE814de08850dC3008c43
Arg [3] : _whiteListRoot (bytes32): 0x579c2278892d1896a648043945c878af0f9c4282786b0064a24b51e81f86fd6b
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000002b841d4b7ca08d45cc3de814de08850dc3008c43
Arg [3] : 579c2278892d1896a648043945c878af0f9c4282786b0064a24b51e81f86fd6b
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [5] : 697066733a2f2f516d5066525a484d356776566442376e4a50776b6f446f596e
Arg [6] : 68527833447957664e65565a3571524d6b4a39617a2f00000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [8] : 697066733a2f2f516d5571556d76434e6a533668726b68786156335163587370
Arg [9] : 4c33576f686d38345343636e7148435870763436632f68696464656e2e6a736f
Arg [10] : 6e00000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.