ETH Price: $3,485.74 (+0.41%)
Gas: 4 Gwei

Token

Evil Nouns (EVILNOUN)
 

Overview

Max Total Supply

248 EVILNOUN

Holders

128

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
nftclub.eth
Balance
2 EVILNOUN
0xdfeb50f97bb6a660697849ac13645e2e26cc4915
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:
EvilNouns

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.7;

/**
 * @title Evil Nouns
 * @notice Completely on-chain derivative of Nouns, https://evilnouns.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);
}

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

contract EvilNouns is ERC721, IERC2981, Ownable {
    using Strings for uint256;

    string private _contractCID;
    NounsToken public immutable nounsToken;
    NounsDescriptor public immutable nounsDescriptor;
    address public immutable nounsDAO;
    ProxyRegistry public immutable proxyRegistry;
    uint256 public totalSupply;

    constructor(address _nounsToken, address _nounsDescriptor, address _nounsDAO, address _proxyRegistry, string memory contractCID) ERC721("Evil Nouns", "EVILNOUN") {
        nounsToken = NounsToken(_nounsToken);
        nounsDescriptor = NounsDescriptor(_nounsDescriptor);
        nounsDAO = _nounsDAO;
        proxyRegistry = ProxyRegistry(_proxyRegistry);
        _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);
        bytes memory image = Base64.decode((nounsDescriptor.generateSVGImage(seed)));
        image = abi.encodePacked(
            '<svg width="320" height="320" viewBox="0 0 320 320" fill="none" xmlns="http://www.w3.org/2000/svg" shape-rendering="crispEdges">',
            '<defs><filter id="evil"><feColorMatrix color-interpolation-filters="sRGB" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"/></filter></defs>',
            '<g filter="url(#evil)">', image, '</g>',
            '</svg>'
        );
        string memory nounId = tokenId.toString();
        return string(
            abi.encodePacked(
                'data:application/json;base64,',
                Base64.encode(
                    bytes(
                        abi.encodePacked('{"name":"Evil Noun ', nounId, '", "description":"Evil Noun ', nounId, ' Be Like", "image": "', 'data:image/svg+xml;base64,', Base64.encode(image), '"}')
                    )
                )
            )
        );
    }

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

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

    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 * 7 / 200; //3.5%
    }

    function mint(uint256 amount) external payable {
        uint256 supply = totalSupply;
        require(supply + amount <= nounsToken.totalSupply(), "Please wait for the next Noun");
        require(msg.value >= amount * 0.035 ether, "Mint price is 0.035"); //evil numbers 0 3 5
        for (uint256 i = 0; i < amount; i++) {
            _mint(msg.sender, supply + i);
        }
        totalSupply = supply + amount;
    }

    function withdraw(address token, uint256 amount) external onlyOwner returns (bool) {
        bool success;
        if (token == address(0)) {
            (success, ) = msg.sender.call{value: amount * 9 / 10}("");
            (success, ) = nounsDAO.call{value: amount / 10}(""); //10% to Nouns DAO
        } else {
            success = IERC20(token).transfer(msg.sender, amount * 9 / 10);
            success = IERC20(token).transfer(nounsDAO, amount / 10); //10% to Nouns DAO
        }
        return success;
    }
}

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":"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"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":"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":"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"}]

6101006040523480156200001257600080fd5b5060405162002d2938038062002d2983398101604081905262000035916200021e565b604080518082018252600a8152694576696c204e6f756e7360b01b60208083019182528351808501909452600884526722ab24a62727aaa760c11b90840152815191929162000087916000916200015b565b5080516200009d9060019060208401906200015b565b505050620000ba620000b46200010560201b60201c565b62000109565b6001600160601b0319606086811b821660805285811b821660a05284811b821660c05283901b1660e0528051620000f99060079060208401906200015b565b5050505050506200039b565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001699062000348565b90600052602060002090601f0160209004810192826200018d5760008555620001d8565b82601f10620001a857805160ff1916838001178555620001d8565b82800160010185558215620001d8579182015b82811115620001d8578251825591602001919060010190620001bb565b50620001e6929150620001ea565b5090565b5b80821115620001e65760008155600101620001eb565b80516001600160a01b03811681146200021957600080fd5b919050565b600080600080600060a086880312156200023757600080fd5b620002428662000201565b945060206200025381880162000201565b9450620002636040880162000201565b9350620002736060880162000201565b60808801519093506001600160401b03808211156200029157600080fd5b818901915089601f830112620002a657600080fd5b815181811115620002bb57620002bb62000385565b604051601f8201601f19908116603f01168101908382118183101715620002e657620002e662000385565b816040528281528c86848701011115620002ff57600080fd5b600093505b8284101562000323578484018601518185018701529285019262000304565b82841115620003355760008684830101525b8096505050505050509295509295909350565b600181811c908216806200035d57607f821691505b602082108114156200037f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c60a05160601c60c05160601c60e05160601c61291e6200040b6000396000818161042f0152610e280152600081816102cc0152818161102a01526111590152600081816103000152610cc90152600081816104a3015281816109a30152610be5015261291e6000f3fe6080604052600436106101815760003560e01c80638da5cb5b116100d1578063b88d4fde1161008a578063e8a3d48511610064578063e8a3d485146104c5578063e985e9c5146104da578063f2fde38b146104fa578063f3fef3a31461051a57600080fd5b8063b88d4fde14610451578063c87b56dd14610471578063ced9481f1461049157600080fd5b80638da5cb5b14610397578063938e3d7b146103b557806395d89b41146103d5578063a0712d68146103ea578063a22cb465146103fd578063b50cbd9f1461041d57600080fd5b80632a55205a1161013e57806342842e0e1161011857806342842e0e146103225780636352211e1461034257806370a0823114610362578063715018a61461038257600080fd5b80632a55205a1461027b578063337344a2146102ba5780634030969e146102ee57600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b31461021557806318160ddd1461023757806323b872dd1461025b575b600080fd5b34801561019257600080fd5b506101a66101a1366004611f87565b61053a565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d0610565565b6040516101b2919061255b565b3480156101e957600080fd5b506101fd6101f836600461210f565b6105f7565b6040516001600160a01b0390911681526020016101b2565b34801561022157600080fd5b50610235610230366004611f3e565b610691565b005b34801561024357600080fd5b5061024d60085481565b6040519081526020016101b2565b34801561026757600080fd5b50610235610276366004611e4f565b6107a7565b34801561028757600080fd5b5061029b610296366004612141565b6107d8565b604080516001600160a01b0390931683526020830191909152016101b2565b3480156102c657600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102fa57600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561032e57600080fd5b5061023561033d366004611e4f565b6107fb565b34801561034e57600080fd5b506101fd61035d36600461210f565b610816565b34801561036e57600080fd5b5061024d61037d366004611ddc565b61088d565b34801561038e57600080fd5b50610235610914565b3480156103a357600080fd5b506006546001600160a01b03166101fd565b3480156103c157600080fd5b506102356103d0366004611fc1565b61094a565b3480156103e157600080fd5b506101d061098b565b6102356103f836600461210f565b61099a565b34801561040957600080fd5b50610235610418366004611f10565b610b22565b34801561042957600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561045d57600080fd5b5061023561046c366004611e90565b610b2d565b34801561047d57600080fd5b506101d061048c36600461210f565b610b65565b34801561049d57600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104d157600080fd5b506101d0610dda565b3480156104e657600080fd5b506101a66104f5366004611e16565b610e02565b34801561050657600080fd5b50610235610515366004611ddc565b610eea565b34801561052657600080fd5b506101a6610535366004611f3e565b610f85565b60006001600160e01b0319821663152a902d60e11b148061055f575061055f82611209565b92915050565b6060600080546105749061272d565b80601f01602080910402602001604051908101604052809291908181526020018280546105a09061272d565b80156105ed5780601f106105c2576101008083540402835291602001916105ed565b820191906000526020600020905b8154815290600101906020018083116105d057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106755760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061069c82610816565b9050806001600160a01b0316836001600160a01b0316141561070a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161066c565b336001600160a01b038216148061072657506107268133610e02565b6107985760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161066c565b6107a28383611259565b505050565b6107b133826112c7565b6107cd5760405162461bcd60e51b815260040161066c906125f5565b6107a2838383611396565b30600060c86107e88460076126cb565b6107f291906126b7565b90509250929050565b6107a283838360405180602001604052806000815250610b2d565b6000818152600260205260408120546001600160a01b03168061055f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161066c565b60006001600160a01b0382166108f85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161066c565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461093e5760405162461bcd60e51b815260040161066c906125c0565b6109486000611532565b565b6006546001600160a01b031633146109745760405162461bcd60e51b815260040161066c906125c0565b8051610987906007906020840190611cea565b5050565b6060600180546105749061272d565b600060085490507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156109fa57600080fd5b505afa158015610a0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a329190612128565b610a3c838361269f565b1115610a8a5760405162461bcd60e51b815260206004820152601d60248201527f506c65617365207761697420666f7220746865206e657874204e6f756e000000604482015260640161066c565b610a9b82667c5850872380006126cb565b341015610ae05760405162461bcd60e51b81526020600482015260136024820152724d696e7420707269636520697320302e30333560681b604482015260640161066c565b60005b82811015610b1057610afe33610af9838561269f565b611584565b80610b0881612768565b915050610ae3565b50610b1b828261269f565b6008555050565b6109873383836116c6565b610b3733836112c7565b610b535760405162461bcd60e51b815260040161066c906125f5565b610b5f84848484611795565b50505050565b6000818152600260205260409020546060906001600160a01b0316610bcc5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161066c565b6040516301e0a07d60e71b8152600481018390526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f0503e809060240160a06040518083038186803b158015610c2f57600080fd5b505afa158015610c43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c679190612081565b60408051622ea04360e81b8152825165ffffffffffff9081166004830152602084015181166024830152918301518216604482015260608301518216606482015260808301519091166084820152909150600090610d4c906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690632ea043009060a40160006040518083038186803b158015610d0b57600080fd5b505afa158015610d1f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d47919081019061200a565b6117c8565b905080604051602001610d5f919061218f565b60405160208183030381529060405290506000610d7b85611979565b9050610db18182610d8b85611a77565b604051602001610d9d939291906123f5565b604051602081830303815290604052611a77565b604051602001610dc191906124d9565b6040516020818303038152906040529350505050919050565b60606007604051602001610dee9190612340565b604051602081830303815290604052905090565b60405163c455279160e01b81526001600160a01b038381166004830152600091818416917f0000000000000000000000000000000000000000000000000000000000000000169063c45527919060240160206040518083038186803b158015610e6a57600080fd5b505afa158015610e7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea29190611df9565b6001600160a01b03161415610eb95750600161055f565b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff165b9392505050565b6006546001600160a01b03163314610f145760405162461bcd60e51b815260040161066c906125c0565b6001600160a01b038116610f795760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161066c565b610f8281611532565b50565b6006546000906001600160a01b03163314610fb25760405162461bcd60e51b815260040161066c906125c0565b60006001600160a01b0384166110a15733600a610fd08560096126cb565b610fda91906126b7565b604051600081818185875af1925050503d8060008114611016576040519150601f19603f3d011682016040523d82523d6000602084013e61101b565b606091505b50909150506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016611055600a856126b7565b604051600081818185875af1925050503d8060008114611091576040519150601f19603f3d011682016040523d82523d6000602084013e611096565b606091505b505080915050610ee3565b6001600160a01b03841663a9059cbb33600a6110be8760096126cb565b6110c891906126b7565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561110e57600080fd5b505af1158015611122573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111469190611f6a565b90506001600160a01b03841663a9059cbb7f0000000000000000000000000000000000000000000000000000000000000000611183600a876126b7565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156111c957600080fd5b505af11580156111dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112019190611f6a565b949350505050565b60006001600160e01b031982166380ac58cd60e01b148061123a57506001600160e01b03198216635b5e139f60e01b145b8061055f57506301ffc9a760e01b6001600160e01b031983161461055f565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061128e82610816565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166113405760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161066c565b600061134b83610816565b9050806001600160a01b0316846001600160a01b031614806113865750836001600160a01b031661137b846105f7565b6001600160a01b0316145b8061120157506112018185610e02565b826001600160a01b03166113a982610816565b6001600160a01b03161461140d5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161066c565b6001600160a01b03821661146f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161066c565b61147a600082611259565b6001600160a01b03831660009081526003602052604081208054600192906114a39084906126ea565b90915550506001600160a01b03821660009081526003602052604081208054600192906114d190849061269f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166115da5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161066c565b6000818152600260205260409020546001600160a01b03161561163f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161066c565b6001600160a01b038216600090815260036020526040812080546001929061166890849061269f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b031614156117285760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161066c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117a0848484611396565b6117ac84848484611bdd565b610b5f5760405162461bcd60e51b815260040161066c9061256e565b805160609082906117e9575050604080516000815260208101909152919050565b600481516117f79190612783565b156118445760405162461bcd60e51b815260206004820152601c60248201527f696e76616c696420626173653634206465636f64657220696e70757400000000604482015260640161066c565b60006040518060a001604052806080815260200161286960809139905060006004835161187191906126b7565b61187c9060036126cb565b9050600061188b82602061269f565b67ffffffffffffffff8111156118a3576118a36127d9565b6040519080825280601f01601f1916602001820160405280156118cd576020820181803683370190505b5090508351840151603d60ff821614156118fc57600183039250613d3d61ffff821614156118fc576001830392505b50818152600183018485518101602084015b8183101561196b57600483019250825160ff8082168601511660ff808360081c168701511660061b0160ff808360101c1687015116600c1b60ff808460181c168801511660121b010190508060e81b82525060038101905061190e565b509298975050505050505050565b60608161199d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119c757806119b181612768565b91506119c09050600a836126b7565b91506119a1565b60008167ffffffffffffffff8111156119e2576119e26127d9565b6040519080825280601f01601f191660200182016040528015611a0c576020820181803683370190505b5090505b841561120157611a216001836126ea565b9150611a2e600a86612783565b611a3990603061269f565b60f81b818381518110611a4e57611a4e6127c3565b60200101906001600160f81b031916908160001a905350611a70600a866126b7565b9450611a10565b6060815160001415611a9757505060408051602081019091526000815290565b60006040518060600160405280604081526020016128296040913990506000600384516002611ac6919061269f565b611ad091906126b7565b611adb9060046126cb565b90506000611aea82602061269f565b67ffffffffffffffff811115611b0257611b026127d9565b6040519080825280601f01601f191660200182016040528015611b2c576020820181803683370190505b509050818152600183018586518101602084015b81831015611b98576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101611b40565b600389510660018114611bb25760028114611bc357611bcf565b613d3d60f01b600119830152611bcf565b603d60f81b6000198301525b509398975050505050505050565b60006001600160a01b0384163b15611cdf57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c2190339089908890889060040161251e565b602060405180830381600087803b158015611c3b57600080fd5b505af1925050508015611c6b575060408051601f3d908101601f19168201909252611c6891810190611fa4565b60015b611cc5573d808015611c99576040519150601f19603f3d011682016040523d82523d6000602084013e611c9e565b606091505b508051611cbd5760405162461bcd60e51b815260040161066c9061256e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611201565b506001949350505050565b828054611cf69061272d565b90600052602060002090601f016020900481019282611d185760008555611d5e565b82601f10611d3157805160ff1916838001178555611d5e565b82800160010185558215611d5e579182015b82811115611d5e578251825591602001919060010190611d43565b50611d6a929150611d6e565b5090565b5b80821115611d6a5760008155600101611d6f565b6000611d96611d9184612677565b612646565b9050828152838383011115611daa57600080fd5b828260208301376000602084830101529392505050565b805165ffffffffffff81168114611dd757600080fd5b919050565b600060208284031215611dee57600080fd5b8135610ee3816127ef565b600060208284031215611e0b57600080fd5b8151610ee3816127ef565b60008060408385031215611e2957600080fd5b8235611e34816127ef565b91506020830135611e44816127ef565b809150509250929050565b600080600060608486031215611e6457600080fd5b8335611e6f816127ef565b92506020840135611e7f816127ef565b929592945050506040919091013590565b60008060008060808587031215611ea657600080fd5b8435611eb1816127ef565b93506020850135611ec1816127ef565b925060408501359150606085013567ffffffffffffffff811115611ee457600080fd5b8501601f81018713611ef557600080fd5b611f0487823560208401611d83565b91505092959194509250565b60008060408385031215611f2357600080fd5b8235611f2e816127ef565b91506020830135611e4481612804565b60008060408385031215611f5157600080fd5b8235611f5c816127ef565b946020939093013593505050565b600060208284031215611f7c57600080fd5b8151610ee381612804565b600060208284031215611f9957600080fd5b8135610ee381612812565b600060208284031215611fb657600080fd5b8151610ee381612812565b600060208284031215611fd357600080fd5b813567ffffffffffffffff811115611fea57600080fd5b8201601f81018413611ffb57600080fd5b61120184823560208401611d83565b60006020828403121561201c57600080fd5b815167ffffffffffffffff81111561203357600080fd5b8201601f8101841361204457600080fd5b8051612052611d9182612677565b81815285602083850101111561206757600080fd5b612078826020830160208601612701565b95945050505050565b600060a0828403121561209357600080fd5b60405160a0810181811067ffffffffffffffff821117156120b6576120b66127d9565b6040526120c283611dc1565b81526120d060208401611dc1565b60208201526120e160408401611dc1565b60408201526120f260608401611dc1565b606082015261210360808401611dc1565b60808201529392505050565b60006020828403121561212157600080fd5b5035919050565b60006020828403121561213a57600080fd5b5051919050565b6000806040838503121561215457600080fd5b50508035926020909101359150565b6000815180845261217b816020860160208601612701565b601f01601f19169290920160200192915050565b7f3c7376672077696474683d2233323022206865696768743d223332302220766981527f6577426f783d223020302033323020333230222066696c6c3d226e6f6e65222060208201527f786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737660408201527f67222073686170652d72656e646572696e673d2263726973704564676573223e60608201527f3c646566733e3c66696c7465722069643d226576696c223e3c6665436f6c6f7260808201527f4d617472697820636f6c6f722d696e746572706f6c6174696f6e2d66696c746560a08201527f72733d2273524742222076616c7565733d222d3120302030203020312030202d60c08201527f3120302030203120302030202d312030203120302030203020312030222f3e3c60e08201526e17b334b63a32b91f1e17b232b3399f60891b6101008201527f3c672066696c7465723d2275726c28236576696c29223e00000000000000000061010f820152600061012683516123138183860160208801612701565b61207861232e8383870101631e17b39f60e11b815260040190565b651e17b9bb339f60d11b815260060190565b66697066733a2f2f60c81b8152600060076000845481600182811c91508083168061236c57607f831692505b602080841082141561238c57634e487b7160e01b86526022600452602486fd5b8180156123a057600181146123b5576123e6565b60ff1986168a890152848a01880196506123e6565b60008b81526020902060005b868110156123dc5781548c82018b01529085019083016123c1565b505087858b010196505b50949998505050505050505050565b7203d913730b6b2911d1122bb34b6102737bab71606d1b81528351600090612424816013850160208901612701565b7f222c20226465736372697074696f6e223a224576696c204e6f756e2000000000601391840191820152845161246181602f840160208901612701565b74102132902634b5b29116101134b6b0b3b2911d101160591b602f92909101918201527f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000604482015283516124bd81605e840160208801612701565b61227d60f01b605e929091019182015260600195945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161251181601d850160208701612701565b91909101601d0192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061255190830184612163565b9695505050505050565b602081526000610ee36020830184612163565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561266f5761266f6127d9565b604052919050565b600067ffffffffffffffff821115612691576126916127d9565b50601f01601f191660200190565b600082198211156126b2576126b2612797565b500190565b6000826126c6576126c66127ad565b500490565b60008160001904831182151516156126e5576126e5612797565b500290565b6000828210156126fc576126fc612797565b500390565b60005b8381101561271c578181015183820152602001612704565b83811115610b5f5750506000910152565b600181811c9082168061274157607f821691505b6020821081141561276257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561277c5761277c612797565b5060010190565b600082612792576127926127ad565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f8257600080fd5b8015158114610f8257600080fd5b6001600160e01b031981168114610f8257600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e0000003f3435363738393a3b3c3d00000000000000000102030405060708090a0b0c0d0e0f101112131415161718190000000000001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000a264697066735822122054f4f2d50d291d5b187df47b3dc830a43deac1b88eb4f777ed76cf3fb8d7c5d264736f6c634300080700330000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc030000000000000000000000000cfdb3ba1694c2bb2cfacb0339ad7b1ae5932b630000000000000000000000000bc3807ec262cb779b38d65b38158acc3bfede10000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002e516d6535384763594165506979774632456358644874445255766e613256333661566968784c7a4c673642577462000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101815760003560e01c80638da5cb5b116100d1578063b88d4fde1161008a578063e8a3d48511610064578063e8a3d485146104c5578063e985e9c5146104da578063f2fde38b146104fa578063f3fef3a31461051a57600080fd5b8063b88d4fde14610451578063c87b56dd14610471578063ced9481f1461049157600080fd5b80638da5cb5b14610397578063938e3d7b146103b557806395d89b41146103d5578063a0712d68146103ea578063a22cb465146103fd578063b50cbd9f1461041d57600080fd5b80632a55205a1161013e57806342842e0e1161011857806342842e0e146103225780636352211e1461034257806370a0823114610362578063715018a61461038257600080fd5b80632a55205a1461027b578063337344a2146102ba5780634030969e146102ee57600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b31461021557806318160ddd1461023757806323b872dd1461025b575b600080fd5b34801561019257600080fd5b506101a66101a1366004611f87565b61053a565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d0610565565b6040516101b2919061255b565b3480156101e957600080fd5b506101fd6101f836600461210f565b6105f7565b6040516001600160a01b0390911681526020016101b2565b34801561022157600080fd5b50610235610230366004611f3e565b610691565b005b34801561024357600080fd5b5061024d60085481565b6040519081526020016101b2565b34801561026757600080fd5b50610235610276366004611e4f565b6107a7565b34801561028757600080fd5b5061029b610296366004612141565b6107d8565b604080516001600160a01b0390931683526020830191909152016101b2565b3480156102c657600080fd5b506101fd7f0000000000000000000000000bc3807ec262cb779b38d65b38158acc3bfede1081565b3480156102fa57600080fd5b506101fd7f0000000000000000000000000cfdb3ba1694c2bb2cfacb0339ad7b1ae5932b6381565b34801561032e57600080fd5b5061023561033d366004611e4f565b6107fb565b34801561034e57600080fd5b506101fd61035d36600461210f565b610816565b34801561036e57600080fd5b5061024d61037d366004611ddc565b61088d565b34801561038e57600080fd5b50610235610914565b3480156103a357600080fd5b506006546001600160a01b03166101fd565b3480156103c157600080fd5b506102356103d0366004611fc1565b61094a565b3480156103e157600080fd5b506101d061098b565b6102356103f836600461210f565b61099a565b34801561040957600080fd5b50610235610418366004611f10565b610b22565b34801561042957600080fd5b506101fd7f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c181565b34801561045d57600080fd5b5061023561046c366004611e90565b610b2d565b34801561047d57600080fd5b506101d061048c36600461210f565b610b65565b34801561049d57600080fd5b506101fd7f0000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc0381565b3480156104d157600080fd5b506101d0610dda565b3480156104e657600080fd5b506101a66104f5366004611e16565b610e02565b34801561050657600080fd5b50610235610515366004611ddc565b610eea565b34801561052657600080fd5b506101a6610535366004611f3e565b610f85565b60006001600160e01b0319821663152a902d60e11b148061055f575061055f82611209565b92915050565b6060600080546105749061272d565b80601f01602080910402602001604051908101604052809291908181526020018280546105a09061272d565b80156105ed5780601f106105c2576101008083540402835291602001916105ed565b820191906000526020600020905b8154815290600101906020018083116105d057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106755760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061069c82610816565b9050806001600160a01b0316836001600160a01b0316141561070a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161066c565b336001600160a01b038216148061072657506107268133610e02565b6107985760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161066c565b6107a28383611259565b505050565b6107b133826112c7565b6107cd5760405162461bcd60e51b815260040161066c906125f5565b6107a2838383611396565b30600060c86107e88460076126cb565b6107f291906126b7565b90509250929050565b6107a283838360405180602001604052806000815250610b2d565b6000818152600260205260408120546001600160a01b03168061055f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161066c565b60006001600160a01b0382166108f85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161066c565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461093e5760405162461bcd60e51b815260040161066c906125c0565b6109486000611532565b565b6006546001600160a01b031633146109745760405162461bcd60e51b815260040161066c906125c0565b8051610987906007906020840190611cea565b5050565b6060600180546105749061272d565b600060085490507f0000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc036001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156109fa57600080fd5b505afa158015610a0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a329190612128565b610a3c838361269f565b1115610a8a5760405162461bcd60e51b815260206004820152601d60248201527f506c65617365207761697420666f7220746865206e657874204e6f756e000000604482015260640161066c565b610a9b82667c5850872380006126cb565b341015610ae05760405162461bcd60e51b81526020600482015260136024820152724d696e7420707269636520697320302e30333560681b604482015260640161066c565b60005b82811015610b1057610afe33610af9838561269f565b611584565b80610b0881612768565b915050610ae3565b50610b1b828261269f565b6008555050565b6109873383836116c6565b610b3733836112c7565b610b535760405162461bcd60e51b815260040161066c906125f5565b610b5f84848484611795565b50505050565b6000818152600260205260409020546060906001600160a01b0316610bcc5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161066c565b6040516301e0a07d60e71b8152600481018390526000907f0000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc036001600160a01b03169063f0503e809060240160a06040518083038186803b158015610c2f57600080fd5b505afa158015610c43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c679190612081565b60408051622ea04360e81b8152825165ffffffffffff9081166004830152602084015181166024830152918301518216604482015260608301518216606482015260808301519091166084820152909150600090610d4c906001600160a01b037f0000000000000000000000000cfdb3ba1694c2bb2cfacb0339ad7b1ae5932b631690632ea043009060a40160006040518083038186803b158015610d0b57600080fd5b505afa158015610d1f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d47919081019061200a565b6117c8565b905080604051602001610d5f919061218f565b60405160208183030381529060405290506000610d7b85611979565b9050610db18182610d8b85611a77565b604051602001610d9d939291906123f5565b604051602081830303815290604052611a77565b604051602001610dc191906124d9565b6040516020818303038152906040529350505050919050565b60606007604051602001610dee9190612340565b604051602081830303815290604052905090565b60405163c455279160e01b81526001600160a01b038381166004830152600091818416917f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1169063c45527919060240160206040518083038186803b158015610e6a57600080fd5b505afa158015610e7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea29190611df9565b6001600160a01b03161415610eb95750600161055f565b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff165b9392505050565b6006546001600160a01b03163314610f145760405162461bcd60e51b815260040161066c906125c0565b6001600160a01b038116610f795760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161066c565b610f8281611532565b50565b6006546000906001600160a01b03163314610fb25760405162461bcd60e51b815260040161066c906125c0565b60006001600160a01b0384166110a15733600a610fd08560096126cb565b610fda91906126b7565b604051600081818185875af1925050503d8060008114611016576040519150601f19603f3d011682016040523d82523d6000602084013e61101b565b606091505b50909150506001600160a01b037f0000000000000000000000000bc3807ec262cb779b38d65b38158acc3bfede1016611055600a856126b7565b604051600081818185875af1925050503d8060008114611091576040519150601f19603f3d011682016040523d82523d6000602084013e611096565b606091505b505080915050610ee3565b6001600160a01b03841663a9059cbb33600a6110be8760096126cb565b6110c891906126b7565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561110e57600080fd5b505af1158015611122573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111469190611f6a565b90506001600160a01b03841663a9059cbb7f0000000000000000000000000bc3807ec262cb779b38d65b38158acc3bfede10611183600a876126b7565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156111c957600080fd5b505af11580156111dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112019190611f6a565b949350505050565b60006001600160e01b031982166380ac58cd60e01b148061123a57506001600160e01b03198216635b5e139f60e01b145b8061055f57506301ffc9a760e01b6001600160e01b031983161461055f565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061128e82610816565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166113405760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161066c565b600061134b83610816565b9050806001600160a01b0316846001600160a01b031614806113865750836001600160a01b031661137b846105f7565b6001600160a01b0316145b8061120157506112018185610e02565b826001600160a01b03166113a982610816565b6001600160a01b03161461140d5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161066c565b6001600160a01b03821661146f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161066c565b61147a600082611259565b6001600160a01b03831660009081526003602052604081208054600192906114a39084906126ea565b90915550506001600160a01b03821660009081526003602052604081208054600192906114d190849061269f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166115da5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161066c565b6000818152600260205260409020546001600160a01b03161561163f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161066c565b6001600160a01b038216600090815260036020526040812080546001929061166890849061269f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b031614156117285760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161066c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117a0848484611396565b6117ac84848484611bdd565b610b5f5760405162461bcd60e51b815260040161066c9061256e565b805160609082906117e9575050604080516000815260208101909152919050565b600481516117f79190612783565b156118445760405162461bcd60e51b815260206004820152601c60248201527f696e76616c696420626173653634206465636f64657220696e70757400000000604482015260640161066c565b60006040518060a001604052806080815260200161286960809139905060006004835161187191906126b7565b61187c9060036126cb565b9050600061188b82602061269f565b67ffffffffffffffff8111156118a3576118a36127d9565b6040519080825280601f01601f1916602001820160405280156118cd576020820181803683370190505b5090508351840151603d60ff821614156118fc57600183039250613d3d61ffff821614156118fc576001830392505b50818152600183018485518101602084015b8183101561196b57600483019250825160ff8082168601511660ff808360081c168701511660061b0160ff808360101c1687015116600c1b60ff808460181c168801511660121b010190508060e81b82525060038101905061190e565b509298975050505050505050565b60608161199d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119c757806119b181612768565b91506119c09050600a836126b7565b91506119a1565b60008167ffffffffffffffff8111156119e2576119e26127d9565b6040519080825280601f01601f191660200182016040528015611a0c576020820181803683370190505b5090505b841561120157611a216001836126ea565b9150611a2e600a86612783565b611a3990603061269f565b60f81b818381518110611a4e57611a4e6127c3565b60200101906001600160f81b031916908160001a905350611a70600a866126b7565b9450611a10565b6060815160001415611a9757505060408051602081019091526000815290565b60006040518060600160405280604081526020016128296040913990506000600384516002611ac6919061269f565b611ad091906126b7565b611adb9060046126cb565b90506000611aea82602061269f565b67ffffffffffffffff811115611b0257611b026127d9565b6040519080825280601f01601f191660200182016040528015611b2c576020820181803683370190505b509050818152600183018586518101602084015b81831015611b98576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101611b40565b600389510660018114611bb25760028114611bc357611bcf565b613d3d60f01b600119830152611bcf565b603d60f81b6000198301525b509398975050505050505050565b60006001600160a01b0384163b15611cdf57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c2190339089908890889060040161251e565b602060405180830381600087803b158015611c3b57600080fd5b505af1925050508015611c6b575060408051601f3d908101601f19168201909252611c6891810190611fa4565b60015b611cc5573d808015611c99576040519150601f19603f3d011682016040523d82523d6000602084013e611c9e565b606091505b508051611cbd5760405162461bcd60e51b815260040161066c9061256e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611201565b506001949350505050565b828054611cf69061272d565b90600052602060002090601f016020900481019282611d185760008555611d5e565b82601f10611d3157805160ff1916838001178555611d5e565b82800160010185558215611d5e579182015b82811115611d5e578251825591602001919060010190611d43565b50611d6a929150611d6e565b5090565b5b80821115611d6a5760008155600101611d6f565b6000611d96611d9184612677565b612646565b9050828152838383011115611daa57600080fd5b828260208301376000602084830101529392505050565b805165ffffffffffff81168114611dd757600080fd5b919050565b600060208284031215611dee57600080fd5b8135610ee3816127ef565b600060208284031215611e0b57600080fd5b8151610ee3816127ef565b60008060408385031215611e2957600080fd5b8235611e34816127ef565b91506020830135611e44816127ef565b809150509250929050565b600080600060608486031215611e6457600080fd5b8335611e6f816127ef565b92506020840135611e7f816127ef565b929592945050506040919091013590565b60008060008060808587031215611ea657600080fd5b8435611eb1816127ef565b93506020850135611ec1816127ef565b925060408501359150606085013567ffffffffffffffff811115611ee457600080fd5b8501601f81018713611ef557600080fd5b611f0487823560208401611d83565b91505092959194509250565b60008060408385031215611f2357600080fd5b8235611f2e816127ef565b91506020830135611e4481612804565b60008060408385031215611f5157600080fd5b8235611f5c816127ef565b946020939093013593505050565b600060208284031215611f7c57600080fd5b8151610ee381612804565b600060208284031215611f9957600080fd5b8135610ee381612812565b600060208284031215611fb657600080fd5b8151610ee381612812565b600060208284031215611fd357600080fd5b813567ffffffffffffffff811115611fea57600080fd5b8201601f81018413611ffb57600080fd5b61120184823560208401611d83565b60006020828403121561201c57600080fd5b815167ffffffffffffffff81111561203357600080fd5b8201601f8101841361204457600080fd5b8051612052611d9182612677565b81815285602083850101111561206757600080fd5b612078826020830160208601612701565b95945050505050565b600060a0828403121561209357600080fd5b60405160a0810181811067ffffffffffffffff821117156120b6576120b66127d9565b6040526120c283611dc1565b81526120d060208401611dc1565b60208201526120e160408401611dc1565b60408201526120f260608401611dc1565b606082015261210360808401611dc1565b60808201529392505050565b60006020828403121561212157600080fd5b5035919050565b60006020828403121561213a57600080fd5b5051919050565b6000806040838503121561215457600080fd5b50508035926020909101359150565b6000815180845261217b816020860160208601612701565b601f01601f19169290920160200192915050565b7f3c7376672077696474683d2233323022206865696768743d223332302220766981527f6577426f783d223020302033323020333230222066696c6c3d226e6f6e65222060208201527f786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737660408201527f67222073686170652d72656e646572696e673d2263726973704564676573223e60608201527f3c646566733e3c66696c7465722069643d226576696c223e3c6665436f6c6f7260808201527f4d617472697820636f6c6f722d696e746572706f6c6174696f6e2d66696c746560a08201527f72733d2273524742222076616c7565733d222d3120302030203020312030202d60c08201527f3120302030203120302030202d312030203120302030203020312030222f3e3c60e08201526e17b334b63a32b91f1e17b232b3399f60891b6101008201527f3c672066696c7465723d2275726c28236576696c29223e00000000000000000061010f820152600061012683516123138183860160208801612701565b61207861232e8383870101631e17b39f60e11b815260040190565b651e17b9bb339f60d11b815260060190565b66697066733a2f2f60c81b8152600060076000845481600182811c91508083168061236c57607f831692505b602080841082141561238c57634e487b7160e01b86526022600452602486fd5b8180156123a057600181146123b5576123e6565b60ff1986168a890152848a01880196506123e6565b60008b81526020902060005b868110156123dc5781548c82018b01529085019083016123c1565b505087858b010196505b50949998505050505050505050565b7203d913730b6b2911d1122bb34b6102737bab71606d1b81528351600090612424816013850160208901612701565b7f222c20226465736372697074696f6e223a224576696c204e6f756e2000000000601391840191820152845161246181602f840160208901612701565b74102132902634b5b29116101134b6b0b3b2911d101160591b602f92909101918201527f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000604482015283516124bd81605e840160208801612701565b61227d60f01b605e929091019182015260600195945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161251181601d850160208701612701565b91909101601d0192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061255190830184612163565b9695505050505050565b602081526000610ee36020830184612163565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561266f5761266f6127d9565b604052919050565b600067ffffffffffffffff821115612691576126916127d9565b50601f01601f191660200190565b600082198211156126b2576126b2612797565b500190565b6000826126c6576126c66127ad565b500490565b60008160001904831182151516156126e5576126e5612797565b500290565b6000828210156126fc576126fc612797565b500390565b60005b8381101561271c578181015183820152602001612704565b83811115610b5f5750506000910152565b600181811c9082168061274157607f821691505b6020821081141561276257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561277c5761277c612797565b5060010190565b600082612792576127926127ad565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f8257600080fd5b8015158114610f8257600080fd5b6001600160e01b031981168114610f8257600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e0000003f3435363738393a3b3c3d00000000000000000102030405060708090a0b0c0d0e0f101112131415161718190000000000001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000a264697066735822122054f4f2d50d291d5b187df47b3dc830a43deac1b88eb4f777ed76cf3fb8d7c5d264736f6c63430008070033

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

0000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc030000000000000000000000000cfdb3ba1694c2bb2cfacb0339ad7b1ae5932b630000000000000000000000000bc3807ec262cb779b38d65b38158acc3bfede10000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002e516d6535384763594165506979774632456358644874445255766e613256333661566968784c7a4c673642577462000000000000000000000000000000000000

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

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000009c8ff314c9bc7f6e59a9d9225fb22946427edc03
Arg [1] : 0000000000000000000000000cfdb3ba1694c2bb2cfacb0339ad7b1ae5932b63
Arg [2] : 0000000000000000000000000bc3807ec262cb779b38d65b38158acc3bfede10
Arg [3] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [5] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [6] : 516d6535384763594165506979774632456358644874445255766e6132563336
Arg [7] : 61566968784c7a4c673642577462000000000000000000000000000000000000


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.