ERC-721
Overview
Max Total Supply
40 BG
Holders
14
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 BGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
BadGifts
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract BadGifts is ERC721Enumerable, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; uint256 public max_supply = 4200; uint256 public reserve_supply = 69; uint256 public maxPerTx = 10; uint256 public reserve_minted = 0; uint256 public mint_price = 66600000000000000; string public preRevealURI = ""; string public baseTokenURI = ""; bool public publicSale; bool public greenlistSale; bytes32 public greenlistRoot; string private _contractURI; ProxyRegistry private _proxyRegistry; Counters.Counter private _tokenIds; mapping(address => bool) greenlistMinted; constructor(address openseaProxyRegistry_) ERC721("BadGifts", "BG") { if (address(0) != openseaProxyRegistry_) { _setOpenSeaRegistry(openseaProxyRegistry_); } } function greenListMint(bytes32[] memory _proofs) public payable nonReentrant { require(!publicSale && greenlistSale, "Greenlist sale has ended"); bool canMint = canGreenlistMint(msg.sender, _proofs); require(canMint, "Address cannot greenlist mint!"); greenlistMinted[msg.sender] = true; mint(1, true, msg.sender); } function publicMint(address _to, uint256 _amount) public payable nonReentrant { mint(_amount, false, _to); } function reserveMint(address _to, uint256 _amount) public onlyOwner { require( (reserve_minted + _amount) <= reserve_supply, "Mint would exceed reserve supply" ); reserve_minted += _amount; for (uint256 i = 0; i < _amount; i++) { _tokenIds.increment(); uint256 newNftTokenId = _tokenIds.current(); _safeMint(_to, newNftTokenId); } } function mint( uint256 _amount, bool _isGreenList, address _to ) private { if (!_isGreenList) { require(publicSale, "Sale has not started"); } require(_amount <= maxPerTx, "Amount too large"); require((mint_price * _amount) == msg.value, "Value too low"); require( (totalSupply() + _amount) <= (max_supply - reserve_supply), "Mint would exceed total supply" ); for (uint256 i = 0; i < _amount; i++) { _tokenIds.increment(); uint256 newNftTokenId = _tokenIds.current(); _safeMint(_to, newNftTokenId); } } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId)); if (bytes(baseTokenURI).length == 0) { return string(abi.encodePacked(preRevealURI, _tokenId.toString())); } return string(abi.encodePacked(baseTokenURI, _tokenId.toString())); } function canGreenlistMint(address _addr, bytes32[] memory _proofs) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(_addr)); bool canMint = MerkleProof.verify(_proofs, greenlistRoot, leaf); if (!canMint || greenlistMinted[_addr]) { return false; } return true; } function setPreRevealURI(string memory _uri) public onlyOwner { preRevealURI = _uri; } function setBaseTokenURI(string memory _uri) public onlyOwner { baseTokenURI = _uri; } function setGreenList(bytes32 _rootHash) public onlyOwner { greenlistRoot = _rootHash; } function toggleGreenListSale() public onlyOwner { greenlistSale = !greenlistSale; } function togglePublicSale() public onlyOwner { publicSale = !publicSale; } function withdraw() external payable onlyOwner { (bool sent, ) = owner().call{value: address(this).balance}(""); require(sent, "Withdraw failed"); } function contractURI() public view returns (string memory) { return _contractURI; } function isOwnersOpenSeaProxy(address owner, address operator) public view returns (bool) { ProxyRegistry proxyRegistry = _proxyRegistry; return address(proxyRegistry) != address(0) && address(proxyRegistry.proxies(owner)) == operator; } function _setOpenSeaRegistry(address proxyRegistryAddress) internal { _proxyRegistry = ProxyRegistry(proxyRegistryAddress); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { if (isOwnersOpenSeaProxy(owner, operator)) { return true; } return super.isApprovedForAll(owner, operator); } function setOpenSeaRegistry(address proxyRegistryAddress) external onlyOwner { _proxyRegistry = ProxyRegistry(proxyRegistryAddress); } } contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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.1 (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: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"openseaProxyRegistry_","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":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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"bytes32[]","name":"_proofs","type":"bytes32[]"}],"name":"canGreenlistMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"bytes32[]","name":"_proofs","type":"bytes32[]"}],"name":"greenListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"greenlistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"greenlistSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isOwnersOpenSeaProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preRevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserve_minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserve_supply","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_rootHash","type":"bytes32"}],"name":"setGreenList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxyRegistryAddress","type":"address"}],"name":"setOpenSeaRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setPreRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleGreenListSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052611068600c556045600d55600a600e556000600f5566ec9c58de0a800060105560405180602001604052806000815250601190805190602001906200004b929190620002cf565b50604051806020016040528060008152506012908051906020019062000073929190620002cf565b503480156200008157600080fd5b506040516200541c3803806200541c8339818101604052810190620000a7919062000396565b6040518060400160405280600881526020017f42616447696674730000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f424700000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200012b929190620002cf565b50806001908051906020019062000144929190620002cf565b505050620001676200015b620001bd60201b60201c565b620001c560201b60201c565b6001600b819055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff1614620001b657620001b5816200028b60201b60201c565b5b5062000480565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b828054620002dd90620003fc565b90600052602060002090601f0160209004810192826200030157600085556200034d565b82601f106200031c57805160ff19168380011785556200034d565b828001600101855582156200034d579182015b828111156200034c5782518255916020019190600101906200032f565b5b5090506200035c919062000360565b5090565b5b808211156200037b57600081600090555060010162000361565b5090565b600081519050620003908162000466565b92915050565b600060208284031215620003af57620003ae62000461565b5b6000620003bf848285016200037f565b91505092915050565b6000620003d582620003dc565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200041557607f821691505b602082108114156200042c576200042b62000432565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6200047181620003c8565b81146200047d57600080fd5b50565b614f8c80620004906000396000f3fe6080604052600436106102515760003560e01c8063715018a611610139578063b88d4fde116100b6578063e52ec5fc1161007a578063e52ec5fc14610884578063e8a3d485146108af578063e985e9c5146108da578063f2fde38b14610917578063f36bc30d14610940578063f968adbe1461095c57610251565b8063b88d4fde146107c0578063c87b56dd146107e9578063ce6df2b914610826578063d547cfb714610842578063e222c7f91461086d57610251565b80638da5cb5b116100fd5780638da5cb5b146106ef57806395d89b411461071a578063a22cb46514610745578063b0ea18021461076e578063b5f497591461079757610251565b8063715018a61461064057806377ce75bf1461065757806377d3b5311461066e57806379b6ed36146106995780638a333b50146106c457610251565b80632f745c59116101d25780634920724c116101965780634920724c146104f65780634f6ccce7146105215780636102de981461055e5780636352211e1461059b57806368d2438c146105d857806370a082311461060357610251565b80632f745c591461043257806330176e131461046f57806333bc1c5c146104985780633ccfd60b146104c357806342842e0e146104cd57610251565b80630e9066e1116102195780630e9066e11461036157806318160ddd1461038a5780631a4231a4146103b557806323b872dd146103e05780632a85db551461040957610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630cf6c9f714610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613884565b610987565b60405161028a9190613fa5565b60405180910390f35b34801561029f57600080fd5b506102a8610a01565b6040516102b59190613fdb565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613954565b610a93565b6040516102f29190613f3e565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d91906137ce565b610b18565b005b34801561033057600080fd5b5061034b60048036038101906103469190613732565b610c30565b6040516103589190613fa5565b60405180910390f35b34801561036d57600080fd5b5061038860048036038101906103839190613857565b610ce0565b005b34801561039657600080fd5b5061039f610d66565b6040516103ac919061433d565b60405180910390f35b3480156103c157600080fd5b506103ca610d73565b6040516103d7919061433d565b60405180910390f35b3480156103ec57600080fd5b506104076004803603810190610402919061365c565b610d79565b005b34801561041557600080fd5b50610430600480360381019061042b919061390b565b610dd9565b005b34801561043e57600080fd5b50610459600480360381019061045491906137ce565b610e6f565b604051610466919061433d565b60405180910390f35b34801561047b57600080fd5b506104966004803603810190610491919061390b565b610f14565b005b3480156104a457600080fd5b506104ad610faa565b6040516104ba9190613fa5565b60405180910390f35b6104cb610fbd565b005b3480156104d957600080fd5b506104f460048036038101906104ef919061365c565b6110ef565b005b34801561050257600080fd5b5061050b61110f565b6040516105189190613fc0565b60405180910390f35b34801561052d57600080fd5b5061054860048036038101906105439190613954565b611115565b604051610555919061433d565b60405180910390f35b34801561056a57600080fd5b506105856004803603810190610580919061361c565b611186565b6040516105929190613fa5565b60405180910390f35b3480156105a757600080fd5b506105c260048036038101906105bd9190613954565b6112a7565b6040516105cf9190613f3e565b60405180910390f35b3480156105e457600080fd5b506105ed611359565b6040516105fa919061433d565b60405180910390f35b34801561060f57600080fd5b5061062a600480360381019061062591906135ef565b61135f565b604051610637919061433d565b60405180910390f35b34801561064c57600080fd5b50610655611417565b005b34801561066357600080fd5b5061066c61149f565b005b34801561067a57600080fd5b50610683611547565b6040516106909190613fa5565b60405180910390f35b3480156106a557600080fd5b506106ae61155a565b6040516106bb9190613fdb565b60405180910390f35b3480156106d057600080fd5b506106d96115e8565b6040516106e6919061433d565b60405180910390f35b3480156106fb57600080fd5b506107046115ee565b6040516107119190613f3e565b60405180910390f35b34801561072657600080fd5b5061072f611618565b60405161073c9190613fdb565b60405180910390f35b34801561075157600080fd5b5061076c6004803603810190610767919061378e565b6116aa565b005b34801561077a57600080fd5b50610795600480360381019061079091906137ce565b6116c0565b005b3480156107a357600080fd5b506107be60048036038101906107b991906135ef565b6117ed565b005b3480156107cc57600080fd5b506107e760048036038101906107e291906136af565b6118ad565b005b3480156107f557600080fd5b50610810600480360381019061080b9190613954565b61190f565b60405161081d9190613fdb565b60405180910390f35b610840600480360381019061083b91906137ce565b61199f565b005b34801561084e57600080fd5b50610857611a05565b6040516108649190613fdb565b60405180910390f35b34801561087957600080fd5b50610882611a93565b005b34801561089057600080fd5b50610899611b3b565b6040516108a6919061433d565b60405180910390f35b3480156108bb57600080fd5b506108c4611b41565b6040516108d19190613fdb565b60405180910390f35b3480156108e657600080fd5b5061090160048036038101906108fc919061361c565b611bd3565b60405161090e9190613fa5565b60405180910390f35b34801561092357600080fd5b5061093e600480360381019061093991906135ef565b611c00565b005b61095a6004803603810190610955919061380e565b611cf8565b005b34801561096857600080fd5b50610971611e6c565b60405161097e919061433d565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109fa57506109f982611e72565b5b9050919050565b606060008054610a1090614655565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3c90614655565b8015610a895780601f10610a5e57610100808354040283529160200191610a89565b820191906000526020600020905b815481529060010190602001808311610a6c57829003601f168201915b5050505050905090565b6000610a9e82611f54565b610add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad4906141fd565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b23826112a7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8b9061427d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bb3611fc0565b73ffffffffffffffffffffffffffffffffffffffff161480610be25750610be181610bdc611fc0565b611bd3565b5b610c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c189061415d565b60405180910390fd5b610c2b8383611fc8565b505050565b60008083604051602001610c449190613ebe565b6040516020818303038152906040528051906020012090506000610c6b8460145484612081565b9050801580610cc35750601860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15610cd357600092505050610cda565b6001925050505b92915050565b610ce8611fc0565b73ffffffffffffffffffffffffffffffffffffffff16610d066115ee565b73ffffffffffffffffffffffffffffffffffffffff1614610d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d539061421d565b60405180910390fd5b8060148190555050565b6000600880549050905090565b60105481565b610d8a610d84611fc0565b82612098565b610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc09061429d565b60405180910390fd5b610dd4838383612176565b505050565b610de1611fc0565b73ffffffffffffffffffffffffffffffffffffffff16610dff6115ee565b73ffffffffffffffffffffffffffffffffffffffff1614610e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4c9061421d565b60405180910390fd5b8060119080519060200190610e6b92919061333b565b5050565b6000610e7a8361135f565b8210610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb290613ffd565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f1c611fc0565b73ffffffffffffffffffffffffffffffffffffffff16610f3a6115ee565b73ffffffffffffffffffffffffffffffffffffffff1614610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f879061421d565b60405180910390fd5b8060129080519060200190610fa692919061333b565b5050565b601360009054906101000a900460ff1681565b610fc5611fc0565b73ffffffffffffffffffffffffffffffffffffffff16610fe36115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611039576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110309061421d565b60405180910390fd5b60006110436115ee565b73ffffffffffffffffffffffffffffffffffffffff164760405161106690613f29565b60006040518083038185875af1925050503d80600081146110a3576040519150601f19603f3d011682016040523d82523d6000602084013e6110a8565b606091505b50509050806110ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e39061407d565b60405180910390fd5b50565b61110a838383604051806020016040528060008152506118ad565b505050565b60145481565b600061111f610d66565b8210611160576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611157906142bd565b60405180910390fd5b600882815481106111745761117361481c565b5b90600052602060002001549050919050565b600080601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561129e57508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016112369190613f3e565b60206040518083038186803b15801561124e57600080fd5b505afa158015611262573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128691906138de565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611350576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113479061419d565b60405180910390fd5b80915050919050565b600d5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c79061417d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61141f611fc0565b73ffffffffffffffffffffffffffffffffffffffff1661143d6115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148a9061421d565b60405180910390fd5b61149d60006123d2565b565b6114a7611fc0565b73ffffffffffffffffffffffffffffffffffffffff166114c56115ee565b73ffffffffffffffffffffffffffffffffffffffff161461151b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115129061421d565b60405180910390fd5b601360019054906101000a900460ff1615601360016101000a81548160ff021916908315150217905550565b601360019054906101000a900460ff1681565b6011805461156790614655565b80601f016020809104026020016040519081016040528092919081815260200182805461159390614655565b80156115e05780601f106115b5576101008083540402835291602001916115e0565b820191906000526020600020905b8154815290600101906020018083116115c357829003601f168201915b505050505081565b600c5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461162790614655565b80601f016020809104026020016040519081016040528092919081815260200182805461165390614655565b80156116a05780601f10611675576101008083540402835291602001916116a0565b820191906000526020600020905b81548152906001019060200180831161168357829003601f168201915b5050505050905090565b6116bc6116b5611fc0565b8383612498565b5050565b6116c8611fc0565b73ffffffffffffffffffffffffffffffffffffffff166116e66115ee565b73ffffffffffffffffffffffffffffffffffffffff161461173c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117339061421d565b60405180910390fd5b600d5481600f5461174d919061446e565b111561178e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611785906142dd565b60405180910390fd5b80600f60008282546117a0919061446e565b9250508190555060005b818110156117e8576117bc6017612605565b60006117c8601761261b565b90506117d48482612629565b5080806117e0906146b8565b9150506117aa565b505050565b6117f5611fc0565b73ffffffffffffffffffffffffffffffffffffffff166118136115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611869576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118609061421d565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6118be6118b8611fc0565b83612098565b6118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f49061429d565b60405180910390fd5b61190984848484612647565b50505050565b606061191a82611f54565b61192357600080fd5b60006012805461193290614655565b9050141561196c576011611945836126a3565b604051602001611956929190613f05565b604051602081830303815290604052905061199a565b6012611977836126a3565b604051602001611988929190613f05565b60405160208183030381529060405290505b919050565b6002600b5414156119e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119dc9061431d565b60405180910390fd5b6002600b819055506119f981600084612804565b6001600b819055505050565b60128054611a1290614655565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3e90614655565b8015611a8b5780601f10611a6057610100808354040283529160200191611a8b565b820191906000526020600020905b815481529060010190602001808311611a6e57829003601f168201915b505050505081565b611a9b611fc0565b73ffffffffffffffffffffffffffffffffffffffff16611ab96115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b069061421d565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b600f5481565b606060158054611b5090614655565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7c90614655565b8015611bc95780601f10611b9e57610100808354040283529160200191611bc9565b820191906000526020600020905b815481529060010190602001808311611bac57829003601f168201915b5050505050905090565b6000611bdf8383611186565b15611bed5760019050611bfa565b611bf78383612998565b90505b92915050565b611c08611fc0565b73ffffffffffffffffffffffffffffffffffffffff16611c266115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c739061421d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce39061403d565b60405180910390fd5b611cf5816123d2565b50565b6002600b541415611d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d359061431d565b60405180910390fd5b6002600b81905550601360009054906101000a900460ff16158015611d6f5750601360019054906101000a900460ff165b611dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da59061425d565b60405180910390fd5b6000611dba3383610c30565b905080611dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df39061411d565b60405180910390fd5b6001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e6060018033612804565b506001600b8190555050565b600e5481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f3d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f4d5750611f4c82612a2c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661203b836112a7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008261208e8584612a96565b1490509392505050565b60006120a382611f54565b6120e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d9906140fd565b60405180910390fd5b60006120ed836112a7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061215c57508373ffffffffffffffffffffffffffffffffffffffff1661214484610a93565b73ffffffffffffffffffffffffffffffffffffffff16145b8061216d575061216c8185611bd3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612196826112a7565b73ffffffffffffffffffffffffffffffffffffffff16146121ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e39061423d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561225c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122539061409d565b60405180910390fd5b612267838383612b49565b612272600082611fc8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122c2919061454f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612319919061446e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fe906140bd565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125f89190613fa5565b60405180910390a3505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b612643828260405180602001604052806000815250612c5d565b5050565b612652848484612176565b61265e84848484612cb8565b61269d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126949061401d565b60405180910390fd5b50505050565b606060008214156126eb576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127ff565b600082905060005b6000821461271d578080612706906146b8565b915050600a8261271691906144c4565b91506126f3565b60008167ffffffffffffffff8111156127395761273861484b565b5b6040519080825280601f01601f19166020018201604052801561276b5781602001600182028036833780820191505090505b5090505b600085146127f857600182612784919061454f565b9150600a85612793919061472f565b603061279f919061446e565b60f81b8183815181106127b5576127b461481c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127f191906144c4565b945061276f565b8093505050505b919050565b8161285957601360009054906101000a900460ff16612858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284f906142fd565b60405180910390fd5b5b600e5483111561289e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612895906140dd565b60405180910390fd5b34836010546128ad91906144f5565b146128ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e4906141bd565b60405180910390fd5b600d54600c546128fd919061454f565b83612906610d66565b612910919061446e565b1115612951576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129489061413d565b60405180910390fd5b60005b83811015612992576129666017612605565b6000612972601761261b565b905061297e8382612629565b50808061298a906146b8565b915050612954565b50505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008082905060005b8451811015612b3e576000858281518110612abd57612abc61481c565b5b60200260200101519050808311612afe578281604051602001612ae1929190613ed9565b604051602081830303815290604052805190602001209250612b2a565b8083604051602001612b11929190613ed9565b6040516020818303038152906040528051906020012092505b508080612b36906146b8565b915050612a9f565b508091505092915050565b612b54838383612e4f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b9757612b9281612e54565b612bd6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612bd557612bd48382612e9d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c1957612c148161300a565b612c58565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c5757612c5682826130db565b5b5b505050565b612c67838361315a565b612c746000848484612cb8565b612cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612caa9061401d565b60405180910390fd5b505050565b6000612cd98473ffffffffffffffffffffffffffffffffffffffff16613328565b15612e42578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d02611fc0565b8786866040518563ffffffff1660e01b8152600401612d249493929190613f59565b602060405180830381600087803b158015612d3e57600080fd5b505af1925050508015612d6f57506040513d601f19601f82011682018060405250810190612d6c91906138b1565b60015b612df2573d8060008114612d9f576040519150601f19603f3d011682016040523d82523d6000602084013e612da4565b606091505b50600081511415612dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de19061401d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e47565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612eaa8461135f565b612eb4919061454f565b9050600060076000848152602001908152602001600020549050818114612f99576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061301e919061454f565b905060006009600084815260200190815260200160002054905060006008838154811061304e5761304d61481c565b5b9060005260206000200154905080600883815481106130705761306f61481c565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130bf576130be6147ed565b5b6001900381819060005260206000200160009055905550505050565b60006130e68361135f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c1906141dd565b60405180910390fd5b6131d381611f54565b15613213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320a9061405d565b60405180910390fd5b61321f60008383612b49565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461326f919061446e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461334790614655565b90600052602060002090601f01602090048101928261336957600085556133b0565b82601f1061338257805160ff19168380011785556133b0565b828001600101855582156133b0579182015b828111156133af578251825591602001919060010190613394565b5b5090506133bd91906133c1565b5090565b5b808211156133da5760008160009055506001016133c2565b5090565b60006133f16133ec8461437d565b614358565b905080838252602082019050828560208602820111156134145761341361487f565b5b60005b85811015613444578161342a888261352a565b845260208401935060208301925050600181019050613417565b5050509392505050565b600061346161345c846143a9565b614358565b90508281526020810184848401111561347d5761347c614884565b5b613488848285614613565b509392505050565b60006134a361349e846143da565b614358565b9050828152602081018484840111156134bf576134be614884565b5b6134ca848285614613565b509392505050565b6000813590506134e181614ecc565b92915050565b600082601f8301126134fc576134fb61487a565b5b813561350c8482602086016133de565b91505092915050565b60008135905061352481614ee3565b92915050565b60008135905061353981614efa565b92915050565b60008135905061354e81614f11565b92915050565b60008151905061356381614f11565b92915050565b600082601f83011261357e5761357d61487a565b5b813561358e84826020860161344e565b91505092915050565b6000815190506135a681614f28565b92915050565b600082601f8301126135c1576135c061487a565b5b81356135d1848260208601613490565b91505092915050565b6000813590506135e981614f3f565b92915050565b6000602082840312156136055761360461488e565b5b6000613613848285016134d2565b91505092915050565b600080604083850312156136335761363261488e565b5b6000613641858286016134d2565b9250506020613652858286016134d2565b9150509250929050565b6000806000606084860312156136755761367461488e565b5b6000613683868287016134d2565b9350506020613694868287016134d2565b92505060406136a5868287016135da565b9150509250925092565b600080600080608085870312156136c9576136c861488e565b5b60006136d7878288016134d2565b94505060206136e8878288016134d2565b93505060406136f9878288016135da565b925050606085013567ffffffffffffffff81111561371a57613719614889565b5b61372687828801613569565b91505092959194509250565b600080604083850312156137495761374861488e565b5b6000613757858286016134d2565b925050602083013567ffffffffffffffff81111561377857613777614889565b5b613784858286016134e7565b9150509250929050565b600080604083850312156137a5576137a461488e565b5b60006137b3858286016134d2565b92505060206137c485828601613515565b9150509250929050565b600080604083850312156137e5576137e461488e565b5b60006137f3858286016134d2565b9250506020613804858286016135da565b9150509250929050565b6000602082840312156138245761382361488e565b5b600082013567ffffffffffffffff81111561384257613841614889565b5b61384e848285016134e7565b91505092915050565b60006020828403121561386d5761386c61488e565b5b600061387b8482850161352a565b91505092915050565b60006020828403121561389a5761389961488e565b5b60006138a88482850161353f565b91505092915050565b6000602082840312156138c7576138c661488e565b5b60006138d584828501613554565b91505092915050565b6000602082840312156138f4576138f361488e565b5b600061390284828501613597565b91505092915050565b6000602082840312156139215761392061488e565b5b600082013567ffffffffffffffff81111561393f5761393e614889565b5b61394b848285016135ac565b91505092915050565b60006020828403121561396a5761396961488e565b5b6000613978848285016135da565b91505092915050565b61398a81614583565b82525050565b6139a161399c82614583565b614701565b82525050565b6139b081614595565b82525050565b6139bf816145a1565b82525050565b6139d66139d1826145a1565b614713565b82525050565b60006139e782614420565b6139f18185614436565b9350613a01818560208601614622565b613a0a81614893565b840191505092915050565b6000613a208261442b565b613a2a8185614452565b9350613a3a818560208601614622565b613a4381614893565b840191505092915050565b6000613a598261442b565b613a638185614463565b9350613a73818560208601614622565b80840191505092915050565b60008154613a8c81614655565b613a968186614463565b94506001821660008114613ab15760018114613ac257613af5565b60ff19831686528186019350613af5565b613acb8561440b565b60005b83811015613aed57815481890152600182019150602081019050613ace565b838801955050505b50505092915050565b6000613b0b602b83614452565b9150613b16826148b1565b604082019050919050565b6000613b2e603283614452565b9150613b3982614900565b604082019050919050565b6000613b51602683614452565b9150613b5c8261494f565b604082019050919050565b6000613b74601c83614452565b9150613b7f8261499e565b602082019050919050565b6000613b97600f83614452565b9150613ba2826149c7565b602082019050919050565b6000613bba602483614452565b9150613bc5826149f0565b604082019050919050565b6000613bdd601983614452565b9150613be882614a3f565b602082019050919050565b6000613c00601083614452565b9150613c0b82614a68565b602082019050919050565b6000613c23602c83614452565b9150613c2e82614a91565b604082019050919050565b6000613c46601e83614452565b9150613c5182614ae0565b602082019050919050565b6000613c69601e83614452565b9150613c7482614b09565b602082019050919050565b6000613c8c603883614452565b9150613c9782614b32565b604082019050919050565b6000613caf602a83614452565b9150613cba82614b81565b604082019050919050565b6000613cd2602983614452565b9150613cdd82614bd0565b604082019050919050565b6000613cf5600d83614452565b9150613d0082614c1f565b602082019050919050565b6000613d18602083614452565b9150613d2382614c48565b602082019050919050565b6000613d3b602c83614452565b9150613d4682614c71565b604082019050919050565b6000613d5e602083614452565b9150613d6982614cc0565b602082019050919050565b6000613d81602983614452565b9150613d8c82614ce9565b604082019050919050565b6000613da4601883614452565b9150613daf82614d38565b602082019050919050565b6000613dc7602183614452565b9150613dd282614d61565b604082019050919050565b6000613dea600083614447565b9150613df582614db0565b600082019050919050565b6000613e0d603183614452565b9150613e1882614db3565b604082019050919050565b6000613e30602c83614452565b9150613e3b82614e02565b604082019050919050565b6000613e53602083614452565b9150613e5e82614e51565b602082019050919050565b6000613e76601483614452565b9150613e8182614e7a565b602082019050919050565b6000613e99601f83614452565b9150613ea482614ea3565b602082019050919050565b613eb881614609565b82525050565b6000613eca8284613990565b60148201915081905092915050565b6000613ee582856139c5565b602082019150613ef582846139c5565b6020820191508190509392505050565b6000613f118285613a7f565b9150613f1d8284613a4e565b91508190509392505050565b6000613f3482613ddd565b9150819050919050565b6000602082019050613f536000830184613981565b92915050565b6000608082019050613f6e6000830187613981565b613f7b6020830186613981565b613f886040830185613eaf565b8181036060830152613f9a81846139dc565b905095945050505050565b6000602082019050613fba60008301846139a7565b92915050565b6000602082019050613fd560008301846139b6565b92915050565b60006020820190508181036000830152613ff58184613a15565b905092915050565b6000602082019050818103600083015261401681613afe565b9050919050565b6000602082019050818103600083015261403681613b21565b9050919050565b6000602082019050818103600083015261405681613b44565b9050919050565b6000602082019050818103600083015261407681613b67565b9050919050565b6000602082019050818103600083015261409681613b8a565b9050919050565b600060208201905081810360008301526140b681613bad565b9050919050565b600060208201905081810360008301526140d681613bd0565b9050919050565b600060208201905081810360008301526140f681613bf3565b9050919050565b6000602082019050818103600083015261411681613c16565b9050919050565b6000602082019050818103600083015261413681613c39565b9050919050565b6000602082019050818103600083015261415681613c5c565b9050919050565b6000602082019050818103600083015261417681613c7f565b9050919050565b6000602082019050818103600083015261419681613ca2565b9050919050565b600060208201905081810360008301526141b681613cc5565b9050919050565b600060208201905081810360008301526141d681613ce8565b9050919050565b600060208201905081810360008301526141f681613d0b565b9050919050565b6000602082019050818103600083015261421681613d2e565b9050919050565b6000602082019050818103600083015261423681613d51565b9050919050565b6000602082019050818103600083015261425681613d74565b9050919050565b6000602082019050818103600083015261427681613d97565b9050919050565b6000602082019050818103600083015261429681613dba565b9050919050565b600060208201905081810360008301526142b681613e00565b9050919050565b600060208201905081810360008301526142d681613e23565b9050919050565b600060208201905081810360008301526142f681613e46565b9050919050565b6000602082019050818103600083015261431681613e69565b9050919050565b6000602082019050818103600083015261433681613e8c565b9050919050565b60006020820190506143526000830184613eaf565b92915050565b6000614362614373565b905061436e8282614687565b919050565b6000604051905090565b600067ffffffffffffffff8211156143985761439761484b565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143c4576143c361484b565b5b6143cd82614893565b9050602081019050919050565b600067ffffffffffffffff8211156143f5576143f461484b565b5b6143fe82614893565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061447982614609565b915061448483614609565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144b9576144b8614760565b5b828201905092915050565b60006144cf82614609565b91506144da83614609565b9250826144ea576144e961478f565b5b828204905092915050565b600061450082614609565b915061450b83614609565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561454457614543614760565b5b828202905092915050565b600061455a82614609565b915061456583614609565b92508282101561457857614577614760565b5b828203905092915050565b600061458e826145e9565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006145e282614583565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614640578082015181840152602081019050614625565b8381111561464f576000848401525b50505050565b6000600282049050600182168061466d57607f821691505b60208210811415614681576146806147be565b5b50919050565b61469082614893565b810181811067ffffffffffffffff821117156146af576146ae61484b565b5b80604052505050565b60006146c382614609565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146f6576146f5614760565b5b600182019050919050565b600061470c8261471d565b9050919050565b6000819050919050565b6000614728826148a4565b9050919050565b600061473a82614609565b915061474583614609565b9250826147555761475461478f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416d6f756e7420746f6f206c6172676500000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f416464726573732063616e6e6f7420677265656e6c697374206d696e74210000600082015250565b7f4d696e7420776f756c642065786365656420746f74616c20737570706c790000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f56616c756520746f6f206c6f7700000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f477265656e6c6973742073616c652068617320656e6465640000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d696e7420776f756c6420657863656564207265736572766520737570706c79600082015250565b7f53616c6520686173206e6f742073746172746564000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b614ed581614583565b8114614ee057600080fd5b50565b614eec81614595565b8114614ef757600080fd5b50565b614f03816145a1565b8114614f0e57600080fd5b50565b614f1a816145ab565b8114614f2557600080fd5b50565b614f31816145d7565b8114614f3c57600080fd5b50565b614f4881614609565b8114614f5357600080fd5b5056fea2646970667358221220b50309e5791916d2e0f28bf7568bc08262585e567724be070364d41210e6c96864736f6c63430008070033000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode
0x6080604052600436106102515760003560e01c8063715018a611610139578063b88d4fde116100b6578063e52ec5fc1161007a578063e52ec5fc14610884578063e8a3d485146108af578063e985e9c5146108da578063f2fde38b14610917578063f36bc30d14610940578063f968adbe1461095c57610251565b8063b88d4fde146107c0578063c87b56dd146107e9578063ce6df2b914610826578063d547cfb714610842578063e222c7f91461086d57610251565b80638da5cb5b116100fd5780638da5cb5b146106ef57806395d89b411461071a578063a22cb46514610745578063b0ea18021461076e578063b5f497591461079757610251565b8063715018a61461064057806377ce75bf1461065757806377d3b5311461066e57806379b6ed36146106995780638a333b50146106c457610251565b80632f745c59116101d25780634920724c116101965780634920724c146104f65780634f6ccce7146105215780636102de981461055e5780636352211e1461059b57806368d2438c146105d857806370a082311461060357610251565b80632f745c591461043257806330176e131461046f57806333bc1c5c146104985780633ccfd60b146104c357806342842e0e146104cd57610251565b80630e9066e1116102195780630e9066e11461036157806318160ddd1461038a5780631a4231a4146103b557806323b872dd146103e05780632a85db551461040957610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630cf6c9f714610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613884565b610987565b60405161028a9190613fa5565b60405180910390f35b34801561029f57600080fd5b506102a8610a01565b6040516102b59190613fdb565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613954565b610a93565b6040516102f29190613f3e565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d91906137ce565b610b18565b005b34801561033057600080fd5b5061034b60048036038101906103469190613732565b610c30565b6040516103589190613fa5565b60405180910390f35b34801561036d57600080fd5b5061038860048036038101906103839190613857565b610ce0565b005b34801561039657600080fd5b5061039f610d66565b6040516103ac919061433d565b60405180910390f35b3480156103c157600080fd5b506103ca610d73565b6040516103d7919061433d565b60405180910390f35b3480156103ec57600080fd5b506104076004803603810190610402919061365c565b610d79565b005b34801561041557600080fd5b50610430600480360381019061042b919061390b565b610dd9565b005b34801561043e57600080fd5b50610459600480360381019061045491906137ce565b610e6f565b604051610466919061433d565b60405180910390f35b34801561047b57600080fd5b506104966004803603810190610491919061390b565b610f14565b005b3480156104a457600080fd5b506104ad610faa565b6040516104ba9190613fa5565b60405180910390f35b6104cb610fbd565b005b3480156104d957600080fd5b506104f460048036038101906104ef919061365c565b6110ef565b005b34801561050257600080fd5b5061050b61110f565b6040516105189190613fc0565b60405180910390f35b34801561052d57600080fd5b5061054860048036038101906105439190613954565b611115565b604051610555919061433d565b60405180910390f35b34801561056a57600080fd5b506105856004803603810190610580919061361c565b611186565b6040516105929190613fa5565b60405180910390f35b3480156105a757600080fd5b506105c260048036038101906105bd9190613954565b6112a7565b6040516105cf9190613f3e565b60405180910390f35b3480156105e457600080fd5b506105ed611359565b6040516105fa919061433d565b60405180910390f35b34801561060f57600080fd5b5061062a600480360381019061062591906135ef565b61135f565b604051610637919061433d565b60405180910390f35b34801561064c57600080fd5b50610655611417565b005b34801561066357600080fd5b5061066c61149f565b005b34801561067a57600080fd5b50610683611547565b6040516106909190613fa5565b60405180910390f35b3480156106a557600080fd5b506106ae61155a565b6040516106bb9190613fdb565b60405180910390f35b3480156106d057600080fd5b506106d96115e8565b6040516106e6919061433d565b60405180910390f35b3480156106fb57600080fd5b506107046115ee565b6040516107119190613f3e565b60405180910390f35b34801561072657600080fd5b5061072f611618565b60405161073c9190613fdb565b60405180910390f35b34801561075157600080fd5b5061076c6004803603810190610767919061378e565b6116aa565b005b34801561077a57600080fd5b50610795600480360381019061079091906137ce565b6116c0565b005b3480156107a357600080fd5b506107be60048036038101906107b991906135ef565b6117ed565b005b3480156107cc57600080fd5b506107e760048036038101906107e291906136af565b6118ad565b005b3480156107f557600080fd5b50610810600480360381019061080b9190613954565b61190f565b60405161081d9190613fdb565b60405180910390f35b610840600480360381019061083b91906137ce565b61199f565b005b34801561084e57600080fd5b50610857611a05565b6040516108649190613fdb565b60405180910390f35b34801561087957600080fd5b50610882611a93565b005b34801561089057600080fd5b50610899611b3b565b6040516108a6919061433d565b60405180910390f35b3480156108bb57600080fd5b506108c4611b41565b6040516108d19190613fdb565b60405180910390f35b3480156108e657600080fd5b5061090160048036038101906108fc919061361c565b611bd3565b60405161090e9190613fa5565b60405180910390f35b34801561092357600080fd5b5061093e600480360381019061093991906135ef565b611c00565b005b61095a6004803603810190610955919061380e565b611cf8565b005b34801561096857600080fd5b50610971611e6c565b60405161097e919061433d565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109fa57506109f982611e72565b5b9050919050565b606060008054610a1090614655565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3c90614655565b8015610a895780601f10610a5e57610100808354040283529160200191610a89565b820191906000526020600020905b815481529060010190602001808311610a6c57829003601f168201915b5050505050905090565b6000610a9e82611f54565b610add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad4906141fd565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b23826112a7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8b9061427d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bb3611fc0565b73ffffffffffffffffffffffffffffffffffffffff161480610be25750610be181610bdc611fc0565b611bd3565b5b610c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c189061415d565b60405180910390fd5b610c2b8383611fc8565b505050565b60008083604051602001610c449190613ebe565b6040516020818303038152906040528051906020012090506000610c6b8460145484612081565b9050801580610cc35750601860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15610cd357600092505050610cda565b6001925050505b92915050565b610ce8611fc0565b73ffffffffffffffffffffffffffffffffffffffff16610d066115ee565b73ffffffffffffffffffffffffffffffffffffffff1614610d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d539061421d565b60405180910390fd5b8060148190555050565b6000600880549050905090565b60105481565b610d8a610d84611fc0565b82612098565b610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc09061429d565b60405180910390fd5b610dd4838383612176565b505050565b610de1611fc0565b73ffffffffffffffffffffffffffffffffffffffff16610dff6115ee565b73ffffffffffffffffffffffffffffffffffffffff1614610e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4c9061421d565b60405180910390fd5b8060119080519060200190610e6b92919061333b565b5050565b6000610e7a8361135f565b8210610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb290613ffd565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f1c611fc0565b73ffffffffffffffffffffffffffffffffffffffff16610f3a6115ee565b73ffffffffffffffffffffffffffffffffffffffff1614610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f879061421d565b60405180910390fd5b8060129080519060200190610fa692919061333b565b5050565b601360009054906101000a900460ff1681565b610fc5611fc0565b73ffffffffffffffffffffffffffffffffffffffff16610fe36115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611039576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110309061421d565b60405180910390fd5b60006110436115ee565b73ffffffffffffffffffffffffffffffffffffffff164760405161106690613f29565b60006040518083038185875af1925050503d80600081146110a3576040519150601f19603f3d011682016040523d82523d6000602084013e6110a8565b606091505b50509050806110ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e39061407d565b60405180910390fd5b50565b61110a838383604051806020016040528060008152506118ad565b505050565b60145481565b600061111f610d66565b8210611160576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611157906142bd565b60405180910390fd5b600882815481106111745761117361481c565b5b90600052602060002001549050919050565b600080601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561129e57508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016112369190613f3e565b60206040518083038186803b15801561124e57600080fd5b505afa158015611262573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128691906138de565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611350576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113479061419d565b60405180910390fd5b80915050919050565b600d5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c79061417d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61141f611fc0565b73ffffffffffffffffffffffffffffffffffffffff1661143d6115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148a9061421d565b60405180910390fd5b61149d60006123d2565b565b6114a7611fc0565b73ffffffffffffffffffffffffffffffffffffffff166114c56115ee565b73ffffffffffffffffffffffffffffffffffffffff161461151b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115129061421d565b60405180910390fd5b601360019054906101000a900460ff1615601360016101000a81548160ff021916908315150217905550565b601360019054906101000a900460ff1681565b6011805461156790614655565b80601f016020809104026020016040519081016040528092919081815260200182805461159390614655565b80156115e05780601f106115b5576101008083540402835291602001916115e0565b820191906000526020600020905b8154815290600101906020018083116115c357829003601f168201915b505050505081565b600c5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461162790614655565b80601f016020809104026020016040519081016040528092919081815260200182805461165390614655565b80156116a05780601f10611675576101008083540402835291602001916116a0565b820191906000526020600020905b81548152906001019060200180831161168357829003601f168201915b5050505050905090565b6116bc6116b5611fc0565b8383612498565b5050565b6116c8611fc0565b73ffffffffffffffffffffffffffffffffffffffff166116e66115ee565b73ffffffffffffffffffffffffffffffffffffffff161461173c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117339061421d565b60405180910390fd5b600d5481600f5461174d919061446e565b111561178e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611785906142dd565b60405180910390fd5b80600f60008282546117a0919061446e565b9250508190555060005b818110156117e8576117bc6017612605565b60006117c8601761261b565b90506117d48482612629565b5080806117e0906146b8565b9150506117aa565b505050565b6117f5611fc0565b73ffffffffffffffffffffffffffffffffffffffff166118136115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611869576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118609061421d565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6118be6118b8611fc0565b83612098565b6118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f49061429d565b60405180910390fd5b61190984848484612647565b50505050565b606061191a82611f54565b61192357600080fd5b60006012805461193290614655565b9050141561196c576011611945836126a3565b604051602001611956929190613f05565b604051602081830303815290604052905061199a565b6012611977836126a3565b604051602001611988929190613f05565b60405160208183030381529060405290505b919050565b6002600b5414156119e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119dc9061431d565b60405180910390fd5b6002600b819055506119f981600084612804565b6001600b819055505050565b60128054611a1290614655565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3e90614655565b8015611a8b5780601f10611a6057610100808354040283529160200191611a8b565b820191906000526020600020905b815481529060010190602001808311611a6e57829003601f168201915b505050505081565b611a9b611fc0565b73ffffffffffffffffffffffffffffffffffffffff16611ab96115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b069061421d565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b600f5481565b606060158054611b5090614655565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7c90614655565b8015611bc95780601f10611b9e57610100808354040283529160200191611bc9565b820191906000526020600020905b815481529060010190602001808311611bac57829003601f168201915b5050505050905090565b6000611bdf8383611186565b15611bed5760019050611bfa565b611bf78383612998565b90505b92915050565b611c08611fc0565b73ffffffffffffffffffffffffffffffffffffffff16611c266115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c739061421d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce39061403d565b60405180910390fd5b611cf5816123d2565b50565b6002600b541415611d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d359061431d565b60405180910390fd5b6002600b81905550601360009054906101000a900460ff16158015611d6f5750601360019054906101000a900460ff165b611dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da59061425d565b60405180910390fd5b6000611dba3383610c30565b905080611dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df39061411d565b60405180910390fd5b6001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e6060018033612804565b506001600b8190555050565b600e5481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f3d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f4d5750611f4c82612a2c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661203b836112a7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008261208e8584612a96565b1490509392505050565b60006120a382611f54565b6120e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d9906140fd565b60405180910390fd5b60006120ed836112a7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061215c57508373ffffffffffffffffffffffffffffffffffffffff1661214484610a93565b73ffffffffffffffffffffffffffffffffffffffff16145b8061216d575061216c8185611bd3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612196826112a7565b73ffffffffffffffffffffffffffffffffffffffff16146121ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e39061423d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561225c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122539061409d565b60405180910390fd5b612267838383612b49565b612272600082611fc8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122c2919061454f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612319919061446e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fe906140bd565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125f89190613fa5565b60405180910390a3505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b612643828260405180602001604052806000815250612c5d565b5050565b612652848484612176565b61265e84848484612cb8565b61269d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126949061401d565b60405180910390fd5b50505050565b606060008214156126eb576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127ff565b600082905060005b6000821461271d578080612706906146b8565b915050600a8261271691906144c4565b91506126f3565b60008167ffffffffffffffff8111156127395761273861484b565b5b6040519080825280601f01601f19166020018201604052801561276b5781602001600182028036833780820191505090505b5090505b600085146127f857600182612784919061454f565b9150600a85612793919061472f565b603061279f919061446e565b60f81b8183815181106127b5576127b461481c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127f191906144c4565b945061276f565b8093505050505b919050565b8161285957601360009054906101000a900460ff16612858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284f906142fd565b60405180910390fd5b5b600e5483111561289e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612895906140dd565b60405180910390fd5b34836010546128ad91906144f5565b146128ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e4906141bd565b60405180910390fd5b600d54600c546128fd919061454f565b83612906610d66565b612910919061446e565b1115612951576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129489061413d565b60405180910390fd5b60005b83811015612992576129666017612605565b6000612972601761261b565b905061297e8382612629565b50808061298a906146b8565b915050612954565b50505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008082905060005b8451811015612b3e576000858281518110612abd57612abc61481c565b5b60200260200101519050808311612afe578281604051602001612ae1929190613ed9565b604051602081830303815290604052805190602001209250612b2a565b8083604051602001612b11929190613ed9565b6040516020818303038152906040528051906020012092505b508080612b36906146b8565b915050612a9f565b508091505092915050565b612b54838383612e4f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b9757612b9281612e54565b612bd6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612bd557612bd48382612e9d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c1957612c148161300a565b612c58565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c5757612c5682826130db565b5b5b505050565b612c67838361315a565b612c746000848484612cb8565b612cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612caa9061401d565b60405180910390fd5b505050565b6000612cd98473ffffffffffffffffffffffffffffffffffffffff16613328565b15612e42578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d02611fc0565b8786866040518563ffffffff1660e01b8152600401612d249493929190613f59565b602060405180830381600087803b158015612d3e57600080fd5b505af1925050508015612d6f57506040513d601f19601f82011682018060405250810190612d6c91906138b1565b60015b612df2573d8060008114612d9f576040519150601f19603f3d011682016040523d82523d6000602084013e612da4565b606091505b50600081511415612dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de19061401d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e47565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612eaa8461135f565b612eb4919061454f565b9050600060076000848152602001908152602001600020549050818114612f99576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061301e919061454f565b905060006009600084815260200190815260200160002054905060006008838154811061304e5761304d61481c565b5b9060005260206000200154905080600883815481106130705761306f61481c565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130bf576130be6147ed565b5b6001900381819060005260206000200160009055905550505050565b60006130e68361135f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c1906141dd565b60405180910390fd5b6131d381611f54565b15613213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320a9061405d565b60405180910390fd5b61321f60008383612b49565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461326f919061446e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461334790614655565b90600052602060002090601f01602090048101928261336957600085556133b0565b82601f1061338257805160ff19168380011785556133b0565b828001600101855582156133b0579182015b828111156133af578251825591602001919060010190613394565b5b5090506133bd91906133c1565b5090565b5b808211156133da5760008160009055506001016133c2565b5090565b60006133f16133ec8461437d565b614358565b905080838252602082019050828560208602820111156134145761341361487f565b5b60005b85811015613444578161342a888261352a565b845260208401935060208301925050600181019050613417565b5050509392505050565b600061346161345c846143a9565b614358565b90508281526020810184848401111561347d5761347c614884565b5b613488848285614613565b509392505050565b60006134a361349e846143da565b614358565b9050828152602081018484840111156134bf576134be614884565b5b6134ca848285614613565b509392505050565b6000813590506134e181614ecc565b92915050565b600082601f8301126134fc576134fb61487a565b5b813561350c8482602086016133de565b91505092915050565b60008135905061352481614ee3565b92915050565b60008135905061353981614efa565b92915050565b60008135905061354e81614f11565b92915050565b60008151905061356381614f11565b92915050565b600082601f83011261357e5761357d61487a565b5b813561358e84826020860161344e565b91505092915050565b6000815190506135a681614f28565b92915050565b600082601f8301126135c1576135c061487a565b5b81356135d1848260208601613490565b91505092915050565b6000813590506135e981614f3f565b92915050565b6000602082840312156136055761360461488e565b5b6000613613848285016134d2565b91505092915050565b600080604083850312156136335761363261488e565b5b6000613641858286016134d2565b9250506020613652858286016134d2565b9150509250929050565b6000806000606084860312156136755761367461488e565b5b6000613683868287016134d2565b9350506020613694868287016134d2565b92505060406136a5868287016135da565b9150509250925092565b600080600080608085870312156136c9576136c861488e565b5b60006136d7878288016134d2565b94505060206136e8878288016134d2565b93505060406136f9878288016135da565b925050606085013567ffffffffffffffff81111561371a57613719614889565b5b61372687828801613569565b91505092959194509250565b600080604083850312156137495761374861488e565b5b6000613757858286016134d2565b925050602083013567ffffffffffffffff81111561377857613777614889565b5b613784858286016134e7565b9150509250929050565b600080604083850312156137a5576137a461488e565b5b60006137b3858286016134d2565b92505060206137c485828601613515565b9150509250929050565b600080604083850312156137e5576137e461488e565b5b60006137f3858286016134d2565b9250506020613804858286016135da565b9150509250929050565b6000602082840312156138245761382361488e565b5b600082013567ffffffffffffffff81111561384257613841614889565b5b61384e848285016134e7565b91505092915050565b60006020828403121561386d5761386c61488e565b5b600061387b8482850161352a565b91505092915050565b60006020828403121561389a5761389961488e565b5b60006138a88482850161353f565b91505092915050565b6000602082840312156138c7576138c661488e565b5b60006138d584828501613554565b91505092915050565b6000602082840312156138f4576138f361488e565b5b600061390284828501613597565b91505092915050565b6000602082840312156139215761392061488e565b5b600082013567ffffffffffffffff81111561393f5761393e614889565b5b61394b848285016135ac565b91505092915050565b60006020828403121561396a5761396961488e565b5b6000613978848285016135da565b91505092915050565b61398a81614583565b82525050565b6139a161399c82614583565b614701565b82525050565b6139b081614595565b82525050565b6139bf816145a1565b82525050565b6139d66139d1826145a1565b614713565b82525050565b60006139e782614420565b6139f18185614436565b9350613a01818560208601614622565b613a0a81614893565b840191505092915050565b6000613a208261442b565b613a2a8185614452565b9350613a3a818560208601614622565b613a4381614893565b840191505092915050565b6000613a598261442b565b613a638185614463565b9350613a73818560208601614622565b80840191505092915050565b60008154613a8c81614655565b613a968186614463565b94506001821660008114613ab15760018114613ac257613af5565b60ff19831686528186019350613af5565b613acb8561440b565b60005b83811015613aed57815481890152600182019150602081019050613ace565b838801955050505b50505092915050565b6000613b0b602b83614452565b9150613b16826148b1565b604082019050919050565b6000613b2e603283614452565b9150613b3982614900565b604082019050919050565b6000613b51602683614452565b9150613b5c8261494f565b604082019050919050565b6000613b74601c83614452565b9150613b7f8261499e565b602082019050919050565b6000613b97600f83614452565b9150613ba2826149c7565b602082019050919050565b6000613bba602483614452565b9150613bc5826149f0565b604082019050919050565b6000613bdd601983614452565b9150613be882614a3f565b602082019050919050565b6000613c00601083614452565b9150613c0b82614a68565b602082019050919050565b6000613c23602c83614452565b9150613c2e82614a91565b604082019050919050565b6000613c46601e83614452565b9150613c5182614ae0565b602082019050919050565b6000613c69601e83614452565b9150613c7482614b09565b602082019050919050565b6000613c8c603883614452565b9150613c9782614b32565b604082019050919050565b6000613caf602a83614452565b9150613cba82614b81565b604082019050919050565b6000613cd2602983614452565b9150613cdd82614bd0565b604082019050919050565b6000613cf5600d83614452565b9150613d0082614c1f565b602082019050919050565b6000613d18602083614452565b9150613d2382614c48565b602082019050919050565b6000613d3b602c83614452565b9150613d4682614c71565b604082019050919050565b6000613d5e602083614452565b9150613d6982614cc0565b602082019050919050565b6000613d81602983614452565b9150613d8c82614ce9565b604082019050919050565b6000613da4601883614452565b9150613daf82614d38565b602082019050919050565b6000613dc7602183614452565b9150613dd282614d61565b604082019050919050565b6000613dea600083614447565b9150613df582614db0565b600082019050919050565b6000613e0d603183614452565b9150613e1882614db3565b604082019050919050565b6000613e30602c83614452565b9150613e3b82614e02565b604082019050919050565b6000613e53602083614452565b9150613e5e82614e51565b602082019050919050565b6000613e76601483614452565b9150613e8182614e7a565b602082019050919050565b6000613e99601f83614452565b9150613ea482614ea3565b602082019050919050565b613eb881614609565b82525050565b6000613eca8284613990565b60148201915081905092915050565b6000613ee582856139c5565b602082019150613ef582846139c5565b6020820191508190509392505050565b6000613f118285613a7f565b9150613f1d8284613a4e565b91508190509392505050565b6000613f3482613ddd565b9150819050919050565b6000602082019050613f536000830184613981565b92915050565b6000608082019050613f6e6000830187613981565b613f7b6020830186613981565b613f886040830185613eaf565b8181036060830152613f9a81846139dc565b905095945050505050565b6000602082019050613fba60008301846139a7565b92915050565b6000602082019050613fd560008301846139b6565b92915050565b60006020820190508181036000830152613ff58184613a15565b905092915050565b6000602082019050818103600083015261401681613afe565b9050919050565b6000602082019050818103600083015261403681613b21565b9050919050565b6000602082019050818103600083015261405681613b44565b9050919050565b6000602082019050818103600083015261407681613b67565b9050919050565b6000602082019050818103600083015261409681613b8a565b9050919050565b600060208201905081810360008301526140b681613bad565b9050919050565b600060208201905081810360008301526140d681613bd0565b9050919050565b600060208201905081810360008301526140f681613bf3565b9050919050565b6000602082019050818103600083015261411681613c16565b9050919050565b6000602082019050818103600083015261413681613c39565b9050919050565b6000602082019050818103600083015261415681613c5c565b9050919050565b6000602082019050818103600083015261417681613c7f565b9050919050565b6000602082019050818103600083015261419681613ca2565b9050919050565b600060208201905081810360008301526141b681613cc5565b9050919050565b600060208201905081810360008301526141d681613ce8565b9050919050565b600060208201905081810360008301526141f681613d0b565b9050919050565b6000602082019050818103600083015261421681613d2e565b9050919050565b6000602082019050818103600083015261423681613d51565b9050919050565b6000602082019050818103600083015261425681613d74565b9050919050565b6000602082019050818103600083015261427681613d97565b9050919050565b6000602082019050818103600083015261429681613dba565b9050919050565b600060208201905081810360008301526142b681613e00565b9050919050565b600060208201905081810360008301526142d681613e23565b9050919050565b600060208201905081810360008301526142f681613e46565b9050919050565b6000602082019050818103600083015261431681613e69565b9050919050565b6000602082019050818103600083015261433681613e8c565b9050919050565b60006020820190506143526000830184613eaf565b92915050565b6000614362614373565b905061436e8282614687565b919050565b6000604051905090565b600067ffffffffffffffff8211156143985761439761484b565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143c4576143c361484b565b5b6143cd82614893565b9050602081019050919050565b600067ffffffffffffffff8211156143f5576143f461484b565b5b6143fe82614893565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061447982614609565b915061448483614609565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144b9576144b8614760565b5b828201905092915050565b60006144cf82614609565b91506144da83614609565b9250826144ea576144e961478f565b5b828204905092915050565b600061450082614609565b915061450b83614609565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561454457614543614760565b5b828202905092915050565b600061455a82614609565b915061456583614609565b92508282101561457857614577614760565b5b828203905092915050565b600061458e826145e9565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006145e282614583565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614640578082015181840152602081019050614625565b8381111561464f576000848401525b50505050565b6000600282049050600182168061466d57607f821691505b60208210811415614681576146806147be565b5b50919050565b61469082614893565b810181811067ffffffffffffffff821117156146af576146ae61484b565b5b80604052505050565b60006146c382614609565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146f6576146f5614760565b5b600182019050919050565b600061470c8261471d565b9050919050565b6000819050919050565b6000614728826148a4565b9050919050565b600061473a82614609565b915061474583614609565b9250826147555761475461478f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416d6f756e7420746f6f206c6172676500000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f416464726573732063616e6e6f7420677265656e6c697374206d696e74210000600082015250565b7f4d696e7420776f756c642065786365656420746f74616c20737570706c790000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f56616c756520746f6f206c6f7700000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f477265656e6c6973742073616c652068617320656e6465640000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d696e7420776f756c6420657863656564207265736572766520737570706c79600082015250565b7f53616c6520686173206e6f742073746172746564000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b614ed581614583565b8114614ee057600080fd5b50565b614eec81614595565b8114614ef757600080fd5b50565b614f03816145a1565b8114614f0e57600080fd5b50565b614f1a816145ab565b8114614f2557600080fd5b50565b614f31816145d7565b8114614f3c57600080fd5b50565b614f4881614609565b8114614f5357600080fd5b5056fea2646970667358221220b50309e5791916d2e0f28bf7568bc08262585e567724be070364d41210e6c96864736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
-----Decoded View---------------
Arg [0] : openseaProxyRegistry_ (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
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.