ETH Price: $2,597.08 (-4.45%)
 

Overview

Max Total Supply

15 INOUN

Holders

12

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
kmacb.eth
Balance
1 INOUN
0x8b80755C441d355405CA7571443Bb9247B77Ec16
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
InvisibleNouns

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : InivisbleNouns.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.7;

/**
 * @title Invisible Nouns
 * @notice Completely on-chain derivative of Nouns, https://invisiblenouns.wtf
 */

/*********************************
 *                               *
 *                               *
 *       █████████  █████████    *
 *       ██   ████  ██   ████    *
 *   ██████   ████████   ████    *
 *   ██  ██   ████  ██   ████    *
 *   ██  ██   ████  ██   ████    *
 *       █████████  █████████    *
 *                               *
 *                               *
 *********************************/

import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "base64-sol/base64.sol";

struct Seed {
    uint48 background;
    uint48 body;
    uint48 accessory;
    uint48 head;
    uint48 glasses;
}

interface ProxyRegistry {
    function proxies(address) external view returns (address);
}

interface NounsToken {
    function seeds(uint256) external view returns (Seed memory);
    function totalSupply() external view returns (uint256);
    function ownerOf(uint256) external view returns (address);
}

interface NounsDescriptor {
    function generateSVGImage(Seed memory) external view returns (string memory);
}

contract InvisibleNouns is ERC721, IERC2981, Ownable {
    using Strings for uint256;
    event Payout(address indexed tokenOwner, uint value);

    string private _contractCID;
    NounsToken public immutable nounsToken;
    NounsDescriptor public immutable nounsDescriptor;
    address public immutable nounsDAO;
    ProxyRegistry public immutable proxyRegistry;
    uint256 public price;
    bool public priceLocked = false;
    uint256 public totalSupply;

    constructor(address _nounsToken, address _nounsDescriptor, address _nounsDAO, address _proxyRegistry, uint256 _price, string memory contractCID) ERC721("Invisible Nouns", "INOUN") {
        nounsToken = NounsToken(_nounsToken);
        nounsDescriptor = NounsDescriptor(_nounsDescriptor);
        nounsDAO = _nounsDAO;
        proxyRegistry = ProxyRegistry(_proxyRegistry);
        price = _price;
        _contractCID = contractCID;
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    function tokenURI(uint256 tokenId) override(ERC721) public view returns (string memory) {
        require(_exists(tokenId), "URI query for nonexistent token");
        Seed memory seed = nounsToken.seeds(tokenId);
        seed.head = uint48(198); //stapler, the shortest code
        bytes memory image = Base64.decode((nounsDescriptor.generateSVGImage(seed)));
        require(image.length > 1110, "Wrong SVG");
        assembly {
            let end := sub(add(image, mload(image)), 1078) //1110 (stapler svg length) - 32
            for { let i := add(image, 32) } lt(i, end) { i := add(i, 1) } {
                if eq(mload(i), 0x3c726563742077696474683d2231333022206865696768743d2231302220783d) { //0-32 bytes of stapler head
                    if eq(mload(add(i, 32)), 0x223131302220793d223830222066696c6c3d222366333332326322202f3e3c72) { //32-64 bytes of stapler head
                        if eq(mload(add(i, 64)), 0x6563742077696474683d2231383022206865696768743d2231302220783d2238) { //64-96 bytes of stapler head
                            if eq(mload(add(i, 96)), 0x302220793d223930222066696c6c3d222366333332326322202f3e3c72656374) { //96-128 bytes of stapler head
                                for { let j := i } lt(j, end) { j := add(j, 32) } {
                                    mstore(j, mload(add(j, 1110)))
                                }
                                i := end
                            }
                        }
                    }
                }
            }
            mstore(image, sub(mload(image), 1110))
        }
        string memory nounId = tokenId.toString();
        return string(
            abi.encodePacked(
                'data:application/json;base64,',
                Base64.encode(
                    bytes(
                        abi.encodePacked('{"name":"Invisible Noun ', nounId, '", "description":"Invisible Noun ', nounId, ' is a derivative of the Noun ', nounId, '", "image": "', 'data:image/svg+xml;base64,', Base64.encode(image), '"}')
                    )
                )
            )
        );
    }

    function contractURI() public view returns (string memory) {
        require(bytes(_contractCID).length > 0);
        return string(abi.encodePacked('ipfs://', _contractCID));
    }

    function setContractURI(string memory newContractCID) external onlyOwner {
        _contractCID = newContractCID;
    }

    function setPrice(uint256 newPrice) external onlyOwner {
        require(!priceLocked, "Price locked");
        price = newPrice;
    }

    function lockPrice() external onlyOwner {
        priceLocked = true;
    }

    function isApprovedForAll(address owner, address operator) override(ERC721) public view returns (bool) {
        if (proxyRegistry.proxies(owner) == operator) return true;
        return super.isApprovedForAll(owner, operator);
    }

    function royaltyInfo(uint256, uint256 _salePrice) override external view returns (address receiver, uint256 royaltyAmount) {
        receiver = address(this);
        royaltyAmount = _salePrice / 20; //5%
    }

    function mint() external payable {
        uint256 nounsTotalSupply = nounsToken.totalSupply() - 1; //Do not mint while the last Noun is at auction
        uint256 tokenId = totalSupply;
        require(tokenId < nounsTotalSupply, "Please wait for the next Noun");
        require(msg.value >= price, "Not enough ETH");
        _mint(msg.sender, tokenId);
        totalSupply = tokenId + 1;
        if (tokenId % 10 == 0) {
            (bool success, ) = nounsDAO.call{value: msg.value, gas: 30_000}(""); // Send 100% to the Nouns DAO
            if (success) emit Payout(nounsDAO, msg.value);
        } else {
            try nounsToken.ownerOf(tokenId) returns (address tokenOwner) {
                uint half = msg.value / 2;
                (bool success, ) = tokenOwner.call{value: half, gas: 30_000}(""); //Send 50% to the Noun owner
                if (success) emit Payout(tokenOwner, half);
            } catch (bytes memory) {}
        }
    }

    function withdraw(address token, uint256 amount) external onlyOwner returns (bool) {
        bool success;
        if (token == address(0)) {
            (success, ) = msg.sender.call{value: amount}("");
        } else {
            success = IERC20(token).transfer(msg.sender, amount);
        }
        return success;
    }

    function airdrop(uint256 count) external onlyOwner {
        require(totalSupply == 0, "Only once");
        for (uint256 tokenId = 0; tokenId < count; tokenId++) {
            try nounsToken.ownerOf(tokenId) returns (address tokenOwner) {
                _mint(tokenOwner, tokenId);
            } catch (bytes memory) {
                _mint(owner(), tokenId);
            }
        }
        totalSupply = count;
    }
}

File 2 of 15 : base64.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

File 3 of 15 : Strings.sol
// 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);
    }
}

File 4 of 15 : Ownable.sol
// 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);
    }
}

File 5 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 6 of 15 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be payed in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 7 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 8 of 15 : ERC165.sol
// 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;
    }
}

File 9 of 15 : IERC165.sol
// 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);
}

File 10 of 15 : Context.sol
// 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;
    }
}

File 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 15 : IERC721Metadata.sol
// 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);
}

File 13 of 15 : IERC721Receiver.sol
// 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);
}

File 14 of 15 : IERC721.sol
// 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;
}

File 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_nounsToken","type":"address"},{"internalType":"address","name":"_nounsDescriptor","type":"address"},{"internalType":"address","name":"_nounsDAO","type":"address"},{"internalType":"address","name":"_proxyRegistry","type":"address"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"string","name":"contractCID","type":"string"}],"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":"tokenOwner","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Payout","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":"uint256","name":"count","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nounsDAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nounsDescriptor","outputs":[{"internalType":"contract NounsDescriptor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nounsToken","outputs":[{"internalType":"contract NounsToken","name":"","type":"address"}],"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistry","outputs":[{"internalType":"contract ProxyRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractCID","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

6101006040526009805460ff191690553480156200001c57600080fd5b50604051620030d5380380620030d58339810160408190526200003f9162000230565b604080518082018252600f81526e496e76697369626c65204e6f756e7360881b60208083019182528351808501909452600584526424a727aaa760d91b90840152815191929162000093916000916200016d565b508051620000a99060019060208401906200016d565b505050620000c6620000c06200011760201b60201c565b6200011b565b6001600160601b0319606087811b821660805286811b821660a05285811b821660c05284901b1660e052600882905580516200010a9060079060208401906200016d565b50505050505050620003b5565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200017b9062000362565b90600052602060002090601f0160209004810192826200019f5760008555620001ea565b82601f10620001ba57805160ff1916838001178555620001ea565b82800160010185558215620001ea579182015b82811115620001ea578251825591602001919060010190620001cd565b50620001f8929150620001fc565b5090565b5b80821115620001f85760008155600101620001fd565b80516001600160a01b03811681146200022b57600080fd5b919050565b60008060008060008060c087890312156200024a57600080fd5b620002558762000213565b955060206200026681890162000213565b9550620002766040890162000213565b9450620002866060890162000213565b608089015160a08a015191955093506001600160401b0380821115620002ab57600080fd5b818a0191508a601f830112620002c057600080fd5b815181811115620002d557620002d56200039f565b604051601f8201601f19908116603f011681019083821181831017156200030057620003006200039f565b816040528281528d868487010111156200031957600080fd5b600093505b828410156200033d57848401860151818501870152928501926200031e565b828411156200034f5760008684830101525b8096505050505050509295509295509295565b600181811c908216806200037757607f821691505b602082108114156200039957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c60a05160601c60c05160601c60e05160601c612ca262000433600039600081816104e6015261147c01526000818161032b015281816109db0152610a5a01526000818161035f01526111e901526000818161055a0152818161087e01528181610ad601528181610f5901526111090152612ca26000f3fe6080604052600436106101d85760003560e01c80638da5cb5b11610102578063b88d4fde11610095578063e985e9c511610064578063e985e9c514610591578063ea2470ab146105b1578063f2fde38b146105cb578063f3fef3a3146105eb57600080fd5b8063b88d4fde14610508578063c87b56dd14610528578063ced9481f14610548578063e8a3d4851461057c57600080fd5b806397dc4a13116100d157806397dc4a131461047e578063a035b1fe1461049e578063a22cb465146104b4578063b50cbd9f146104d457600080fd5b80638da5cb5b1461040b57806391b7f5ed14610429578063938e3d7b1461044957806395d89b411461046957600080fd5b80632a55205a1161017a57806350003e691161014957806350003e69146103a15780636352211e146103b657806370a08231146103d6578063715018a6146103f657600080fd5b80632a55205a146102da578063337344a2146103195780634030969e1461034d57806342842e0e1461038157600080fd5b8063095ea7b3116101b6578063095ea7b31461026c5780631249c58b1461028e57806318160ddd1461029657806323b872dd146102ba57600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f836600461246c565b61060b565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b50610227610636565b60405161020991906128df565b34801561024057600080fd5b5061025461024f3660046125f4565b6106c8565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c610287366004612423565b610762565b005b61028c610878565b3480156102a257600080fd5b506102ac600a5481565b604051908152602001610209565b3480156102c657600080fd5b5061028c6102d5366004612334565b610c45565b3480156102e657600080fd5b506102fa6102f5366004612626565b610c76565b604080516001600160a01b039093168352602083019190915201610209565b34801561032557600080fd5b506102547f000000000000000000000000000000000000000000000000000000000000000081565b34801561035957600080fd5b506102547f000000000000000000000000000000000000000000000000000000000000000081565b34801561038d57600080fd5b5061028c61039c366004612334565b610c8d565b3480156103ad57600080fd5b5061028c610ca8565b3480156103c257600080fd5b506102546103d13660046125f4565b610ce1565b3480156103e257600080fd5b506102ac6103f13660046122c1565b610d58565b34801561040257600080fd5b5061028c610ddf565b34801561041757600080fd5b506006546001600160a01b0316610254565b34801561043557600080fd5b5061028c6104443660046125f4565b610e15565b34801561045557600080fd5b5061028c6104643660046124a6565b610e86565b34801561047557600080fd5b50610227610ec3565b34801561048a57600080fd5b5061028c6104993660046125f4565b610ed2565b3480156104aa57600080fd5b506102ac60085481565b3480156104c057600080fd5b5061028c6104cf3660046123f5565b61104c565b3480156104e057600080fd5b506102547f000000000000000000000000000000000000000000000000000000000000000081565b34801561051457600080fd5b5061028c610523366004612375565b611057565b34801561053457600080fd5b506102276105433660046125f4565b611089565b34801561055457600080fd5b506102547f000000000000000000000000000000000000000000000000000000000000000081565b34801561058857600080fd5b50610227611413565b34801561059d57600080fd5b506101fd6105ac3660046122fb565b611456565b3480156105bd57600080fd5b506009546101fd9060ff1681565b3480156105d757600080fd5b5061028c6105e63660046122c1565b61153e565b3480156105f757600080fd5b506101fd610606366004612423565b6115d9565b60006001600160e01b0319821663152a902d60e11b14806106305750610630826116ee565b92915050565b60606000805461064590612ab1565b80601f016020809104026020016040519081016040528092919081815260200182805461067190612ab1565b80156106be5780601f10610693576101008083540402835291602001916106be565b820191906000526020600020905b8154815290600101906020018083116106a157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107465760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061076d82610ce1565b9050806001600160a01b0316836001600160a01b031614156107db5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161073d565b336001600160a01b03821614806107f757506107f78133611456565b6108695760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161073d565b610873838361173e565b505050565b600060017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108d557600080fd5b505afa1580156108e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090d919061260d565b6109179190612a6e565b600a5490915081811061096c5760405162461bcd60e51b815260206004820152601d60248201527f506c65617365207761697420666f7220746865206e657874204e6f756e000000604482015260640161073d565b6008543410156109af5760405162461bcd60e51b815260206004820152600e60248201526d09cdee840cadcdeeaced0408aa8960931b604482015260640161073d565b6109b933826117ac565b6109c4816001612a23565b600a9081556109d39082612b07565b610ac05760007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163461753090604051600060405180830381858888f193505050503d8060008114610a49576040519150601f19603f3d011682016040523d82523d6000602084013e610a4e565b606091505b505090508015610873577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f5afeca38b2064c23a692c4cf353015d80ab3ecc417b4f893f372690c11fbd9a634604051610ab391815260200190565b60405180910390a2505050565b6040516331a9108f60e11b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e9060240160206040518083038186803b158015610b2057600080fd5b505afa925050508015610b50575060408051601f3d908101601f19168201909252610b4d918101906122de565b60015b610b89573d808015610b7e576040519150601f19603f3d011682016040523d82523d6000602084013e610b83565b606091505b50505050565b6000610b96600234612a3b565b90506000826001600160a01b03168261753090604051600060405180830381858888f193505050503d8060008114610bea576040519150601f19603f3d011682016040523d82523d6000602084013e610bef565b606091505b505090508015610c3d57826001600160a01b03167f5afeca38b2064c23a692c4cf353015d80ab3ecc417b4f893f372690c11fbd9a683604051610c3491815260200190565b60405180910390a25b5050505b5050565b610c4f33826118ee565b610c6b5760405162461bcd60e51b815260040161073d90612979565b6108738383836119bd565b306000610c84601484612a3b565b90509250929050565b61087383838360405180602001604052806000815250611057565b6006546001600160a01b03163314610cd25760405162461bcd60e51b815260040161073d90612944565b6009805460ff19166001179055565b6000818152600260205260408120546001600160a01b0316806106305760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161073d565b60006001600160a01b038216610dc35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161073d565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610e095760405162461bcd60e51b815260040161073d90612944565b610e136000611b59565b565b6006546001600160a01b03163314610e3f5760405162461bcd60e51b815260040161073d90612944565b60095460ff1615610e815760405162461bcd60e51b815260206004820152600c60248201526b141c9a58d9481b1bd8dad95960a21b604482015260640161073d565b600855565b6006546001600160a01b03163314610eb05760405162461bcd60e51b815260040161073d90612944565b8051610c419060079060208401906121cf565b60606001805461064590612ab1565b6006546001600160a01b03163314610efc5760405162461bcd60e51b815260040161073d90612944565b600a5415610f385760405162461bcd60e51b81526020600482015260096024820152684f6e6c79206f6e636560b81b604482015260640161073d565b60005b81811015611046576040516331a9108f60e11b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e9060240160206040518083038186803b158015610fa357600080fd5b505afa925050508015610fd3575060408051601f3d908101601f19168201909252610fd0918101906122de565b60015b611028573d808015611001576040519150601f19603f3d011682016040523d82523d6000602084013e611006565b606091505b5061102261101c6006546001600160a01b031690565b836117ac565b50611034565b61103281836117ac565b505b8061103e81612aec565b915050610f3b565b50600a55565b610c41338383611bab565b61106133836118ee565b61107d5760405162461bcd60e51b815260040161073d90612979565b610b8384848484611c7a565b6000818152600260205260409020546060906001600160a01b03166110f05760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161073d565b6040516301e0a07d60e71b8152600481018390526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f0503e809060240160a06040518083038186803b15801561115357600080fd5b505afa158015611167573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118b9190612566565b60c66060820190815260408051622ea04360e81b8152835165ffffffffffff908116600483015260208501518116602483015291840151821660448201529151811660648301526080830151166084820152909150600090611274907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632ea043009060a40160006040518083038186803b15801561123357600080fd5b505afa158015611247573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261126f91908101906124ef565b611cad565b90506104568151116112b45760405162461bcd60e51b815260206004820152600960248201526857726f6e672053564760b81b604482015260640161073d565b6104368151820103602082015b8181101561139d577f3c726563742077696474683d2231333022206865696768743d2231302220783d81511415611395577f223131302220793d223830222066696c6c3d222366333332326322202f3e3c7260208201511415611395577f6563742077696474683d2231383022206865696768743d2231302220783d223860408201511415611395577f302220793d223930222066696c6c3d222366333332326322202f3e3c726563746060820151141561139557805b82811015611390576104568101518152602001611378565b508190505b6001016112c1565b5050610456815103815260006113b285611e5e565b90506113ea8182836113c386611f5c565b6040516020016113d69493929190612674565b604051602081830303815290604052611f5c565b6040516020016113fa919061285d565b6040516020818303038152906040529350505050919050565b606060006007805461142490612ab1565b90501161143057600080fd5b600760405160200161144291906127a8565b604051602081830303815290604052905090565b60405163c455279160e01b81526001600160a01b038381166004830152600091818416917f0000000000000000000000000000000000000000000000000000000000000000169063c45527919060240160206040518083038186803b1580156114be57600080fd5b505afa1580156114d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f691906122de565b6001600160a01b0316141561150d57506001610630565b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff165b9392505050565b6006546001600160a01b031633146115685760405162461bcd60e51b815260040161073d90612944565b6001600160a01b0381166115cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161073d565b6115d681611b59565b50565b6006546000906001600160a01b031633146116065760405162461bcd60e51b815260040161073d90612944565b60006001600160a01b0384166116665760405133908490600081818185875af1925050503d8060008114611656576040519150601f19603f3d011682016040523d82523d6000602084013e61165b565b606091505b505080915050611537565b60405163a9059cbb60e01b8152336004820152602481018490526001600160a01b0385169063a9059cbb90604401602060405180830381600087803b1580156116ae57600080fd5b505af11580156116c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e6919061244f565b949350505050565b60006001600160e01b031982166380ac58cd60e01b148061171f57506001600160e01b03198216635b5e139f60e01b145b8061063057506301ffc9a760e01b6001600160e01b0319831614610630565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061177382610ce1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b0382166118025760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161073d565b6000818152600260205260409020546001600160a01b0316156118675760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161073d565b6001600160a01b0382166000908152600360205260408120805460019290611890908490612a23565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260408120546001600160a01b03166119675760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161073d565b600061197283610ce1565b9050806001600160a01b0316846001600160a01b031614806119ad5750836001600160a01b03166119a2846106c8565b6001600160a01b0316145b806116e657506116e68185611456565b826001600160a01b03166119d082610ce1565b6001600160a01b031614611a345760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161073d565b6001600160a01b038216611a965760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161073d565b611aa160008261173e565b6001600160a01b0383166000908152600360205260408120805460019290611aca908490612a6e565b90915550506001600160a01b0382166000908152600360205260408120805460019290611af8908490612a23565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611c0d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161073d565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611c858484846119bd565b611c91848484846120c2565b610b835760405162461bcd60e51b815260040161073d906128f2565b80516060908290611cce575050604080516000815260208101909152919050565b60048151611cdc9190612b07565b15611d295760405162461bcd60e51b815260206004820152601c60248201527f696e76616c696420626173653634206465636f64657220696e70757400000000604482015260640161073d565b60006040518060a0016040528060808152602001612bed608091399050600060048351611d569190612a3b565b611d61906003612a4f565b90506000611d70826020612a23565b67ffffffffffffffff811115611d8857611d88612b5d565b6040519080825280601f01601f191660200182016040528015611db2576020820181803683370190505b5090508351840151603d60ff82161415611de157600183039250613d3d61ffff82161415611de1576001830392505b50818152600183018485518101602084015b81831015611e5057600483019250825160ff8082168601511660ff808360081c168701511660061b0160ff808360101c1687015116600c1b60ff808460181c168801511660121b010190508060e81b825250600381019050611df3565b509298975050505050505050565b606081611e825750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611eac5780611e9681612aec565b9150611ea59050600a83612a3b565b9150611e86565b60008167ffffffffffffffff811115611ec757611ec7612b5d565b6040519080825280601f01601f191660200182016040528015611ef1576020820181803683370190505b5090505b84156116e657611f06600183612a6e565b9150611f13600a86612b07565b611f1e906030612a23565b60f81b818381518110611f3357611f33612b47565b60200101906001600160f81b031916908160001a905350611f55600a86612a3b565b9450611ef5565b6060815160001415611f7c57505060408051602081019091526000815290565b6000604051806060016040528060408152602001612bad6040913990506000600384516002611fab9190612a23565b611fb59190612a3b565b611fc0906004612a4f565b90506000611fcf826020612a23565b67ffffffffffffffff811115611fe757611fe7612b5d565b6040519080825280601f01601f191660200182016040528015612011576020820181803683370190505b509050818152600183018586518101602084015b8183101561207d576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101612025565b60038951066001811461209757600281146120a8576120b4565b613d3d60f01b6001198301526120b4565b603d60f81b6000198301525b509398975050505050505050565b60006001600160a01b0384163b156121c457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121069033908990889088906004016128a2565b602060405180830381600087803b15801561212057600080fd5b505af1925050508015612150575060408051601f3d908101601f1916820190925261214d91810190612489565b60015b6121aa573d80801561217e576040519150601f19603f3d011682016040523d82523d6000602084013e612183565b606091505b5080516121a25760405162461bcd60e51b815260040161073d906128f2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116e6565b506001949350505050565b8280546121db90612ab1565b90600052602060002090601f0160209004810192826121fd5760008555612243565b82601f1061221657805160ff1916838001178555612243565b82800160010185558215612243579182015b82811115612243578251825591602001919060010190612228565b5061224f929150612253565b5090565b5b8082111561224f5760008155600101612254565b600061227b612276846129fb565b6129ca565b905082815283838301111561228f57600080fd5b828260208301376000602084830101529392505050565b805165ffffffffffff811681146122bc57600080fd5b919050565b6000602082840312156122d357600080fd5b813561153781612b73565b6000602082840312156122f057600080fd5b815161153781612b73565b6000806040838503121561230e57600080fd5b823561231981612b73565b9150602083013561232981612b73565b809150509250929050565b60008060006060848603121561234957600080fd5b833561235481612b73565b9250602084013561236481612b73565b929592945050506040919091013590565b6000806000806080858703121561238b57600080fd5b843561239681612b73565b935060208501356123a681612b73565b925060408501359150606085013567ffffffffffffffff8111156123c957600080fd5b8501601f810187136123da57600080fd5b6123e987823560208401612268565b91505092959194509250565b6000806040838503121561240857600080fd5b823561241381612b73565b9150602083013561232981612b88565b6000806040838503121561243657600080fd5b823561244181612b73565b946020939093013593505050565b60006020828403121561246157600080fd5b815161153781612b88565b60006020828403121561247e57600080fd5b813561153781612b96565b60006020828403121561249b57600080fd5b815161153781612b96565b6000602082840312156124b857600080fd5b813567ffffffffffffffff8111156124cf57600080fd5b8201601f810184136124e057600080fd5b6116e684823560208401612268565b60006020828403121561250157600080fd5b815167ffffffffffffffff81111561251857600080fd5b8201601f8101841361252957600080fd5b8051612537612276826129fb565b81815285602083850101111561254c57600080fd5b61255d826020830160208601612a85565b95945050505050565b600060a0828403121561257857600080fd5b60405160a0810181811067ffffffffffffffff8211171561259b5761259b612b5d565b6040526125a7836122a6565b81526125b5602084016122a6565b60208201526125c6604084016122a6565b60408201526125d7606084016122a6565b60608201526125e8608084016122a6565b60808201529392505050565b60006020828403121561260657600080fd5b5035919050565b60006020828403121561261f57600080fd5b5051919050565b6000806040838503121561263957600080fd5b50508035926020909101359150565b60008151808452612660816020860160208601612a85565b601f01601f19169290920160200192915050565b7f7b226e616d65223a22496e76697369626c65204e6f756e2000000000000000008152600085516126ac816018850160208a01612a85565b7f222c20226465736372697074696f6e223a22496e76697369626c65204e6f756e601891840191820152600160fd1b603882015285516126f3816039840160208a01612a85565b7f20697320612064657269766174697665206f6620746865204e6f756e20000000603992909101918201528451612731816056840160208901612a85565b6c1116101134b6b0b3b2911d101160991b605692909101918201527f646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000006063820152835161278581607d840160208801612a85565b61279c607d8284010161227d60f01b815260020190565b98975050505050505050565b66697066733a2f2f60c81b8152600060076000845481600182811c9150808316806127d457607f831692505b60208084108214156127f457634e487b7160e01b86526022600452602486fd5b818015612808576001811461281d5761284e565b60ff1986168a890152848a018801965061284e565b60008b81526020902060005b868110156128445781548c82018b0152908501908301612829565b505087858b010196505b50949998505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161289581601d850160208701612a85565b91909101601d0192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128d590830184612648565b9695505050505050565b6020815260006115376020830184612648565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156129f3576129f3612b5d565b604052919050565b600067ffffffffffffffff821115612a1557612a15612b5d565b50601f01601f191660200190565b60008219821115612a3657612a36612b1b565b500190565b600082612a4a57612a4a612b31565b500490565b6000816000190483118215151615612a6957612a69612b1b565b500290565b600082821015612a8057612a80612b1b565b500390565b60005b83811015612aa0578181015183820152602001612a88565b83811115610b835750506000910152565b600181811c90821680612ac557607f821691505b60208210811415612ae657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b0057612b00612b1b565b5060010190565b600082612b1657612b16612b31565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146115d657600080fd5b80151581146115d657600080fd5b6001600160e01b0319811681146115d657600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e0000003f3435363738393a3b3c3d00000000000000000102030405060708090a0b0c0d0e0f101112131415161718190000000000001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000a264697066735822122011c078123cfb374736f2a0dba13215bc266b45a64a907710efb0492397d8ab7364736f6c634300080700330000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc030000000000000000000000000cfdb3ba1694c2bb2cfacb0339ad7b1ae5932b630000000000000000000000000bc3807ec262cb779b38d65b38158acc3bfede10000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000002e516d5076417847705832746b617274417a5766617637744e647a6b786a3643433141625459466d597274386b4850000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101d85760003560e01c80638da5cb5b11610102578063b88d4fde11610095578063e985e9c511610064578063e985e9c514610591578063ea2470ab146105b1578063f2fde38b146105cb578063f3fef3a3146105eb57600080fd5b8063b88d4fde14610508578063c87b56dd14610528578063ced9481f14610548578063e8a3d4851461057c57600080fd5b806397dc4a13116100d157806397dc4a131461047e578063a035b1fe1461049e578063a22cb465146104b4578063b50cbd9f146104d457600080fd5b80638da5cb5b1461040b57806391b7f5ed14610429578063938e3d7b1461044957806395d89b411461046957600080fd5b80632a55205a1161017a57806350003e691161014957806350003e69146103a15780636352211e146103b657806370a08231146103d6578063715018a6146103f657600080fd5b80632a55205a146102da578063337344a2146103195780634030969e1461034d57806342842e0e1461038157600080fd5b8063095ea7b3116101b6578063095ea7b31461026c5780631249c58b1461028e57806318160ddd1461029657806323b872dd146102ba57600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f836600461246c565b61060b565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b50610227610636565b60405161020991906128df565b34801561024057600080fd5b5061025461024f3660046125f4565b6106c8565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c610287366004612423565b610762565b005b61028c610878565b3480156102a257600080fd5b506102ac600a5481565b604051908152602001610209565b3480156102c657600080fd5b5061028c6102d5366004612334565b610c45565b3480156102e657600080fd5b506102fa6102f5366004612626565b610c76565b604080516001600160a01b039093168352602083019190915201610209565b34801561032557600080fd5b506102547f0000000000000000000000000bc3807ec262cb779b38d65b38158acc3bfede1081565b34801561035957600080fd5b506102547f0000000000000000000000000cfdb3ba1694c2bb2cfacb0339ad7b1ae5932b6381565b34801561038d57600080fd5b5061028c61039c366004612334565b610c8d565b3480156103ad57600080fd5b5061028c610ca8565b3480156103c257600080fd5b506102546103d13660046125f4565b610ce1565b3480156103e257600080fd5b506102ac6103f13660046122c1565b610d58565b34801561040257600080fd5b5061028c610ddf565b34801561041757600080fd5b506006546001600160a01b0316610254565b34801561043557600080fd5b5061028c6104443660046125f4565b610e15565b34801561045557600080fd5b5061028c6104643660046124a6565b610e86565b34801561047557600080fd5b50610227610ec3565b34801561048a57600080fd5b5061028c6104993660046125f4565b610ed2565b3480156104aa57600080fd5b506102ac60085481565b3480156104c057600080fd5b5061028c6104cf3660046123f5565b61104c565b3480156104e057600080fd5b506102547f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c181565b34801561051457600080fd5b5061028c610523366004612375565b611057565b34801561053457600080fd5b506102276105433660046125f4565b611089565b34801561055457600080fd5b506102547f0000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc0381565b34801561058857600080fd5b50610227611413565b34801561059d57600080fd5b506101fd6105ac3660046122fb565b611456565b3480156105bd57600080fd5b506009546101fd9060ff1681565b3480156105d757600080fd5b5061028c6105e63660046122c1565b61153e565b3480156105f757600080fd5b506101fd610606366004612423565b6115d9565b60006001600160e01b0319821663152a902d60e11b14806106305750610630826116ee565b92915050565b60606000805461064590612ab1565b80601f016020809104026020016040519081016040528092919081815260200182805461067190612ab1565b80156106be5780601f10610693576101008083540402835291602001916106be565b820191906000526020600020905b8154815290600101906020018083116106a157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107465760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061076d82610ce1565b9050806001600160a01b0316836001600160a01b031614156107db5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161073d565b336001600160a01b03821614806107f757506107f78133611456565b6108695760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161073d565b610873838361173e565b505050565b600060017f0000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc036001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108d557600080fd5b505afa1580156108e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090d919061260d565b6109179190612a6e565b600a5490915081811061096c5760405162461bcd60e51b815260206004820152601d60248201527f506c65617365207761697420666f7220746865206e657874204e6f756e000000604482015260640161073d565b6008543410156109af5760405162461bcd60e51b815260206004820152600e60248201526d09cdee840cadcdeeaced0408aa8960931b604482015260640161073d565b6109b933826117ac565b6109c4816001612a23565b600a9081556109d39082612b07565b610ac05760007f0000000000000000000000000bc3807ec262cb779b38d65b38158acc3bfede106001600160a01b03163461753090604051600060405180830381858888f193505050503d8060008114610a49576040519150601f19603f3d011682016040523d82523d6000602084013e610a4e565b606091505b505090508015610873577f0000000000000000000000000bc3807ec262cb779b38d65b38158acc3bfede106001600160a01b03167f5afeca38b2064c23a692c4cf353015d80ab3ecc417b4f893f372690c11fbd9a634604051610ab391815260200190565b60405180910390a2505050565b6040516331a9108f60e11b8152600481018290527f0000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc036001600160a01b031690636352211e9060240160206040518083038186803b158015610b2057600080fd5b505afa925050508015610b50575060408051601f3d908101601f19168201909252610b4d918101906122de565b60015b610b89573d808015610b7e576040519150601f19603f3d011682016040523d82523d6000602084013e610b83565b606091505b50505050565b6000610b96600234612a3b565b90506000826001600160a01b03168261753090604051600060405180830381858888f193505050503d8060008114610bea576040519150601f19603f3d011682016040523d82523d6000602084013e610bef565b606091505b505090508015610c3d57826001600160a01b03167f5afeca38b2064c23a692c4cf353015d80ab3ecc417b4f893f372690c11fbd9a683604051610c3491815260200190565b60405180910390a25b5050505b5050565b610c4f33826118ee565b610c6b5760405162461bcd60e51b815260040161073d90612979565b6108738383836119bd565b306000610c84601484612a3b565b90509250929050565b61087383838360405180602001604052806000815250611057565b6006546001600160a01b03163314610cd25760405162461bcd60e51b815260040161073d90612944565b6009805460ff19166001179055565b6000818152600260205260408120546001600160a01b0316806106305760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161073d565b60006001600160a01b038216610dc35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161073d565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610e095760405162461bcd60e51b815260040161073d90612944565b610e136000611b59565b565b6006546001600160a01b03163314610e3f5760405162461bcd60e51b815260040161073d90612944565b60095460ff1615610e815760405162461bcd60e51b815260206004820152600c60248201526b141c9a58d9481b1bd8dad95960a21b604482015260640161073d565b600855565b6006546001600160a01b03163314610eb05760405162461bcd60e51b815260040161073d90612944565b8051610c419060079060208401906121cf565b60606001805461064590612ab1565b6006546001600160a01b03163314610efc5760405162461bcd60e51b815260040161073d90612944565b600a5415610f385760405162461bcd60e51b81526020600482015260096024820152684f6e6c79206f6e636560b81b604482015260640161073d565b60005b81811015611046576040516331a9108f60e11b8152600481018290527f0000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc036001600160a01b031690636352211e9060240160206040518083038186803b158015610fa357600080fd5b505afa925050508015610fd3575060408051601f3d908101601f19168201909252610fd0918101906122de565b60015b611028573d808015611001576040519150601f19603f3d011682016040523d82523d6000602084013e611006565b606091505b5061102261101c6006546001600160a01b031690565b836117ac565b50611034565b61103281836117ac565b505b8061103e81612aec565b915050610f3b565b50600a55565b610c41338383611bab565b61106133836118ee565b61107d5760405162461bcd60e51b815260040161073d90612979565b610b8384848484611c7a565b6000818152600260205260409020546060906001600160a01b03166110f05760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161073d565b6040516301e0a07d60e71b8152600481018390526000907f0000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc036001600160a01b03169063f0503e809060240160a06040518083038186803b15801561115357600080fd5b505afa158015611167573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118b9190612566565b60c66060820190815260408051622ea04360e81b8152835165ffffffffffff908116600483015260208501518116602483015291840151821660448201529151811660648301526080830151166084820152909150600090611274907f0000000000000000000000000cfdb3ba1694c2bb2cfacb0339ad7b1ae5932b636001600160a01b031690632ea043009060a40160006040518083038186803b15801561123357600080fd5b505afa158015611247573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261126f91908101906124ef565b611cad565b90506104568151116112b45760405162461bcd60e51b815260206004820152600960248201526857726f6e672053564760b81b604482015260640161073d565b6104368151820103602082015b8181101561139d577f3c726563742077696474683d2231333022206865696768743d2231302220783d81511415611395577f223131302220793d223830222066696c6c3d222366333332326322202f3e3c7260208201511415611395577f6563742077696474683d2231383022206865696768743d2231302220783d223860408201511415611395577f302220793d223930222066696c6c3d222366333332326322202f3e3c726563746060820151141561139557805b82811015611390576104568101518152602001611378565b508190505b6001016112c1565b5050610456815103815260006113b285611e5e565b90506113ea8182836113c386611f5c565b6040516020016113d69493929190612674565b604051602081830303815290604052611f5c565b6040516020016113fa919061285d565b6040516020818303038152906040529350505050919050565b606060006007805461142490612ab1565b90501161143057600080fd5b600760405160200161144291906127a8565b604051602081830303815290604052905090565b60405163c455279160e01b81526001600160a01b038381166004830152600091818416917f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1169063c45527919060240160206040518083038186803b1580156114be57600080fd5b505afa1580156114d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f691906122de565b6001600160a01b0316141561150d57506001610630565b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff165b9392505050565b6006546001600160a01b031633146115685760405162461bcd60e51b815260040161073d90612944565b6001600160a01b0381166115cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161073d565b6115d681611b59565b50565b6006546000906001600160a01b031633146116065760405162461bcd60e51b815260040161073d90612944565b60006001600160a01b0384166116665760405133908490600081818185875af1925050503d8060008114611656576040519150601f19603f3d011682016040523d82523d6000602084013e61165b565b606091505b505080915050611537565b60405163a9059cbb60e01b8152336004820152602481018490526001600160a01b0385169063a9059cbb90604401602060405180830381600087803b1580156116ae57600080fd5b505af11580156116c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e6919061244f565b949350505050565b60006001600160e01b031982166380ac58cd60e01b148061171f57506001600160e01b03198216635b5e139f60e01b145b8061063057506301ffc9a760e01b6001600160e01b0319831614610630565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061177382610ce1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b0382166118025760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161073d565b6000818152600260205260409020546001600160a01b0316156118675760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161073d565b6001600160a01b0382166000908152600360205260408120805460019290611890908490612a23565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260408120546001600160a01b03166119675760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161073d565b600061197283610ce1565b9050806001600160a01b0316846001600160a01b031614806119ad5750836001600160a01b03166119a2846106c8565b6001600160a01b0316145b806116e657506116e68185611456565b826001600160a01b03166119d082610ce1565b6001600160a01b031614611a345760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161073d565b6001600160a01b038216611a965760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161073d565b611aa160008261173e565b6001600160a01b0383166000908152600360205260408120805460019290611aca908490612a6e565b90915550506001600160a01b0382166000908152600360205260408120805460019290611af8908490612a23565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611c0d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161073d565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611c858484846119bd565b611c91848484846120c2565b610b835760405162461bcd60e51b815260040161073d906128f2565b80516060908290611cce575050604080516000815260208101909152919050565b60048151611cdc9190612b07565b15611d295760405162461bcd60e51b815260206004820152601c60248201527f696e76616c696420626173653634206465636f64657220696e70757400000000604482015260640161073d565b60006040518060a0016040528060808152602001612bed608091399050600060048351611d569190612a3b565b611d61906003612a4f565b90506000611d70826020612a23565b67ffffffffffffffff811115611d8857611d88612b5d565b6040519080825280601f01601f191660200182016040528015611db2576020820181803683370190505b5090508351840151603d60ff82161415611de157600183039250613d3d61ffff82161415611de1576001830392505b50818152600183018485518101602084015b81831015611e5057600483019250825160ff8082168601511660ff808360081c168701511660061b0160ff808360101c1687015116600c1b60ff808460181c168801511660121b010190508060e81b825250600381019050611df3565b509298975050505050505050565b606081611e825750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611eac5780611e9681612aec565b9150611ea59050600a83612a3b565b9150611e86565b60008167ffffffffffffffff811115611ec757611ec7612b5d565b6040519080825280601f01601f191660200182016040528015611ef1576020820181803683370190505b5090505b84156116e657611f06600183612a6e565b9150611f13600a86612b07565b611f1e906030612a23565b60f81b818381518110611f3357611f33612b47565b60200101906001600160f81b031916908160001a905350611f55600a86612a3b565b9450611ef5565b6060815160001415611f7c57505060408051602081019091526000815290565b6000604051806060016040528060408152602001612bad6040913990506000600384516002611fab9190612a23565b611fb59190612a3b565b611fc0906004612a4f565b90506000611fcf826020612a23565b67ffffffffffffffff811115611fe757611fe7612b5d565b6040519080825280601f01601f191660200182016040528015612011576020820181803683370190505b509050818152600183018586518101602084015b8183101561207d576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101612025565b60038951066001811461209757600281146120a8576120b4565b613d3d60f01b6001198301526120b4565b603d60f81b6000198301525b509398975050505050505050565b60006001600160a01b0384163b156121c457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121069033908990889088906004016128a2565b602060405180830381600087803b15801561212057600080fd5b505af1925050508015612150575060408051601f3d908101601f1916820190925261214d91810190612489565b60015b6121aa573d80801561217e576040519150601f19603f3d011682016040523d82523d6000602084013e612183565b606091505b5080516121a25760405162461bcd60e51b815260040161073d906128f2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116e6565b506001949350505050565b8280546121db90612ab1565b90600052602060002090601f0160209004810192826121fd5760008555612243565b82601f1061221657805160ff1916838001178555612243565b82800160010185558215612243579182015b82811115612243578251825591602001919060010190612228565b5061224f929150612253565b5090565b5b8082111561224f5760008155600101612254565b600061227b612276846129fb565b6129ca565b905082815283838301111561228f57600080fd5b828260208301376000602084830101529392505050565b805165ffffffffffff811681146122bc57600080fd5b919050565b6000602082840312156122d357600080fd5b813561153781612b73565b6000602082840312156122f057600080fd5b815161153781612b73565b6000806040838503121561230e57600080fd5b823561231981612b73565b9150602083013561232981612b73565b809150509250929050565b60008060006060848603121561234957600080fd5b833561235481612b73565b9250602084013561236481612b73565b929592945050506040919091013590565b6000806000806080858703121561238b57600080fd5b843561239681612b73565b935060208501356123a681612b73565b925060408501359150606085013567ffffffffffffffff8111156123c957600080fd5b8501601f810187136123da57600080fd5b6123e987823560208401612268565b91505092959194509250565b6000806040838503121561240857600080fd5b823561241381612b73565b9150602083013561232981612b88565b6000806040838503121561243657600080fd5b823561244181612b73565b946020939093013593505050565b60006020828403121561246157600080fd5b815161153781612b88565b60006020828403121561247e57600080fd5b813561153781612b96565b60006020828403121561249b57600080fd5b815161153781612b96565b6000602082840312156124b857600080fd5b813567ffffffffffffffff8111156124cf57600080fd5b8201601f810184136124e057600080fd5b6116e684823560208401612268565b60006020828403121561250157600080fd5b815167ffffffffffffffff81111561251857600080fd5b8201601f8101841361252957600080fd5b8051612537612276826129fb565b81815285602083850101111561254c57600080fd5b61255d826020830160208601612a85565b95945050505050565b600060a0828403121561257857600080fd5b60405160a0810181811067ffffffffffffffff8211171561259b5761259b612b5d565b6040526125a7836122a6565b81526125b5602084016122a6565b60208201526125c6604084016122a6565b60408201526125d7606084016122a6565b60608201526125e8608084016122a6565b60808201529392505050565b60006020828403121561260657600080fd5b5035919050565b60006020828403121561261f57600080fd5b5051919050565b6000806040838503121561263957600080fd5b50508035926020909101359150565b60008151808452612660816020860160208601612a85565b601f01601f19169290920160200192915050565b7f7b226e616d65223a22496e76697369626c65204e6f756e2000000000000000008152600085516126ac816018850160208a01612a85565b7f222c20226465736372697074696f6e223a22496e76697369626c65204e6f756e601891840191820152600160fd1b603882015285516126f3816039840160208a01612a85565b7f20697320612064657269766174697665206f6620746865204e6f756e20000000603992909101918201528451612731816056840160208901612a85565b6c1116101134b6b0b3b2911d101160991b605692909101918201527f646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000006063820152835161278581607d840160208801612a85565b61279c607d8284010161227d60f01b815260020190565b98975050505050505050565b66697066733a2f2f60c81b8152600060076000845481600182811c9150808316806127d457607f831692505b60208084108214156127f457634e487b7160e01b86526022600452602486fd5b818015612808576001811461281d5761284e565b60ff1986168a890152848a018801965061284e565b60008b81526020902060005b868110156128445781548c82018b0152908501908301612829565b505087858b010196505b50949998505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161289581601d850160208701612a85565b91909101601d0192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128d590830184612648565b9695505050505050565b6020815260006115376020830184612648565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156129f3576129f3612b5d565b604052919050565b600067ffffffffffffffff821115612a1557612a15612b5d565b50601f01601f191660200190565b60008219821115612a3657612a36612b1b565b500190565b600082612a4a57612a4a612b31565b500490565b6000816000190483118215151615612a6957612a69612b1b565b500290565b600082821015612a8057612a80612b1b565b500390565b60005b83811015612aa0578181015183820152602001612a88565b83811115610b835750506000910152565b600181811c90821680612ac557607f821691505b60208210811415612ae657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b0057612b00612b1b565b5060010190565b600082612b1657612b16612b31565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146115d657600080fd5b80151581146115d657600080fd5b6001600160e01b0319811681146115d657600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e0000003f3435363738393a3b3c3d00000000000000000102030405060708090a0b0c0d0e0f101112131415161718190000000000001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000a264697066735822122011c078123cfb374736f2a0dba13215bc266b45a64a907710efb0492397d8ab7364736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc030000000000000000000000000cfdb3ba1694c2bb2cfacb0339ad7b1ae5932b630000000000000000000000000bc3807ec262cb779b38d65b38158acc3bfede10000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000002e516d5076417847705832746b617274417a5766617637744e647a6b786a3643433141625459466d597274386b4850000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _nounsToken (address): 0x9C8fF314C9Bc7F6e59A9d9225Fb22946427eDC03
Arg [1] : _nounsDescriptor (address): 0x0Cfdb3Ba1694c2bb2CFACB0339ad7b1Ae5932B63
Arg [2] : _nounsDAO (address): 0x0BC3807Ec262cB779b38D65b38158acC3bfedE10
Arg [3] : _proxyRegistry (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [4] : _price (uint256): 50000000000000000
Arg [5] : contractCID (string): QmPvAxGpX2tkartAzWfav7tNdzkxj6CC1AbTYFmYrt8kHP

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc03
Arg [1] : 0000000000000000000000000cfdb3ba1694c2bb2cfacb0339ad7b1ae5932b63
Arg [2] : 0000000000000000000000000bc3807ec262cb779b38d65b38158acc3bfede10
Arg [3] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [4] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [5] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [6] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [7] : 516d5076417847705832746b617274417a5766617637744e647a6b786a364343
Arg [8] : 3141625459466d597274386b4850000000000000000000000000000000000000


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.