ETH Price: $3,147.82 (+1.81%)

Token

Crowdfunded Mirror Editions (CROWDFUND_EDITIONS)
 

Overview

Max Total Supply

0 CROWDFUND_EDITIONS

Holders

876

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
theblockchainsocialist.eth
Balance
1 CROWDFUND_EDITIONS
0xc2fb4b3ea53e10c88d193e709a81c4dc7aec902e
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Mirror Editions are a way for creators to mint a limited supply of identical NFTs at a fixed price. If a 1/1 NFT is a Picasso at Sotheby's, Editions are like the thousands of first-edition holographic Charizards released.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CrowdfundWithEditions

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion
File 1 of 4 : CrowdfundWithEditions.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.6;

import {ERC721} from "../../../external/ERC721.sol";
import {ICrowdfundWithEditions} from "./interface/ICrowdfundWithEditions.sol";

/**
 * @title CrowdfundWithEditions
 * @author MirrorXYZ
 */
contract CrowdfundWithEditions is ERC721, ICrowdfundWithEditions {
    // ============ Constants ============

    string public constant name = "Crowdfunded Mirror Editions";
    string public constant symbol = "CROWDFUND_EDITIONS";

    bytes32 public constant PRODUCER_TYPE = "0x123123";

    uint256 internal constant REENTRANCY_NOT_ENTERED = 1;
    uint256 internal constant REENTRANCY_ENTERED = 2;

    // ============ Setup Storage ============

    // The CrowdfundFactory that is able to create editions.
    address public editionCreator;

    // ============ Mutable Storage ============

    // Mapping of edition id to descriptive data.
    mapping(uint256 => Edition) public editions;
    // Mapping of token id to edition id.
    mapping(uint256 => uint256) public tokenToEdition;
    // The contract that is able to mint.
    mapping(uint256 => address) public editionToMinter;
    // `nextTokenId` increments with each token purchased, globally across all editions.
    uint256 private nextTokenId;
    // Editions start at 1, in order that unsold tokens don't map to the first edition.
    uint256 private nextEditionId = 1;
    // Reentrancy
    uint256 internal reentrancyStatus;
    // Administration
    address public owner;
    address public nextOwner;
    // Base URI can be modified by multisig owner, for intended future
    // migration of API domain to a decentralized one.
    string public baseURI;

    // ============ Events ============

    event EditionCreated(
        uint256 quantity,
        uint256 price,
        address fundingRecipient,
        uint256 indexed editionId
    );

    event EditionPurchased(
        uint256 indexed editionId,
        uint256 indexed tokenId,
        // `numSold` at time of purchase represents the "serial number" of the NFT.
        uint256 numSold,
        uint256 amountPaid,
        // The account that paid for and received the NFT.
        address buyer,
        address receiver
    );

    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );

    event EditionCreatorChanged(
        address indexed previousCreator,
        address indexed newCreator
    );

    // ============ Modifiers ============

    modifier onlyOwner() {
        require(isOwner(), "caller is not the owner.");
        _;
    }

    modifier onlyNextOwner() {
        require(isNextOwner(), "current owner must set caller as next owner.");
        _;
    }

    modifier onlyMinter(uint256 editionId) {
        // Only the minter can call this function.
        // This allows us to mint through another contract, and
        // there not have to transfer funds into this contract to purchase.
        require(
            msg.sender == editionToMinter[editionId],
            "sender not allowed minter"
        );
        _;
    }

    // ============ Constructor ============

    constructor(string memory baseURI_, address owner_) {
        baseURI = baseURI_;
        owner = owner_;
    }

    // ============ Setup ============

    function setEditionCreator(address editionCreator_) external {
        require(editionCreator == address(0), "already set");
        editionCreator = editionCreator_;
        emit EditionCreatorChanged(address(0), editionCreator_);
    }

    // ============ Edition Methods ============

    function createEditions(
        EditionTier[] memory tiers,
        // The account that should receive the revenue.
        address payable fundingRecipient,
        // The address (e.g. crowdfund proxy) that is allowed to mint
        // tokens in this edition.
        address minter
    ) external override {
        // Only the crowdfund factory can create editions.
        require(msg.sender == editionCreator);
        // Copy the next edition id, which we reference in the loop.
        uint256 firstEditionId = nextEditionId;
        // Update the next edition id to what we expect after the loop.
        nextEditionId += tiers.length;
        // Execute a loop that created editions.
        for (uint8 x = 0; x < tiers.length; x++) {
            uint256 id = firstEditionId + x;
            uint256 quantity = tiers[x].quantity;
            uint256 price = tiers[x].price;
            bytes32 contentHash = tiers[x].contentHash;

            editions[id] = Edition({
                quantity: quantity,
                price: price,
                fundingRecipient: fundingRecipient,
                numSold: 0,
                contentHash: contentHash
            });

            editionToMinter[id] = minter;

            emit EditionCreated(quantity, price, fundingRecipient, id);
        }
    }

    function buyEdition(uint256 editionId, address recipient)
        external
        payable
        override
        onlyMinter(editionId)
        returns (uint256 tokenId)
    {
        return _buyEdition(editionId, recipient);
    }

    function _buyEdition(uint256 editionId, address recipient)
        internal
        returns (uint256 tokenId)
    {
        // Track and update token id.
        tokenId = nextTokenId;
        nextTokenId++;
        // Check that the edition exists. Note: this is redundant
        // with the next check, but it is useful for clearer error messaging.
        require(editions[editionId].quantity > 0, "Edition does not exist");
        // Check that there are still tokens available to purchase.
        require(
            editions[editionId].numSold < editions[editionId].quantity,
            "This edition is already sold out."
        );
        // Increment the number of tokens sold for this edition.
        editions[editionId].numSold++;
        // Mint a new token for the sender, using the `tokenId`.
        _mint(recipient, tokenId);
        // Store the mapping of token id to the edition being purchased.
        tokenToEdition[tokenId] = editionId;

        emit EditionPurchased(
            editionId,
            tokenId,
            editions[editionId].numSold,
            msg.value,
            msg.sender,
            recipient
        );

        return tokenId;
    }

    // ============ NFT Methods ============

    // Returns e.g. https://mirror-api.com/editions/[editionId]/[tokenId]
    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        // If the token does not map to an edition, it'll be 0.
        require(tokenToEdition[tokenId] > 0, "Token has not been sold yet");
        // Concatenate the components, baseURI, editionId and tokenId, to create URI.
        return
            string(
                abi.encodePacked(
                    baseURI,
                    _toString(tokenToEdition[tokenId]),
                    "/",
                    _toString(tokenId)
                )
            );
    }

    // Returns e.g. https://mirror-api.com/editions/metadata
    function contractURI() public view override returns (string memory) {
        // Concatenate the components, baseURI, editionId and tokenId, to create URI.
        return string(abi.encodePacked(baseURI, "metadata"));
    }

    // Given an edition's ID, returns its price.
    function editionPrice(uint256 editionId)
        external
        view
        override
        returns (uint256)
    {
        return editions[editionId].price;
    }

    // The hash of the given content for the NFT. Can be used
    // for IPFS storage, verifying authenticity, etc.
    function getContentHash(uint256 tokenId) public view returns (bytes32) {
        // If the token does not map to an edition, it'll be 0.
        require(tokenToEdition[tokenId] > 0, "Token has not been sold yet");
        // Concatenate the components, baseURI, editionId and tokenId, to create URI.
        return editions[tokenToEdition[tokenId]].contentHash;
    }

    function getRoyaltyRecipient(uint256 tokenId)
        public
        view
        returns (address)
    {
        require(tokenToEdition[tokenId] > 0, "Token has not been minted yet");
        return editions[tokenToEdition[tokenId]].fundingRecipient;
    }

    function setRoyaltyRecipient(
        uint256 editionId,
        address payable newFundingRecipient
    ) public {
        require(
            editions[editionId].fundingRecipient == msg.sender,
            "Only current fundingRecipient can modify its value"
        );

        editions[editionId].fundingRecipient = newFundingRecipient;
    }

    // ============ Admin Methods ============

    function changeBaseURI(string memory baseURI_) public onlyOwner {
        baseURI = baseURI_;
    }

    // Allows the creator contract to be swapped out for an upgraded one.
    // NOTE: This does not affect existing editions already minted.
    function changeEditionCreator(address editionCreator_) public onlyOwner {
        emit EditionCreatorChanged(editionCreator, editionCreator_);
        editionCreator = editionCreator_;
    }

    function isOwner() public view returns (bool) {
        return msg.sender == owner;
    }

    function isNextOwner() public view returns (bool) {
        return msg.sender == nextOwner;
    }

    function transferOwnership(address nextOwner_) external onlyOwner {
        require(nextOwner_ != address(0), "Next owner is the zero address.");

        nextOwner = nextOwner_;
    }

    function cancelOwnershipTransfer() external onlyOwner {
        delete nextOwner;
    }

    function acceptOwnership() external onlyNextOwner {
        delete nextOwner;

        emit OwnershipTransferred(owner, msg.sender);

        owner = msg.sender;
    }

    function renounceOwnership() external onlyOwner {
        emit OwnershipTransferred(owner, address(0));
        owner = address(0);
    }

    // ============ Private Methods ============

    // From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol
    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);
    }
}

File 2 of 4 : ERC721.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.6;

import {IERC721, IERC721Events, IERC721Metadata, IERC721Receiver, IERC165} from "./interface/IERC721.sol";

abstract contract ERC165 is IERC165 {
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return interfaceId == type(IERC165).interfaceId;
    }
}

/**
 * Based on: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol
 */
contract ERC721 is ERC165, IERC721, IERC721Events {
    mapping(uint256 => address) private _owners;
    mapping(address => uint256) private _balances;
    mapping(uint256 => address) private _tokenApprovals;
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    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;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        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))
                : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

    function getApproved(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721: approved query for nonexistent token"
        );

        return _tokenApprovals[tokenId];
    }

    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        require(operator != msg.sender, "ERC721: approve to caller");

        _operatorApprovals[msg.sender][operator] = approved;
        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function isApprovedForAll(address owner, address operator)
        public
        view
        virtual
        override
        returns (bool)
    {
        return _operatorApprovals[owner][operator];
    }

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

        _transfer(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(
            _isApprovedOrOwner(msg.sender, tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );
        _safeTransfer(from, to, tokenId, _data);
    }

    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"
        );
    }

    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    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));
    }

    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    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"
        );
    }

    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");

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

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

    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(
            ERC721.ownerOf(tokenId) == from,
            "ERC721: transfer of token that is not own"
        );
        require(to != address(0), "ERC721: transfer to the zero address");

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

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

        emit Transfer(from, to, tokenId);
    }

    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (isContract(to)) {
            try
                IERC721Receiver(to).onERC721Received(
                    msg.sender,
                    from,
                    tokenId,
                    _data
                )
            returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert(
                        "ERC721: transfer to non ERC721Receiver implementer"
                    );
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/7f6a1666fac8ecff5dd467d0938069bc221ea9e0/contracts/utils/Address.sol
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }
}

File 3 of 4 : ICrowdfundWithEditions.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.6;

interface ICrowdfundWithEditions {
    struct Edition {
        // The maximum number of tokens that can be sold.
        uint256 quantity;
        // The price at which each token will be sold, in ETH.
        uint256 price;
        // The account that will receive sales revenue.
        address payable fundingRecipient;
        // The number of tokens sold so far.
        uint256 numSold;
        bytes32 contentHash;
    }

    struct EditionTier {
        // The maximum number of tokens that can be sold.
        uint256 quantity;
        // The price at which each token will be sold, in ETH.
        uint256 price;
        bytes32 contentHash;
    }

    function buyEdition(uint256 editionId, address recipient)
        external
        payable
        returns (uint256 tokenId);

    function editionPrice(uint256 editionId) external view returns (uint256);

    function createEditions(
        EditionTier[] memory tier,
        // The account that should receive the revenue.
        address payable fundingRecipient,
        address minter
    ) external;

    function contractURI() external view returns (string memory);
}

File 4 of 4 : IERC721.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.6;

interface IERC721 {
    function balanceOf(address owner) external view returns (uint256 balance);

    function ownerOf(uint256 tokenId) external view returns (address owner);

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    function approve(address to, uint256 tokenId) external;

    function getApproved(uint256 tokenId)
        external
        view
        returns (address operator);

    function setApprovalForAll(address operator, bool _approved) external;

    function isApprovedForAll(address owner, address operator)
        external
        view
        returns (bool);

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

interface IERC721Events {
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 indexed tokenId
    );
    event Approval(
        address indexed owner,
        address indexed approved,
        uint256 indexed tokenId
    );
    event ApprovalForAll(
        address indexed owner,
        address indexed operator,
        bool approved
    );
}

interface IERC721Metadata {
    function name() external view returns (string memory);

    function symbol() external view returns (string memory);

    function tokenURI(uint256 tokenId) external view returns (string memory);
}

interface IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

interface IERC165 {
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

abstract contract ERC165 is IERC165 {
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return interfaceId == type(IERC165).interfaceId;
    }
}

interface IERC721Royalties {
    function getFeeRecipients(uint256 id)
        external
        view
        returns (address payable[] memory);

    function getFeeBps(uint256 id) external view returns (uint256[] memory);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 2000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"address","name":"owner_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"address","name":"fundingRecipient","type":"address"},{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"}],"name":"EditionCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousCreator","type":"address"},{"indexed":true,"internalType":"address","name":"newCreator","type":"address"}],"name":"EditionCreatorChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"numSold","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountPaid","type":"uint256"},{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"}],"name":"EditionPurchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PRODUCER_TYPE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"buyEdition","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"cancelOwnershipTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"editionCreator_","type":"address"}],"name":"changeEditionCreator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bytes32","name":"contentHash","type":"bytes32"}],"internalType":"struct ICrowdfundWithEditions.EditionTier[]","name":"tiers","type":"tuple[]"},{"internalType":"address payable","name":"fundingRecipient","type":"address"},{"internalType":"address","name":"minter","type":"address"}],"name":"createEditions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"editionCreator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"}],"name":"editionPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"editionToMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"editions","outputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address payable","name":"fundingRecipient","type":"address"},{"internalType":"uint256","name":"numSold","type":"uint256"},{"internalType":"bytes32","name":"contentHash","type":"bytes32"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"getContentHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRoyaltyRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isNextOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwner","outputs":[{"internalType":"address","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"editionCreator_","type":"address"}],"name":"setEditionCreator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"address payable","name":"newFundingRecipient","type":"address"}],"name":"setRoyaltyRecipient","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":"","type":"uint256"}],"name":"tokenToEdition","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"nextOwner_","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260016009553480156200001657600080fd5b5060405162002c5338038062002c53833981016040819052620000399162000139565b81516200004e90600d90602085019062000076565b50600b80546001600160a01b0319166001600160a01b0392909216919091179055506200027d565b82805462000084906200022a565b90600052602060002090601f016020900481019282620000a85760008555620000f3565b82601f10620000c357805160ff1916838001178555620000f3565b82800160010185558215620000f3579182015b82811115620000f3578251825591602001919060010190620000d6565b506200010192915062000105565b5090565b5b8082111562000101576000815560010162000106565b80516001600160a01b03811681146200013457600080fd5b919050565b600080604083850312156200014d57600080fd5b82516001600160401b03808211156200016557600080fd5b818501915085601f8301126200017a57600080fd5b8151818111156200018f576200018f62000267565b604051601f8201601f19908116603f01168101908382118183101715620001ba57620001ba62000267565b81604052828152602093508884848701011115620001d757600080fd5b600091505b82821015620001fb5784820184015181830185015290830190620001dc565b828211156200020d5760008484830101525b95506200021f9150508582016200011c565b925050509250929050565b600181811c908216806200023f57607f821691505b602082108114156200026157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6129c6806200028d6000396000f3fe60806040526004361061026a5760003560e01c8063715018a611610153578063af6d0853116100cb578063e985e9c51161007f578063f2fde38b11610064578063f2fde38b146107e1578063fe04d0dc14610801578063ffbdc8cb1461082157600080fd5b8063e985e9c514610778578063ed459df2146107c157600080fd5b8063c87b56dd116100b0578063c87b56dd14610723578063d33ed8b814610743578063e8a3d4851461076357600080fd5b8063af6d0853146106e3578063b88d4fde1461070357600080fd5b8063908ab1d5116101225780639e6d134d116101075780639e6d134d14610683578063a015a3d8146106a3578063a22cb465146106c357600080fd5b8063908ab1d51461060457806395d89b411461063a57600080fd5b8063715018a61461059a57806379ba5097146105af5780638da5cb5b146105c45780638f32d59b146105e457600080fd5b806338d37b9b116101e65780636352211e116101b55780636c0360eb1161019a5780636c0360eb1461053157806370a082311461054657806370b3b14f1461056657600080fd5b80636352211e146104f157806369f3331d1461051157600080fd5b806338d37b9b1461045457806339a0c6f91461048457806342842e0e146104a4578063602787ed146104c457600080fd5b806309fc162a1161023d57806323452b9c1161022257806323452b9c1461039557806323b872dd146103aa578063279c806e146103ca57600080fd5b806309fc162a14610354578063121e49841461037457600080fd5b806301ffc9a71461026f57806306fdde03146102a4578063081812fc146102fa578063095ea7b314610332575b600080fd5b34801561027b57600080fd5b5061028f61028a366004612510565b610841565b60405190151581526020015b60405180910390f35b3480156102b057600080fd5b506102ed6040518060400160405280601b81526020017f43726f776466756e646564204d6972726f722045646974696f6e73000000000081525081565b60405161029b919061276e565b34801561030657600080fd5b5061031a610315366004612593565b610926565b6040516001600160a01b03909116815260200161029b565b34801561033e57600080fd5b5061035261034d3660046123e9565b6109d1565b005b34801561036057600080fd5b5061035261036f366004612415565b610b21565b6103876103823660046125ac565b610ccd565b60405190815260200161029b565b3480156103a157600080fd5b50610352610d47565b3480156103b657600080fd5b506103526103c53660046122f5565b610db3565b3480156103d657600080fd5b5061041e6103e5366004612593565b60056020526000908152604090208054600182015460028301546003840154600490940154929391926001600160a01b03909116919085565b6040805195865260208601949094526001600160a01b03909216928401929092526060830191909152608082015260a00161029b565b34801561046057600080fd5b5061038761046f366004612593565b60009081526005602052604090206001015490565b34801561049057600080fd5b5061035261049f36600461254a565b610e3a565b3480156104b057600080fd5b506103526104bf3660046122f5565b610eab565b3480156104d057600080fd5b506103876104df366004612593565b60066020526000908152604090205481565b3480156104fd57600080fd5b5061031a61050c366004612593565b610ec6565b34801561051d57600080fd5b50600c5461031a906001600160a01b031681565b34801561053d57600080fd5b506102ed610f51565b34801561055257600080fd5b50610387610561366004612298565b610fdf565b34801561057257600080fd5b506103877f307831323331323300000000000000000000000000000000000000000000000081565b3480156105a657600080fd5b50610352611079565b3480156105bb57600080fd5b5061035261111d565b3480156105d057600080fd5b50600b5461031a906001600160a01b031681565b3480156105f057600080fd5b50600b546001600160a01b0316331461028f565b34801561061057600080fd5b5061031a61061f366004612593565b6007602052600090815260409020546001600160a01b031681565b34801561064657600080fd5b506102ed6040518060400160405280601281526020017f43524f574446554e445f45444954494f4e53000000000000000000000000000081525081565b34801561068f57600080fd5b5061035261069e3660046125ac565b6111f9565b3480156106af57600080fd5b5061031a6106be366004612593565b6112b9565b3480156106cf57600080fd5b506103526106de3660046123b6565b611340565b3480156106ef57600080fd5b506103526106fe366004612298565b611405565b34801561070f57600080fd5b5061035261071e366004612336565b6114aa565b34801561072f57600080fd5b506102ed61073e366004612593565b611538565b34801561074f57600080fd5b5060045461031a906001600160a01b031681565b34801561076f57600080fd5b506102ed6115e2565b34801561078457600080fd5b5061028f6107933660046122bc565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b3480156107cd57600080fd5b50600c546001600160a01b0316331461028f565b3480156107ed57600080fd5b506103526107fc366004612298565b61160a565b34801561080d57600080fd5b5061035261081c366004612298565b6116dc565b34801561082d57600080fd5b5061038761083c366004612593565b611792565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806108d457507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061092057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000818152602081905260408120546001600160a01b03166109b55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600260205260409020546001600160a01b031690565b60006109dc82610ec6565b9050806001600160a01b0316836001600160a01b03161415610a665760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016109ac565b336001600160a01b0382161480610aa057506001600160a01b038116600090815260036020908152604080832033845290915290205460ff165b610b125760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109ac565b610b1c8383611810565b505050565b6004546001600160a01b03163314610b3857600080fd5b60098054845190916000610b4c83856127db565b90915550600090505b84518160ff161015610cc6576000610b7060ff8316846127db565b90506000868360ff1681518110610b8957610b8961291e565b60200260200101516000015190506000878460ff1681518110610bae57610bae61291e565b60200260200101516020015190506000888560ff1681518110610bd357610bd361291e565b602090810291909101810151604090810151815160a0810183528681528084018681526001600160a01b038d811683860181815260006060808701828152608088018981528f845260058c528a8420985189559651600189015592516002880180549187166001600160a01b031992831617905592516003880155945160049096019590955560078852938690208054928f169290941691909117909255835188815294850187905292840152925085917fbaf1f6ab5aa5406df2735e70c52585e630f9744f4ecdedd8b619e983e927f0b6910160405180910390a2505050508080610cbe906128be565b915050610b55565b5050505050565b60008281526007602052604081205483906001600160a01b03163314610d355760405162461bcd60e51b815260206004820152601960248201527f73656e646572206e6f7420616c6c6f776564206d696e7465720000000000000060448201526064016109ac565b610d3f848461187e565b949350505050565b600b546001600160a01b03163314610da15760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206f776e65722e000000000000000060448201526064016109ac565b600c80546001600160a01b0319169055565b610dbd3382611a1f565b610e2f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109ac565b610b1c838383611b23565b600b546001600160a01b03163314610e945760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206f776e65722e000000000000000060448201526064016109ac565b8051610ea790600d906020840190612197565b5050565b610b1c838383604051806020016040528060008152506114aa565b6000818152602081905260408120546001600160a01b0316806109205760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109ac565b600d8054610f5e9061284a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8a9061284a565b8015610fd75780601f10610fac57610100808354040283529160200191610fd7565b820191906000526020600020905b815481529060010190602001808311610fba57829003601f168201915b505050505081565b60006001600160a01b03821661105d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109ac565b506001600160a01b031660009081526001602052604090205490565b600b546001600160a01b031633146110d35760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206f776e65722e000000000000000060448201526064016109ac565b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80546001600160a01b0319169055565b600c546001600160a01b0316331461119d5760405162461bcd60e51b815260206004820152602c60248201527f63757272656e74206f776e6572206d757374207365742063616c6c657220617360448201527f206e657874206f776e65722e000000000000000000000000000000000000000060648201526084016109ac565b600c80546001600160a01b0319169055600b5460405133916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80546001600160a01b03191633179055565b6000828152600560205260409020600201546001600160a01b031633146112885760405162461bcd60e51b815260206004820152603260248201527f4f6e6c792063757272656e742066756e64696e67526563697069656e7420636160448201527f6e206d6f64696679206974732076616c7565000000000000000000000000000060648201526084016109ac565b60009182526005602052604090912060020180546001600160a01b0319166001600160a01b03909216919091179055565b6000818152600660205260408120546113145760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e20686173206e6f74206265656e206d696e7465642079657400000060448201526064016109ac565b50600090815260066020908152604080832054835260059091529020600201546001600160a01b031690565b6001600160a01b0382163314156113995760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109ac565b3360008181526003602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6004546001600160a01b03161561145e5760405162461bcd60e51b815260206004820152600b60248201527f616c72656164792073657400000000000000000000000000000000000000000060448201526064016109ac565b600480546001600160a01b0319166001600160a01b0383169081179091556040516000907fb124c64ec593fef93c8be07bdd4c91d55d3ea7e4efa4546b5caa767b414c740e908290a350565b6114b43383611a1f565b6115265760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109ac565b61153284848484611cf4565b50505050565b6000818152600660205260409020546060906115965760405162461bcd60e51b815260206004820152601b60248201527f546f6b656e20686173206e6f74206265656e20736f6c6420796574000000000060448201526064016109ac565b600082815260066020526040902054600d906115b190611d7d565b6115ba84611d7d565b6040516020016115cc93929190612697565b6040516020818303038152906040529050919050565b6060600d6040516020016115f691906126f9565b604051602081830303815290604052905090565b600b546001600160a01b031633146116645760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206f776e65722e000000000000000060448201526064016109ac565b6001600160a01b0381166116ba5760405162461bcd60e51b815260206004820152601f60248201527f4e657874206f776e657220697320746865207a65726f20616464726573732e0060448201526064016109ac565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b031633146117365760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206f776e65722e000000000000000060448201526064016109ac565b6004546040516001600160a01b038084169216907fb124c64ec593fef93c8be07bdd4c91d55d3ea7e4efa4546b5caa767b414c740e90600090a3600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600660205260408120546117ed5760405162461bcd60e51b815260206004820152601b60248201527f546f6b656e20686173206e6f74206265656e20736f6c6420796574000000000060448201526064016109ac565b506000908152600660209081526040808320548352600590915290206004015490565b600081815260026020526040902080546001600160a01b0319166001600160a01b038416908117909155819061184582610ec6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60088054908190600061189083612885565b90915550506000838152600560205260409020546118f05760405162461bcd60e51b815260206004820152601660248201527f45646974696f6e20646f6573206e6f742065786973740000000000000000000060448201526064016109ac565b60008381526005602052604090208054600390910154106119795760405162461bcd60e51b815260206004820152602160248201527f546869732065646974696f6e20697320616c726561647920736f6c64206f757460448201527f2e0000000000000000000000000000000000000000000000000000000000000060648201526084016109ac565b600083815260056020526040812060030180549161199683612885565b91905055506119a58282611eaf565b60008181526006602090815260408083208690558583526005825291829020600301548251908152349181019190915233818301526001600160a01b03841660608201529051829185917f7bb8f63d53af422c82323135cb2cfa94a2189a70484e7c5b5d40bda6ae498e639181900360800190a392915050565b6000818152602081905260408120546001600160a01b0316611aa95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016109ac565b6000611ab483610ec6565b9050806001600160a01b0316846001600160a01b03161480611aef5750836001600160a01b0316611ae484610926565b6001600160a01b0316145b80610d3f57506001600160a01b0380821660009081526003602090815260408083209388168352929052205460ff16610d3f565b826001600160a01b0316611b3682610ec6565b6001600160a01b031614611bb25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b038216611c2d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109ac565b611c38600082611810565b6001600160a01b03831660009081526001602081905260408220805491929091611c63908490612807565b90915550506001600160a01b03821660009081526001602081905260408220805491929091611c939084906127db565b909155505060008181526020819052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611cff848484611b23565b611d0b84848484611ff3565b6115325760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109ac565b606081611dbd57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611de75780611dd181612885565b9150611de09050600a836127f3565b9150611dc1565b60008167ffffffffffffffff811115611e0257611e02612934565b6040519080825280601f01601f191660200182016040528015611e2c576020820181803683370190505b5090505b8415610d3f57611e41600183612807565b9150611e4e600a866128de565b611e599060306127db565b60f81b818381518110611e6e57611e6e61291e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611ea8600a866127f3565b9450611e30565b6001600160a01b038216611f055760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109ac565b6000818152602081905260409020546001600160a01b031615611f6a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109ac565b6001600160a01b03821660009081526001602081905260408220805491929091611f959084906127db565b909155505060008181526020819052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000833b1561218c576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612047903390899088908890600401612732565b602060405180830381600087803b15801561206157600080fd5b505af1925050508015612091575060408051601f3d908101601f1916820190925261208e9181019061252d565b60015b612141573d8080156120bf576040519150601f19603f3d011682016040523d82523d6000602084013e6120c4565b606091505b5080516121395760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109ac565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050610d3f565b506001949350505050565b8280546121a39061284a565b90600052602060002090601f0160209004810192826121c5576000855561220b565b82601f106121de57805160ff191683800117855561220b565b8280016001018555821561220b579182015b8281111561220b5782518255916020019190600101906121f0565b5061221792915061221b565b5090565b5b80821115612217576000815560010161221c565b600067ffffffffffffffff83111561224a5761224a612934565b61225d6020601f19601f860116016127aa565b905082815283838301111561227157600080fd5b828260208301376000602084830101529392505050565b80356122938161294a565b919050565b6000602082840312156122aa57600080fd5b81356122b58161294a565b9392505050565b600080604083850312156122cf57600080fd5b82356122da8161294a565b915060208301356122ea8161294a565b809150509250929050565b60008060006060848603121561230a57600080fd5b83356123158161294a565b925060208401356123258161294a565b929592945050506040919091013590565b6000806000806080858703121561234c57600080fd5b84356123578161294a565b935060208501356123678161294a565b925060408501359150606085013567ffffffffffffffff81111561238a57600080fd5b8501601f8101871361239b57600080fd5b6123aa87823560208401612230565b91505092959194509250565b600080604083850312156123c957600080fd5b82356123d48161294a565b9150602083013580151581146122ea57600080fd5b600080604083850312156123fc57600080fd5b82356124078161294a565b946020939093013593505050565b6000806000606080858703121561242b57600080fd5b843567ffffffffffffffff8082111561244357600080fd5b818701915087601f83011261245757600080fd5b813560208282111561246b5761246b612934565b612479818360051b016127aa565b8281528181019350848201868402860183018c101561249757600080fd5b60009550855b848110156124e35787828e0312156124b3578687fd5b6124bb612781565b823581528483013585820152604080840135908201528652948301949087019060010161249d565b5050809850506124f4818a01612288565b9650505050505061250760408501612288565b90509250925092565b60006020828403121561252257600080fd5b81356122b581612962565b60006020828403121561253f57600080fd5b81516122b581612962565b60006020828403121561255c57600080fd5b813567ffffffffffffffff81111561257357600080fd5b8201601f8101841361258457600080fd5b610d3f84823560208401612230565b6000602082840312156125a557600080fd5b5035919050565b600080604083850312156125bf57600080fd5b8235915060208301356122ea8161294a565b600081518084526125e981602086016020860161281e565b601f01601f19169290920160200192915050565b8054600090600181811c908083168061261757607f831692505b602080841082141561263957634e487b7160e01b600052602260045260246000fd5b81801561264d576001811461265e5761268b565b60ff1986168952848901965061268b565b60008881526020902060005b868110156126835781548b82015290850190830161266a565b505084890196505b50505050505092915050565b60006126a382866125fd565b84516126b381836020890161281e565b7f2f00000000000000000000000000000000000000000000000000000000000000910190815283516126ec81600184016020880161281e565b0160010195945050505050565b600061270582846125fd565b7f6d6574616461746100000000000000000000000000000000000000000000000081526008019392505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261276460808301846125d1565b9695505050505050565b6020815260006122b560208301846125d1565b6040516060810167ffffffffffffffff811182821017156127a4576127a4612934565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156127d3576127d3612934565b604052919050565b600082198211156127ee576127ee6128f2565b500190565b60008261280257612802612908565b500490565b600082821015612819576128196128f2565b500390565b60005b83811015612839578181015183820152602001612821565b838111156115325750506000910152565b600181811c9082168061285e57607f821691505b6020821081141561287f57634e487b7160e01b600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156128b7576128b76128f2565b5060010190565b600060ff821660ff8114156128d5576128d56128f2565b60010192915050565b6000826128ed576128ed612908565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461295f57600080fd5b50565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461295f57600080fdfea26469706673582212209ccffa74664b21772b6000d76502249ec3612656fea7f6f8572cb4f6df1b617864736f6c6343000806003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b57000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f6d6972726f722d6170692e636f6d2f65646974696f6e732f63726f776466756e6465642f76342f0000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061026a5760003560e01c8063715018a611610153578063af6d0853116100cb578063e985e9c51161007f578063f2fde38b11610064578063f2fde38b146107e1578063fe04d0dc14610801578063ffbdc8cb1461082157600080fd5b8063e985e9c514610778578063ed459df2146107c157600080fd5b8063c87b56dd116100b0578063c87b56dd14610723578063d33ed8b814610743578063e8a3d4851461076357600080fd5b8063af6d0853146106e3578063b88d4fde1461070357600080fd5b8063908ab1d5116101225780639e6d134d116101075780639e6d134d14610683578063a015a3d8146106a3578063a22cb465146106c357600080fd5b8063908ab1d51461060457806395d89b411461063a57600080fd5b8063715018a61461059a57806379ba5097146105af5780638da5cb5b146105c45780638f32d59b146105e457600080fd5b806338d37b9b116101e65780636352211e116101b55780636c0360eb1161019a5780636c0360eb1461053157806370a082311461054657806370b3b14f1461056657600080fd5b80636352211e146104f157806369f3331d1461051157600080fd5b806338d37b9b1461045457806339a0c6f91461048457806342842e0e146104a4578063602787ed146104c457600080fd5b806309fc162a1161023d57806323452b9c1161022257806323452b9c1461039557806323b872dd146103aa578063279c806e146103ca57600080fd5b806309fc162a14610354578063121e49841461037457600080fd5b806301ffc9a71461026f57806306fdde03146102a4578063081812fc146102fa578063095ea7b314610332575b600080fd5b34801561027b57600080fd5b5061028f61028a366004612510565b610841565b60405190151581526020015b60405180910390f35b3480156102b057600080fd5b506102ed6040518060400160405280601b81526020017f43726f776466756e646564204d6972726f722045646974696f6e73000000000081525081565b60405161029b919061276e565b34801561030657600080fd5b5061031a610315366004612593565b610926565b6040516001600160a01b03909116815260200161029b565b34801561033e57600080fd5b5061035261034d3660046123e9565b6109d1565b005b34801561036057600080fd5b5061035261036f366004612415565b610b21565b6103876103823660046125ac565b610ccd565b60405190815260200161029b565b3480156103a157600080fd5b50610352610d47565b3480156103b657600080fd5b506103526103c53660046122f5565b610db3565b3480156103d657600080fd5b5061041e6103e5366004612593565b60056020526000908152604090208054600182015460028301546003840154600490940154929391926001600160a01b03909116919085565b6040805195865260208601949094526001600160a01b03909216928401929092526060830191909152608082015260a00161029b565b34801561046057600080fd5b5061038761046f366004612593565b60009081526005602052604090206001015490565b34801561049057600080fd5b5061035261049f36600461254a565b610e3a565b3480156104b057600080fd5b506103526104bf3660046122f5565b610eab565b3480156104d057600080fd5b506103876104df366004612593565b60066020526000908152604090205481565b3480156104fd57600080fd5b5061031a61050c366004612593565b610ec6565b34801561051d57600080fd5b50600c5461031a906001600160a01b031681565b34801561053d57600080fd5b506102ed610f51565b34801561055257600080fd5b50610387610561366004612298565b610fdf565b34801561057257600080fd5b506103877f307831323331323300000000000000000000000000000000000000000000000081565b3480156105a657600080fd5b50610352611079565b3480156105bb57600080fd5b5061035261111d565b3480156105d057600080fd5b50600b5461031a906001600160a01b031681565b3480156105f057600080fd5b50600b546001600160a01b0316331461028f565b34801561061057600080fd5b5061031a61061f366004612593565b6007602052600090815260409020546001600160a01b031681565b34801561064657600080fd5b506102ed6040518060400160405280601281526020017f43524f574446554e445f45444954494f4e53000000000000000000000000000081525081565b34801561068f57600080fd5b5061035261069e3660046125ac565b6111f9565b3480156106af57600080fd5b5061031a6106be366004612593565b6112b9565b3480156106cf57600080fd5b506103526106de3660046123b6565b611340565b3480156106ef57600080fd5b506103526106fe366004612298565b611405565b34801561070f57600080fd5b5061035261071e366004612336565b6114aa565b34801561072f57600080fd5b506102ed61073e366004612593565b611538565b34801561074f57600080fd5b5060045461031a906001600160a01b031681565b34801561076f57600080fd5b506102ed6115e2565b34801561078457600080fd5b5061028f6107933660046122bc565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b3480156107cd57600080fd5b50600c546001600160a01b0316331461028f565b3480156107ed57600080fd5b506103526107fc366004612298565b61160a565b34801561080d57600080fd5b5061035261081c366004612298565b6116dc565b34801561082d57600080fd5b5061038761083c366004612593565b611792565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806108d457507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061092057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000818152602081905260408120546001600160a01b03166109b55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600260205260409020546001600160a01b031690565b60006109dc82610ec6565b9050806001600160a01b0316836001600160a01b03161415610a665760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016109ac565b336001600160a01b0382161480610aa057506001600160a01b038116600090815260036020908152604080832033845290915290205460ff165b610b125760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109ac565b610b1c8383611810565b505050565b6004546001600160a01b03163314610b3857600080fd5b60098054845190916000610b4c83856127db565b90915550600090505b84518160ff161015610cc6576000610b7060ff8316846127db565b90506000868360ff1681518110610b8957610b8961291e565b60200260200101516000015190506000878460ff1681518110610bae57610bae61291e565b60200260200101516020015190506000888560ff1681518110610bd357610bd361291e565b602090810291909101810151604090810151815160a0810183528681528084018681526001600160a01b038d811683860181815260006060808701828152608088018981528f845260058c528a8420985189559651600189015592516002880180549187166001600160a01b031992831617905592516003880155945160049096019590955560078852938690208054928f169290941691909117909255835188815294850187905292840152925085917fbaf1f6ab5aa5406df2735e70c52585e630f9744f4ecdedd8b619e983e927f0b6910160405180910390a2505050508080610cbe906128be565b915050610b55565b5050505050565b60008281526007602052604081205483906001600160a01b03163314610d355760405162461bcd60e51b815260206004820152601960248201527f73656e646572206e6f7420616c6c6f776564206d696e7465720000000000000060448201526064016109ac565b610d3f848461187e565b949350505050565b600b546001600160a01b03163314610da15760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206f776e65722e000000000000000060448201526064016109ac565b600c80546001600160a01b0319169055565b610dbd3382611a1f565b610e2f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109ac565b610b1c838383611b23565b600b546001600160a01b03163314610e945760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206f776e65722e000000000000000060448201526064016109ac565b8051610ea790600d906020840190612197565b5050565b610b1c838383604051806020016040528060008152506114aa565b6000818152602081905260408120546001600160a01b0316806109205760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109ac565b600d8054610f5e9061284a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8a9061284a565b8015610fd75780601f10610fac57610100808354040283529160200191610fd7565b820191906000526020600020905b815481529060010190602001808311610fba57829003601f168201915b505050505081565b60006001600160a01b03821661105d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109ac565b506001600160a01b031660009081526001602052604090205490565b600b546001600160a01b031633146110d35760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206f776e65722e000000000000000060448201526064016109ac565b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80546001600160a01b0319169055565b600c546001600160a01b0316331461119d5760405162461bcd60e51b815260206004820152602c60248201527f63757272656e74206f776e6572206d757374207365742063616c6c657220617360448201527f206e657874206f776e65722e000000000000000000000000000000000000000060648201526084016109ac565b600c80546001600160a01b0319169055600b5460405133916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80546001600160a01b03191633179055565b6000828152600560205260409020600201546001600160a01b031633146112885760405162461bcd60e51b815260206004820152603260248201527f4f6e6c792063757272656e742066756e64696e67526563697069656e7420636160448201527f6e206d6f64696679206974732076616c7565000000000000000000000000000060648201526084016109ac565b60009182526005602052604090912060020180546001600160a01b0319166001600160a01b03909216919091179055565b6000818152600660205260408120546113145760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e20686173206e6f74206265656e206d696e7465642079657400000060448201526064016109ac565b50600090815260066020908152604080832054835260059091529020600201546001600160a01b031690565b6001600160a01b0382163314156113995760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109ac565b3360008181526003602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6004546001600160a01b03161561145e5760405162461bcd60e51b815260206004820152600b60248201527f616c72656164792073657400000000000000000000000000000000000000000060448201526064016109ac565b600480546001600160a01b0319166001600160a01b0383169081179091556040516000907fb124c64ec593fef93c8be07bdd4c91d55d3ea7e4efa4546b5caa767b414c740e908290a350565b6114b43383611a1f565b6115265760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109ac565b61153284848484611cf4565b50505050565b6000818152600660205260409020546060906115965760405162461bcd60e51b815260206004820152601b60248201527f546f6b656e20686173206e6f74206265656e20736f6c6420796574000000000060448201526064016109ac565b600082815260066020526040902054600d906115b190611d7d565b6115ba84611d7d565b6040516020016115cc93929190612697565b6040516020818303038152906040529050919050565b6060600d6040516020016115f691906126f9565b604051602081830303815290604052905090565b600b546001600160a01b031633146116645760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206f776e65722e000000000000000060448201526064016109ac565b6001600160a01b0381166116ba5760405162461bcd60e51b815260206004820152601f60248201527f4e657874206f776e657220697320746865207a65726f20616464726573732e0060448201526064016109ac565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b031633146117365760405162461bcd60e51b815260206004820152601860248201527f63616c6c6572206973206e6f7420746865206f776e65722e000000000000000060448201526064016109ac565b6004546040516001600160a01b038084169216907fb124c64ec593fef93c8be07bdd4c91d55d3ea7e4efa4546b5caa767b414c740e90600090a3600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600660205260408120546117ed5760405162461bcd60e51b815260206004820152601b60248201527f546f6b656e20686173206e6f74206265656e20736f6c6420796574000000000060448201526064016109ac565b506000908152600660209081526040808320548352600590915290206004015490565b600081815260026020526040902080546001600160a01b0319166001600160a01b038416908117909155819061184582610ec6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60088054908190600061189083612885565b90915550506000838152600560205260409020546118f05760405162461bcd60e51b815260206004820152601660248201527f45646974696f6e20646f6573206e6f742065786973740000000000000000000060448201526064016109ac565b60008381526005602052604090208054600390910154106119795760405162461bcd60e51b815260206004820152602160248201527f546869732065646974696f6e20697320616c726561647920736f6c64206f757460448201527f2e0000000000000000000000000000000000000000000000000000000000000060648201526084016109ac565b600083815260056020526040812060030180549161199683612885565b91905055506119a58282611eaf565b60008181526006602090815260408083208690558583526005825291829020600301548251908152349181019190915233818301526001600160a01b03841660608201529051829185917f7bb8f63d53af422c82323135cb2cfa94a2189a70484e7c5b5d40bda6ae498e639181900360800190a392915050565b6000818152602081905260408120546001600160a01b0316611aa95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016109ac565b6000611ab483610ec6565b9050806001600160a01b0316846001600160a01b03161480611aef5750836001600160a01b0316611ae484610926565b6001600160a01b0316145b80610d3f57506001600160a01b0380821660009081526003602090815260408083209388168352929052205460ff16610d3f565b826001600160a01b0316611b3682610ec6565b6001600160a01b031614611bb25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b038216611c2d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109ac565b611c38600082611810565b6001600160a01b03831660009081526001602081905260408220805491929091611c63908490612807565b90915550506001600160a01b03821660009081526001602081905260408220805491929091611c939084906127db565b909155505060008181526020819052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611cff848484611b23565b611d0b84848484611ff3565b6115325760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109ac565b606081611dbd57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611de75780611dd181612885565b9150611de09050600a836127f3565b9150611dc1565b60008167ffffffffffffffff811115611e0257611e02612934565b6040519080825280601f01601f191660200182016040528015611e2c576020820181803683370190505b5090505b8415610d3f57611e41600183612807565b9150611e4e600a866128de565b611e599060306127db565b60f81b818381518110611e6e57611e6e61291e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611ea8600a866127f3565b9450611e30565b6001600160a01b038216611f055760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109ac565b6000818152602081905260409020546001600160a01b031615611f6a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109ac565b6001600160a01b03821660009081526001602081905260408220805491929091611f959084906127db565b909155505060008181526020819052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000833b1561218c576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612047903390899088908890600401612732565b602060405180830381600087803b15801561206157600080fd5b505af1925050508015612091575060408051601f3d908101601f1916820190925261208e9181019061252d565b60015b612141573d8080156120bf576040519150601f19603f3d011682016040523d82523d6000602084013e6120c4565b606091505b5080516121395760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109ac565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050610d3f565b506001949350505050565b8280546121a39061284a565b90600052602060002090601f0160209004810192826121c5576000855561220b565b82601f106121de57805160ff191683800117855561220b565b8280016001018555821561220b579182015b8281111561220b5782518255916020019190600101906121f0565b5061221792915061221b565b5090565b5b80821115612217576000815560010161221c565b600067ffffffffffffffff83111561224a5761224a612934565b61225d6020601f19601f860116016127aa565b905082815283838301111561227157600080fd5b828260208301376000602084830101529392505050565b80356122938161294a565b919050565b6000602082840312156122aa57600080fd5b81356122b58161294a565b9392505050565b600080604083850312156122cf57600080fd5b82356122da8161294a565b915060208301356122ea8161294a565b809150509250929050565b60008060006060848603121561230a57600080fd5b83356123158161294a565b925060208401356123258161294a565b929592945050506040919091013590565b6000806000806080858703121561234c57600080fd5b84356123578161294a565b935060208501356123678161294a565b925060408501359150606085013567ffffffffffffffff81111561238a57600080fd5b8501601f8101871361239b57600080fd5b6123aa87823560208401612230565b91505092959194509250565b600080604083850312156123c957600080fd5b82356123d48161294a565b9150602083013580151581146122ea57600080fd5b600080604083850312156123fc57600080fd5b82356124078161294a565b946020939093013593505050565b6000806000606080858703121561242b57600080fd5b843567ffffffffffffffff8082111561244357600080fd5b818701915087601f83011261245757600080fd5b813560208282111561246b5761246b612934565b612479818360051b016127aa565b8281528181019350848201868402860183018c101561249757600080fd5b60009550855b848110156124e35787828e0312156124b3578687fd5b6124bb612781565b823581528483013585820152604080840135908201528652948301949087019060010161249d565b5050809850506124f4818a01612288565b9650505050505061250760408501612288565b90509250925092565b60006020828403121561252257600080fd5b81356122b581612962565b60006020828403121561253f57600080fd5b81516122b581612962565b60006020828403121561255c57600080fd5b813567ffffffffffffffff81111561257357600080fd5b8201601f8101841361258457600080fd5b610d3f84823560208401612230565b6000602082840312156125a557600080fd5b5035919050565b600080604083850312156125bf57600080fd5b8235915060208301356122ea8161294a565b600081518084526125e981602086016020860161281e565b601f01601f19169290920160200192915050565b8054600090600181811c908083168061261757607f831692505b602080841082141561263957634e487b7160e01b600052602260045260246000fd5b81801561264d576001811461265e5761268b565b60ff1986168952848901965061268b565b60008881526020902060005b868110156126835781548b82015290850190830161266a565b505084890196505b50505050505092915050565b60006126a382866125fd565b84516126b381836020890161281e565b7f2f00000000000000000000000000000000000000000000000000000000000000910190815283516126ec81600184016020880161281e565b0160010195945050505050565b600061270582846125fd565b7f6d6574616461746100000000000000000000000000000000000000000000000081526008019392505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261276460808301846125d1565b9695505050505050565b6020815260006122b560208301846125d1565b6040516060810167ffffffffffffffff811182821017156127a4576127a4612934565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156127d3576127d3612934565b604052919050565b600082198211156127ee576127ee6128f2565b500190565b60008261280257612802612908565b500490565b600082821015612819576128196128f2565b500390565b60005b83811015612839578181015183820152602001612821565b838111156115325750506000910152565b600181811c9082168061285e57607f821691505b6020821081141561287f57634e487b7160e01b600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156128b7576128b76128f2565b5060010190565b600060ff821660ff8114156128d5576128d56128f2565b60010192915050565b6000826128ed576128ed612908565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461295f57600080fd5b50565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461295f57600080fdfea26469706673582212209ccffa74664b21772b6000d76502249ec3612656fea7f6f8572cb4f6df1b617864736f6c63430008060033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b57000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f6d6972726f722d6170692e636f6d2f65646974696f6e732f63726f776466756e6465642f76342f0000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI_ (string): https://mirror-api.com/editions/crowdfunded/v4/
Arg [1] : owner_ (address): 0x2330ee705fFD040bB0cbA8CB7734Dfe00E7C4b57

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000002330ee705ffd040bb0cba8cb7734dfe00e7c4b57
Arg [2] : 000000000000000000000000000000000000000000000000000000000000002f
Arg [3] : 68747470733a2f2f6d6972726f722d6170692e636f6d2f65646974696f6e732f
Arg [4] : 63726f776466756e6465642f76342f0000000000000000000000000000000000


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.