ETH Price: $3,145.02 (+2.49%)

Token

CryptoonGoonzOriginals (CGO)
 

Overview

Max Total Supply

393 CGO

Holders

333

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x65ae73a4cd82f2b4874f557d4d5763d227b26b8b
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Original artwork, collaborations, and derivatives based on Cryptoon Goonz!

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CryptoonGoonzOriginals

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion
File 1 of 17 : CryptoonGoonzOriginals.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "./ERC1155MaxSupply.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract CryptoonGoonzOriginals is ERC1155MaxSupply, ERC1155Burnable, IERC2981, Ownable {
    using Strings for uint256;

    address private minter;
    address private proxyRegistryAddress;
    bool public isOpenSeaProxyActive = true;

    address public royaltyAddress;
    uint256 public royaltyBasisPoints;
    // set to 10000 so fees are expressed in basis points
    uint256 private constant ROYALTY_DENOMINATOR = 10000;

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _uri,
        address _minter,
        address _proxyRegistryAddress,
        address _royaltyAddress,
        uint256 _royaltyBasisPoints
    ) ERC1155MaxSupply(_name, _symbol) ERC1155(_uri) {
        minter = _minter;
        proxyRegistryAddress = _proxyRegistryAddress;
        royaltyAddress = _royaltyAddress;
        royaltyBasisPoints = _royaltyBasisPoints;
    }

    function mintAndSetMaxSupply(
        address[] memory _recipients,
        uint256 _id,
        uint256 maxSupply,
        bool retired
    ) external onlyOwners {
        setMaxSupply(_id, maxSupply, retired);
        for (uint256 i = 0; i < _recipients.length; i++) {
            _mint(_recipients[i], _id, 1, "");
        }
    }

    function mint(address[] memory _recipients, uint256 _id) external onlyOwners {
        for (uint256 i = 0; i < _recipients.length; i++) {
            _mint(_recipients[i], _id, 1, "");
        }
    }

    function mintMany(
        address _recipient,
        uint256 _id,
        uint256 quantity
    ) external onlyOwners {
        _mint(_recipient, _id, quantity, "");
    }

    function setMaxSupply(
        uint256 id,
        uint256 supply,
        bool retired
    ) public onlyOwners {
        super._setMaxSupply(id, supply, retired);
    }

    function retire(uint256 id) public onlyOwners {
        super._retire(id);
    }

    function setURI(string memory newuri) external onlyOwners {
        super._setURI(newuri);
    }

    function uri(uint256 id) public view virtual override returns (string memory) {
        require(exists(id), "URI query for nonexistent token");

        return string(abi.encodePacked(super.uri(id), id.toString()));
    }

    /**
     * @dev To disable OpenSea gasless listings proxy in case of an issue
     */
    function setIsOpenSeaProxyActive(bool _isOpenSeaProxyActive) external onlyOwners {
        isOpenSeaProxyActive = _isOpenSeaProxyActive;
    }

    modifier onlyOwners() {
        require(owner() == _msgSender() || minter == _msgSender(), "caller is not the owner or designated minter");
        _;
    }

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

    /**
     * @notice enable OpenSea gasless listings
     * @dev Overriding `isApprovedForAll` to allowlist user's OpenSea proxy accounts
     */
    function isApprovedForAll(address owner, address operator) public view override returns (bool) {
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (isOpenSeaProxyActive && address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal override(ERC1155MaxSupply, ERC1155) {
        super._mint(to, id, amount, data);
    }

    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override(ERC1155MaxSupply, ERC1155) {
        super._mintBatch(to, ids, amounts, data);
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override(ERC1155MaxSupply, ERC1155) {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }

    function setRoyaltyAddress(address _royaltyAddress) external onlyOwners {
        royaltyAddress = _royaltyAddress;
    }

    function setRoyaltyBasisPoints(uint256 _royaltyBasisPoints) external onlyOwners {
        require(_royaltyBasisPoints < royaltyBasisPoints, "New royalty amount must be lower");
        royaltyBasisPoints = _royaltyBasisPoints;
    }

    /**
     * @dev See {IERC2981-royaltyInfo}.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        require(exists(tokenId), "Non-existent token");
        return (royaltyAddress, (salePrice * royaltyBasisPoints) / ROYALTY_DENOMINATOR);
    }
}

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

File 2 of 17 : 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 3 of 17 : 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 4 of 17 : ERC1155MaxSupply.sol
// SPDX-License-Identifier: MIT
// Creator: @jessefriedland

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total and max supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified.
 */
abstract contract ERC1155MaxSupply is ERC1155 {
    struct Supply {
        uint80 totalSupply;
        uint80 maxSupply;
        uint80 numberBurned;
        bool retired;
    }

    string public _name;
    string public _symbol;
    mapping(uint256 => Supply) private _supplyInfo;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override {
        require(totalMinted(id) + amount <= maxSupply(id), "Max supply reached");
        super._mint(to, id, amount, data);
    }

    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        for (uint256 i = 0; i < ids.length; i++) {
            require(totalMinted(ids[i]) + amounts[i] <= maxSupply(ids[i]), "Max supply reached");
        }
        super._mintBatch(to, ids, amounts, data);
    }

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _supplyInfo[id].totalSupply;
    }

    /**
     * @dev Total amount of tokens minted for a given id.
     */
    function totalMinted(uint256 id) public view virtual returns (uint256) {
        return _supplyInfo[id].totalSupply + _supplyInfo[id].numberBurned;
    }

    /**
     * @dev Max supply for a given id.
     */
    function maxSupply(uint256 id) public view virtual returns (uint256) {
        return uint256(_supplyInfo[id].maxSupply);
    }

    /**
     * @dev Is a given id retired?
     */
    function retired(uint256 id) public view virtual returns (bool) {
        return _supplyInfo[id].retired;
    }

    /**
     * @dev Indicates whether any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155MaxSupply.totalSupply(id) > 0;
    }

    function _setMaxSupply(
        uint256 id,
        uint256 supply,
        bool _retired
    ) internal virtual {
        require(!exists(id) || !_supplyInfo[id].retired, "ERC1155: Cannot adjust the max supply");
        require(supply > _supplyInfo[id].maxSupply, "ERC1155: Cannot lower the max supply");
        _supplyInfo[id].maxSupply = uint80(supply);
        _supplyInfo[id].retired = _retired;
    }

    function _retire(uint256 id) internal virtual {
        require(_supplyInfo[id].maxSupply > 0 && !_supplyInfo[id].retired, "ERC1155: Cannot retire");
        _supplyInfo[id].retired = true;
    }

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _supplyInfo[ids[i]].totalSupply += uint80(amounts[i]);
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                uint256 id = ids[i];
                uint256 amount = amounts[i];
                uint256 supply = _supplyInfo[id].totalSupply;
                require(supply >= amount, "ERC1155: burn amount exceeds totalSupply");
                unchecked {
                    _supplyInfo[id].totalSupply = uint80(supply - amount);
                    _supplyInfo[id].numberBurned += uint80(amount);
                }
            }
        }
    }
}

File 5 of 17 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory values
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}

File 6 of 17 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 7 of 17 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 8 of 17 : 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 9 of 17 : 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 10 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

File 11 of 17 : 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 12 of 17 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

    /**
     * @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, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 13 of 17 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 14 of 17 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 15 of 17 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 16 of 17 : 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 17 of 17 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address","name":"_minter","type":"address"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"address","name":"_royaltyAddress","type":"address"},{"internalType":"uint256","name":"_royaltyBasisPoints","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"_name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOpenSeaProxyActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_recipients","type":"address[]"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_recipients","type":"address[]"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"bool","name":"retired","type":"bool"}],"name":"mintAndSetMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"retire","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"retired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyBasisPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","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":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"bool","name":"_isOpenSeaProxyActive","type":"bool"}],"name":"setIsOpenSeaProxyActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"bool","name":"retired","type":"bool"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddress","type":"address"}],"name":"setRoyaltyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_royaltyBasisPoints","type":"uint256"}],"name":"setRoyaltyBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","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":"id","type":"uint256"}],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040526008805460ff60a01b1916600160a01b1790553480156200002457600080fd5b50604051620037b2380380620037b28339810160408190526200004791620002e7565b8686866200005581620000e8565b5081516200006b90600390602085019062000157565b5080516200008190600490602084019062000157565b5050506200009e620000986200010160201b60201c565b62000105565b600780546001600160a01b03199081166001600160a01b0396871617909155600880548216948616949094179093556009805490931691909316179055600a5550620003f7915050565b8051620000fd90600290602084019062000157565b5050565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016590620003ba565b90600052602060002090601f016020900481019282620001895760008555620001d4565b82601f10620001a457805160ff1916838001178555620001d4565b82800160010185558215620001d4579182015b82811115620001d4578251825591602001919060010190620001b7565b50620001e2929150620001e6565b5090565b5b80821115620001e25760008155600101620001e7565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200022557600080fd5b81516001600160401b0380821115620002425762000242620001fd565b604051601f8301601f19908116603f011681019082821181831017156200026d576200026d620001fd565b816040528381526020925086838588010111156200028a57600080fd5b600091505b83821015620002ae57858201830151818301840152908201906200028f565b83821115620002c05760008385830101525b9695505050505050565b80516001600160a01b0381168114620002e257600080fd5b919050565b600080600080600080600060e0888a0312156200030357600080fd5b87516001600160401b03808211156200031b57600080fd5b620003298b838c0162000213565b985060208a01519150808211156200034057600080fd5b6200034e8b838c0162000213565b975060408a01519150808211156200036557600080fd5b50620003748a828b0162000213565b9550506200038560608901620002ca565b93506200039560808901620002ca565b9250620003a560a08901620002ca565b915060c0880151905092959891949750929550565b600181811c90821680620003cf57607f821691505b60208210811415620003f157634e487b7160e01b600052602260045260246000fd5b50919050565b6133ab80620004076000396000f3fe608060405234801561001057600080fd5b50600436106102405760003560e01c8063715018a611610145578063b6b81940116100bd578063e985e9c51161008c578063f242432a11610071578063f242432a14610537578063f2fde38b1461054a578063f5298aca1461055d57600080fd5b8063e985e9c514610511578063ea66696c1461052457600080fd5b8063b6b81940146104ba578063bd85b039146104cd578063d28d8852146104f6578063e43082f7146104fe57600080fd5b806395d89b4111610114578063a22cb465116100f9578063a22cb4651461048c578063ad2f852a1461049f578063b09f1266146104b257600080fd5b806395d89b41146104715780639d7f4ebf1461047957600080fd5b8063715018a6146103ea578063869f7594146103f25780638da5cb5b146104225780639152a3191461044757600080fd5b80632a55205a116101d857806342260b5d116101a75780634f558e791161018c5780634f558e79146103985780636b20c454146103c35780636c529a26146103d657600080fd5b806342260b5d1461036f5780634e1273f41461037857600080fd5b80632a55205a146103045780632eb2c2d61461033657806336b67210146103495780633790cf571461035c57600080fd5b806306fdde031161021457806306fdde03146102b65780630e89341c146102cb5780630eb71f13146102de57806328dadb8f146102f157600080fd5b8062fdd58e1461024557806301ffc9a71461026b57806302fe53051461028e57806306d254da146102a3575b600080fd5b610258610253366004612923565b610570565b6040519081526020015b60405180910390f35b61027e610279366004612965565b61061c565b6040519015158152602001610262565b6102a161029c366004612a2a565b610641565b005b6102a16102b1366004612a73565b6106bf565b6102be610760565b6040516102629190612ae8565b6102be6102d9366004612afb565b6107f2565b6102a16102ec366004612bc7565b610892565b6102a16102ff366004612c28565b610969565b610317610312366004612c5d565b6109fb565b604080516001600160a01b039093168352602083019190915201610262565b6102a1610344366004612d05565b610a96565b6102a1610357366004612db3565b610b31565b6102a161036a366004612afb565b610bae565b610258600a5481565b61038b610386366004612de8565b610c29565b6040516102629190612e87565b61027e6103a6366004612afb565b6000908152600560205260409020546001600160501b0316151590565b6102a16103d1366004612e9a565b610d67565b60085461027e90600160a01b900460ff1681565b6102a1610dec565b610258610400366004612afb565b600090815260056020526040902054600160501b90046001600160501b031690565b6006546001600160a01b03165b6040516001600160a01b039091168152602001610262565b61027e610455366004612afb565b600090815260056020526040902054600160f01b900460ff1690565b6102be610e52565b610258610487366004612afb565b610e61565b6102a161049a366004612f10565b610e9b565b60095461042f906001600160a01b031681565b6102be610eaa565b6102a16104c8366004612afb565b610f38565b6102586104db366004612afb565b6000908152600560205260409020546001600160501b031690565b6102be611000565b6102a161050c366004612f45565b61100d565b61027e61051f366004612f60565b6110b8565b6102a1610532366004612f99565b611195565b6102a1610545366004612fde565b61125a565b6102a1610558366004612a73565b6112e1565b6102a161056b366004612c28565b6113c0565b60006001600160a01b0383166105f35760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b0319821663152a902d60e11b1480610616575061061682611445565b6006546001600160a01b031633148061066457506007546001600160a01b031633145b6106b35760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b6106bc81611495565b50565b6006546001600160a01b03163314806106e257506007546001600160a01b031633145b6107315760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60606003805461076f90613047565b80601f016020809104026020016040519081016040528092919081815260200182805461079b90613047565b80156107e85780601f106107bd576101008083540402835291602001916107e8565b820191906000526020600020905b8154815290600101906020018083116107cb57829003601f168201915b5050505050905090565b6000818152600560205260409020546060906001600160501b03166108595760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016105ea565b610862826114a8565b61086b8361153c565b60405160200161087c929190613082565b6040516020818303038152906040529050919050565b6006546001600160a01b03163314806108b557506007546001600160a01b031633145b6109045760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b61090f838383610b31565b60005b845181101561096257610950858281518110610930576109306130b1565b602002602001015185600160405180602001604052806000815250611652565b8061095a816130dd565b915050610912565b5050505050565b6006546001600160a01b031633148061098c57506007546001600160a01b031633145b6109db5760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b6109f683838360405180602001604052806000815250611652565b505050565b60008281526005602052604081205481906001600160501b0316610a615760405162461bcd60e51b815260206004820152601260248201527f4e6f6e2d6578697374656e7420746f6b656e000000000000000000000000000060448201526064016105ea565b600954600a546001600160a01b039091169061271090610a8190866130f8565b610a8b919061312d565b915091509250929050565b6001600160a01b038516331480610ab25750610ab285336110b8565b610b245760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016105ea565b6109628585858585611664565b6006546001600160a01b0316331480610b5457506007546001600160a01b031633145b610ba35760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b6109f68383836118d0565b6006546001600160a01b0316331480610bd157506007546001600160a01b031633145b610c205760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b6106bc81611a57565b60608151835114610ca25760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016105ea565b6000835167ffffffffffffffff811115610cbe57610cbe612989565b604051908082528060200260200182016040528015610ce7578160200160208202803683370190505b50905060005b8451811015610d5f57610d32858281518110610d0b57610d0b6130b1565b6020026020010151858381518110610d2557610d256130b1565b6020026020010151610570565b828281518110610d4457610d446130b1565b6020908102919091010152610d58816130dd565b9050610ced565b509392505050565b6001600160a01b038316331480610d835750610d8383336110b8565b610de15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016105ea565b6109f6838383611b07565b6006546001600160a01b03163314610e465760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105ea565b610e506000611d4e565b565b60606004805461076f90613047565b600081815260056020526040812054610e8c906001600160501b03600160a01b820481169116613141565b6001600160501b031692915050565b610ea6338383611dad565b5050565b60048054610eb790613047565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee390613047565b8015610f305780601f10610f0557610100808354040283529160200191610f30565b820191906000526020600020905b815481529060010190602001808311610f1357829003601f168201915b505050505081565b6006546001600160a01b0316331480610f5b57506007546001600160a01b031633145b610faa5760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b600a548110610ffb5760405162461bcd60e51b815260206004820181905260248201527f4e657720726f79616c747920616d6f756e74206d757374206265206c6f77657260448201526064016105ea565b600a55565b60038054610eb790613047565b6006546001600160a01b031633148061103057506007546001600160a01b031633145b61107f5760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b60088054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6008546000906001600160a01b03811690600160a01b900460ff168015611154575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c455279190602401602060405180830381865afa158015611125573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111499190613163565b6001600160a01b0316145b15611163576001915050610616565b6001600160a01b0380851660009081526001602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b03163314806111b857506007546001600160a01b031633145b6112075760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b60005b82518110156109f657611248838281518110611228576112286130b1565b602002602001015183600160405180602001604052806000815250611652565b80611252816130dd565b91505061120a565b6001600160a01b038516331480611276575061127685336110b8565b6112d45760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016105ea565b6109628585858585611ea2565b6006546001600160a01b0316331461133b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105ea565b6001600160a01b0381166113b75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105ea565b6106bc81611d4e565b6001600160a01b0383163314806113dc57506113dc83336110b8565b61143a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016105ea565b6109f683838361204f565b60006001600160e01b03198216636cdb3d1360e11b148061147657506001600160e01b031982166303a24d0760e21b145b8061061657506301ffc9a760e01b6001600160e01b0319831614610616565b8051610ea6906002906020840190612875565b6060600280546114b790613047565b80601f01602080910402602001604051908101604052809291908181526020018280546114e390613047565b80156115305780601f1061150557610100808354040283529160200191611530565b820191906000526020600020905b81548152906001019060200180831161151357829003601f168201915b50505050509050919050565b6060816115605750506040805180820190915260018152600360fc1b602082015290565b8160005b811561158a5780611574816130dd565b91506115839050600a8361312d565b9150611564565b60008167ffffffffffffffff8111156115a5576115a5612989565b6040519080825280601f01601f1916602001820160405280156115cf576020820181803683370190505b5090505b841561118d576115e4600183613180565b91506115f1600a86613197565b6115fc9060306131ab565b60f81b818381518110611611576116116130b1565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061164b600a8661312d565b94506115d3565b61165e848484846121c8565b50505050565b81518351146116c65760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016105ea565b6001600160a01b03841661172a5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016105ea565b33611739818787878787612255565b60005b8451811015611862576000858281518110611759576117596130b1565b602002602001015190506000858381518110611777576117776130b1565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561180a5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016105ea565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906118479084906131ab565b925050819055505050508061185b906130dd565b905061173c565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118b29291906131c3565b60405180910390a46118c8818787878787612263565b505050505050565b6000838152600560205260409020546001600160501b0316158061190a5750600083815260056020526040902054600160f01b900460ff16155b61197c5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a2043616e6e6f742061646a75737420746865206d6178207360448201527f7570706c7900000000000000000000000000000000000000000000000000000060648201526084016105ea565b600083815260056020526040902054600160501b90046001600160501b031682116119f55760405162461bcd60e51b8152602060048201526024808201527f455243313135353a2043616e6e6f74206c6f77657220746865206d617820737560448201526370706c7960e01b60648201526084016105ea565b6000928352600560205260409092208054921515600160f01b0260ff60f01b196001600160501b03909316600160501b02929092167fff00ffffffffffffffffffff00000000000000000000ffffffffffffffffffff90931692909217179055565b600081815260056020526040902054600160501b90046001600160501b031615801590611a9a5750600081815260056020526040902054600160f01b900460ff16155b611ae65760405162461bcd60e51b815260206004820152601660248201527f455243313135353a2043616e6e6f74207265746972650000000000000000000060448201526064016105ea565b6000908152600560205260409020805460ff60f01b1916600160f01b179055565b6001600160a01b038316611b695760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b60648201526084016105ea565b8051825114611bcb5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016105ea565b6000339050611bee81856000868660405180602001604052806000815250612255565b60005b8351811015611cef576000848281518110611c0e57611c0e6130b1565b602002602001015190506000848381518110611c2c57611c2c6130b1565b602090810291909101810151600084815280835260408082206001600160a01b038c168352909352919091205490915081811015611cb85760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b60648201526084016105ea565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580611ce7816130dd565b915050611bf1565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611d409291906131c3565b60405180910390a450505050565b600680546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611e355760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016105ea565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611f065760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016105ea565b33611f25818787611f1688612409565b611f1f88612409565b87612255565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015611fa95760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016105ea565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611fe69084906131ab565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612046828888888888612454565b50505050505050565b6001600160a01b0383166120b15760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b60648201526084016105ea565b336120e0818560006120c287612409565b6120cb87612409565b60405180602001604052806000815250612255565b6000838152602081815260408083206001600160a01b03881684529091529020548281101561215d5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b60648201526084016105ea565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b600083815260056020526040902054600160501b90046001600160501b0316826121f185610e61565b6121fb91906131ab565b11156122495760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c792072656163686564000000000000000000000000000060448201526064016105ea565b61165e84848484612550565b6118c8868686868686612651565b6001600160a01b0384163b156118c85760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906122a790899089908890889088906004016131f1565b6020604051808303816000875af19250505080156122e2575060408051601f3d908101601f191682019092526122df9181019061324f565b60015b612398576122ee61326c565b806308c379a014156123285750612303613288565b8061230e575061232a565b8060405162461bcd60e51b81526004016105ea9190612ae8565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016105ea565b6001600160e01b0319811663bc197c8160e01b146120465760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016105ea565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612443576124436130b1565b602090810291909101015292915050565b6001600160a01b0384163b156118c85760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906124989089908990889088908890600401613312565b6020604051808303816000875af19250505080156124d3575060408051601f3d908101601f191682019092526124d09181019061324f565b60015b6124df576122ee61326c565b6001600160e01b0319811663f23a6e6160e01b146120465760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016105ea565b6001600160a01b0384166125b05760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016105ea565b336125c181600087611f1688612409565b6000848152602081815260408083206001600160a01b0389168452909152812080548592906125f19084906131ab565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461096281600087878787612454565b6001600160a01b03851661270c5760005b835181101561270a5782818151811061267d5761267d6130b1565b60200260200101516005600086848151811061269b5761269b6130b1565b6020026020010151815260200190815260200160002060000160008282829054906101000a90046001600160501b03166126d59190613141565b92506101000a8154816001600160501b0302191690836001600160501b0316021790555080612703906130dd565b9050612662565b505b6001600160a01b0384166118c85760005b835181101561204657600084828151811061273a5761273a6130b1565b602002602001015190506000848381518110612758576127586130b1565b602090810291909101810151600084815260059092526040909120549091506001600160501b0316818110156127f65760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f7460448201527f616c537570706c7900000000000000000000000000000000000000000000000060648201526084016105ea565b6000928352600560205260409092208054600160a01b6001600160501b0394849003851669ffffffffffffffffffff198316811782900486169094019094169093027fffff00000000000000000000ffffffffffffffffffff0000000000000000000090931690911791909117905561286e816130dd565b905061271d565b82805461288190613047565b90600052602060002090601f0160209004810192826128a357600085556128e9565b82601f106128bc57805160ff19168380011785556128e9565b828001600101855582156128e9579182015b828111156128e95782518255916020019190600101906128ce565b506128f59291506128f9565b5090565b5b808211156128f557600081556001016128fa565b6001600160a01b03811681146106bc57600080fd5b6000806040838503121561293657600080fd5b82356129418161290e565b946020939093013593505050565b6001600160e01b0319811681146106bc57600080fd5b60006020828403121561297757600080fd5b81356129828161294f565b9392505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff811182821017156129c5576129c5612989565b6040525050565b600067ffffffffffffffff8311156129e6576129e6612989565b6040516129fd601f8501601f19166020018261299f565b809150838152848484011115612a1257600080fd5b83836020830137600060208583010152509392505050565b600060208284031215612a3c57600080fd5b813567ffffffffffffffff811115612a5357600080fd5b8201601f81018413612a6457600080fd5b61118d848235602084016129cc565b600060208284031215612a8557600080fd5b81356129828161290e565b60005b83811015612aab578181015183820152602001612a93565b8381111561165e5750506000910152565b60008151808452612ad4816020860160208601612a90565b601f01601f19169290920160200192915050565b6020815260006129826020830184612abc565b600060208284031215612b0d57600080fd5b5035919050565b600067ffffffffffffffff821115612b2e57612b2e612989565b5060051b60200190565b600082601f830112612b4957600080fd5b81356020612b5682612b14565b604051612b63828261299f565b83815260059390931b8501820192828101915086841115612b8357600080fd5b8286015b84811015612ba7578035612b9a8161290e565b8352918301918301612b87565b509695505050505050565b80358015158114612bc257600080fd5b919050565b60008060008060808587031215612bdd57600080fd5b843567ffffffffffffffff811115612bf457600080fd5b612c0087828801612b38565b9450506020850135925060408501359150612c1d60608601612bb2565b905092959194509250565b600080600060608486031215612c3d57600080fd5b8335612c488161290e565b95602085013595506040909401359392505050565b60008060408385031215612c7057600080fd5b50508035926020909101359150565b600082601f830112612c9057600080fd5b81356020612c9d82612b14565b604051612caa828261299f565b83815260059390931b8501820192828101915086841115612cca57600080fd5b8286015b84811015612ba75780358352918301918301612cce565b600082601f830112612cf657600080fd5b612982838335602085016129cc565b600080600080600060a08688031215612d1d57600080fd5b8535612d288161290e565b94506020860135612d388161290e565b9350604086013567ffffffffffffffff80821115612d5557600080fd5b612d6189838a01612c7f565b94506060880135915080821115612d7757600080fd5b612d8389838a01612c7f565b93506080880135915080821115612d9957600080fd5b50612da688828901612ce5565b9150509295509295909350565b600080600060608486031215612dc857600080fd5b8335925060208401359150612ddf60408501612bb2565b90509250925092565b60008060408385031215612dfb57600080fd5b823567ffffffffffffffff80821115612e1357600080fd5b612e1f86838701612b38565b93506020850135915080821115612e3557600080fd5b50612e4285828601612c7f565b9150509250929050565b600081518084526020808501945080840160005b83811015612e7c57815187529582019590820190600101612e60565b509495945050505050565b6020815260006129826020830184612e4c565b600080600060608486031215612eaf57600080fd5b8335612eba8161290e565b9250602084013567ffffffffffffffff80821115612ed757600080fd5b612ee387838801612c7f565b93506040860135915080821115612ef957600080fd5b50612f0686828701612c7f565b9150509250925092565b60008060408385031215612f2357600080fd5b8235612f2e8161290e565b9150612f3c60208401612bb2565b90509250929050565b600060208284031215612f5757600080fd5b61298282612bb2565b60008060408385031215612f7357600080fd5b8235612f7e8161290e565b91506020830135612f8e8161290e565b809150509250929050565b60008060408385031215612fac57600080fd5b823567ffffffffffffffff811115612fc357600080fd5b612fcf85828601612b38565b95602094909401359450505050565b600080600080600060a08688031215612ff657600080fd5b85356130018161290e565b945060208601356130118161290e565b93506040860135925060608601359150608086013567ffffffffffffffff81111561303b57600080fd5b612da688828901612ce5565b600181811c9082168061305b57607f821691505b6020821081141561307c57634e487b7160e01b600052602260045260246000fd5b50919050565b60008351613094818460208801612a90565b8351908301906130a8818360208801612a90565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156130f1576130f16130c7565b5060010190565b6000816000190483118215151615613112576131126130c7565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261313c5761313c613117565b500490565b60006001600160501b038083168185168083038211156130a8576130a86130c7565b60006020828403121561317557600080fd5b81516129828161290e565b600082821015613192576131926130c7565b500390565b6000826131a6576131a6613117565b500690565b600082198211156131be576131be6130c7565b500190565b6040815260006131d66040830185612e4c565b82810360208401526131e88185612e4c565b95945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261321d60a0830186612e4c565b828103606084015261322f8186612e4c565b905082810360808401526132438185612abc565b98975050505050505050565b60006020828403121561326157600080fd5b81516129828161294f565b600060033d11156132855760046000803e5060005160e01c5b90565b600060443d10156132965790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156132c657505050505090565b82850191508151818111156132de5750505050505090565b843d87010160208285010111156132f85750505050505090565b6133076020828601018761299f565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261334a60a0830184612abc565b97965050505050505056fe63616c6c6572206973206e6f7420746865206f776e6572206f72206465736967a26469706673582212201d4e2ea124d04e1ef76521dd8d1e83fa2e8729023543af9dbbfab8f1e1ddc96964736f6c634300080b003300000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000006a0b823334e60b4397571da977f221c928f98146000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000006a0b823334e60b4397571da977f221c928f9814600000000000000000000000000000000000000000000000000000000000002ee000000000000000000000000000000000000000000000000000000000000001643727970746f6f6e476f6f6e7a4f726967696e616c7300000000000000000000000000000000000000000000000000000000000000000000000000000000000343474f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a6d6f724a62356b71676e48567736487637343642724477766750533962446e7874777055444279654a50472f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102405760003560e01c8063715018a611610145578063b6b81940116100bd578063e985e9c51161008c578063f242432a11610071578063f242432a14610537578063f2fde38b1461054a578063f5298aca1461055d57600080fd5b8063e985e9c514610511578063ea66696c1461052457600080fd5b8063b6b81940146104ba578063bd85b039146104cd578063d28d8852146104f6578063e43082f7146104fe57600080fd5b806395d89b4111610114578063a22cb465116100f9578063a22cb4651461048c578063ad2f852a1461049f578063b09f1266146104b257600080fd5b806395d89b41146104715780639d7f4ebf1461047957600080fd5b8063715018a6146103ea578063869f7594146103f25780638da5cb5b146104225780639152a3191461044757600080fd5b80632a55205a116101d857806342260b5d116101a75780634f558e791161018c5780634f558e79146103985780636b20c454146103c35780636c529a26146103d657600080fd5b806342260b5d1461036f5780634e1273f41461037857600080fd5b80632a55205a146103045780632eb2c2d61461033657806336b67210146103495780633790cf571461035c57600080fd5b806306fdde031161021457806306fdde03146102b65780630e89341c146102cb5780630eb71f13146102de57806328dadb8f146102f157600080fd5b8062fdd58e1461024557806301ffc9a71461026b57806302fe53051461028e57806306d254da146102a3575b600080fd5b610258610253366004612923565b610570565b6040519081526020015b60405180910390f35b61027e610279366004612965565b61061c565b6040519015158152602001610262565b6102a161029c366004612a2a565b610641565b005b6102a16102b1366004612a73565b6106bf565b6102be610760565b6040516102629190612ae8565b6102be6102d9366004612afb565b6107f2565b6102a16102ec366004612bc7565b610892565b6102a16102ff366004612c28565b610969565b610317610312366004612c5d565b6109fb565b604080516001600160a01b039093168352602083019190915201610262565b6102a1610344366004612d05565b610a96565b6102a1610357366004612db3565b610b31565b6102a161036a366004612afb565b610bae565b610258600a5481565b61038b610386366004612de8565b610c29565b6040516102629190612e87565b61027e6103a6366004612afb565b6000908152600560205260409020546001600160501b0316151590565b6102a16103d1366004612e9a565b610d67565b60085461027e90600160a01b900460ff1681565b6102a1610dec565b610258610400366004612afb565b600090815260056020526040902054600160501b90046001600160501b031690565b6006546001600160a01b03165b6040516001600160a01b039091168152602001610262565b61027e610455366004612afb565b600090815260056020526040902054600160f01b900460ff1690565b6102be610e52565b610258610487366004612afb565b610e61565b6102a161049a366004612f10565b610e9b565b60095461042f906001600160a01b031681565b6102be610eaa565b6102a16104c8366004612afb565b610f38565b6102586104db366004612afb565b6000908152600560205260409020546001600160501b031690565b6102be611000565b6102a161050c366004612f45565b61100d565b61027e61051f366004612f60565b6110b8565b6102a1610532366004612f99565b611195565b6102a1610545366004612fde565b61125a565b6102a1610558366004612a73565b6112e1565b6102a161056b366004612c28565b6113c0565b60006001600160a01b0383166105f35760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b0319821663152a902d60e11b1480610616575061061682611445565b6006546001600160a01b031633148061066457506007546001600160a01b031633145b6106b35760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b6106bc81611495565b50565b6006546001600160a01b03163314806106e257506007546001600160a01b031633145b6107315760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60606003805461076f90613047565b80601f016020809104026020016040519081016040528092919081815260200182805461079b90613047565b80156107e85780601f106107bd576101008083540402835291602001916107e8565b820191906000526020600020905b8154815290600101906020018083116107cb57829003601f168201915b5050505050905090565b6000818152600560205260409020546060906001600160501b03166108595760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016105ea565b610862826114a8565b61086b8361153c565b60405160200161087c929190613082565b6040516020818303038152906040529050919050565b6006546001600160a01b03163314806108b557506007546001600160a01b031633145b6109045760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b61090f838383610b31565b60005b845181101561096257610950858281518110610930576109306130b1565b602002602001015185600160405180602001604052806000815250611652565b8061095a816130dd565b915050610912565b5050505050565b6006546001600160a01b031633148061098c57506007546001600160a01b031633145b6109db5760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b6109f683838360405180602001604052806000815250611652565b505050565b60008281526005602052604081205481906001600160501b0316610a615760405162461bcd60e51b815260206004820152601260248201527f4e6f6e2d6578697374656e7420746f6b656e000000000000000000000000000060448201526064016105ea565b600954600a546001600160a01b039091169061271090610a8190866130f8565b610a8b919061312d565b915091509250929050565b6001600160a01b038516331480610ab25750610ab285336110b8565b610b245760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016105ea565b6109628585858585611664565b6006546001600160a01b0316331480610b5457506007546001600160a01b031633145b610ba35760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b6109f68383836118d0565b6006546001600160a01b0316331480610bd157506007546001600160a01b031633145b610c205760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b6106bc81611a57565b60608151835114610ca25760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016105ea565b6000835167ffffffffffffffff811115610cbe57610cbe612989565b604051908082528060200260200182016040528015610ce7578160200160208202803683370190505b50905060005b8451811015610d5f57610d32858281518110610d0b57610d0b6130b1565b6020026020010151858381518110610d2557610d256130b1565b6020026020010151610570565b828281518110610d4457610d446130b1565b6020908102919091010152610d58816130dd565b9050610ced565b509392505050565b6001600160a01b038316331480610d835750610d8383336110b8565b610de15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016105ea565b6109f6838383611b07565b6006546001600160a01b03163314610e465760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105ea565b610e506000611d4e565b565b60606004805461076f90613047565b600081815260056020526040812054610e8c906001600160501b03600160a01b820481169116613141565b6001600160501b031692915050565b610ea6338383611dad565b5050565b60048054610eb790613047565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee390613047565b8015610f305780601f10610f0557610100808354040283529160200191610f30565b820191906000526020600020905b815481529060010190602001808311610f1357829003601f168201915b505050505081565b6006546001600160a01b0316331480610f5b57506007546001600160a01b031633145b610faa5760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b600a548110610ffb5760405162461bcd60e51b815260206004820181905260248201527f4e657720726f79616c747920616d6f756e74206d757374206265206c6f77657260448201526064016105ea565b600a55565b60038054610eb790613047565b6006546001600160a01b031633148061103057506007546001600160a01b031633145b61107f5760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b60088054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6008546000906001600160a01b03811690600160a01b900460ff168015611154575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c455279190602401602060405180830381865afa158015611125573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111499190613163565b6001600160a01b0316145b15611163576001915050610616565b6001600160a01b0380851660009081526001602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b03163314806111b857506007546001600160a01b031633145b6112075760405162461bcd60e51b815260206004820152602c602482015260008051602061335683398151915260448201526b3730ba32b21036b4b73a32b960a11b60648201526084016105ea565b60005b82518110156109f657611248838281518110611228576112286130b1565b602002602001015183600160405180602001604052806000815250611652565b80611252816130dd565b91505061120a565b6001600160a01b038516331480611276575061127685336110b8565b6112d45760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016105ea565b6109628585858585611ea2565b6006546001600160a01b0316331461133b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105ea565b6001600160a01b0381166113b75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105ea565b6106bc81611d4e565b6001600160a01b0383163314806113dc57506113dc83336110b8565b61143a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016105ea565b6109f683838361204f565b60006001600160e01b03198216636cdb3d1360e11b148061147657506001600160e01b031982166303a24d0760e21b145b8061061657506301ffc9a760e01b6001600160e01b0319831614610616565b8051610ea6906002906020840190612875565b6060600280546114b790613047565b80601f01602080910402602001604051908101604052809291908181526020018280546114e390613047565b80156115305780601f1061150557610100808354040283529160200191611530565b820191906000526020600020905b81548152906001019060200180831161151357829003601f168201915b50505050509050919050565b6060816115605750506040805180820190915260018152600360fc1b602082015290565b8160005b811561158a5780611574816130dd565b91506115839050600a8361312d565b9150611564565b60008167ffffffffffffffff8111156115a5576115a5612989565b6040519080825280601f01601f1916602001820160405280156115cf576020820181803683370190505b5090505b841561118d576115e4600183613180565b91506115f1600a86613197565b6115fc9060306131ab565b60f81b818381518110611611576116116130b1565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061164b600a8661312d565b94506115d3565b61165e848484846121c8565b50505050565b81518351146116c65760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016105ea565b6001600160a01b03841661172a5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016105ea565b33611739818787878787612255565b60005b8451811015611862576000858281518110611759576117596130b1565b602002602001015190506000858381518110611777576117776130b1565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561180a5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016105ea565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906118479084906131ab565b925050819055505050508061185b906130dd565b905061173c565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118b29291906131c3565b60405180910390a46118c8818787878787612263565b505050505050565b6000838152600560205260409020546001600160501b0316158061190a5750600083815260056020526040902054600160f01b900460ff16155b61197c5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a2043616e6e6f742061646a75737420746865206d6178207360448201527f7570706c7900000000000000000000000000000000000000000000000000000060648201526084016105ea565b600083815260056020526040902054600160501b90046001600160501b031682116119f55760405162461bcd60e51b8152602060048201526024808201527f455243313135353a2043616e6e6f74206c6f77657220746865206d617820737560448201526370706c7960e01b60648201526084016105ea565b6000928352600560205260409092208054921515600160f01b0260ff60f01b196001600160501b03909316600160501b02929092167fff00ffffffffffffffffffff00000000000000000000ffffffffffffffffffff90931692909217179055565b600081815260056020526040902054600160501b90046001600160501b031615801590611a9a5750600081815260056020526040902054600160f01b900460ff16155b611ae65760405162461bcd60e51b815260206004820152601660248201527f455243313135353a2043616e6e6f74207265746972650000000000000000000060448201526064016105ea565b6000908152600560205260409020805460ff60f01b1916600160f01b179055565b6001600160a01b038316611b695760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b60648201526084016105ea565b8051825114611bcb5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016105ea565b6000339050611bee81856000868660405180602001604052806000815250612255565b60005b8351811015611cef576000848281518110611c0e57611c0e6130b1565b602002602001015190506000848381518110611c2c57611c2c6130b1565b602090810291909101810151600084815280835260408082206001600160a01b038c168352909352919091205490915081811015611cb85760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b60648201526084016105ea565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580611ce7816130dd565b915050611bf1565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611d409291906131c3565b60405180910390a450505050565b600680546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611e355760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016105ea565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611f065760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016105ea565b33611f25818787611f1688612409565b611f1f88612409565b87612255565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015611fa95760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016105ea565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611fe69084906131ab565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612046828888888888612454565b50505050505050565b6001600160a01b0383166120b15760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b60648201526084016105ea565b336120e0818560006120c287612409565b6120cb87612409565b60405180602001604052806000815250612255565b6000838152602081815260408083206001600160a01b03881684529091529020548281101561215d5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b60648201526084016105ea565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b600083815260056020526040902054600160501b90046001600160501b0316826121f185610e61565b6121fb91906131ab565b11156122495760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c792072656163686564000000000000000000000000000060448201526064016105ea565b61165e84848484612550565b6118c8868686868686612651565b6001600160a01b0384163b156118c85760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906122a790899089908890889088906004016131f1565b6020604051808303816000875af19250505080156122e2575060408051601f3d908101601f191682019092526122df9181019061324f565b60015b612398576122ee61326c565b806308c379a014156123285750612303613288565b8061230e575061232a565b8060405162461bcd60e51b81526004016105ea9190612ae8565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016105ea565b6001600160e01b0319811663bc197c8160e01b146120465760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016105ea565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612443576124436130b1565b602090810291909101015292915050565b6001600160a01b0384163b156118c85760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906124989089908990889088908890600401613312565b6020604051808303816000875af19250505080156124d3575060408051601f3d908101601f191682019092526124d09181019061324f565b60015b6124df576122ee61326c565b6001600160e01b0319811663f23a6e6160e01b146120465760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016105ea565b6001600160a01b0384166125b05760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016105ea565b336125c181600087611f1688612409565b6000848152602081815260408083206001600160a01b0389168452909152812080548592906125f19084906131ab565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461096281600087878787612454565b6001600160a01b03851661270c5760005b835181101561270a5782818151811061267d5761267d6130b1565b60200260200101516005600086848151811061269b5761269b6130b1565b6020026020010151815260200190815260200160002060000160008282829054906101000a90046001600160501b03166126d59190613141565b92506101000a8154816001600160501b0302191690836001600160501b0316021790555080612703906130dd565b9050612662565b505b6001600160a01b0384166118c85760005b835181101561204657600084828151811061273a5761273a6130b1565b602002602001015190506000848381518110612758576127586130b1565b602090810291909101810151600084815260059092526040909120549091506001600160501b0316818110156127f65760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f7460448201527f616c537570706c7900000000000000000000000000000000000000000000000060648201526084016105ea565b6000928352600560205260409092208054600160a01b6001600160501b0394849003851669ffffffffffffffffffff198316811782900486169094019094169093027fffff00000000000000000000ffffffffffffffffffff0000000000000000000090931690911791909117905561286e816130dd565b905061271d565b82805461288190613047565b90600052602060002090601f0160209004810192826128a357600085556128e9565b82601f106128bc57805160ff19168380011785556128e9565b828001600101855582156128e9579182015b828111156128e95782518255916020019190600101906128ce565b506128f59291506128f9565b5090565b5b808211156128f557600081556001016128fa565b6001600160a01b03811681146106bc57600080fd5b6000806040838503121561293657600080fd5b82356129418161290e565b946020939093013593505050565b6001600160e01b0319811681146106bc57600080fd5b60006020828403121561297757600080fd5b81356129828161294f565b9392505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff811182821017156129c5576129c5612989565b6040525050565b600067ffffffffffffffff8311156129e6576129e6612989565b6040516129fd601f8501601f19166020018261299f565b809150838152848484011115612a1257600080fd5b83836020830137600060208583010152509392505050565b600060208284031215612a3c57600080fd5b813567ffffffffffffffff811115612a5357600080fd5b8201601f81018413612a6457600080fd5b61118d848235602084016129cc565b600060208284031215612a8557600080fd5b81356129828161290e565b60005b83811015612aab578181015183820152602001612a93565b8381111561165e5750506000910152565b60008151808452612ad4816020860160208601612a90565b601f01601f19169290920160200192915050565b6020815260006129826020830184612abc565b600060208284031215612b0d57600080fd5b5035919050565b600067ffffffffffffffff821115612b2e57612b2e612989565b5060051b60200190565b600082601f830112612b4957600080fd5b81356020612b5682612b14565b604051612b63828261299f565b83815260059390931b8501820192828101915086841115612b8357600080fd5b8286015b84811015612ba7578035612b9a8161290e565b8352918301918301612b87565b509695505050505050565b80358015158114612bc257600080fd5b919050565b60008060008060808587031215612bdd57600080fd5b843567ffffffffffffffff811115612bf457600080fd5b612c0087828801612b38565b9450506020850135925060408501359150612c1d60608601612bb2565b905092959194509250565b600080600060608486031215612c3d57600080fd5b8335612c488161290e565b95602085013595506040909401359392505050565b60008060408385031215612c7057600080fd5b50508035926020909101359150565b600082601f830112612c9057600080fd5b81356020612c9d82612b14565b604051612caa828261299f565b83815260059390931b8501820192828101915086841115612cca57600080fd5b8286015b84811015612ba75780358352918301918301612cce565b600082601f830112612cf657600080fd5b612982838335602085016129cc565b600080600080600060a08688031215612d1d57600080fd5b8535612d288161290e565b94506020860135612d388161290e565b9350604086013567ffffffffffffffff80821115612d5557600080fd5b612d6189838a01612c7f565b94506060880135915080821115612d7757600080fd5b612d8389838a01612c7f565b93506080880135915080821115612d9957600080fd5b50612da688828901612ce5565b9150509295509295909350565b600080600060608486031215612dc857600080fd5b8335925060208401359150612ddf60408501612bb2565b90509250925092565b60008060408385031215612dfb57600080fd5b823567ffffffffffffffff80821115612e1357600080fd5b612e1f86838701612b38565b93506020850135915080821115612e3557600080fd5b50612e4285828601612c7f565b9150509250929050565b600081518084526020808501945080840160005b83811015612e7c57815187529582019590820190600101612e60565b509495945050505050565b6020815260006129826020830184612e4c565b600080600060608486031215612eaf57600080fd5b8335612eba8161290e565b9250602084013567ffffffffffffffff80821115612ed757600080fd5b612ee387838801612c7f565b93506040860135915080821115612ef957600080fd5b50612f0686828701612c7f565b9150509250925092565b60008060408385031215612f2357600080fd5b8235612f2e8161290e565b9150612f3c60208401612bb2565b90509250929050565b600060208284031215612f5757600080fd5b61298282612bb2565b60008060408385031215612f7357600080fd5b8235612f7e8161290e565b91506020830135612f8e8161290e565b809150509250929050565b60008060408385031215612fac57600080fd5b823567ffffffffffffffff811115612fc357600080fd5b612fcf85828601612b38565b95602094909401359450505050565b600080600080600060a08688031215612ff657600080fd5b85356130018161290e565b945060208601356130118161290e565b93506040860135925060608601359150608086013567ffffffffffffffff81111561303b57600080fd5b612da688828901612ce5565b600181811c9082168061305b57607f821691505b6020821081141561307c57634e487b7160e01b600052602260045260246000fd5b50919050565b60008351613094818460208801612a90565b8351908301906130a8818360208801612a90565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156130f1576130f16130c7565b5060010190565b6000816000190483118215151615613112576131126130c7565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261313c5761313c613117565b500490565b60006001600160501b038083168185168083038211156130a8576130a86130c7565b60006020828403121561317557600080fd5b81516129828161290e565b600082821015613192576131926130c7565b500390565b6000826131a6576131a6613117565b500690565b600082198211156131be576131be6130c7565b500190565b6040815260006131d66040830185612e4c565b82810360208401526131e88185612e4c565b95945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261321d60a0830186612e4c565b828103606084015261322f8186612e4c565b905082810360808401526132438185612abc565b98975050505050505050565b60006020828403121561326157600080fd5b81516129828161294f565b600060033d11156132855760046000803e5060005160e01c5b90565b600060443d10156132965790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156132c657505050505090565b82850191508151818111156132de5750505050505090565b843d87010160208285010111156132f85750505050505090565b6133076020828601018761299f565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261334a60a0830184612abc565b97965050505050505056fe63616c6c6572206973206e6f7420746865206f776e6572206f72206465736967a26469706673582212201d4e2ea124d04e1ef76521dd8d1e83fa2e8729023543af9dbbfab8f1e1ddc96964736f6c634300080b0033

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

00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000006a0b823334e60b4397571da977f221c928f98146000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000006a0b823334e60b4397571da977f221c928f9814600000000000000000000000000000000000000000000000000000000000002ee000000000000000000000000000000000000000000000000000000000000001643727970746f6f6e476f6f6e7a4f726967696e616c7300000000000000000000000000000000000000000000000000000000000000000000000000000000000343474f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a6d6f724a62356b71676e48567736487637343642724477766750533962446e7874777055444279654a50472f00000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): CryptoonGoonzOriginals
Arg [1] : _symbol (string): CGO
Arg [2] : _uri (string): ipfs://QmZmorJb5kqgnHVw6Hv746BrDwvgPS9bDnxtwpUDByeJPG/
Arg [3] : _minter (address): 0x6a0B823334E60b4397571dA977F221c928f98146
Arg [4] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [5] : _royaltyAddress (address): 0x6a0B823334E60b4397571dA977F221c928f98146
Arg [6] : _royaltyBasisPoints (uint256): 750

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 0000000000000000000000006a0b823334e60b4397571da977f221c928f98146
Arg [4] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [5] : 0000000000000000000000006a0b823334e60b4397571da977f221c928f98146
Arg [6] : 00000000000000000000000000000000000000000000000000000000000002ee
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [8] : 43727970746f6f6e476f6f6e7a4f726967696e616c7300000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 43474f0000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [12] : 697066733a2f2f516d5a6d6f724a62356b71676e485677364876373436427244
Arg [13] : 77766750533962446e7874777055444279654a50472f00000000000000000000


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.