ERC-721
Overview
Max Total Supply
0 MVTR
Holders
454
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MVTRLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Metavatar
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.9; /* ███ ███ ███████ ████████ █████ ██ ██ █████ ████████ █████ ██████ ████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ █████ ██ ███████ ██ ██ ███████ ██ ███████ ██████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███████ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ */ import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; // import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "./interfaces/IMetavatarGenerator.sol"; // import "hardhat/console.sol"; contract Metavatar is ERC721, ReentrancyGuard, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 public constant MAX_SUPPLY = 10000; uint256 public price = 0.04 ether; uint256 public whitelistPrice = 0.02 ether; uint256 public constant MAX_PER_TX = 8; uint256 public constant MAX_PER_ADDRESS = 10; uint256 public constant MAX_PER_ADDRESS_WHITELIST = 5; uint256 public constant MAX_PER_FOUNDER_ADDRESS = 30; bool public publicSaleActive = false; bool public whitelistSaleActive = true; bytes32 public whitelistMerkleRoot; IMetavatarGenerator public generator; mapping(uint256 => uint256) private seed; mapping(address => bool) public founderList; mapping(address => uint256) private _mintedPerAddress; mapping(address => uint256) private _whitelistMintedPerAddress; event MetavatarsMinted( address sender, uint256 minted_count, uint256 lastMintedTokenID ); modifier isFounder() { require(founderList[msg.sender], "Not in founders list"); _; } constructor(IMetavatarGenerator _generator) ERC721("Metavatar", "MVTR") { generator = _generator; _tokenIds.increment(); // start from 1 } function setGenerator(IMetavatarGenerator _generator) external onlyOwner { generator = _generator; } function _bulkMint(uint256 numTokens, address destination) private { require(tokensMinted() <= MAX_SUPPLY, "All metavatars minted"); require( tokensMinted() + numTokens <= MAX_SUPPLY, "Minting exceeds max supply" ); for (uint256 i = 0; i < numTokens; i++) { uint256 newItemId = _tokenIds.current(); _safeMint(destination, newItemId); _tokenIds.increment(); seed[newItemId] = uint256( keccak256( abi.encodePacked( newItemId, destination, block.difficulty, block.timestamp ) ) ); } _mintedPerAddress[destination] += numTokens; emit MetavatarsMinted(destination, numTokens, _tokenIds.current() - 1); } function claim(uint256 numTokens) public payable virtual nonReentrant { require(publicSaleActive, "Public sale not open"); require(numTokens > 0, "numTokens cannot be 0"); require(price * numTokens <= msg.value, "incorrect ETH amount"); require( _mintedPerAddress[msg.sender] + numTokens <= MAX_PER_ADDRESS, "Exceeds wallet limit" ); require(numTokens <= MAX_PER_TX, "Mint upto 8 metavatars at a time"); _bulkMint(numTokens, msg.sender); } function whitelistClaim(uint256 numTokens, bytes32[] calldata merkleProof) external payable virtual nonReentrant { require(whitelistSaleActive, "Whitelist sale not open"); require(numTokens > 0, "numTokens cannot be 0"); require( _whitelistMintedPerAddress[msg.sender] <= MAX_PER_ADDRESS_WHITELIST, "Max allowed metavatars claimed by this wallet" ); require( MerkleProof.verify( merkleProof, whitelistMerkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "Address does not exist in whitelist" ); require( whitelistPrice * numTokens <= msg.value, "Need more funds to mint metavatar(s)" ); _bulkMint(numTokens, msg.sender); } function airdrop(address[] memory to) public onlyOwner { require( tokensMinted() + to.length <= MAX_SUPPLY, "Minting exceeds max supply" ); for (uint256 i = 0; i < to.length; i++) { uint256 newItemId = _tokenIds.current(); _safeMint(to[i], newItemId); _tokenIds.increment(); seed[newItemId] = uint256( keccak256( abi.encodePacked( newItemId, to[i], block.difficulty, block.timestamp ) ) ); } } function claimForFriend(uint256 numTokens, address walletAddress) public payable virtual { require(publicSaleActive, "Public sale not open"); require( price * numTokens <= msg.value, "Need more funds to mint metavatar nft" ); require( _mintedPerAddress[msg.sender] + numTokens <= MAX_PER_ADDRESS, "Exceeds wallet limit" ); require(numTokens <= MAX_PER_TX, "Mint upto 8 metavatars at a time"); _bulkMint(numTokens, walletAddress); } function ownerClaim(uint256 numTokens) public onlyOwner { _bulkMint(numTokens, msg.sender); } function founderClaim(uint256 numTokens) public isFounder { require(numTokens > 0, "numTokens cannot be 0"); require( _mintedPerAddress[msg.sender] + numTokens <= MAX_PER_FOUNDER_ADDRESS, "Exceeds founder wallet limit" ); _bulkMint(numTokens, msg.sender); } function dataURI(uint256 tokenId) public view returns (string memory) { require(tokenId > 0 && tokenId <= tokensMinted(), "Invalid token ID"); return generator.dataURI(tokenId, Strings.toString(seed[tokenId])); } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(tokenId > 0 && tokenId <= tokensMinted(), "Invalid token ID"); return generator.tokenURI(tokenId, Strings.toString(seed[tokenId])); } function withdrawAll() public payable onlyOwner { require(payable(msg.sender).send(address(this).balance)); } function tokensMinted() public view returns (uint256) { return _tokenIds.current() - 1; } function isSaleActive() external view returns (bool) { return publicSaleActive; } function isWhitelistSaleActive() external view returns (bool) { return whitelistSaleActive; } function setWhitelistMerkleRoot(bytes32 merkleRoot) external onlyOwner { whitelistMerkleRoot = merkleRoot; } function setSaleActive(bool status) public onlyOwner { publicSaleActive = status; } function setWhitelistSaleActive(bool status) public onlyOwner { whitelistSaleActive = status; } function setFounderList(address[] calldata founderAddr) external onlyOwner { for (uint256 i = 0; i < founderAddr.length; i++) { founderList[founderAddr[i]] = true; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @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 virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); 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 virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.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 = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.9; interface IMetavatarGenerator { struct MetavatarStruct { uint256 numShapes; string background; bool lightMode; string bgOpacity; bool animated; } struct Shape { uint256 shapeType; // 0: rectange, 1: ellipses, 2: triangle uint256 xpos; uint256 ypos; uint256 width; uint256 height; uint256 fillType; // 0: solid, 1: gradient string fillValue; } struct LG { string id; string stopColor1; string stopColor2; string stopOpacity1; string stopOpacity2; } function tokenURI(uint256 tokenId, string memory seed) external view returns (string memory); function dataURI(uint256 tokenId, string memory seed) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `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.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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.0 (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.0 (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.0 (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":[{"internalType":"contract IMetavatarGenerator","name":"_generator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"minted_count","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastMintedTokenID","type":"uint256"}],"name":"MetavatarsMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_ADDRESS_WHITELIST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_FOUNDER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":"numTokens","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"},{"internalType":"address","name":"walletAddress","type":"address"}],"name":"claimForFriend","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"dataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"founderClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"founderList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"generator","outputs":[{"internalType":"contract IMetavatarGenerator","name":"","type":"address"}],"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":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"ownerClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"founderAddr","type":"address[]"}],"name":"setFounderList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMetavatarGenerator","name":"_generator","type":"address"}],"name":"setGenerator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setWhitelistSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensMinted","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":[{"internalType":"uint256","name":"numTokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"whitelistClaim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052668e1bc9bf04000060095566470de4df820000600a556000600b60006101000a81548160ff0219169083151502179055506001600b60016101000a81548160ff0219169083151502179055503480156200005d57600080fd5b5060405162005693380380620056938339818101604052810190620000839190620003bc565b6040518060400160405280600981526020017f4d657461766174617200000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4d565452000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001079291906200028e565b508060019080519060200190620001209291906200028e565b50505060016006819055506200014b6200013f620001aa60201b60201c565b620001b260201b60201c565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001a360086200027860201b620023501760201c565b5062000453565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b8280546200029c906200041d565b90600052602060002090601f016020900481019282620002c057600085556200030c565b82601f10620002db57805160ff19168380011785556200030c565b828001600101855582156200030c579182015b828111156200030b578251825591602001919060010190620002ee565b5b5090506200031b91906200031f565b5090565b5b808211156200033a57600081600090555060010162000320565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003708262000343565b9050919050565b6000620003848262000363565b9050919050565b620003968162000377565b8114620003a257600080fd5b50565b600081519050620003b6816200038b565b92915050565b600060208284031215620003d557620003d46200033e565b5b6000620003e584828501620003a5565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200043657607f821691505b602082108114156200044d576200044c620003ee565b5b50919050565b61523080620004636000396000f3fe6080604052600436106102675760003560e01c8063715018a611610144578063af783b81116100b6578063c87b56dd1161007a578063c87b56dd146108cd578063d70eee5a1461090a578063e985e9c514610926578063f2fde38b14610963578063f43a22dc1461098c578063fc1a1c36146109b757610267565b8063af783b81146107e8578063b88d4fde14610825578063b98451cf1461084e578063bc8893b414610879578063bd32fb66146108a457610267565b80638da5cb5b116101085780638da5cb5b146106e8578063914b44f71461071357806395d89b411461073e578063a035b1fe14610769578063a22cb46514610794578063aa98e0c6146107bd57610267565b8063715018a61461064a578063729ad39e146106615780637afa1eed1461068a578063841718a6146106b5578063853828b6146106de57610267565b806342842e0e116101dd5780635ac1e3bb116101a15780635ac1e3bb1461052357806360586223146105605780636352211e1461057c5780636a78f227146105b95780636de9f32b146105e257806370a082311461060d57610267565b806342842e0e14610454578063434f48c41461047d5780634a7c7e4b146104a657806355de3343146104cf578063564566a8146104f857610267565b806323b872dd1161022f57806323b872dd1461036557806332cb6b0c1461038e5780633368c89b146103b9578063379607f5146103e25780633ad7f56c146103fe5780633f83644c1461042957610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b3146103115780630aaef2851461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613337565b6109e2565b6040516102a0919061337f565b60405180910390f35b3480156102b557600080fd5b506102be610ac4565b6040516102cb9190613433565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f6919061348b565b610b56565b60405161030891906134f9565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190613540565b610bdb565b005b34801561034657600080fd5b5061034f610cf3565b60405161035c919061358f565b60405180910390f35b34801561037157600080fd5b5061038c600480360381019061038791906135aa565b610cf8565b005b34801561039a57600080fd5b506103a3610d58565b6040516103b0919061358f565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190613662565b610d5e565b005b6103fc60048036038101906103f7919061348b565b610e7f565b005b34801561040a57600080fd5b50610413611096565b604051610420919061337f565b60405180910390f35b34801561043557600080fd5b5061043e6110a9565b60405161044b919061358f565b60405180910390f35b34801561046057600080fd5b5061047b600480360381019061047691906135aa565b6110ae565b005b34801561048957600080fd5b506104a4600480360381019061049f919061348b565b6110ce565b005b3480156104b257600080fd5b506104cd60048036038101906104c891906136ed565b611157565b005b3480156104db57600080fd5b506104f660048036038101906104f1919061348b565b611217565b005b34801561050457600080fd5b5061050d611381565b60405161051a919061337f565b60405180910390f35b34801561052f57600080fd5b5061054a6004803603810190610545919061348b565b611398565b6040516105579190613433565b60405180910390f35b61057a6004803603810190610575919061371a565b6114c4565b005b34801561058857600080fd5b506105a3600480360381019061059e919061348b565b611643565b6040516105b091906134f9565b60405180910390f35b3480156105c557600080fd5b506105e060048036038101906105db9190613786565b6116f5565b005b3480156105ee57600080fd5b506105f761178e565b604051610604919061358f565b60405180910390f35b34801561061957600080fd5b50610634600480360381019061062f91906137b3565b6117ab565b604051610641919061358f565b60405180910390f35b34801561065657600080fd5b5061065f611863565b005b34801561066d57600080fd5b506106886004803603810190610683919061391e565b6118eb565b005b34801561069657600080fd5b5061069f611a80565b6040516106ac91906139c6565b60405180910390f35b3480156106c157600080fd5b506106dc60048036038101906106d79190613786565b611aa6565b005b6106e6611b3f565b005b3480156106f457600080fd5b506106fd611bfb565b60405161070a91906134f9565b60405180910390f35b34801561071f57600080fd5b50610728611c25565b604051610735919061358f565b60405180910390f35b34801561074a57600080fd5b50610753611c2a565b6040516107609190613433565b60405180910390f35b34801561077557600080fd5b5061077e611cbc565b60405161078b919061358f565b60405180910390f35b3480156107a057600080fd5b506107bb60048036038101906107b691906139e1565b611cc2565b005b3480156107c957600080fd5b506107d2611cd8565b6040516107df9190613a3a565b60405180910390f35b3480156107f457600080fd5b5061080f600480360381019061080a91906137b3565b611cde565b60405161081c919061337f565b60405180910390f35b34801561083157600080fd5b5061084c60048036038101906108479190613b0a565b611cfe565b005b34801561085a57600080fd5b50610863611d60565b604051610870919061337f565b60405180910390f35b34801561088557600080fd5b5061088e611d77565b60405161089b919061337f565b60405180910390f35b3480156108b057600080fd5b506108cb60048036038101906108c69190613bb9565b611d8a565b005b3480156108d957600080fd5b506108f460048036038101906108ef919061348b565b611e10565b6040516109019190613433565b60405180910390f35b610924600480360381019061091f9190613c3c565b611f3c565b005b34801561093257600080fd5b5061094d60048036038101906109489190613c9c565b6121b9565b60405161095a919061337f565b60405180910390f35b34801561096f57600080fd5b5061098a600480360381019061098591906137b3565b61224d565b005b34801561099857600080fd5b506109a1612345565b6040516109ae919061358f565b60405180910390f35b3480156109c357600080fd5b506109cc61234a565b6040516109d9919061358f565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aad57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610abd5750610abc82612366565b5b9050919050565b606060008054610ad390613d0b565b80601f0160208091040260200160405190810160405280929190818152602001828054610aff90613d0b565b8015610b4c5780601f10610b2157610100808354040283529160200191610b4c565b820191906000526020600020905b815481529060010190602001808311610b2f57829003601f168201915b5050505050905090565b6000610b61826123d0565b610ba0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9790613daf565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610be682611643565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e90613e41565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c7661243c565b73ffffffffffffffffffffffffffffffffffffffff161480610ca55750610ca481610c9f61243c565b6121b9565b5b610ce4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdb90613ed3565b60405180910390fd5b610cee8383612444565b505050565b600a81565b610d09610d0361243c565b826124fd565b610d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3f90613f65565b60405180910390fd5b610d538383836125db565b505050565b61271081565b610d6661243c565b73ffffffffffffffffffffffffffffffffffffffff16610d84611bfb565b73ffffffffffffffffffffffffffffffffffffffff1614610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd190613fd1565b60405180910390fd5b60005b82829050811015610e7a576001600f6000858585818110610e0157610e00613ff1565b5b9050602002016020810190610e1691906137b3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610e729061404f565b915050610ddd565b505050565b60026006541415610ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebc906140e4565b60405180910390fd5b6002600681905550600b60009054906101000a900460ff16610f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1390614150565b60405180910390fd5b60008111610f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f56906141bc565b60405180910390fd5b3481600954610f6e91906141dc565b1115610faf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa690614282565b60405180910390fd5b600a81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ffc91906142a2565b111561103d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103490614344565b60405180910390fd5b6008811115611081576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611078906143b0565b60405180910390fd5b61108b8133612837565b600160068190555050565b600b60019054906101000a900460ff1681565b600581565b6110c983838360405180602001604052806000815250611cfe565b505050565b6110d661243c565b73ffffffffffffffffffffffffffffffffffffffff166110f4611bfb565b73ffffffffffffffffffffffffffffffffffffffff161461114a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114190613fd1565b60405180910390fd5b6111548133612837565b50565b61115f61243c565b73ffffffffffffffffffffffffffffffffffffffff1661117d611bfb565b73ffffffffffffffffffffffffffffffffffffffff16146111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca90613fd1565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a9061441c565b60405180910390fd5b600081116112e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dd906141bc565b60405180910390fd5b601e81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461133391906142a2565b1115611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b90614488565b60405180910390fd5b61137e8133612837565b50565b6000600b60009054906101000a900460ff16905090565b60606000821180156113b157506113ad61178e565b8211155b6113f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e7906144f4565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663818990898361144b600e600087815260200190815260200160002054612a0d565b6040518363ffffffff1660e01b8152600401611468929190614514565b60006040518083038186803b15801561148057600080fd5b505afa158015611494573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906114bd91906145e5565b9050919050565b600b60009054906101000a900460ff16611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a90614150565b60405180910390fd5b348260095461152291906141dc565b1115611563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155a906146a0565b60405180910390fd5b600a82601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115b091906142a2565b11156115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890614344565b60405180910390fd5b6008821115611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c906143b0565b60405180910390fd5b61163f8282612837565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e390614732565b60405180910390fd5b80915050919050565b6116fd61243c565b73ffffffffffffffffffffffffffffffffffffffff1661171b611bfb565b73ffffffffffffffffffffffffffffffffffffffff1614611771576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176890613fd1565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b6000600161179c6008612b6e565b6117a69190614752565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561181c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611813906147f8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61186b61243c565b73ffffffffffffffffffffffffffffffffffffffff16611889611bfb565b73ffffffffffffffffffffffffffffffffffffffff16146118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690613fd1565b60405180910390fd5b6118e96000612b7c565b565b6118f361243c565b73ffffffffffffffffffffffffffffffffffffffff16611911611bfb565b73ffffffffffffffffffffffffffffffffffffffff1614611967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195e90613fd1565b60405180910390fd5b612710815161197461178e565b61197e91906142a2565b11156119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b690614864565b60405180910390fd5b60005b8151811015611a7c5760006119d76008612b6e565b90506119fd8383815181106119ef576119ee613ff1565b5b602002602001015182612c42565b611a076008612350565b80838381518110611a1b57611a1a613ff1565b5b60200260200101514442604051602001611a3894939291906148ed565b6040516020818303038152906040528051906020012060001c600e600083815260200190815260200160002081905550508080611a749061404f565b9150506119c2565b5050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611aae61243c565b73ffffffffffffffffffffffffffffffffffffffff16611acc611bfb565b73ffffffffffffffffffffffffffffffffffffffff1614611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1990613fd1565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b611b4761243c565b73ffffffffffffffffffffffffffffffffffffffff16611b65611bfb565b73ffffffffffffffffffffffffffffffffffffffff1614611bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb290613fd1565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611bf957600080fd5b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601e81565b606060018054611c3990613d0b565b80601f0160208091040260200160405190810160405280929190818152602001828054611c6590613d0b565b8015611cb25780601f10611c8757610100808354040283529160200191611cb2565b820191906000526020600020905b815481529060010190602001808311611c9557829003601f168201915b5050505050905090565b60095481565b611cd4611ccd61243c565b8383612c60565b5050565b600c5481565b600f6020528060005260406000206000915054906101000a900460ff1681565b611d0f611d0961243c565b836124fd565b611d4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4590613f65565b60405180910390fd5b611d5a84848484612dcd565b50505050565b6000600b60019054906101000a900460ff16905090565b600b60009054906101000a900460ff1681565b611d9261243c565b73ffffffffffffffffffffffffffffffffffffffff16611db0611bfb565b73ffffffffffffffffffffffffffffffffffffffff1614611e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfd90613fd1565b60405180910390fd5b80600c8190555050565b6060600082118015611e295750611e2561178e565b8211155b611e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5f906144f4565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166341dcf45483611ec3600e600087815260200190815260200160002054612a0d565b6040518363ffffffff1660e01b8152600401611ee0929190614514565b60006040518083038186803b158015611ef857600080fd5b505afa158015611f0c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611f3591906145e5565b9050919050565b60026006541415611f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f79906140e4565b60405180910390fd5b6002600681905550600b60019054906101000a900460ff16611fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd090614987565b60405180910390fd5b6000831161201c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612013906141bc565b60405180910390fd5b6005601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561209f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209690614a19565b60405180910390fd5b612113828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54336040516020016120f89190614a39565b60405160208183030381529060405280519060200120612e29565b612152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214990614ac6565b60405180910390fd5b3483600a5461216191906141dc565b11156121a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219990614b58565b60405180910390fd5b6121ac8333612837565b6001600681905550505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61225561243c565b73ffffffffffffffffffffffffffffffffffffffff16612273611bfb565b73ffffffffffffffffffffffffffffffffffffffff16146122c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c090613fd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233090614bea565b60405180910390fd5b61234281612b7c565b50565b600881565b600a5481565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166124b783611643565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612508826123d0565b612547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253e90614c7c565b60405180910390fd5b600061255283611643565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125c157508373ffffffffffffffffffffffffffffffffffffffff166125a984610b56565b73ffffffffffffffffffffffffffffffffffffffff16145b806125d257506125d181856121b9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125fb82611643565b73ffffffffffffffffffffffffffffffffffffffff1614612651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264890614d0e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b890614da0565b60405180910390fd5b6126cc838383612e40565b6126d7600082612444565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127279190614752565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461277e91906142a2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61271061284261178e565b1115612883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287a90614e0c565b60405180910390fd5b6127108261288f61178e565b61289991906142a2565b11156128da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d190614864565b60405180910390fd5b60005b828110156129625760006128f16008612b6e565b90506128fd8382612c42565b6129076008612350565b8083444260405160200161291e94939291906148ed565b6040516020818303038152906040528051906020012060001c600e60008381526020019081526020016000208190555050808061295a9061404f565b9150506128dd565b5081601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129b291906142a2565b925050819055507fe97bd2cbe790a8f6689bab592432a55c1d3bfdc2a2b5df4ce84f78ae5117193f818360016129e86008612b6e565b6129f29190614752565b604051612a0193929190614e2c565b60405180910390a15050565b60606000821415612a55576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b69565b600082905060005b60008214612a87578080612a709061404f565b915050600a82612a809190614e92565b9150612a5d565b60008167ffffffffffffffff811115612aa357612aa26137e0565b5b6040519080825280601f01601f191660200182016040528015612ad55781602001600182028036833780820191505090505b5090505b60008514612b6257600182612aee9190614752565b9150600a85612afd9190614ec3565b6030612b0991906142a2565b60f81b818381518110612b1f57612b1e613ff1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b5b9190614e92565b9450612ad9565b8093505050505b919050565b600081600001549050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c5c828260405180602001604052806000815250612e45565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc690614f40565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612dc0919061337f565b60405180910390a3505050565b612dd88484846125db565b612de484848484612ea0565b612e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1a90614fd2565b60405180910390fd5b50505050565b600082612e368584613037565b1490509392505050565b505050565b612e4f83836130ea565b612e5c6000848484612ea0565b612e9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9290614fd2565b60405180910390fd5b505050565b6000612ec18473ffffffffffffffffffffffffffffffffffffffff166132b8565b1561302a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eea61243c565b8786866040518563ffffffff1660e01b8152600401612f0c9493929190615047565b602060405180830381600087803b158015612f2657600080fd5b505af1925050508015612f5757506040513d601f19601f82011682018060405250810190612f5491906150a8565b60015b612fda573d8060008114612f87576040519150601f19603f3d011682016040523d82523d6000602084013e612f8c565b606091505b50600081511415612fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc990614fd2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061302f565b600190505b949350505050565b60008082905060005b84518110156130df57600085828151811061305e5761305d613ff1565b5b6020026020010151905080831161309f5782816040516020016130829291906150f6565b6040516020818303038152906040528051906020012092506130cb565b80836040516020016130b29291906150f6565b6040516020818303038152906040528051906020012092505b5080806130d79061404f565b915050613040565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561315a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131519061516e565b60405180910390fd5b613163816123d0565b156131a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319a906151da565b60405180910390fd5b6131af60008383612e40565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131ff91906142a2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613314816132df565b811461331f57600080fd5b50565b6000813590506133318161330b565b92915050565b60006020828403121561334d5761334c6132d5565b5b600061335b84828501613322565b91505092915050565b60008115159050919050565b61337981613364565b82525050565b60006020820190506133946000830184613370565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156133d45780820151818401526020810190506133b9565b838111156133e3576000848401525b50505050565b6000601f19601f8301169050919050565b60006134058261339a565b61340f81856133a5565b935061341f8185602086016133b6565b613428816133e9565b840191505092915050565b6000602082019050818103600083015261344d81846133fa565b905092915050565b6000819050919050565b61346881613455565b811461347357600080fd5b50565b6000813590506134858161345f565b92915050565b6000602082840312156134a1576134a06132d5565b5b60006134af84828501613476565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134e3826134b8565b9050919050565b6134f3816134d8565b82525050565b600060208201905061350e60008301846134ea565b92915050565b61351d816134d8565b811461352857600080fd5b50565b60008135905061353a81613514565b92915050565b60008060408385031215613557576135566132d5565b5b60006135658582860161352b565b925050602061357685828601613476565b9150509250929050565b61358981613455565b82525050565b60006020820190506135a46000830184613580565b92915050565b6000806000606084860312156135c3576135c26132d5565b5b60006135d18682870161352b565b93505060206135e28682870161352b565b92505060406135f386828701613476565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613622576136216135fd565b5b8235905067ffffffffffffffff81111561363f5761363e613602565b5b60208301915083602082028301111561365b5761365a613607565b5b9250929050565b60008060208385031215613679576136786132d5565b5b600083013567ffffffffffffffff811115613697576136966132da565b5b6136a38582860161360c565b92509250509250929050565b60006136ba826134d8565b9050919050565b6136ca816136af565b81146136d557600080fd5b50565b6000813590506136e7816136c1565b92915050565b600060208284031215613703576137026132d5565b5b6000613711848285016136d8565b91505092915050565b60008060408385031215613731576137306132d5565b5b600061373f85828601613476565b92505060206137508582860161352b565b9150509250929050565b61376381613364565b811461376e57600080fd5b50565b6000813590506137808161375a565b92915050565b60006020828403121561379c5761379b6132d5565b5b60006137aa84828501613771565b91505092915050565b6000602082840312156137c9576137c86132d5565b5b60006137d78482850161352b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613818826133e9565b810181811067ffffffffffffffff82111715613837576138366137e0565b5b80604052505050565b600061384a6132cb565b9050613856828261380f565b919050565b600067ffffffffffffffff821115613876576138756137e0565b5b602082029050602081019050919050565b600061389a6138958461385b565b613840565b905080838252602082019050602084028301858111156138bd576138bc613607565b5b835b818110156138e657806138d2888261352b565b8452602084019350506020810190506138bf565b5050509392505050565b600082601f830112613905576139046135fd565b5b8135613915848260208601613887565b91505092915050565b600060208284031215613934576139336132d5565b5b600082013567ffffffffffffffff811115613952576139516132da565b5b61395e848285016138f0565b91505092915050565b6000819050919050565b600061398c613987613982846134b8565b613967565b6134b8565b9050919050565b600061399e82613971565b9050919050565b60006139b082613993565b9050919050565b6139c0816139a5565b82525050565b60006020820190506139db60008301846139b7565b92915050565b600080604083850312156139f8576139f76132d5565b5b6000613a068582860161352b565b9250506020613a1785828601613771565b9150509250929050565b6000819050919050565b613a3481613a21565b82525050565b6000602082019050613a4f6000830184613a2b565b92915050565b600080fd5b600067ffffffffffffffff821115613a7557613a746137e0565b5b613a7e826133e9565b9050602081019050919050565b82818337600083830152505050565b6000613aad613aa884613a5a565b613840565b905082815260208101848484011115613ac957613ac8613a55565b5b613ad4848285613a8b565b509392505050565b600082601f830112613af157613af06135fd565b5b8135613b01848260208601613a9a565b91505092915050565b60008060008060808587031215613b2457613b236132d5565b5b6000613b328782880161352b565b9450506020613b438782880161352b565b9350506040613b5487828801613476565b925050606085013567ffffffffffffffff811115613b7557613b746132da565b5b613b8187828801613adc565b91505092959194509250565b613b9681613a21565b8114613ba157600080fd5b50565b600081359050613bb381613b8d565b92915050565b600060208284031215613bcf57613bce6132d5565b5b6000613bdd84828501613ba4565b91505092915050565b60008083601f840112613bfc57613bfb6135fd565b5b8235905067ffffffffffffffff811115613c1957613c18613602565b5b602083019150836020820283011115613c3557613c34613607565b5b9250929050565b600080600060408486031215613c5557613c546132d5565b5b6000613c6386828701613476565b935050602084013567ffffffffffffffff811115613c8457613c836132da565b5b613c9086828701613be6565b92509250509250925092565b60008060408385031215613cb357613cb26132d5565b5b6000613cc18582860161352b565b9250506020613cd28582860161352b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d2357607f821691505b60208210811415613d3757613d36613cdc565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613d99602c836133a5565b9150613da482613d3d565b604082019050919050565b60006020820190508181036000830152613dc881613d8c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e2b6021836133a5565b9150613e3682613dcf565b604082019050919050565b60006020820190508181036000830152613e5a81613e1e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613ebd6038836133a5565b9150613ec882613e61565b604082019050919050565b60006020820190508181036000830152613eec81613eb0565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613f4f6031836133a5565b9150613f5a82613ef3565b604082019050919050565b60006020820190508181036000830152613f7e81613f42565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613fbb6020836133a5565b9150613fc682613f85565b602082019050919050565b60006020820190508181036000830152613fea81613fae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061405a82613455565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561408d5761408c614020565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006140ce601f836133a5565b91506140d982614098565b602082019050919050565b600060208201905081810360008301526140fd816140c1565b9050919050565b7f5075626c69632073616c65206e6f74206f70656e000000000000000000000000600082015250565b600061413a6014836133a5565b915061414582614104565b602082019050919050565b600060208201905081810360008301526141698161412d565b9050919050565b7f6e756d546f6b656e732063616e6e6f7420626520300000000000000000000000600082015250565b60006141a66015836133a5565b91506141b182614170565b602082019050919050565b600060208201905081810360008301526141d581614199565b9050919050565b60006141e782613455565b91506141f283613455565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561422b5761422a614020565b5b828202905092915050565b7f696e636f72726563742045544820616d6f756e74000000000000000000000000600082015250565b600061426c6014836133a5565b915061427782614236565b602082019050919050565b6000602082019050818103600083015261429b8161425f565b9050919050565b60006142ad82613455565b91506142b883613455565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142ed576142ec614020565b5b828201905092915050565b7f457863656564732077616c6c6574206c696d6974000000000000000000000000600082015250565b600061432e6014836133a5565b9150614339826142f8565b602082019050919050565b6000602082019050818103600083015261435d81614321565b9050919050565b7f4d696e74207570746f2038206d65746176617461727320617420612074696d65600082015250565b600061439a6020836133a5565b91506143a582614364565b602082019050919050565b600060208201905081810360008301526143c98161438d565b9050919050565b7f4e6f7420696e20666f756e64657273206c697374000000000000000000000000600082015250565b60006144066014836133a5565b9150614411826143d0565b602082019050919050565b60006020820190508181036000830152614435816143f9565b9050919050565b7f4578636565647320666f756e6465722077616c6c6574206c696d697400000000600082015250565b6000614472601c836133a5565b915061447d8261443c565b602082019050919050565b600060208201905081810360008301526144a181614465565b9050919050565b7f496e76616c696420746f6b656e20494400000000000000000000000000000000600082015250565b60006144de6010836133a5565b91506144e9826144a8565b602082019050919050565b6000602082019050818103600083015261450d816144d1565b9050919050565b60006040820190506145296000830185613580565b818103602083015261453b81846133fa565b90509392505050565b600067ffffffffffffffff82111561455f5761455e6137e0565b5b614568826133e9565b9050602081019050919050565b600061458861458384614544565b613840565b9050828152602081018484840111156145a4576145a3613a55565b5b6145af8482856133b6565b509392505050565b600082601f8301126145cc576145cb6135fd565b5b81516145dc848260208601614575565b91505092915050565b6000602082840312156145fb576145fa6132d5565b5b600082015167ffffffffffffffff811115614619576146186132da565b5b614625848285016145b7565b91505092915050565b7f4e656564206d6f72652066756e647320746f206d696e74206d6574617661746160008201527f72206e6674000000000000000000000000000000000000000000000000000000602082015250565b600061468a6025836133a5565b91506146958261462e565b604082019050919050565b600060208201905081810360008301526146b98161467d565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061471c6029836133a5565b9150614727826146c0565b604082019050919050565b6000602082019050818103600083015261474b8161470f565b9050919050565b600061475d82613455565b915061476883613455565b92508282101561477b5761477a614020565b5b828203905092915050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006147e2602a836133a5565b91506147ed82614786565b604082019050919050565b60006020820190508181036000830152614811816147d5565b9050919050565b7f4d696e74696e672065786365656473206d617820737570706c79000000000000600082015250565b600061484e601a836133a5565b915061485982614818565b602082019050919050565b6000602082019050818103600083015261487d81614841565b9050919050565b6000819050919050565b61489f61489a82613455565b614884565b82525050565b60008160601b9050919050565b60006148bd826148a5565b9050919050565b60006148cf826148b2565b9050919050565b6148e76148e2826134d8565b6148c4565b82525050565b60006148f9828761488e565b60208201915061490982866148d6565b601482019150614919828561488e565b602082019150614929828461488e565b60208201915081905095945050505050565b7f57686974656c6973742073616c65206e6f74206f70656e000000000000000000600082015250565b60006149716017836133a5565b915061497c8261493b565b602082019050919050565b600060208201905081810360008301526149a081614964565b9050919050565b7f4d617820616c6c6f776564206d65746176617461727320636c61696d6564206260008201527f7920746869732077616c6c657400000000000000000000000000000000000000602082015250565b6000614a03602d836133a5565b9150614a0e826149a7565b604082019050919050565b60006020820190508181036000830152614a32816149f6565b9050919050565b6000614a4582846148d6565b60148201915081905092915050565b7f4164647265737320646f6573206e6f7420657869737420696e2077686974656c60008201527f6973740000000000000000000000000000000000000000000000000000000000602082015250565b6000614ab06023836133a5565b9150614abb82614a54565b604082019050919050565b60006020820190508181036000830152614adf81614aa3565b9050919050565b7f4e656564206d6f72652066756e647320746f206d696e74206d6574617661746160008201527f7228732900000000000000000000000000000000000000000000000000000000602082015250565b6000614b426024836133a5565b9150614b4d82614ae6565b604082019050919050565b60006020820190508181036000830152614b7181614b35565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614bd46026836133a5565b9150614bdf82614b78565b604082019050919050565b60006020820190508181036000830152614c0381614bc7565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614c66602c836133a5565b9150614c7182614c0a565b604082019050919050565b60006020820190508181036000830152614c9581614c59565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614cf86029836133a5565b9150614d0382614c9c565b604082019050919050565b60006020820190508181036000830152614d2781614ceb565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d8a6024836133a5565b9150614d9582614d2e565b604082019050919050565b60006020820190508181036000830152614db981614d7d565b9050919050565b7f416c6c206d657461766174617273206d696e7465640000000000000000000000600082015250565b6000614df66015836133a5565b9150614e0182614dc0565b602082019050919050565b60006020820190508181036000830152614e2581614de9565b9050919050565b6000606082019050614e4160008301866134ea565b614e4e6020830185613580565b614e5b6040830184613580565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e9d82613455565b9150614ea883613455565b925082614eb857614eb7614e63565b5b828204905092915050565b6000614ece82613455565b9150614ed983613455565b925082614ee957614ee8614e63565b5b828206905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614f2a6019836133a5565b9150614f3582614ef4565b602082019050919050565b60006020820190508181036000830152614f5981614f1d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614fbc6032836133a5565b9150614fc782614f60565b604082019050919050565b60006020820190508181036000830152614feb81614faf565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061501982614ff2565b6150238185614ffd565b93506150338185602086016133b6565b61503c816133e9565b840191505092915050565b600060808201905061505c60008301876134ea565b61506960208301866134ea565b6150766040830185613580565b8181036060830152615088818461500e565b905095945050505050565b6000815190506150a28161330b565b92915050565b6000602082840312156150be576150bd6132d5565b5b60006150cc84828501615093565b91505092915050565b6000819050919050565b6150f06150eb82613a21565b6150d5565b82525050565b600061510282856150df565b60208201915061511282846150df565b6020820191508190509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006151586020836133a5565b915061516382615122565b602082019050919050565b600060208201905081810360008301526151878161514b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006151c4601c836133a5565b91506151cf8261518e565b602082019050919050565b600060208201905081810360008301526151f3816151b7565b905091905056fea2646970667358221220aa5dde6cd88a624db69f964e4e01893008f943a3073d2f3a38cbc72e19f42bea64736f6c63430008090033000000000000000000000000c89fc2889e26211b571496b2e9fb674d9c0e688b
Deployed Bytecode
0x6080604052600436106102675760003560e01c8063715018a611610144578063af783b81116100b6578063c87b56dd1161007a578063c87b56dd146108cd578063d70eee5a1461090a578063e985e9c514610926578063f2fde38b14610963578063f43a22dc1461098c578063fc1a1c36146109b757610267565b8063af783b81146107e8578063b88d4fde14610825578063b98451cf1461084e578063bc8893b414610879578063bd32fb66146108a457610267565b80638da5cb5b116101085780638da5cb5b146106e8578063914b44f71461071357806395d89b411461073e578063a035b1fe14610769578063a22cb46514610794578063aa98e0c6146107bd57610267565b8063715018a61461064a578063729ad39e146106615780637afa1eed1461068a578063841718a6146106b5578063853828b6146106de57610267565b806342842e0e116101dd5780635ac1e3bb116101a15780635ac1e3bb1461052357806360586223146105605780636352211e1461057c5780636a78f227146105b95780636de9f32b146105e257806370a082311461060d57610267565b806342842e0e14610454578063434f48c41461047d5780634a7c7e4b146104a657806355de3343146104cf578063564566a8146104f857610267565b806323b872dd1161022f57806323b872dd1461036557806332cb6b0c1461038e5780633368c89b146103b9578063379607f5146103e25780633ad7f56c146103fe5780633f83644c1461042957610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b3146103115780630aaef2851461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613337565b6109e2565b6040516102a0919061337f565b60405180910390f35b3480156102b557600080fd5b506102be610ac4565b6040516102cb9190613433565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f6919061348b565b610b56565b60405161030891906134f9565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190613540565b610bdb565b005b34801561034657600080fd5b5061034f610cf3565b60405161035c919061358f565b60405180910390f35b34801561037157600080fd5b5061038c600480360381019061038791906135aa565b610cf8565b005b34801561039a57600080fd5b506103a3610d58565b6040516103b0919061358f565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190613662565b610d5e565b005b6103fc60048036038101906103f7919061348b565b610e7f565b005b34801561040a57600080fd5b50610413611096565b604051610420919061337f565b60405180910390f35b34801561043557600080fd5b5061043e6110a9565b60405161044b919061358f565b60405180910390f35b34801561046057600080fd5b5061047b600480360381019061047691906135aa565b6110ae565b005b34801561048957600080fd5b506104a4600480360381019061049f919061348b565b6110ce565b005b3480156104b257600080fd5b506104cd60048036038101906104c891906136ed565b611157565b005b3480156104db57600080fd5b506104f660048036038101906104f1919061348b565b611217565b005b34801561050457600080fd5b5061050d611381565b60405161051a919061337f565b60405180910390f35b34801561052f57600080fd5b5061054a6004803603810190610545919061348b565b611398565b6040516105579190613433565b60405180910390f35b61057a6004803603810190610575919061371a565b6114c4565b005b34801561058857600080fd5b506105a3600480360381019061059e919061348b565b611643565b6040516105b091906134f9565b60405180910390f35b3480156105c557600080fd5b506105e060048036038101906105db9190613786565b6116f5565b005b3480156105ee57600080fd5b506105f761178e565b604051610604919061358f565b60405180910390f35b34801561061957600080fd5b50610634600480360381019061062f91906137b3565b6117ab565b604051610641919061358f565b60405180910390f35b34801561065657600080fd5b5061065f611863565b005b34801561066d57600080fd5b506106886004803603810190610683919061391e565b6118eb565b005b34801561069657600080fd5b5061069f611a80565b6040516106ac91906139c6565b60405180910390f35b3480156106c157600080fd5b506106dc60048036038101906106d79190613786565b611aa6565b005b6106e6611b3f565b005b3480156106f457600080fd5b506106fd611bfb565b60405161070a91906134f9565b60405180910390f35b34801561071f57600080fd5b50610728611c25565b604051610735919061358f565b60405180910390f35b34801561074a57600080fd5b50610753611c2a565b6040516107609190613433565b60405180910390f35b34801561077557600080fd5b5061077e611cbc565b60405161078b919061358f565b60405180910390f35b3480156107a057600080fd5b506107bb60048036038101906107b691906139e1565b611cc2565b005b3480156107c957600080fd5b506107d2611cd8565b6040516107df9190613a3a565b60405180910390f35b3480156107f457600080fd5b5061080f600480360381019061080a91906137b3565b611cde565b60405161081c919061337f565b60405180910390f35b34801561083157600080fd5b5061084c60048036038101906108479190613b0a565b611cfe565b005b34801561085a57600080fd5b50610863611d60565b604051610870919061337f565b60405180910390f35b34801561088557600080fd5b5061088e611d77565b60405161089b919061337f565b60405180910390f35b3480156108b057600080fd5b506108cb60048036038101906108c69190613bb9565b611d8a565b005b3480156108d957600080fd5b506108f460048036038101906108ef919061348b565b611e10565b6040516109019190613433565b60405180910390f35b610924600480360381019061091f9190613c3c565b611f3c565b005b34801561093257600080fd5b5061094d60048036038101906109489190613c9c565b6121b9565b60405161095a919061337f565b60405180910390f35b34801561096f57600080fd5b5061098a600480360381019061098591906137b3565b61224d565b005b34801561099857600080fd5b506109a1612345565b6040516109ae919061358f565b60405180910390f35b3480156109c357600080fd5b506109cc61234a565b6040516109d9919061358f565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aad57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610abd5750610abc82612366565b5b9050919050565b606060008054610ad390613d0b565b80601f0160208091040260200160405190810160405280929190818152602001828054610aff90613d0b565b8015610b4c5780601f10610b2157610100808354040283529160200191610b4c565b820191906000526020600020905b815481529060010190602001808311610b2f57829003601f168201915b5050505050905090565b6000610b61826123d0565b610ba0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9790613daf565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610be682611643565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e90613e41565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c7661243c565b73ffffffffffffffffffffffffffffffffffffffff161480610ca55750610ca481610c9f61243c565b6121b9565b5b610ce4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdb90613ed3565b60405180910390fd5b610cee8383612444565b505050565b600a81565b610d09610d0361243c565b826124fd565b610d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3f90613f65565b60405180910390fd5b610d538383836125db565b505050565b61271081565b610d6661243c565b73ffffffffffffffffffffffffffffffffffffffff16610d84611bfb565b73ffffffffffffffffffffffffffffffffffffffff1614610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd190613fd1565b60405180910390fd5b60005b82829050811015610e7a576001600f6000858585818110610e0157610e00613ff1565b5b9050602002016020810190610e1691906137b3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610e729061404f565b915050610ddd565b505050565b60026006541415610ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebc906140e4565b60405180910390fd5b6002600681905550600b60009054906101000a900460ff16610f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1390614150565b60405180910390fd5b60008111610f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f56906141bc565b60405180910390fd5b3481600954610f6e91906141dc565b1115610faf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa690614282565b60405180910390fd5b600a81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ffc91906142a2565b111561103d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103490614344565b60405180910390fd5b6008811115611081576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611078906143b0565b60405180910390fd5b61108b8133612837565b600160068190555050565b600b60019054906101000a900460ff1681565b600581565b6110c983838360405180602001604052806000815250611cfe565b505050565b6110d661243c565b73ffffffffffffffffffffffffffffffffffffffff166110f4611bfb565b73ffffffffffffffffffffffffffffffffffffffff161461114a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114190613fd1565b60405180910390fd5b6111548133612837565b50565b61115f61243c565b73ffffffffffffffffffffffffffffffffffffffff1661117d611bfb565b73ffffffffffffffffffffffffffffffffffffffff16146111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca90613fd1565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a9061441c565b60405180910390fd5b600081116112e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dd906141bc565b60405180910390fd5b601e81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461133391906142a2565b1115611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b90614488565b60405180910390fd5b61137e8133612837565b50565b6000600b60009054906101000a900460ff16905090565b60606000821180156113b157506113ad61178e565b8211155b6113f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e7906144f4565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663818990898361144b600e600087815260200190815260200160002054612a0d565b6040518363ffffffff1660e01b8152600401611468929190614514565b60006040518083038186803b15801561148057600080fd5b505afa158015611494573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906114bd91906145e5565b9050919050565b600b60009054906101000a900460ff16611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a90614150565b60405180910390fd5b348260095461152291906141dc565b1115611563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155a906146a0565b60405180910390fd5b600a82601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115b091906142a2565b11156115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890614344565b60405180910390fd5b6008821115611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c906143b0565b60405180910390fd5b61163f8282612837565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e390614732565b60405180910390fd5b80915050919050565b6116fd61243c565b73ffffffffffffffffffffffffffffffffffffffff1661171b611bfb565b73ffffffffffffffffffffffffffffffffffffffff1614611771576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176890613fd1565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b6000600161179c6008612b6e565b6117a69190614752565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561181c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611813906147f8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61186b61243c565b73ffffffffffffffffffffffffffffffffffffffff16611889611bfb565b73ffffffffffffffffffffffffffffffffffffffff16146118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690613fd1565b60405180910390fd5b6118e96000612b7c565b565b6118f361243c565b73ffffffffffffffffffffffffffffffffffffffff16611911611bfb565b73ffffffffffffffffffffffffffffffffffffffff1614611967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195e90613fd1565b60405180910390fd5b612710815161197461178e565b61197e91906142a2565b11156119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b690614864565b60405180910390fd5b60005b8151811015611a7c5760006119d76008612b6e565b90506119fd8383815181106119ef576119ee613ff1565b5b602002602001015182612c42565b611a076008612350565b80838381518110611a1b57611a1a613ff1565b5b60200260200101514442604051602001611a3894939291906148ed565b6040516020818303038152906040528051906020012060001c600e600083815260200190815260200160002081905550508080611a749061404f565b9150506119c2565b5050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611aae61243c565b73ffffffffffffffffffffffffffffffffffffffff16611acc611bfb565b73ffffffffffffffffffffffffffffffffffffffff1614611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1990613fd1565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b611b4761243c565b73ffffffffffffffffffffffffffffffffffffffff16611b65611bfb565b73ffffffffffffffffffffffffffffffffffffffff1614611bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb290613fd1565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611bf957600080fd5b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601e81565b606060018054611c3990613d0b565b80601f0160208091040260200160405190810160405280929190818152602001828054611c6590613d0b565b8015611cb25780601f10611c8757610100808354040283529160200191611cb2565b820191906000526020600020905b815481529060010190602001808311611c9557829003601f168201915b5050505050905090565b60095481565b611cd4611ccd61243c565b8383612c60565b5050565b600c5481565b600f6020528060005260406000206000915054906101000a900460ff1681565b611d0f611d0961243c565b836124fd565b611d4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4590613f65565b60405180910390fd5b611d5a84848484612dcd565b50505050565b6000600b60019054906101000a900460ff16905090565b600b60009054906101000a900460ff1681565b611d9261243c565b73ffffffffffffffffffffffffffffffffffffffff16611db0611bfb565b73ffffffffffffffffffffffffffffffffffffffff1614611e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfd90613fd1565b60405180910390fd5b80600c8190555050565b6060600082118015611e295750611e2561178e565b8211155b611e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5f906144f4565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166341dcf45483611ec3600e600087815260200190815260200160002054612a0d565b6040518363ffffffff1660e01b8152600401611ee0929190614514565b60006040518083038186803b158015611ef857600080fd5b505afa158015611f0c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611f3591906145e5565b9050919050565b60026006541415611f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f79906140e4565b60405180910390fd5b6002600681905550600b60019054906101000a900460ff16611fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd090614987565b60405180910390fd5b6000831161201c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612013906141bc565b60405180910390fd5b6005601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561209f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209690614a19565b60405180910390fd5b612113828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54336040516020016120f89190614a39565b60405160208183030381529060405280519060200120612e29565b612152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214990614ac6565b60405180910390fd5b3483600a5461216191906141dc565b11156121a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219990614b58565b60405180910390fd5b6121ac8333612837565b6001600681905550505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61225561243c565b73ffffffffffffffffffffffffffffffffffffffff16612273611bfb565b73ffffffffffffffffffffffffffffffffffffffff16146122c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c090613fd1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233090614bea565b60405180910390fd5b61234281612b7c565b50565b600881565b600a5481565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166124b783611643565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612508826123d0565b612547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253e90614c7c565b60405180910390fd5b600061255283611643565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125c157508373ffffffffffffffffffffffffffffffffffffffff166125a984610b56565b73ffffffffffffffffffffffffffffffffffffffff16145b806125d257506125d181856121b9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125fb82611643565b73ffffffffffffffffffffffffffffffffffffffff1614612651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264890614d0e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b890614da0565b60405180910390fd5b6126cc838383612e40565b6126d7600082612444565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127279190614752565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461277e91906142a2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61271061284261178e565b1115612883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287a90614e0c565b60405180910390fd5b6127108261288f61178e565b61289991906142a2565b11156128da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d190614864565b60405180910390fd5b60005b828110156129625760006128f16008612b6e565b90506128fd8382612c42565b6129076008612350565b8083444260405160200161291e94939291906148ed565b6040516020818303038152906040528051906020012060001c600e60008381526020019081526020016000208190555050808061295a9061404f565b9150506128dd565b5081601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129b291906142a2565b925050819055507fe97bd2cbe790a8f6689bab592432a55c1d3bfdc2a2b5df4ce84f78ae5117193f818360016129e86008612b6e565b6129f29190614752565b604051612a0193929190614e2c565b60405180910390a15050565b60606000821415612a55576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b69565b600082905060005b60008214612a87578080612a709061404f565b915050600a82612a809190614e92565b9150612a5d565b60008167ffffffffffffffff811115612aa357612aa26137e0565b5b6040519080825280601f01601f191660200182016040528015612ad55781602001600182028036833780820191505090505b5090505b60008514612b6257600182612aee9190614752565b9150600a85612afd9190614ec3565b6030612b0991906142a2565b60f81b818381518110612b1f57612b1e613ff1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b5b9190614e92565b9450612ad9565b8093505050505b919050565b600081600001549050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c5c828260405180602001604052806000815250612e45565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc690614f40565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612dc0919061337f565b60405180910390a3505050565b612dd88484846125db565b612de484848484612ea0565b612e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1a90614fd2565b60405180910390fd5b50505050565b600082612e368584613037565b1490509392505050565b505050565b612e4f83836130ea565b612e5c6000848484612ea0565b612e9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9290614fd2565b60405180910390fd5b505050565b6000612ec18473ffffffffffffffffffffffffffffffffffffffff166132b8565b1561302a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eea61243c565b8786866040518563ffffffff1660e01b8152600401612f0c9493929190615047565b602060405180830381600087803b158015612f2657600080fd5b505af1925050508015612f5757506040513d601f19601f82011682018060405250810190612f5491906150a8565b60015b612fda573d8060008114612f87576040519150601f19603f3d011682016040523d82523d6000602084013e612f8c565b606091505b50600081511415612fd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc990614fd2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061302f565b600190505b949350505050565b60008082905060005b84518110156130df57600085828151811061305e5761305d613ff1565b5b6020026020010151905080831161309f5782816040516020016130829291906150f6565b6040516020818303038152906040528051906020012092506130cb565b80836040516020016130b29291906150f6565b6040516020818303038152906040528051906020012092505b5080806130d79061404f565b915050613040565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561315a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131519061516e565b60405180910390fd5b613163816123d0565b156131a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319a906151da565b60405180910390fd5b6131af60008383612e40565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131ff91906142a2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613314816132df565b811461331f57600080fd5b50565b6000813590506133318161330b565b92915050565b60006020828403121561334d5761334c6132d5565b5b600061335b84828501613322565b91505092915050565b60008115159050919050565b61337981613364565b82525050565b60006020820190506133946000830184613370565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156133d45780820151818401526020810190506133b9565b838111156133e3576000848401525b50505050565b6000601f19601f8301169050919050565b60006134058261339a565b61340f81856133a5565b935061341f8185602086016133b6565b613428816133e9565b840191505092915050565b6000602082019050818103600083015261344d81846133fa565b905092915050565b6000819050919050565b61346881613455565b811461347357600080fd5b50565b6000813590506134858161345f565b92915050565b6000602082840312156134a1576134a06132d5565b5b60006134af84828501613476565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134e3826134b8565b9050919050565b6134f3816134d8565b82525050565b600060208201905061350e60008301846134ea565b92915050565b61351d816134d8565b811461352857600080fd5b50565b60008135905061353a81613514565b92915050565b60008060408385031215613557576135566132d5565b5b60006135658582860161352b565b925050602061357685828601613476565b9150509250929050565b61358981613455565b82525050565b60006020820190506135a46000830184613580565b92915050565b6000806000606084860312156135c3576135c26132d5565b5b60006135d18682870161352b565b93505060206135e28682870161352b565b92505060406135f386828701613476565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613622576136216135fd565b5b8235905067ffffffffffffffff81111561363f5761363e613602565b5b60208301915083602082028301111561365b5761365a613607565b5b9250929050565b60008060208385031215613679576136786132d5565b5b600083013567ffffffffffffffff811115613697576136966132da565b5b6136a38582860161360c565b92509250509250929050565b60006136ba826134d8565b9050919050565b6136ca816136af565b81146136d557600080fd5b50565b6000813590506136e7816136c1565b92915050565b600060208284031215613703576137026132d5565b5b6000613711848285016136d8565b91505092915050565b60008060408385031215613731576137306132d5565b5b600061373f85828601613476565b92505060206137508582860161352b565b9150509250929050565b61376381613364565b811461376e57600080fd5b50565b6000813590506137808161375a565b92915050565b60006020828403121561379c5761379b6132d5565b5b60006137aa84828501613771565b91505092915050565b6000602082840312156137c9576137c86132d5565b5b60006137d78482850161352b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613818826133e9565b810181811067ffffffffffffffff82111715613837576138366137e0565b5b80604052505050565b600061384a6132cb565b9050613856828261380f565b919050565b600067ffffffffffffffff821115613876576138756137e0565b5b602082029050602081019050919050565b600061389a6138958461385b565b613840565b905080838252602082019050602084028301858111156138bd576138bc613607565b5b835b818110156138e657806138d2888261352b565b8452602084019350506020810190506138bf565b5050509392505050565b600082601f830112613905576139046135fd565b5b8135613915848260208601613887565b91505092915050565b600060208284031215613934576139336132d5565b5b600082013567ffffffffffffffff811115613952576139516132da565b5b61395e848285016138f0565b91505092915050565b6000819050919050565b600061398c613987613982846134b8565b613967565b6134b8565b9050919050565b600061399e82613971565b9050919050565b60006139b082613993565b9050919050565b6139c0816139a5565b82525050565b60006020820190506139db60008301846139b7565b92915050565b600080604083850312156139f8576139f76132d5565b5b6000613a068582860161352b565b9250506020613a1785828601613771565b9150509250929050565b6000819050919050565b613a3481613a21565b82525050565b6000602082019050613a4f6000830184613a2b565b92915050565b600080fd5b600067ffffffffffffffff821115613a7557613a746137e0565b5b613a7e826133e9565b9050602081019050919050565b82818337600083830152505050565b6000613aad613aa884613a5a565b613840565b905082815260208101848484011115613ac957613ac8613a55565b5b613ad4848285613a8b565b509392505050565b600082601f830112613af157613af06135fd565b5b8135613b01848260208601613a9a565b91505092915050565b60008060008060808587031215613b2457613b236132d5565b5b6000613b328782880161352b565b9450506020613b438782880161352b565b9350506040613b5487828801613476565b925050606085013567ffffffffffffffff811115613b7557613b746132da565b5b613b8187828801613adc565b91505092959194509250565b613b9681613a21565b8114613ba157600080fd5b50565b600081359050613bb381613b8d565b92915050565b600060208284031215613bcf57613bce6132d5565b5b6000613bdd84828501613ba4565b91505092915050565b60008083601f840112613bfc57613bfb6135fd565b5b8235905067ffffffffffffffff811115613c1957613c18613602565b5b602083019150836020820283011115613c3557613c34613607565b5b9250929050565b600080600060408486031215613c5557613c546132d5565b5b6000613c6386828701613476565b935050602084013567ffffffffffffffff811115613c8457613c836132da565b5b613c9086828701613be6565b92509250509250925092565b60008060408385031215613cb357613cb26132d5565b5b6000613cc18582860161352b565b9250506020613cd28582860161352b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d2357607f821691505b60208210811415613d3757613d36613cdc565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613d99602c836133a5565b9150613da482613d3d565b604082019050919050565b60006020820190508181036000830152613dc881613d8c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e2b6021836133a5565b9150613e3682613dcf565b604082019050919050565b60006020820190508181036000830152613e5a81613e1e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613ebd6038836133a5565b9150613ec882613e61565b604082019050919050565b60006020820190508181036000830152613eec81613eb0565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613f4f6031836133a5565b9150613f5a82613ef3565b604082019050919050565b60006020820190508181036000830152613f7e81613f42565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613fbb6020836133a5565b9150613fc682613f85565b602082019050919050565b60006020820190508181036000830152613fea81613fae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061405a82613455565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561408d5761408c614020565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006140ce601f836133a5565b91506140d982614098565b602082019050919050565b600060208201905081810360008301526140fd816140c1565b9050919050565b7f5075626c69632073616c65206e6f74206f70656e000000000000000000000000600082015250565b600061413a6014836133a5565b915061414582614104565b602082019050919050565b600060208201905081810360008301526141698161412d565b9050919050565b7f6e756d546f6b656e732063616e6e6f7420626520300000000000000000000000600082015250565b60006141a66015836133a5565b91506141b182614170565b602082019050919050565b600060208201905081810360008301526141d581614199565b9050919050565b60006141e782613455565b91506141f283613455565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561422b5761422a614020565b5b828202905092915050565b7f696e636f72726563742045544820616d6f756e74000000000000000000000000600082015250565b600061426c6014836133a5565b915061427782614236565b602082019050919050565b6000602082019050818103600083015261429b8161425f565b9050919050565b60006142ad82613455565b91506142b883613455565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142ed576142ec614020565b5b828201905092915050565b7f457863656564732077616c6c6574206c696d6974000000000000000000000000600082015250565b600061432e6014836133a5565b9150614339826142f8565b602082019050919050565b6000602082019050818103600083015261435d81614321565b9050919050565b7f4d696e74207570746f2038206d65746176617461727320617420612074696d65600082015250565b600061439a6020836133a5565b91506143a582614364565b602082019050919050565b600060208201905081810360008301526143c98161438d565b9050919050565b7f4e6f7420696e20666f756e64657273206c697374000000000000000000000000600082015250565b60006144066014836133a5565b9150614411826143d0565b602082019050919050565b60006020820190508181036000830152614435816143f9565b9050919050565b7f4578636565647320666f756e6465722077616c6c6574206c696d697400000000600082015250565b6000614472601c836133a5565b915061447d8261443c565b602082019050919050565b600060208201905081810360008301526144a181614465565b9050919050565b7f496e76616c696420746f6b656e20494400000000000000000000000000000000600082015250565b60006144de6010836133a5565b91506144e9826144a8565b602082019050919050565b6000602082019050818103600083015261450d816144d1565b9050919050565b60006040820190506145296000830185613580565b818103602083015261453b81846133fa565b90509392505050565b600067ffffffffffffffff82111561455f5761455e6137e0565b5b614568826133e9565b9050602081019050919050565b600061458861458384614544565b613840565b9050828152602081018484840111156145a4576145a3613a55565b5b6145af8482856133b6565b509392505050565b600082601f8301126145cc576145cb6135fd565b5b81516145dc848260208601614575565b91505092915050565b6000602082840312156145fb576145fa6132d5565b5b600082015167ffffffffffffffff811115614619576146186132da565b5b614625848285016145b7565b91505092915050565b7f4e656564206d6f72652066756e647320746f206d696e74206d6574617661746160008201527f72206e6674000000000000000000000000000000000000000000000000000000602082015250565b600061468a6025836133a5565b91506146958261462e565b604082019050919050565b600060208201905081810360008301526146b98161467d565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061471c6029836133a5565b9150614727826146c0565b604082019050919050565b6000602082019050818103600083015261474b8161470f565b9050919050565b600061475d82613455565b915061476883613455565b92508282101561477b5761477a614020565b5b828203905092915050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006147e2602a836133a5565b91506147ed82614786565b604082019050919050565b60006020820190508181036000830152614811816147d5565b9050919050565b7f4d696e74696e672065786365656473206d617820737570706c79000000000000600082015250565b600061484e601a836133a5565b915061485982614818565b602082019050919050565b6000602082019050818103600083015261487d81614841565b9050919050565b6000819050919050565b61489f61489a82613455565b614884565b82525050565b60008160601b9050919050565b60006148bd826148a5565b9050919050565b60006148cf826148b2565b9050919050565b6148e76148e2826134d8565b6148c4565b82525050565b60006148f9828761488e565b60208201915061490982866148d6565b601482019150614919828561488e565b602082019150614929828461488e565b60208201915081905095945050505050565b7f57686974656c6973742073616c65206e6f74206f70656e000000000000000000600082015250565b60006149716017836133a5565b915061497c8261493b565b602082019050919050565b600060208201905081810360008301526149a081614964565b9050919050565b7f4d617820616c6c6f776564206d65746176617461727320636c61696d6564206260008201527f7920746869732077616c6c657400000000000000000000000000000000000000602082015250565b6000614a03602d836133a5565b9150614a0e826149a7565b604082019050919050565b60006020820190508181036000830152614a32816149f6565b9050919050565b6000614a4582846148d6565b60148201915081905092915050565b7f4164647265737320646f6573206e6f7420657869737420696e2077686974656c60008201527f6973740000000000000000000000000000000000000000000000000000000000602082015250565b6000614ab06023836133a5565b9150614abb82614a54565b604082019050919050565b60006020820190508181036000830152614adf81614aa3565b9050919050565b7f4e656564206d6f72652066756e647320746f206d696e74206d6574617661746160008201527f7228732900000000000000000000000000000000000000000000000000000000602082015250565b6000614b426024836133a5565b9150614b4d82614ae6565b604082019050919050565b60006020820190508181036000830152614b7181614b35565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614bd46026836133a5565b9150614bdf82614b78565b604082019050919050565b60006020820190508181036000830152614c0381614bc7565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614c66602c836133a5565b9150614c7182614c0a565b604082019050919050565b60006020820190508181036000830152614c9581614c59565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614cf86029836133a5565b9150614d0382614c9c565b604082019050919050565b60006020820190508181036000830152614d2781614ceb565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d8a6024836133a5565b9150614d9582614d2e565b604082019050919050565b60006020820190508181036000830152614db981614d7d565b9050919050565b7f416c6c206d657461766174617273206d696e7465640000000000000000000000600082015250565b6000614df66015836133a5565b9150614e0182614dc0565b602082019050919050565b60006020820190508181036000830152614e2581614de9565b9050919050565b6000606082019050614e4160008301866134ea565b614e4e6020830185613580565b614e5b6040830184613580565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e9d82613455565b9150614ea883613455565b925082614eb857614eb7614e63565b5b828204905092915050565b6000614ece82613455565b9150614ed983613455565b925082614ee957614ee8614e63565b5b828206905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614f2a6019836133a5565b9150614f3582614ef4565b602082019050919050565b60006020820190508181036000830152614f5981614f1d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614fbc6032836133a5565b9150614fc782614f60565b604082019050919050565b60006020820190508181036000830152614feb81614faf565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061501982614ff2565b6150238185614ffd565b93506150338185602086016133b6565b61503c816133e9565b840191505092915050565b600060808201905061505c60008301876134ea565b61506960208301866134ea565b6150766040830185613580565b8181036060830152615088818461500e565b905095945050505050565b6000815190506150a28161330b565b92915050565b6000602082840312156150be576150bd6132d5565b5b60006150cc84828501615093565b91505092915050565b6000819050919050565b6150f06150eb82613a21565b6150d5565b82525050565b600061510282856150df565b60208201915061511282846150df565b6020820191508190509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006151586020836133a5565b915061516382615122565b602082019050919050565b600060208201905081810360008301526151878161514b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006151c4601c836133a5565b91506151cf8261518e565b602082019050919050565b600060208201905081810360008301526151f3816151b7565b905091905056fea2646970667358221220aa5dde6cd88a624db69f964e4e01893008f943a3073d2f3a38cbc72e19f42bea64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c89fc2889e26211b571496b2e9fb674d9c0e688b
-----Decoded View---------------
Arg [0] : _generator (address): 0xC89fc2889e26211B571496b2E9FB674D9C0E688B
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c89fc2889e26211b571496b2e9fb674d9c0e688b
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.