ERC-721
Overview
Max Total Supply
800 HOMIEFACESNFT
Holders
338
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 HOMIEFACESNFTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HomieFaces
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.10; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract HomieFaces is ERC721A, Ownable { // @dev refer to setProvenance and randomSeedIndex function event Provenance(uint256 indexed proveType, bytes32 proveData); string private _baseURIextended; string private constant ERR_ONLY_EOA = "Only EOA"; string private constant ERR_MINT_END = "Minting ended"; string private constant ERR_MINT_NOT_START = "Not started yet"; string private constant ERR_LIMIT_EXCEED = "Limit exceeded"; string private constant ERR_WRONG_VALUE = "Value not correct"; string private constant ERR_NOT_WHITELIST = "Not whitelisted"; string private constant ERR_ONLY_REDUCE = "Reduce only"; uint256 public constant PUBLIC_MINTING_LIMIT = 20; uint256 public constant MINTING_PRICE = 0.05 ether; uint16 public constant MAX_RESERVE = 10; uint8 public constant WL_LIMIT = 2; uint8 public constant OG_LIMIT = 3; uint8 public activeStage = 0; bytes32 public whitelistMerkleRoot = 0x0; bytes32 public ogMerkleRoot = 0x0; uint256 public maxSupply = 4444; mapping(address => uint8) public ticketRecord; constructor() ERC721A("HomieFaces", "HOMIEFACESNFT") {} function setWhitelistMerkleRoot(bytes32 _merkleRoot) external onlyOwner { whitelistMerkleRoot = _merkleRoot; } function setOgMerkleRoot(bytes32 _merkleRoot) external onlyOwner { ogMerkleRoot = _merkleRoot; } function setActiveStage(uint8 _stage) external onlyOwner { activeStage = _stage; } function reduceMaxSupply(uint256 _maxSupply) external onlyOwner { require(_maxSupply >= totalSupply(), ERR_LIMIT_EXCEED); require(_maxSupply < maxSupply, ERR_ONLY_REDUCE); maxSupply = _maxSupply; } function whitelistPreSales(uint8 _numberOfTokens, bytes32[] calldata _merkleProof) external payable { require(msg.sender == tx.origin, ERR_ONLY_EOA); require(_numberOfTokens <= WL_LIMIT, ERR_LIMIT_EXCEED); require(activeStage >= 1, ERR_MINT_NOT_START); uint256 totalSupply = totalSupply(); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); bool proofed = MerkleProof.verify(_merkleProof, whitelistMerkleRoot, leaf); require(proofed, ERR_NOT_WHITELIST); require(totalSupply + _numberOfTokens <= maxSupply, ERR_LIMIT_EXCEED); require(ticketRecord[msg.sender] + _numberOfTokens <= WL_LIMIT , ERR_LIMIT_EXCEED); require(MINTING_PRICE * _numberOfTokens <= msg.value, ERR_WRONG_VALUE); ticketRecord[msg.sender] += _numberOfTokens; _safeMint(msg.sender, _numberOfTokens); } function ogPreSales(uint8 _numberOfTokens, bytes32[] calldata _merkleProof) external payable { require(msg.sender == tx.origin, ERR_ONLY_EOA); require(_numberOfTokens <= OG_LIMIT, ERR_LIMIT_EXCEED); require(activeStage >= 1, ERR_MINT_NOT_START); uint256 totalSupply = totalSupply(); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); bool proofed = MerkleProof.verify(_merkleProof, ogMerkleRoot, leaf); require(proofed, ERR_NOT_WHITELIST); require(totalSupply + _numberOfTokens <= maxSupply, ERR_LIMIT_EXCEED); require(ticketRecord[msg.sender] + _numberOfTokens <= OG_LIMIT , ERR_LIMIT_EXCEED); require(MINTING_PRICE * _numberOfTokens <= msg.value, ERR_WRONG_VALUE); ticketRecord[msg.sender] += _numberOfTokens; _safeMint(msg.sender, _numberOfTokens); } function publicMint(uint _numberOfTokens) public payable { require(msg.sender == tx.origin, ERR_ONLY_EOA); uint256 totalSupply = totalSupply(); require(totalSupply < maxSupply, ERR_MINT_END); require(activeStage >= 2, ERR_MINT_NOT_START); require(_numberOfTokens <= PUBLIC_MINTING_LIMIT, ERR_LIMIT_EXCEED); require(totalSupply + _numberOfTokens <= maxSupply, ERR_LIMIT_EXCEED); require(MINTING_PRICE * _numberOfTokens <= msg.value, ERR_WRONG_VALUE); _safeMint(msg.sender, _numberOfTokens); } function setBaseURI(string memory baseURI_) external onlyOwner() { _baseURIextended = baseURI_; } function _baseURI() internal view virtual override returns (string memory) { return _baseURIextended; } function reserve(uint256 _numberOfTokens) public onlyOwner { require(totalSupply() == 0, ERR_LIMIT_EXCEED); require(_numberOfTokens <= MAX_RESERVE, ERR_LIMIT_EXCEED); _safeMint(msg.sender, _numberOfTokens); } function withdraw() public onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } function setProvenance(bytes32 _proveData) public onlyOwner { emit Provenance(1, _proveData); } function randomSeedIndex() external onlyOwner { uint256 number = uint(keccak256( abi.encodePacked(block.difficulty, block.timestamp))); bytes32 n = bytes32(number % maxSupply); emit Provenance(2, n); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 (last updated v4.5.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. */ 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 Merklee 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 (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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.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/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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"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":"uint256","name":"proveType","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"proveData","type":"bytes32"}],"name":"Provenance","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_RESERVE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTING_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OG_LIMIT","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINTING_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_LIMIT","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activeStage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_numberOfTokens","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"ogPreSales","outputs":[],"stateMutability":"payable","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":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"randomSeedIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"reduceMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_stage","type":"uint8"}],"name":"setActiveStage","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":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setOgMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_proveData","type":"bytes32"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ticketRecord","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_numberOfTokens","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistPreSales","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a60006101000a81548160ff021916908360ff1602179055506000801b600b556000801b600c5561115c600d553480156200004157600080fd5b506040518060400160405280600a81526020017f486f6d69654661636573000000000000000000000000000000000000000000008152506040518060400160405280600d81526020017f484f4d494546414345534e4654000000000000000000000000000000000000008152508160029080519060200190620000c6929190620001f1565b508060039080519060200190620000df929190620001f1565b50620000f06200011e60201b60201c565b6000819055505050620001186200010c6200012360201b60201c565b6200012b60201b60201c565b62000306565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ff90620002d0565b90600052602060002090601f0160209004810192826200022357600085556200026f565b82601f106200023e57805160ff19168380011785556200026f565b828001600101855582156200026f579182015b828111156200026e57825182559160200191906001019062000251565b5b5090506200027e919062000282565b5090565b5b808211156200029d57600081600090555060010162000283565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002e957607f821691505b602082108114156200030057620002ff620002a1565b5b50919050565b61496a80620003166000396000f3fe6080604052600436106102305760003560e01c8063715018a61161012e578063aa98e0c6116100ab578063d8a7ab891161006f578063d8a7ab89146107da578063e985e9c514610803578063eff31e9e14610840578063f0b57a6a1461086b578063f2fde38b1461089457610230565b8063aa98e0c6146106f5578063b88d4fde14610720578063bd32fb6614610749578063c87b56dd14610772578063d5abeb01146107af57610230565b80638df867f9116100f25780638df867f914610636578063915a76e51461064d57806395d89b4114610676578063a22cb465146106a1578063a781e6bf146106ca57610230565b8063715018a614610577578063735328021461058e57806378b004a2146105b7578063819b25ba146105e25780638da5cb5b1461060b57610230565b80632db11544116101bc57806359bc96401161018057806359bc96401461048b578063631123ab146104a75780636352211e146104d257806363d9d1661461050f57806370a082311461053a57610230565b80632db11544146103db5780633ccfd60b146103f757806342842e0e1461040e5780634864d8d91461043757806355f804b31461046257610230565b8063095ea7b311610203578063095ea7b3146102f65780630a3025301461031f57806318160ddd1461034a57806322053ca61461037557806323b872dd146103b257610230565b806301ffc9a71461023557806304a451771461027257806306fdde031461028e578063081812fc146102b9575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613b39565b6108bd565b6040516102699190613b81565b60405180910390f35b61028c60048036038101906102879190613c3a565b61099f565b005b34801561029a57600080fd5b506102a3610ed9565b6040516102b09190613d33565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613d8b565b610f6b565b6040516102ed9190613df9565b60405180910390f35b34801561030257600080fd5b5061031d60048036038101906103189190613e40565b610fe7565b005b34801561032b57600080fd5b506103346110f2565b6040516103419190613e99565b60405180910390f35b34801561035657600080fd5b5061035f6110f8565b60405161036c9190613ec3565b60405180910390f35b34801561038157600080fd5b5061039c60048036038101906103979190613ede565b61110f565b6040516103a99190613f1a565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190613f35565b61112f565b005b6103f560048036038101906103f09190613d8b565b61113f565b005b34801561040357600080fd5b5061040c6114a0565b005b34801561041a57600080fd5b5061043560048036038101906104309190613f35565b61156b565b005b34801561044357600080fd5b5061044c61158b565b6040516104599190613f1a565b60405180910390f35b34801561046e57600080fd5b50610489600480360381019061048491906140b8565b61159e565b005b6104a560048036038101906104a09190613c3a565b611634565b005b3480156104b357600080fd5b506104bc611b6e565b6040516104c99190613f1a565b60405180910390f35b3480156104de57600080fd5b506104f960048036038101906104f49190613d8b565b611b73565b6040516105069190613df9565b60405180910390f35b34801561051b57600080fd5b50610524611b89565b6040516105319190613ec3565b60405180910390f35b34801561054657600080fd5b50610561600480360381019061055c9190613ede565b611b94565b60405161056e9190613ec3565b60405180910390f35b34801561058357600080fd5b5061058c611c64565b005b34801561059a57600080fd5b506105b560048036038101906105b09190613d8b565b611cec565b005b3480156105c357600080fd5b506105cc611e72565b6040516105d99190613f1a565b60405180910390f35b3480156105ee57600080fd5b5061060960048036038101906106049190613d8b565b611e77565b005b34801561061757600080fd5b50610620612004565b60405161062d9190613df9565b60405180910390f35b34801561064257600080fd5b5061064b61202e565b005b34801561065957600080fd5b50610674600480360381019061066f9190614101565b61212c565b005b34801561068257600080fd5b5061068b6121c6565b6040516106989190613d33565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c3919061415a565b612258565b005b3480156106d657600080fd5b506106df6123d0565b6040516106ec9190613ec3565b60405180910390f35b34801561070157600080fd5b5061070a6123d5565b6040516107179190613e99565b60405180910390f35b34801561072c57600080fd5b506107476004803603810190610742919061423b565b6123db565b005b34801561075557600080fd5b50610770600480360381019061076b91906142ea565b612457565b005b34801561077e57600080fd5b5061079960048036038101906107949190613d8b565b6124dd565b6040516107a69190613d33565b60405180910390f35b3480156107bb57600080fd5b506107c461257c565b6040516107d19190613ec3565b60405180910390f35b3480156107e657600080fd5b5061080160048036038101906107fc91906142ea565b612582565b005b34801561080f57600080fd5b5061082a60048036038101906108259190614317565b612608565b6040516108379190613b81565b60405180910390f35b34801561084c57600080fd5b5061085561269c565b6040516108629190614374565b60405180910390f35b34801561087757600080fd5b50610892600480360381019061088d91906142ea565b6126a1565b005b3480156108a057600080fd5b506108bb60048036038101906108b69190613ede565b612759565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610998575061099782612851565b5b9050919050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600881526020017f4f6e6c7920454f4100000000000000000000000000000000000000000000000081525090610a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3c9190613d33565b60405180910390fd5b50600260ff168360ff1611156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090610ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abf9190613d33565b60405180910390fd5b506001600a60009054906101000a900460ff1660ff1610156040518060400160405280600f81526020017f4e6f74207374617274656420796574000000000000000000000000000000000081525090610b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4e9190613d33565b60405180910390fd5b506000610b626110f8565b9050600033604051602001610b7791906143d7565b6040516020818303038152906040528051906020012090506000610bdf858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b54846128bb565b9050806040518060400160405280600f81526020017f4e6f742077686974656c6973746564000000000000000000000000000000000081525090610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c509190613d33565b60405180910390fd5b50600d548660ff1684610c6c9190614421565b11156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090610ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdc9190613d33565b60405180910390fd5b50600260ff1686600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d439190614477565b60ff1611156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090610dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db69190613d33565b60405180910390fd5b50348660ff1666b1a2bc2ec50000610dd791906144ae565b11156040518060400160405280601181526020017f56616c7565206e6f7420636f727265637400000000000000000000000000000081525090610e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e479190613d33565b60405180910390fd5b5085600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16610eac9190614477565b92506101000a81548160ff021916908360ff160217905550610ed1338760ff166128d2565b505050505050565b606060028054610ee890614537565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1490614537565b8015610f615780601f10610f3657610100808354040283529160200191610f61565b820191906000526020600020905b815481529060010190602001808311610f4457829003601f168201915b5050505050905090565b6000610f76826128f0565b610fac576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ff282611b73565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561105a576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661107961293e565b73ffffffffffffffffffffffffffffffffffffffff16141580156110ab57506110a9816110a461293e565b612608565b155b156110e2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110ed838383612946565b505050565b600c5481565b60006111026129f8565b6001546000540303905090565b600e6020528060005260406000206000915054906101000a900460ff1681565b61113a8383836129fd565b505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600881526020017f4f6e6c7920454f41000000000000000000000000000000000000000000000000815250906111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc9190613d33565b60405180910390fd5b5060006111f06110f8565b9050600d5481106040518060400160405280600d81526020017f4d696e74696e6720656e646564000000000000000000000000000000000000008152509061126e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112659190613d33565b60405180910390fd5b506002600a60009054906101000a900460ff1660ff1610156040518060400160405280600f81526020017f4e6f742073746172746564207965740000000000000000000000000000000000815250906112fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f49190613d33565b60405180910390fd5b5060148211156040518060400160405280600e81526020017f4c696d69742065786365656465640000000000000000000000000000000000008152509061137a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113719190613d33565b60405180910390fd5b50600d54828261138a9190614421565b11156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090611403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fa9190613d33565b60405180910390fd5b50348266b1a2bc2ec5000061141891906144ae565b11156040518060400160405280601181526020017f56616c7565206e6f7420636f727265637400000000000000000000000000000081525090611491576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114889190613d33565b60405180910390fd5b5061149c33836128d2565b5050565b6114a861293e565b73ffffffffffffffffffffffffffffffffffffffff166114c6612004565b73ffffffffffffffffffffffffffffffffffffffff161461151c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611513906145b5565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611567573d6000803e3d6000fd5b5050565b611586838383604051806020016040528060008152506123db565b505050565b600a60009054906101000a900460ff1681565b6115a661293e565b73ffffffffffffffffffffffffffffffffffffffff166115c4612004565b73ffffffffffffffffffffffffffffffffffffffff161461161a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611611906145b5565b60405180910390fd5b80600990805190602001906116309291906139e7565b5050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600881526020017f4f6e6c7920454f41000000000000000000000000000000000000000000000000815250906116da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d19190613d33565b60405180910390fd5b50600360ff168360ff1611156040518060400160405280600e81526020017f4c696d69742065786365656465640000000000000000000000000000000000008152509061175d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117549190613d33565b60405180910390fd5b506001600a60009054906101000a900460ff1660ff1610156040518060400160405280600f81526020017f4e6f742073746172746564207965740000000000000000000000000000000000815250906117ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e39190613d33565b60405180910390fd5b5060006117f76110f8565b905060003360405160200161180c91906143d7565b6040516020818303038152906040528051906020012090506000611874858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54846128bb565b9050806040518060400160405280600f81526020017f4e6f742077686974656c69737465640000000000000000000000000000000000815250906118ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e59190613d33565b60405180910390fd5b50600d548660ff16846119019190614421565b11156040518060400160405280600e81526020017f4c696d69742065786365656465640000000000000000000000000000000000008152509061197a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119719190613d33565b60405180910390fd5b50600360ff1686600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166119d89190614477565b60ff1611156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090611a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4b9190613d33565b60405180910390fd5b50348660ff1666b1a2bc2ec50000611a6c91906144ae565b11156040518060400160405280601181526020017f56616c7565206e6f7420636f727265637400000000000000000000000000000081525090611ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adc9190613d33565b60405180910390fd5b5085600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611b419190614477565b92506101000a81548160ff021916908360ff160217905550611b66338760ff166128d2565b505050505050565b600381565b6000611b7e82612eb3565b600001519050919050565b66b1a2bc2ec5000081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bfc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611c6c61293e565b73ffffffffffffffffffffffffffffffffffffffff16611c8a612004565b73ffffffffffffffffffffffffffffffffffffffff1614611ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd7906145b5565b60405180910390fd5b611cea6000613142565b565b611cf461293e565b73ffffffffffffffffffffffffffffffffffffffff16611d12612004565b73ffffffffffffffffffffffffffffffffffffffff1614611d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5f906145b5565b60405180910390fd5b611d706110f8565b8110156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de19190613d33565b60405180910390fd5b50600d5481106040518060400160405280600b81526020017f526564756365206f6e6c7900000000000000000000000000000000000000000081525090611e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5e9190613d33565b60405180910390fd5b5080600d8190555050565b600281565b611e7f61293e565b73ffffffffffffffffffffffffffffffffffffffff16611e9d612004565b73ffffffffffffffffffffffffffffffffffffffff1614611ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eea906145b5565b60405180910390fd5b6000611efd6110f8565b146040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090611f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6c9190613d33565b60405180910390fd5b50600a61ffff168111156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090611ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fed9190613d33565b60405180910390fd5b5061200133826128d2565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61203661293e565b73ffffffffffffffffffffffffffffffffffffffff16612054612004565b73ffffffffffffffffffffffffffffffffffffffff16146120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a1906145b5565b60405180910390fd5b600044426040516020016120bf9291906145f6565b6040516020818303038152906040528051906020012060001c90506000600d54826120ea9190614651565b60001b905060027f94a0ceaff566f17e407ea93841d07163c0b4f6ce21b5bc68b9132cf581e1af37826040516121209190613e99565b60405180910390a25050565b61213461293e565b73ffffffffffffffffffffffffffffffffffffffff16612152612004565b73ffffffffffffffffffffffffffffffffffffffff16146121a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219f906145b5565b60405180910390fd5b80600a60006101000a81548160ff021916908360ff16021790555050565b6060600380546121d590614537565b80601f016020809104026020016040519081016040528092919081815260200182805461220190614537565b801561224e5780601f106122235761010080835404028352916020019161224e565b820191906000526020600020905b81548152906001019060200180831161223157829003601f168201915b5050505050905090565b61226061293e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122c5576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006122d261293e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661237f61293e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123c49190613b81565b60405180910390a35050565b601481565b600b5481565b6123e68484846129fd565b6124058373ffffffffffffffffffffffffffffffffffffffff16613208565b801561241a57506124188484848461322b565b155b15612451576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61245f61293e565b73ffffffffffffffffffffffffffffffffffffffff1661247d612004565b73ffffffffffffffffffffffffffffffffffffffff16146124d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ca906145b5565b60405180910390fd5b80600b8190555050565b60606124e8826128f0565b61251e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061252861337c565b90506000815114156125495760405180602001604052806000815250612574565b806125538461340e565b6040516020016125649291906146be565b6040516020818303038152906040525b915050919050565b600d5481565b61258a61293e565b73ffffffffffffffffffffffffffffffffffffffff166125a8612004565b73ffffffffffffffffffffffffffffffffffffffff16146125fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f5906145b5565b60405180910390fd5b80600c8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a81565b6126a961293e565b73ffffffffffffffffffffffffffffffffffffffff166126c7612004565b73ffffffffffffffffffffffffffffffffffffffff161461271d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612714906145b5565b60405180910390fd5b60017f94a0ceaff566f17e407ea93841d07163c0b4f6ce21b5bc68b9132cf581e1af378260405161274e9190613e99565b60405180910390a250565b61276161293e565b73ffffffffffffffffffffffffffffffffffffffff1661277f612004565b73ffffffffffffffffffffffffffffffffffffffff16146127d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cc906145b5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283c90614754565b60405180910390fd5b61284e81613142565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000826128c8858461356f565b1490509392505050565b6128ec8282604051806020016040528060008152506135e4565b5050565b6000816128fb6129f8565b1115801561290a575060005482105b8015612937575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000612a0882612eb3565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a73576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612a9461293e565b73ffffffffffffffffffffffffffffffffffffffff161480612ac35750612ac285612abd61293e565b612608565b5b80612b085750612ad161293e565b73ffffffffffffffffffffffffffffffffffffffff16612af084610f6b565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612b41576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ba8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612bb585858560016135f6565b612bc160008487612946565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612e41576000548214612e4057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612eac85858560016135fc565b5050505050565b612ebb613a6d565b600082905080612ec96129f8565b11158015612ed8575060005481105b1561310b576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161310957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612fed57809250505061313d565b5b60011561310857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461310357809250505061313d565b612fee565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261325161293e565b8786866040518563ffffffff1660e01b815260040161327394939291906147c9565b6020604051808303816000875af19250505080156132af57506040513d601f19601f820116820180604052508101906132ac919061482a565b60015b613329573d80600081146132df576040519150601f19603f3d011682016040523d82523d6000602084013e6132e4565b606091505b50600081511415613321576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606009805461338b90614537565b80601f01602080910402602001604051908101604052809291908181526020018280546133b790614537565b80156134045780601f106133d957610100808354040283529160200191613404565b820191906000526020600020905b8154815290600101906020018083116133e757829003601f168201915b5050505050905090565b60606000821415613456576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061356a565b600082905060005b6000821461348857808061347190614857565b915050600a8261348191906148a0565b915061345e565b60008167ffffffffffffffff8111156134a4576134a3613f8d565b5b6040519080825280601f01601f1916602001820160405280156134d65781602001600182028036833780820191505090505b5090505b60008514613563576001826134ef91906148d1565b9150600a856134fe9190614651565b603061350a9190614421565b60f81b8183815181106135205761351f614905565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561355c91906148a0565b94506134da565b8093505050505b919050565b60008082905060005b84518110156135d957600085828151811061359657613595614905565b5b602002602001015190508083116135b8576135b18382613602565b92506135c5565b6135c28184613602565b92505b5080806135d190614857565b915050613578565b508091505092915050565b6135f18383836001613619565b505050565b50505050565b50505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613686576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156136c1576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6136ce60008683876135f6565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561389857506138978773ffffffffffffffffffffffffffffffffffffffff16613208565b5b1561395e575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461390d600088848060010195508861322b565b613943576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561389e57826000541461395957600080fd5b6139ca565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561395f575b8160008190555050506139e060008683876135fc565b5050505050565b8280546139f390614537565b90600052602060002090601f016020900481019282613a155760008555613a5c565b82601f10613a2e57805160ff1916838001178555613a5c565b82800160010185558215613a5c579182015b82811115613a5b578251825591602001919060010190613a40565b5b509050613a699190613ab0565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613ac9576000816000905550600101613ab1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b1681613ae1565b8114613b2157600080fd5b50565b600081359050613b3381613b0d565b92915050565b600060208284031215613b4f57613b4e613ad7565b5b6000613b5d84828501613b24565b91505092915050565b60008115159050919050565b613b7b81613b66565b82525050565b6000602082019050613b966000830184613b72565b92915050565b600060ff82169050919050565b613bb281613b9c565b8114613bbd57600080fd5b50565b600081359050613bcf81613ba9565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613bfa57613bf9613bd5565b5b8235905067ffffffffffffffff811115613c1757613c16613bda565b5b602083019150836020820283011115613c3357613c32613bdf565b5b9250929050565b600080600060408486031215613c5357613c52613ad7565b5b6000613c6186828701613bc0565b935050602084013567ffffffffffffffff811115613c8257613c81613adc565b5b613c8e86828701613be4565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015613cd4578082015181840152602081019050613cb9565b83811115613ce3576000848401525b50505050565b6000601f19601f8301169050919050565b6000613d0582613c9a565b613d0f8185613ca5565b9350613d1f818560208601613cb6565b613d2881613ce9565b840191505092915050565b60006020820190508181036000830152613d4d8184613cfa565b905092915050565b6000819050919050565b613d6881613d55565b8114613d7357600080fd5b50565b600081359050613d8581613d5f565b92915050565b600060208284031215613da157613da0613ad7565b5b6000613daf84828501613d76565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613de382613db8565b9050919050565b613df381613dd8565b82525050565b6000602082019050613e0e6000830184613dea565b92915050565b613e1d81613dd8565b8114613e2857600080fd5b50565b600081359050613e3a81613e14565b92915050565b60008060408385031215613e5757613e56613ad7565b5b6000613e6585828601613e2b565b9250506020613e7685828601613d76565b9150509250929050565b6000819050919050565b613e9381613e80565b82525050565b6000602082019050613eae6000830184613e8a565b92915050565b613ebd81613d55565b82525050565b6000602082019050613ed86000830184613eb4565b92915050565b600060208284031215613ef457613ef3613ad7565b5b6000613f0284828501613e2b565b91505092915050565b613f1481613b9c565b82525050565b6000602082019050613f2f6000830184613f0b565b92915050565b600080600060608486031215613f4e57613f4d613ad7565b5b6000613f5c86828701613e2b565b9350506020613f6d86828701613e2b565b9250506040613f7e86828701613d76565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613fc582613ce9565b810181811067ffffffffffffffff82111715613fe457613fe3613f8d565b5b80604052505050565b6000613ff7613acd565b90506140038282613fbc565b919050565b600067ffffffffffffffff82111561402357614022613f8d565b5b61402c82613ce9565b9050602081019050919050565b82818337600083830152505050565b600061405b61405684614008565b613fed565b90508281526020810184848401111561407757614076613f88565b5b614082848285614039565b509392505050565b600082601f83011261409f5761409e613bd5565b5b81356140af848260208601614048565b91505092915050565b6000602082840312156140ce576140cd613ad7565b5b600082013567ffffffffffffffff8111156140ec576140eb613adc565b5b6140f88482850161408a565b91505092915050565b60006020828403121561411757614116613ad7565b5b600061412584828501613bc0565b91505092915050565b61413781613b66565b811461414257600080fd5b50565b6000813590506141548161412e565b92915050565b6000806040838503121561417157614170613ad7565b5b600061417f85828601613e2b565b925050602061419085828601614145565b9150509250929050565b600067ffffffffffffffff8211156141b5576141b4613f8d565b5b6141be82613ce9565b9050602081019050919050565b60006141de6141d98461419a565b613fed565b9050828152602081018484840111156141fa576141f9613f88565b5b614205848285614039565b509392505050565b600082601f83011261422257614221613bd5565b5b81356142328482602086016141cb565b91505092915050565b6000806000806080858703121561425557614254613ad7565b5b600061426387828801613e2b565b945050602061427487828801613e2b565b935050604061428587828801613d76565b925050606085013567ffffffffffffffff8111156142a6576142a5613adc565b5b6142b28782880161420d565b91505092959194509250565b6142c781613e80565b81146142d257600080fd5b50565b6000813590506142e4816142be565b92915050565b600060208284031215614300576142ff613ad7565b5b600061430e848285016142d5565b91505092915050565b6000806040838503121561432e5761432d613ad7565b5b600061433c85828601613e2b565b925050602061434d85828601613e2b565b9150509250929050565b600061ffff82169050919050565b61436e81614357565b82525050565b60006020820190506143896000830184614365565b92915050565b60008160601b9050919050565b60006143a78261438f565b9050919050565b60006143b98261439c565b9050919050565b6143d16143cc82613dd8565b6143ae565b82525050565b60006143e382846143c0565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061442c82613d55565b915061443783613d55565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561446c5761446b6143f2565b5b828201905092915050565b600061448282613b9c565b915061448d83613b9c565b92508260ff038211156144a3576144a26143f2565b5b828201905092915050565b60006144b982613d55565b91506144c483613d55565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144fd576144fc6143f2565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061454f57607f821691505b6020821081141561456357614562614508565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061459f602083613ca5565b91506145aa82614569565b602082019050919050565b600060208201905081810360008301526145ce81614592565b9050919050565b6000819050919050565b6145f06145eb82613d55565b6145d5565b82525050565b600061460282856145df565b60208201915061461282846145df565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061465c82613d55565b915061466783613d55565b92508261467757614676614622565b5b828206905092915050565b600081905092915050565b600061469882613c9a565b6146a28185614682565b93506146b2818560208601613cb6565b80840191505092915050565b60006146ca828561468d565b91506146d6828461468d565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061473e602683613ca5565b9150614749826146e2565b604082019050919050565b6000602082019050818103600083015261476d81614731565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061479b82614774565b6147a5818561477f565b93506147b5818560208601613cb6565b6147be81613ce9565b840191505092915050565b60006080820190506147de6000830187613dea565b6147eb6020830186613dea565b6147f86040830185613eb4565b818103606083015261480a8184614790565b905095945050505050565b60008151905061482481613b0d565b92915050565b6000602082840312156148405761483f613ad7565b5b600061484e84828501614815565b91505092915050565b600061486282613d55565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614895576148946143f2565b5b600182019050919050565b60006148ab82613d55565b91506148b683613d55565b9250826148c6576148c5614622565b5b828204905092915050565b60006148dc82613d55565b91506148e783613d55565b9250828210156148fa576148f96143f2565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122090ca8f8a615b2900b8f065623f87f3ffa5658cf4b6120c8f4dfd3f4aa850dcc364736f6c634300080a0033
Deployed Bytecode
0x6080604052600436106102305760003560e01c8063715018a61161012e578063aa98e0c6116100ab578063d8a7ab891161006f578063d8a7ab89146107da578063e985e9c514610803578063eff31e9e14610840578063f0b57a6a1461086b578063f2fde38b1461089457610230565b8063aa98e0c6146106f5578063b88d4fde14610720578063bd32fb6614610749578063c87b56dd14610772578063d5abeb01146107af57610230565b80638df867f9116100f25780638df867f914610636578063915a76e51461064d57806395d89b4114610676578063a22cb465146106a1578063a781e6bf146106ca57610230565b8063715018a614610577578063735328021461058e57806378b004a2146105b7578063819b25ba146105e25780638da5cb5b1461060b57610230565b80632db11544116101bc57806359bc96401161018057806359bc96401461048b578063631123ab146104a75780636352211e146104d257806363d9d1661461050f57806370a082311461053a57610230565b80632db11544146103db5780633ccfd60b146103f757806342842e0e1461040e5780634864d8d91461043757806355f804b31461046257610230565b8063095ea7b311610203578063095ea7b3146102f65780630a3025301461031f57806318160ddd1461034a57806322053ca61461037557806323b872dd146103b257610230565b806301ffc9a71461023557806304a451771461027257806306fdde031461028e578063081812fc146102b9575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613b39565b6108bd565b6040516102699190613b81565b60405180910390f35b61028c60048036038101906102879190613c3a565b61099f565b005b34801561029a57600080fd5b506102a3610ed9565b6040516102b09190613d33565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613d8b565b610f6b565b6040516102ed9190613df9565b60405180910390f35b34801561030257600080fd5b5061031d60048036038101906103189190613e40565b610fe7565b005b34801561032b57600080fd5b506103346110f2565b6040516103419190613e99565b60405180910390f35b34801561035657600080fd5b5061035f6110f8565b60405161036c9190613ec3565b60405180910390f35b34801561038157600080fd5b5061039c60048036038101906103979190613ede565b61110f565b6040516103a99190613f1a565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190613f35565b61112f565b005b6103f560048036038101906103f09190613d8b565b61113f565b005b34801561040357600080fd5b5061040c6114a0565b005b34801561041a57600080fd5b5061043560048036038101906104309190613f35565b61156b565b005b34801561044357600080fd5b5061044c61158b565b6040516104599190613f1a565b60405180910390f35b34801561046e57600080fd5b50610489600480360381019061048491906140b8565b61159e565b005b6104a560048036038101906104a09190613c3a565b611634565b005b3480156104b357600080fd5b506104bc611b6e565b6040516104c99190613f1a565b60405180910390f35b3480156104de57600080fd5b506104f960048036038101906104f49190613d8b565b611b73565b6040516105069190613df9565b60405180910390f35b34801561051b57600080fd5b50610524611b89565b6040516105319190613ec3565b60405180910390f35b34801561054657600080fd5b50610561600480360381019061055c9190613ede565b611b94565b60405161056e9190613ec3565b60405180910390f35b34801561058357600080fd5b5061058c611c64565b005b34801561059a57600080fd5b506105b560048036038101906105b09190613d8b565b611cec565b005b3480156105c357600080fd5b506105cc611e72565b6040516105d99190613f1a565b60405180910390f35b3480156105ee57600080fd5b5061060960048036038101906106049190613d8b565b611e77565b005b34801561061757600080fd5b50610620612004565b60405161062d9190613df9565b60405180910390f35b34801561064257600080fd5b5061064b61202e565b005b34801561065957600080fd5b50610674600480360381019061066f9190614101565b61212c565b005b34801561068257600080fd5b5061068b6121c6565b6040516106989190613d33565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c3919061415a565b612258565b005b3480156106d657600080fd5b506106df6123d0565b6040516106ec9190613ec3565b60405180910390f35b34801561070157600080fd5b5061070a6123d5565b6040516107179190613e99565b60405180910390f35b34801561072c57600080fd5b506107476004803603810190610742919061423b565b6123db565b005b34801561075557600080fd5b50610770600480360381019061076b91906142ea565b612457565b005b34801561077e57600080fd5b5061079960048036038101906107949190613d8b565b6124dd565b6040516107a69190613d33565b60405180910390f35b3480156107bb57600080fd5b506107c461257c565b6040516107d19190613ec3565b60405180910390f35b3480156107e657600080fd5b5061080160048036038101906107fc91906142ea565b612582565b005b34801561080f57600080fd5b5061082a60048036038101906108259190614317565b612608565b6040516108379190613b81565b60405180910390f35b34801561084c57600080fd5b5061085561269c565b6040516108629190614374565b60405180910390f35b34801561087757600080fd5b50610892600480360381019061088d91906142ea565b6126a1565b005b3480156108a057600080fd5b506108bb60048036038101906108b69190613ede565b612759565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610998575061099782612851565b5b9050919050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600881526020017f4f6e6c7920454f4100000000000000000000000000000000000000000000000081525090610a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3c9190613d33565b60405180910390fd5b50600260ff168360ff1611156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090610ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abf9190613d33565b60405180910390fd5b506001600a60009054906101000a900460ff1660ff1610156040518060400160405280600f81526020017f4e6f74207374617274656420796574000000000000000000000000000000000081525090610b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4e9190613d33565b60405180910390fd5b506000610b626110f8565b9050600033604051602001610b7791906143d7565b6040516020818303038152906040528051906020012090506000610bdf858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b54846128bb565b9050806040518060400160405280600f81526020017f4e6f742077686974656c6973746564000000000000000000000000000000000081525090610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c509190613d33565b60405180910390fd5b50600d548660ff1684610c6c9190614421565b11156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090610ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdc9190613d33565b60405180910390fd5b50600260ff1686600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d439190614477565b60ff1611156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090610dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db69190613d33565b60405180910390fd5b50348660ff1666b1a2bc2ec50000610dd791906144ae565b11156040518060400160405280601181526020017f56616c7565206e6f7420636f727265637400000000000000000000000000000081525090610e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e479190613d33565b60405180910390fd5b5085600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16610eac9190614477565b92506101000a81548160ff021916908360ff160217905550610ed1338760ff166128d2565b505050505050565b606060028054610ee890614537565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1490614537565b8015610f615780601f10610f3657610100808354040283529160200191610f61565b820191906000526020600020905b815481529060010190602001808311610f4457829003601f168201915b5050505050905090565b6000610f76826128f0565b610fac576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ff282611b73565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561105a576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661107961293e565b73ffffffffffffffffffffffffffffffffffffffff16141580156110ab57506110a9816110a461293e565b612608565b155b156110e2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110ed838383612946565b505050565b600c5481565b60006111026129f8565b6001546000540303905090565b600e6020528060005260406000206000915054906101000a900460ff1681565b61113a8383836129fd565b505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600881526020017f4f6e6c7920454f41000000000000000000000000000000000000000000000000815250906111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc9190613d33565b60405180910390fd5b5060006111f06110f8565b9050600d5481106040518060400160405280600d81526020017f4d696e74696e6720656e646564000000000000000000000000000000000000008152509061126e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112659190613d33565b60405180910390fd5b506002600a60009054906101000a900460ff1660ff1610156040518060400160405280600f81526020017f4e6f742073746172746564207965740000000000000000000000000000000000815250906112fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f49190613d33565b60405180910390fd5b5060148211156040518060400160405280600e81526020017f4c696d69742065786365656465640000000000000000000000000000000000008152509061137a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113719190613d33565b60405180910390fd5b50600d54828261138a9190614421565b11156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090611403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fa9190613d33565b60405180910390fd5b50348266b1a2bc2ec5000061141891906144ae565b11156040518060400160405280601181526020017f56616c7565206e6f7420636f727265637400000000000000000000000000000081525090611491576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114889190613d33565b60405180910390fd5b5061149c33836128d2565b5050565b6114a861293e565b73ffffffffffffffffffffffffffffffffffffffff166114c6612004565b73ffffffffffffffffffffffffffffffffffffffff161461151c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611513906145b5565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611567573d6000803e3d6000fd5b5050565b611586838383604051806020016040528060008152506123db565b505050565b600a60009054906101000a900460ff1681565b6115a661293e565b73ffffffffffffffffffffffffffffffffffffffff166115c4612004565b73ffffffffffffffffffffffffffffffffffffffff161461161a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611611906145b5565b60405180910390fd5b80600990805190602001906116309291906139e7565b5050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600881526020017f4f6e6c7920454f41000000000000000000000000000000000000000000000000815250906116da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d19190613d33565b60405180910390fd5b50600360ff168360ff1611156040518060400160405280600e81526020017f4c696d69742065786365656465640000000000000000000000000000000000008152509061175d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117549190613d33565b60405180910390fd5b506001600a60009054906101000a900460ff1660ff1610156040518060400160405280600f81526020017f4e6f742073746172746564207965740000000000000000000000000000000000815250906117ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e39190613d33565b60405180910390fd5b5060006117f76110f8565b905060003360405160200161180c91906143d7565b6040516020818303038152906040528051906020012090506000611874858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54846128bb565b9050806040518060400160405280600f81526020017f4e6f742077686974656c69737465640000000000000000000000000000000000815250906118ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e59190613d33565b60405180910390fd5b50600d548660ff16846119019190614421565b11156040518060400160405280600e81526020017f4c696d69742065786365656465640000000000000000000000000000000000008152509061197a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119719190613d33565b60405180910390fd5b50600360ff1686600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166119d89190614477565b60ff1611156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090611a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4b9190613d33565b60405180910390fd5b50348660ff1666b1a2bc2ec50000611a6c91906144ae565b11156040518060400160405280601181526020017f56616c7565206e6f7420636f727265637400000000000000000000000000000081525090611ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adc9190613d33565b60405180910390fd5b5085600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611b419190614477565b92506101000a81548160ff021916908360ff160217905550611b66338760ff166128d2565b505050505050565b600381565b6000611b7e82612eb3565b600001519050919050565b66b1a2bc2ec5000081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bfc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611c6c61293e565b73ffffffffffffffffffffffffffffffffffffffff16611c8a612004565b73ffffffffffffffffffffffffffffffffffffffff1614611ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd7906145b5565b60405180910390fd5b611cea6000613142565b565b611cf461293e565b73ffffffffffffffffffffffffffffffffffffffff16611d12612004565b73ffffffffffffffffffffffffffffffffffffffff1614611d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5f906145b5565b60405180910390fd5b611d706110f8565b8110156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090611dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de19190613d33565b60405180910390fd5b50600d5481106040518060400160405280600b81526020017f526564756365206f6e6c7900000000000000000000000000000000000000000081525090611e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5e9190613d33565b60405180910390fd5b5080600d8190555050565b600281565b611e7f61293e565b73ffffffffffffffffffffffffffffffffffffffff16611e9d612004565b73ffffffffffffffffffffffffffffffffffffffff1614611ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eea906145b5565b60405180910390fd5b6000611efd6110f8565b146040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090611f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6c9190613d33565b60405180910390fd5b50600a61ffff168111156040518060400160405280600e81526020017f4c696d697420657863656564656400000000000000000000000000000000000081525090611ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fed9190613d33565b60405180910390fd5b5061200133826128d2565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61203661293e565b73ffffffffffffffffffffffffffffffffffffffff16612054612004565b73ffffffffffffffffffffffffffffffffffffffff16146120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a1906145b5565b60405180910390fd5b600044426040516020016120bf9291906145f6565b6040516020818303038152906040528051906020012060001c90506000600d54826120ea9190614651565b60001b905060027f94a0ceaff566f17e407ea93841d07163c0b4f6ce21b5bc68b9132cf581e1af37826040516121209190613e99565b60405180910390a25050565b61213461293e565b73ffffffffffffffffffffffffffffffffffffffff16612152612004565b73ffffffffffffffffffffffffffffffffffffffff16146121a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219f906145b5565b60405180910390fd5b80600a60006101000a81548160ff021916908360ff16021790555050565b6060600380546121d590614537565b80601f016020809104026020016040519081016040528092919081815260200182805461220190614537565b801561224e5780601f106122235761010080835404028352916020019161224e565b820191906000526020600020905b81548152906001019060200180831161223157829003601f168201915b5050505050905090565b61226061293e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122c5576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006122d261293e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661237f61293e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123c49190613b81565b60405180910390a35050565b601481565b600b5481565b6123e68484846129fd565b6124058373ffffffffffffffffffffffffffffffffffffffff16613208565b801561241a57506124188484848461322b565b155b15612451576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61245f61293e565b73ffffffffffffffffffffffffffffffffffffffff1661247d612004565b73ffffffffffffffffffffffffffffffffffffffff16146124d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ca906145b5565b60405180910390fd5b80600b8190555050565b60606124e8826128f0565b61251e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061252861337c565b90506000815114156125495760405180602001604052806000815250612574565b806125538461340e565b6040516020016125649291906146be565b6040516020818303038152906040525b915050919050565b600d5481565b61258a61293e565b73ffffffffffffffffffffffffffffffffffffffff166125a8612004565b73ffffffffffffffffffffffffffffffffffffffff16146125fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f5906145b5565b60405180910390fd5b80600c8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a81565b6126a961293e565b73ffffffffffffffffffffffffffffffffffffffff166126c7612004565b73ffffffffffffffffffffffffffffffffffffffff161461271d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612714906145b5565b60405180910390fd5b60017f94a0ceaff566f17e407ea93841d07163c0b4f6ce21b5bc68b9132cf581e1af378260405161274e9190613e99565b60405180910390a250565b61276161293e565b73ffffffffffffffffffffffffffffffffffffffff1661277f612004565b73ffffffffffffffffffffffffffffffffffffffff16146127d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cc906145b5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283c90614754565b60405180910390fd5b61284e81613142565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000826128c8858461356f565b1490509392505050565b6128ec8282604051806020016040528060008152506135e4565b5050565b6000816128fb6129f8565b1115801561290a575060005482105b8015612937575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000612a0882612eb3565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a73576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612a9461293e565b73ffffffffffffffffffffffffffffffffffffffff161480612ac35750612ac285612abd61293e565b612608565b5b80612b085750612ad161293e565b73ffffffffffffffffffffffffffffffffffffffff16612af084610f6b565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612b41576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ba8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612bb585858560016135f6565b612bc160008487612946565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612e41576000548214612e4057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612eac85858560016135fc565b5050505050565b612ebb613a6d565b600082905080612ec96129f8565b11158015612ed8575060005481105b1561310b576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161310957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612fed57809250505061313d565b5b60011561310857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461310357809250505061313d565b612fee565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261325161293e565b8786866040518563ffffffff1660e01b815260040161327394939291906147c9565b6020604051808303816000875af19250505080156132af57506040513d601f19601f820116820180604052508101906132ac919061482a565b60015b613329573d80600081146132df576040519150601f19603f3d011682016040523d82523d6000602084013e6132e4565b606091505b50600081511415613321576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606009805461338b90614537565b80601f01602080910402602001604051908101604052809291908181526020018280546133b790614537565b80156134045780601f106133d957610100808354040283529160200191613404565b820191906000526020600020905b8154815290600101906020018083116133e757829003601f168201915b5050505050905090565b60606000821415613456576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061356a565b600082905060005b6000821461348857808061347190614857565b915050600a8261348191906148a0565b915061345e565b60008167ffffffffffffffff8111156134a4576134a3613f8d565b5b6040519080825280601f01601f1916602001820160405280156134d65781602001600182028036833780820191505090505b5090505b60008514613563576001826134ef91906148d1565b9150600a856134fe9190614651565b603061350a9190614421565b60f81b8183815181106135205761351f614905565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561355c91906148a0565b94506134da565b8093505050505b919050565b60008082905060005b84518110156135d957600085828151811061359657613595614905565b5b602002602001015190508083116135b8576135b18382613602565b92506135c5565b6135c28184613602565b92505b5080806135d190614857565b915050613578565b508091505092915050565b6135f18383836001613619565b505050565b50505050565b50505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613686576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156136c1576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6136ce60008683876135f6565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561389857506138978773ffffffffffffffffffffffffffffffffffffffff16613208565b5b1561395e575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461390d600088848060010195508861322b565b613943576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561389e57826000541461395957600080fd5b6139ca565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561395f575b8160008190555050506139e060008683876135fc565b5050505050565b8280546139f390614537565b90600052602060002090601f016020900481019282613a155760008555613a5c565b82601f10613a2e57805160ff1916838001178555613a5c565b82800160010185558215613a5c579182015b82811115613a5b578251825591602001919060010190613a40565b5b509050613a699190613ab0565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613ac9576000816000905550600101613ab1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b1681613ae1565b8114613b2157600080fd5b50565b600081359050613b3381613b0d565b92915050565b600060208284031215613b4f57613b4e613ad7565b5b6000613b5d84828501613b24565b91505092915050565b60008115159050919050565b613b7b81613b66565b82525050565b6000602082019050613b966000830184613b72565b92915050565b600060ff82169050919050565b613bb281613b9c565b8114613bbd57600080fd5b50565b600081359050613bcf81613ba9565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613bfa57613bf9613bd5565b5b8235905067ffffffffffffffff811115613c1757613c16613bda565b5b602083019150836020820283011115613c3357613c32613bdf565b5b9250929050565b600080600060408486031215613c5357613c52613ad7565b5b6000613c6186828701613bc0565b935050602084013567ffffffffffffffff811115613c8257613c81613adc565b5b613c8e86828701613be4565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015613cd4578082015181840152602081019050613cb9565b83811115613ce3576000848401525b50505050565b6000601f19601f8301169050919050565b6000613d0582613c9a565b613d0f8185613ca5565b9350613d1f818560208601613cb6565b613d2881613ce9565b840191505092915050565b60006020820190508181036000830152613d4d8184613cfa565b905092915050565b6000819050919050565b613d6881613d55565b8114613d7357600080fd5b50565b600081359050613d8581613d5f565b92915050565b600060208284031215613da157613da0613ad7565b5b6000613daf84828501613d76565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613de382613db8565b9050919050565b613df381613dd8565b82525050565b6000602082019050613e0e6000830184613dea565b92915050565b613e1d81613dd8565b8114613e2857600080fd5b50565b600081359050613e3a81613e14565b92915050565b60008060408385031215613e5757613e56613ad7565b5b6000613e6585828601613e2b565b9250506020613e7685828601613d76565b9150509250929050565b6000819050919050565b613e9381613e80565b82525050565b6000602082019050613eae6000830184613e8a565b92915050565b613ebd81613d55565b82525050565b6000602082019050613ed86000830184613eb4565b92915050565b600060208284031215613ef457613ef3613ad7565b5b6000613f0284828501613e2b565b91505092915050565b613f1481613b9c565b82525050565b6000602082019050613f2f6000830184613f0b565b92915050565b600080600060608486031215613f4e57613f4d613ad7565b5b6000613f5c86828701613e2b565b9350506020613f6d86828701613e2b565b9250506040613f7e86828701613d76565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613fc582613ce9565b810181811067ffffffffffffffff82111715613fe457613fe3613f8d565b5b80604052505050565b6000613ff7613acd565b90506140038282613fbc565b919050565b600067ffffffffffffffff82111561402357614022613f8d565b5b61402c82613ce9565b9050602081019050919050565b82818337600083830152505050565b600061405b61405684614008565b613fed565b90508281526020810184848401111561407757614076613f88565b5b614082848285614039565b509392505050565b600082601f83011261409f5761409e613bd5565b5b81356140af848260208601614048565b91505092915050565b6000602082840312156140ce576140cd613ad7565b5b600082013567ffffffffffffffff8111156140ec576140eb613adc565b5b6140f88482850161408a565b91505092915050565b60006020828403121561411757614116613ad7565b5b600061412584828501613bc0565b91505092915050565b61413781613b66565b811461414257600080fd5b50565b6000813590506141548161412e565b92915050565b6000806040838503121561417157614170613ad7565b5b600061417f85828601613e2b565b925050602061419085828601614145565b9150509250929050565b600067ffffffffffffffff8211156141b5576141b4613f8d565b5b6141be82613ce9565b9050602081019050919050565b60006141de6141d98461419a565b613fed565b9050828152602081018484840111156141fa576141f9613f88565b5b614205848285614039565b509392505050565b600082601f83011261422257614221613bd5565b5b81356142328482602086016141cb565b91505092915050565b6000806000806080858703121561425557614254613ad7565b5b600061426387828801613e2b565b945050602061427487828801613e2b565b935050604061428587828801613d76565b925050606085013567ffffffffffffffff8111156142a6576142a5613adc565b5b6142b28782880161420d565b91505092959194509250565b6142c781613e80565b81146142d257600080fd5b50565b6000813590506142e4816142be565b92915050565b600060208284031215614300576142ff613ad7565b5b600061430e848285016142d5565b91505092915050565b6000806040838503121561432e5761432d613ad7565b5b600061433c85828601613e2b565b925050602061434d85828601613e2b565b9150509250929050565b600061ffff82169050919050565b61436e81614357565b82525050565b60006020820190506143896000830184614365565b92915050565b60008160601b9050919050565b60006143a78261438f565b9050919050565b60006143b98261439c565b9050919050565b6143d16143cc82613dd8565b6143ae565b82525050565b60006143e382846143c0565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061442c82613d55565b915061443783613d55565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561446c5761446b6143f2565b5b828201905092915050565b600061448282613b9c565b915061448d83613b9c565b92508260ff038211156144a3576144a26143f2565b5b828201905092915050565b60006144b982613d55565b91506144c483613d55565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144fd576144fc6143f2565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061454f57607f821691505b6020821081141561456357614562614508565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061459f602083613ca5565b91506145aa82614569565b602082019050919050565b600060208201905081810360008301526145ce81614592565b9050919050565b6000819050919050565b6145f06145eb82613d55565b6145d5565b82525050565b600061460282856145df565b60208201915061461282846145df565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061465c82613d55565b915061466783613d55565b92508261467757614676614622565b5b828206905092915050565b600081905092915050565b600061469882613c9a565b6146a28185614682565b93506146b2818560208601613cb6565b80840191505092915050565b60006146ca828561468d565b91506146d6828461468d565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061473e602683613ca5565b9150614749826146e2565b604082019050919050565b6000602082019050818103600083015261476d81614731565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061479b82614774565b6147a5818561477f565b93506147b5818560208601613cb6565b6147be81613ce9565b840191505092915050565b60006080820190506147de6000830187613dea565b6147eb6020830186613dea565b6147f86040830185613eb4565b818103606083015261480a8184614790565b905095945050505050565b60008151905061482481613b0d565b92915050565b6000602082840312156148405761483f613ad7565b5b600061484e84828501614815565b91505092915050565b600061486282613d55565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614895576148946143f2565b5b600182019050919050565b60006148ab82613d55565b91506148b683613d55565b9250826148c6576148c5614622565b5b828204905092915050565b60006148dc82613d55565b91506148e783613d55565b9250828210156148fa576148f96143f2565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122090ca8f8a615b2900b8f065623f87f3ffa5658cf4b6120c8f4dfd3f4aa850dcc364736f6c634300080a0033
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.