ETH Price: $3,171.61 (+3.67%)

Token

Plottables Flex (PLOTSFLEX)
 

Overview

Max Total Supply

0 PLOTSFLEX

Holders

335

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 PLOTSFLEX
0x86cfe165aa33fc62be344a243c7d95bd52331639
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
GenArt721CoreV2_PlottablesFlex

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 25 runs

Other Settings:
default evmVersion
File 1 of 12 : GenArt721CoreV2_PlottablesFlex.sol
// SPDX-License-Identifier: LGPL-3.0-only
// Created By: Art Blocks Inc.

import "../../interfaces/0.8.x/IRandomizer.sol";
import "../../interfaces/0.8.x/IGenArt721CoreV2_PBAB.sol";

import "@openzeppelin-4.5/contracts/utils/Strings.sol";
import "@openzeppelin-4.5/contracts/token/ERC721/ERC721.sol";

pragma solidity 0.8.9;

/**
 * @title Art Blocks Engine ERC-721 core contract with FLEX integration.
 * Allows for projects to specify external asset dependencies from either IPFS or ARWEAVE.
 * @author Art Blocks Inc.
 * @dev Contracts is aimed to be used in one of two modes. First mode is standard AB approach
 * together with the minter contract. Second mode is to be used with centralised minter.
 */
contract GenArt721CoreV2_PlottablesFlex is ERC721, IGenArt721CoreV2_PBAB {
    /// randomizer contract
    IRandomizer public randomizerContract;

    /// version & type of this core contract
    string public constant coreVersion = "v2.0.0";
    string public constant coreType = "GenArt721CoreV2_ENGINE_FLEX";

    struct Project {
        string name;
        string artist;
        string description;
        string website;
        string license;
        string projectBaseURI;
        uint256 invocations;
        uint256 maxInvocations;
        string scriptJSON;
        mapping(uint256 => string) scripts;
        uint256 scriptCount;
        string ipfsHash;
        bool active;
        bool locked;
        bool paused;
        bool externalAssetDependenciesLocked;
        uint24 externalAssetDependencyCount;
        mapping(uint256 => ExternalAssetDependency) externalAssetDependencies;
    }

    event ExternalAssetDependencyUpdated(
        uint256 indexed _projectId,
        uint256 indexed _index,
        string _cid,
        ExternalAssetDependencyType _dependencyType,
        uint24 _externalAssetDependencyCount
    );

    event ExternalAssetDependencyRemoved(
        uint256 indexed _projectId,
        uint256 indexed _index
    );

    event GatewayUpdated(
        ExternalAssetDependencyType indexed _dependencyType,
        string _gatewayAddress
    );

    event ProjectExternalAssetDependenciesLocked(uint256 indexed _projectId);

    enum ExternalAssetDependencyType {
        IPFS,
        ARWEAVE
    }
    struct ExternalAssetDependency {
        string cid;
        ExternalAssetDependencyType dependencyType;
    }

    string public preferredIPFSGateway;
    string public preferredArweaveGateway;

    uint256 constant ONE_MILLION = 1_000_000;
    mapping(uint256 => Project) projects;

    //All financial functions are stripped from struct for visibility
    mapping(uint256 => address payable) public projectIdToArtistAddress;
    mapping(uint256 => string) public projectIdToCurrencySymbol;
    mapping(uint256 => address) public projectIdToCurrencyAddress;
    mapping(uint256 => uint256) public projectIdToPricePerTokenInWei;
    mapping(uint256 => address payable) public projectIdToAdditionalPayee;
    mapping(uint256 => uint256) public projectIdToAdditionalPayeePercentage;
    mapping(uint256 => uint256)
        public projectIdToSecondaryMarketRoyaltyPercentage;

    address payable public renderProviderAddress;
    /// Percentage of mint revenue allocated to render provider
    uint256 public renderProviderPercentage = 10;

    mapping(uint256 => uint256) public tokenIdToProjectId;
    mapping(uint256 => bytes32) public tokenIdToHash;
    mapping(bytes32 => uint256) public hashToTokenId;

    /// admin for contract
    address public admin;
    /// true if address is whitelisted
    mapping(address => bool) public isWhitelisted;
    /// true if minter is whitelisted
    mapping(address => bool) public isMintWhitelisted;

    /// next project ID to be created
    uint256 public nextProjectId = 0;

    modifier onlyValidTokenId(uint256 _tokenId) {
        require(_exists(_tokenId), "Token ID does not exist");
        _;
    }

    modifier onlyUnlockedProjectExternalAssetDependencies(uint256 _projectId) {
        require(
            !projects[_projectId].externalAssetDependenciesLocked,
            "Project external asset dependencies are locked"
        );
        _;
    }

    modifier onlyUnlocked(uint256 _projectId) {
        require(!projects[_projectId].locked, "Only if unlocked");
        _;
    }

    modifier onlyArtist(uint256 _projectId) {
        require(
            msg.sender == projectIdToArtistAddress[_projectId],
            "Only artist"
        );
        _;
    }

    modifier onlyAdmin() {
        require(msg.sender == admin, "Only admin");
        _;
    }

    modifier onlyWhitelisted() {
        require(isWhitelisted[msg.sender], "Only whitelisted");
        _;
    }

    modifier onlyArtistOrWhitelisted(uint256 _projectId) {
        require(
            isWhitelisted[msg.sender] ||
                msg.sender == projectIdToArtistAddress[_projectId],
            "Only artist or whitelisted"
        );
        _;
    }

    /**
     * @notice Initializes contract.
     * @param _tokenName Name of token.
     * @param _tokenSymbol Token symbol.
     * @param _randomizerContract Randomizer contract.
     */
    constructor(
        string memory _tokenName,
        string memory _tokenSymbol,
        address _randomizerContract
    ) ERC721(_tokenName, _tokenSymbol) {
        admin = msg.sender;
        isWhitelisted[msg.sender] = true;
        renderProviderAddress = payable(msg.sender);
        randomizerContract = IRandomizer(_randomizerContract);
    }

    /**
     * @notice Mints a token from project `_projectId`, sets the
     * token's owner to `_to` with the provided hash `_hash`.
     * @param _to Address to be the minted token's owner.
     * @param _projectId Project ID to mint a token on.
     * @param _by Purchaser of minted token.
     * @param _hash Token hash.
     * @dev sender must be a whitelisted minter
     */
    function mintWithHash(
        address _to,
        uint256 _projectId,
        address _by,
        bytes32 _hash
    ) public returns (uint256 _tokenId) {
        require(
            isMintWhitelisted[msg.sender],
            "Must mint from whitelisted minter contract."
        );
        require(
            projects[_projectId].invocations + 1 <=
                projects[_projectId].maxInvocations,
            "Must not exceed max invocations"
        );
        require(
            projects[_projectId].active ||
                _by == projectIdToArtistAddress[_projectId],
            "Project must exist and be active"
        );
        require(
            !projects[_projectId].paused ||
                _by == projectIdToArtistAddress[_projectId],
            "Purchases are paused."
        );

        uint256 tokenId = _mintTokenWithHash(_to, _projectId, _hash);

        return tokenId;
    }

    function _mintTokenWithHash(
        address _to,
        uint256 _projectId,
        bytes32 _hash
    ) internal returns (uint256 _tokenId) {
        uint256 tokenIdToBe = (_projectId * ONE_MILLION) +
            projects[_projectId].invocations;

        projects[_projectId].invocations = projects[_projectId].invocations + 1;

        tokenIdToHash[tokenIdToBe] = _hash;
        hashToTokenId[_hash] = tokenIdToBe;

        _mint(_to, tokenIdToBe);

        tokenIdToProjectId[tokenIdToBe] = _projectId;

        emit Mint(_to, tokenIdToBe, _projectId);

        return tokenIdToBe;
    }

    /**
     * @notice Mints a batch of tokens from project `_projectId[i]`, sets the
     * token's owner to `_to[i]` with the provided hash `_hash[i]`.
     * @param _to array of Addresses to be the minted token's owner.
     * @param _projectId array of Project IDs to mint a tokens on.
     * @param _by array of Purchasers of minted token.
     * @param _hash array of Token hashes.
     * @dev sender must be a whitelisted minter
     */
    function mintBatchWithHash(
        address[] memory _to,
        uint256[] memory _projectId,
        address[] memory _by,
        bytes32[] memory _hash
    ) external {
        require(
            _to.length == _projectId.length,
            "_projectId array length missmatch."
        );

        require(_to.length == _by.length, "_by array length missmatch.");

        require(_to.length == _hash.length, "_hash array length missmatch.");

        for (uint256 i; i < _to.length; i++) {
            mintWithHash(_to[i], _projectId[i], _by[i], _hash[i]);
        }
    }

    /**
     * @notice Mints a token from project `_projectId` and sets the
     * token's owner to `_to`.
     * @param _to Address to be the minted token's owner.
     * @param _projectId Project ID to mint a token on.
     * @param _by Purchaser of minted token.
     * @dev sender must be a whitelisted minter
     */
    function mint(
        address _to,
        uint256 _projectId,
        address _by
    ) external returns (uint256 _tokenId) {
        require(
            isMintWhitelisted[msg.sender],
            "Must mint from whitelisted minter contract."
        );
        require(
            projects[_projectId].invocations + 1 <=
                projects[_projectId].maxInvocations,
            "Must not exceed max invocations"
        );
        require(
            projects[_projectId].active ||
                _by == projectIdToArtistAddress[_projectId],
            "Project must exist and be active"
        );
        require(
            !projects[_projectId].paused ||
                _by == projectIdToArtistAddress[_projectId],
            "Purchases are paused."
        );

        uint256 tokenId = _mintToken(_to, _projectId);

        return tokenId;
    }

    function _mintToken(address _to, uint256 _projectId)
        internal
        returns (uint256 _tokenId)
    {
        uint256 tokenIdToBe = (_projectId * ONE_MILLION) +
            projects[_projectId].invocations;

        projects[_projectId].invocations = projects[_projectId].invocations + 1;

        bytes32 hash = keccak256(
            abi.encodePacked(
                projects[_projectId].invocations,
                block.number,
                blockhash(block.number - 1),
                randomizerContract.returnValue()
            )
        );
        tokenIdToHash[tokenIdToBe] = hash;
        hashToTokenId[hash] = tokenIdToBe;

        _mint(_to, tokenIdToBe);

        tokenIdToProjectId[tokenIdToBe] = _projectId;

        emit Mint(_to, tokenIdToBe, _projectId);

        return tokenIdToBe;
    }

    /**
     * @notice Updates preferredIPFSGateway to `_gateway`.
     */
    function updateIPFSGateway(string calldata _gateway)
        public
        onlyWhitelisted
    {
        preferredIPFSGateway = _gateway;
        emit GatewayUpdated(ExternalAssetDependencyType.IPFS, _gateway);
    }

    /**
     * @notice Updates preferredArweaveGateway to `_gateway`.
     */
    function updateArweaveGateway(string calldata _gateway)
        public
        onlyWhitelisted
    {
        preferredArweaveGateway = _gateway;
        emit GatewayUpdated(ExternalAssetDependencyType.ARWEAVE, _gateway);
    }

    /**
     * @notice Updates contract admin to `_adminAddress`.
     */
    function updateAdmin(address _adminAddress) public onlyAdmin {
        admin = _adminAddress;
    }

    /**
     * @notice Updates render provider address to `_renderProviderAddress`.
     */
    function updateRenderProviderAddress(address payable _renderProviderAddress)
        public
        onlyAdmin
    {
        renderProviderAddress = _renderProviderAddress;
    }

    /**
     * @notice Updates render provider mint revenue percentage to
     * `_renderProviderPercentage`.
     */
    function updateRenderProviderPercentage(uint256 _renderProviderPercentage)
        public
        onlyAdmin
    {
        require(_renderProviderPercentage <= 25, "Max of 25%");
        renderProviderPercentage = _renderProviderPercentage;
    }

    /**
     * @notice Whitelists `_address`.
     */
    function addWhitelisted(address _address) public onlyAdmin {
        isWhitelisted[_address] = true;
    }

    /**
     * @notice Revokes whitelisting of `_address`.
     */
    function removeWhitelisted(address _address) public onlyAdmin {
        isWhitelisted[_address] = false;
    }

    /**
     * @notice Whitelists minter `_address`.
     */
    function addMintWhitelisted(address _address) public onlyAdmin {
        isMintWhitelisted[_address] = true;
    }

    /**
     * @notice Revokes whitelisting of minter `_address`.
     */
    function removeMintWhitelisted(address _address) public onlyAdmin {
        isMintWhitelisted[_address] = false;
    }

    /**
     * @notice Updates randomizer to `_randomizerAddress`.
     */
    function updateRandomizerAddress(address _randomizerAddress)
        public
        onlyWhitelisted
    {
        randomizerContract = IRandomizer(_randomizerAddress);
    }

    /**
     * @notice Locks project `_projectId`.
     */
    function toggleProjectIsLocked(uint256 _projectId)
        public
        onlyWhitelisted
        onlyUnlocked(_projectId)
    {
        projects[_projectId].locked = true;
    }

    /**
     * @notice Locks external asset dependencies for project `_projectId`.
     */
    function lockProjectExternalAssetDependencies(uint256 _projectId)
        external
        onlyArtistOrWhitelisted(_projectId)
        onlyUnlockedProjectExternalAssetDependencies(_projectId)
    {
        projects[_projectId].externalAssetDependenciesLocked = true;
        emit ProjectExternalAssetDependenciesLocked(_projectId);
    }

    /**
     * @notice Toggles project `_projectId` as active/inactive.
     */
    function toggleProjectIsActive(uint256 _projectId) public onlyWhitelisted {
        projects[_projectId].active = !projects[_projectId].active;
    }

    /**
     * @notice Updates artist of project `_projectId` to `_artistAddress`.
     */
    function updateProjectArtistAddress(
        uint256 _projectId,
        address payable _artistAddress
    ) public onlyArtistOrWhitelisted(_projectId) {
        projectIdToArtistAddress[_projectId] = _artistAddress;
    }

    /**
     * @notice Toggles paused state of project `_projectId`.
     */
    function toggleProjectIsPaused(uint256 _projectId)
        public
        onlyArtist(_projectId)
    {
        projects[_projectId].paused = !projects[_projectId].paused;
    }

    /**
     * @notice Adds new project `_projectName` by `_artistAddress`.
     * @param _projectName Project name.
     * @param _artistAddress Artist's address.
     * @param _pricePerTokenInWei Price to mint a token, in Wei.
     */
    function addProject(
        string memory _projectName,
        address payable _artistAddress,
        uint256 _pricePerTokenInWei
    ) public onlyWhitelisted {
        uint256 projectId = nextProjectId;
        projectIdToArtistAddress[projectId] = _artistAddress;
        projects[projectId].name = _projectName;
        projectIdToCurrencySymbol[projectId] = "ETH";
        projectIdToPricePerTokenInWei[projectId] = _pricePerTokenInWei;
        projects[projectId].paused = true;
        projects[projectId].maxInvocations = ONE_MILLION;
        nextProjectId = nextProjectId + 1;
    }

    /**
     * @notice Updates payment currency of project `_projectId` to be
     * `_currencySymbol`.
     * @param _projectId Project ID to update.
     * @param _currencySymbol Currency symbol.
     * @param _currencyAddress Currency address.
     */
    function updateProjectCurrencyInfo(
        uint256 _projectId,
        string memory _currencySymbol,
        address _currencyAddress
    ) public onlyArtist(_projectId) {
        projectIdToCurrencySymbol[_projectId] = _currencySymbol;
        projectIdToCurrencyAddress[_projectId] = _currencyAddress;
    }

    /**
     * @notice Updates price per token of project `_projectId` to be
     * '_pricePerTokenInWei`, in Wei.
     */
    function updateProjectPricePerTokenInWei(
        uint256 _projectId,
        uint256 _pricePerTokenInWei
    ) public onlyArtist(_projectId) {
        projectIdToPricePerTokenInWei[_projectId] = _pricePerTokenInWei;
    }

    /**
     * @notice Updates name of project `_projectId` to be `_projectName`.
     */
    function updateProjectName(uint256 _projectId, string memory _projectName)
        public
        onlyUnlocked(_projectId)
        onlyArtistOrWhitelisted(_projectId)
    {
        projects[_projectId].name = _projectName;
    }

    /**
     * @notice Updates artist name for project `_projectId` to be
     * `_projectArtistName`.
     */
    function updateProjectArtistName(
        uint256 _projectId,
        string memory _projectArtistName
    ) public onlyUnlocked(_projectId) onlyArtistOrWhitelisted(_projectId) {
        projects[_projectId].artist = _projectArtistName;
    }

    /**
     * @notice Updates additional payee for project `_projectId` to be
     * `_additionalPayee`, receiving `_additionalPayeePercentage` percent
     * of artist mint and royalty revenues.
     */
    function updateProjectAdditionalPayeeInfo(
        uint256 _projectId,
        address payable _additionalPayee,
        uint256 _additionalPayeePercentage
    ) public onlyArtist(_projectId) {
        require(_additionalPayeePercentage <= 100, "Max of 100%");
        projectIdToAdditionalPayee[_projectId] = _additionalPayee;
        projectIdToAdditionalPayeePercentage[
            _projectId
        ] = _additionalPayeePercentage;
    }

    /**
     * @notice Updates artist secondary market royalties for project
     * `_projectId` to be `_secondMarketRoyalty` percent.
     */
    function updateProjectSecondaryMarketRoyaltyPercentage(
        uint256 _projectId,
        uint256 _secondMarketRoyalty
    ) public onlyArtist(_projectId) {
        require(_secondMarketRoyalty <= 100, "Max of 100%");
        projectIdToSecondaryMarketRoyaltyPercentage[
            _projectId
        ] = _secondMarketRoyalty;
    }

    /**
     * @notice Updates description of project `_projectId`.
     */
    function updateProjectDescription(
        uint256 _projectId,
        string memory _projectDescription
    ) public onlyArtist(_projectId) {
        projects[_projectId].description = _projectDescription;
    }

    /**
     * @notice Updates website of project `_projectId` to be `_projectWebsite`.
     */
    function updateProjectWebsite(
        uint256 _projectId,
        string memory _projectWebsite
    ) public onlyArtist(_projectId) {
        projects[_projectId].website = _projectWebsite;
    }

    /**
     * @notice Updates license for project `_projectId`.
     */
    function updateProjectLicense(
        uint256 _projectId,
        string memory _projectLicense
    ) public onlyUnlocked(_projectId) onlyArtistOrWhitelisted(_projectId) {
        projects[_projectId].license = _projectLicense;
    }

    /**
     * @notice Updates maximum invocations for project `_projectId` to
     * `_maxInvocations`.
     */
    function updateProjectMaxInvocations(
        uint256 _projectId,
        uint256 _maxInvocations
    ) public onlyArtist(_projectId) {
        require(
            (!projects[_projectId].locked ||
                _maxInvocations < projects[_projectId].maxInvocations),
            "Only if unlocked"
        );
        require(
            _maxInvocations > projects[_projectId].invocations,
            "You must set max invocations greater than current invocations"
        );
        require(_maxInvocations <= ONE_MILLION, "Cannot exceed 1000000");
        projects[_projectId].maxInvocations = _maxInvocations;
    }

    /**
     * @notice Adds a script to project `_projectId`.
     * @param _projectId Project to be updated.
     * @param _script Script to be added.
     */
    function addProjectScript(uint256 _projectId, string memory _script)
        public
        onlyUnlocked(_projectId)
        onlyArtistOrWhitelisted(_projectId)
    {
        projects[_projectId].scripts[
            projects[_projectId].scriptCount
        ] = _script;
        projects[_projectId].scriptCount = projects[_projectId].scriptCount + 1;
    }

    /**
     * @notice Updates script for project `_projectId` at script ID `_scriptId`.
     * @param _projectId Project to be updated.
     * @param _scriptId Script ID to be updated.
     * @param _script Script to be added.
     */
    function updateProjectScript(
        uint256 _projectId,
        uint256 _scriptId,
        string memory _script
    ) public onlyUnlocked(_projectId) onlyArtistOrWhitelisted(_projectId) {
        require(
            _scriptId < projects[_projectId].scriptCount,
            "scriptId out of range"
        );
        projects[_projectId].scripts[_scriptId] = _script;
    }

    /**
     * @notice Updates external asset dependency for project `_projectId`.
     * @param _projectId Project to be updated.
     * @param _index Asset index.
     * @param _cid Asset cid (Content identifier).
     * @param _dependencyType Asset dependency type.
     *  0 - IPFS
     *  1 - ARWEAVE
     */
    function updateProjectExternalAssetDependency(
        uint256 _projectId,
        uint256 _index,
        string calldata _cid,
        ExternalAssetDependencyType _dependencyType
    )
        external
        onlyUnlockedProjectExternalAssetDependencies(_projectId)
        onlyArtistOrWhitelisted(_projectId)
    {
        uint24 assetCount = projects[_projectId].externalAssetDependencyCount;
        require(_index < assetCount, "Asset index out of range");
        projects[_projectId].externalAssetDependencies[_index].cid = _cid;
        projects[_projectId]
            .externalAssetDependencies[_index]
            .dependencyType = _dependencyType;
        emit ExternalAssetDependencyUpdated(
            _projectId,
            _index,
            _cid,
            _dependencyType,
            assetCount
        );
    }

    /**
     * @notice Removes external asset dependency for project `_projectId` at index `_index`.
     * Removal is done by swapping the element to be removed with the last element in the array, then deleting this last element.
     * Assets with indices higher than `_index` can have their indices adjusted as a result of this operation.
     * @param _projectId Project to be updated.
     * @param _index Asset index
     */
    function removeProjectExternalAssetDependency(
        uint256 _projectId,
        uint256 _index
    )
        external
        onlyUnlockedProjectExternalAssetDependencies(_projectId)
        onlyArtistOrWhitelisted(_projectId)
    {
        uint24 assetCount = projects[_projectId].externalAssetDependencyCount;
        require(_index < assetCount, "Asset index out of range");

        uint24 lastElementIndex = assetCount - 1;

        projects[_projectId].externalAssetDependencies[_index] = projects[
            _projectId
        ].externalAssetDependencies[lastElementIndex];
        delete projects[_projectId].externalAssetDependencies[lastElementIndex];

        projects[_projectId].externalAssetDependencyCount = lastElementIndex;

        emit ExternalAssetDependencyRemoved(_projectId, _index);
    }

    /**
     * @notice Adds external asset dependency for project `_projectId`.
     * @param _projectId Project to be updated.
     * @param _cid Asset cid (Content identifier).
     * @param _dependencyType Asset dependency type.
     *  0 - IPFS
     *  1 - ARWEAVE
     */
    function addProjectExternalAssetDependency(
        uint256 _projectId,
        string calldata _cid,
        ExternalAssetDependencyType _dependencyType
    )
        external
        onlyUnlockedProjectExternalAssetDependencies(_projectId)
        onlyArtistOrWhitelisted(_projectId)
    {
        uint24 assetCount = projects[_projectId].externalAssetDependencyCount;
        ExternalAssetDependency memory asset = ExternalAssetDependency({
            cid: _cid,
            dependencyType: _dependencyType
        });
        projects[_projectId].externalAssetDependencies[assetCount] = asset;
        projects[_projectId].externalAssetDependencyCount = assetCount + 1;

        emit ExternalAssetDependencyUpdated(
            _projectId,
            assetCount,
            _cid,
            _dependencyType,
            assetCount + 1
        );
    }

    /**
     * @notice Removes last script from project `_projectId`.
     */
    function removeProjectLastScript(uint256 _projectId)
        public
        onlyUnlocked(_projectId)
        onlyArtistOrWhitelisted(_projectId)
    {
        require(
            projects[_projectId].scriptCount > 0,
            "there are no scripts to remove"
        );
        delete projects[_projectId].scripts[
            projects[_projectId].scriptCount - 1
        ];
        projects[_projectId].scriptCount = projects[_projectId].scriptCount - 1;
    }

    /**
     * @notice Updates script json for project `_projectId`.
     */
    function updateProjectScriptJSON(
        uint256 _projectId,
        string memory _projectScriptJSON
    ) public onlyUnlocked(_projectId) onlyArtistOrWhitelisted(_projectId) {
        projects[_projectId].scriptJSON = _projectScriptJSON;
    }

    /**
     * @notice Updates ipfs hash for project `_projectId`.
     */
    function updateProjectIpfsHash(uint256 _projectId, string memory _ipfsHash)
        public
        onlyUnlocked(_projectId)
        onlyArtistOrWhitelisted(_projectId)
    {
        projects[_projectId].ipfsHash = _ipfsHash;
    }

    /**
     * @notice Updates base URI for project `_projectId` to `_newBaseURI`.
     */
    function updateProjectBaseURI(uint256 _projectId, string memory _newBaseURI)
        public
        onlyArtist(_projectId)
    {
        projects[_projectId].projectBaseURI = _newBaseURI;
    }

    /**
     * @notice Returns project details for project `_projectId`.
     * @param _projectId Project to be queried.
     * @return projectName Name of project
     * @return artist Artist of project
     * @return description Project description
     * @return website Project website
     * @return license Project license
     */
    function projectDetails(uint256 _projectId)
        public
        view
        returns (
            string memory projectName,
            string memory artist,
            string memory description,
            string memory website,
            string memory license
        )
    {
        projectName = projects[_projectId].name;
        artist = projects[_projectId].artist;
        description = projects[_projectId].description;
        website = projects[_projectId].website;
        license = projects[_projectId].license;
    }

    /**
     * @notice Returns project token information for project `_projectId`.
     * @param _projectId Project to be queried.
     * @return artistAddress Project Artist's address
     * @return pricePerTokenInWei Price to mint a token, in Wei
     * @return invocations Current number of invocations
     * @return maxInvocations Maximum allowed invocations
     * @return active Boolean representing if project is currently active
     * @return additionalPayee Additional payee address
     * @return additionalPayeePercentage Percentage of artist revenue
     * to be sent to the additional payee's address
     * @return currency Symbol of project's currency
     * @return currencyAddress Address of project's currency
     */
    function projectTokenInfo(uint256 _projectId)
        public
        view
        returns (
            address artistAddress,
            uint256 pricePerTokenInWei,
            uint256 invocations,
            uint256 maxInvocations,
            bool active,
            address additionalPayee,
            uint256 additionalPayeePercentage,
            string memory currency,
            address currencyAddress
        )
    {
        artistAddress = projectIdToArtistAddress[_projectId];
        pricePerTokenInWei = projectIdToPricePerTokenInWei[_projectId];
        invocations = projects[_projectId].invocations;
        maxInvocations = projects[_projectId].maxInvocations;
        active = projects[_projectId].active;
        additionalPayee = projectIdToAdditionalPayee[_projectId];
        additionalPayeePercentage = projectIdToAdditionalPayeePercentage[
            _projectId
        ];
        currency = projectIdToCurrencySymbol[_projectId];
        currencyAddress = projectIdToCurrencyAddress[_projectId];
    }

    /**
     * @notice Returns script information for project `_projectId`.
     * @param _projectId Project to be queried.
     * @return scriptJSON Project's script json
     * @return scriptCount Count of scripts for project
     * @return ipfsHash IPFS hash for project
     * @return locked Boolean representing if project is locked
     * @return paused Boolean representing if project is paused
     */
    function projectScriptInfo(uint256 _projectId)
        public
        view
        returns (
            string memory scriptJSON,
            uint256 scriptCount,
            string memory ipfsHash,
            bool locked,
            bool paused
        )
    {
        scriptJSON = projects[_projectId].scriptJSON;
        scriptCount = projects[_projectId].scriptCount;
        ipfsHash = projects[_projectId].ipfsHash;
        locked = projects[_projectId].locked;
        paused = projects[_projectId].paused;
    }

    /**
     * @notice Returns script for project `_projectId` at script index `_index`

     */
    function projectScriptByIndex(uint256 _projectId, uint256 _index)
        public
        view
        returns (string memory)
    {
        return projects[_projectId].scripts[_index];
    }

    /**
     * @notice Returns external asset dependency for project `_projectId` at index `_index`.
     */
    function projectExternalAssetDependencyByIndex(
        uint256 _projectId,
        uint256 _index
    ) public view returns (ExternalAssetDependency memory) {
        return projects[_projectId].externalAssetDependencies[_index];
    }

    /**
     * @notice Returns external asset dependency count for project `_projectId` at index `_index`.
     */
    function projectExternalAssetDependencyCount(uint256 _projectId)
        public
        view
        returns (uint256)
    {
        return uint256(projects[_projectId].externalAssetDependencyCount);
    }

    /**
     * @notice Returns base URI for project `_projectId`.
     */
    function projectURIInfo(uint256 _projectId)
        public
        view
        returns (string memory projectBaseURI)
    {
        projectBaseURI = projects[_projectId].projectBaseURI;
    }

    /**
     * @notice Gets royalty data for token ID `_tokenId`.
     * @param _tokenId Token ID to be queried.
     * @return artistAddress Artist's payment address
     * @return additionalPayee Additional payee's payment address
     * @return additionalPayeePercentage Percentage of artist revenue
     * to be sent to the additional payee's address
     * @return royaltyFeeByID Total royalty percentage to be sent to
     * combination of artist and additional payee
     */
    function getRoyaltyData(uint256 _tokenId)
        public
        view
        returns (
            address artistAddress,
            address additionalPayee,
            uint256 additionalPayeePercentage,
            uint256 royaltyFeeByID
        )
    {
        artistAddress = projectIdToArtistAddress[tokenIdToProjectId[_tokenId]];
        additionalPayee = projectIdToAdditionalPayee[
            tokenIdToProjectId[_tokenId]
        ];
        additionalPayeePercentage = projectIdToAdditionalPayeePercentage[
            tokenIdToProjectId[_tokenId]
        ];
        royaltyFeeByID = projectIdToSecondaryMarketRoyaltyPercentage[
            tokenIdToProjectId[_tokenId]
        ];
    }

    /**
     * @notice Gets token URI for token ID `_tokenId`.
     */
    function tokenURI(uint256 _tokenId)
        public
        view
        override
        onlyValidTokenId(_tokenId)
        returns (string memory)
    {
        return
            string(
                abi.encodePacked(
                    projects[tokenIdToProjectId[_tokenId]].projectBaseURI,
                    Strings.toString(_tokenId)
                )
            );
    }
}

File 2 of 12 : IRandomizer.sol
// SPDX-License-Identifier: LGPL-3.0-only
// Creatd By: Art Blocks Inc.

pragma solidity ^0.8.0;

interface IRandomizer {
    function returnValue() external view returns (bytes32);
}

File 3 of 12 : IGenArt721CoreV2_PBAB.sol
// SPDX-License-Identifier: LGPL-3.0-only
// Created By: Art Blocks Inc.

pragma solidity ^0.8.0;

interface IGenArt721CoreV2_PBAB {
    /**
     * @notice Token ID `_tokenId` minted on project ID `_projectId` to `_to`.
     */
    event Mint(
        address indexed _to,
        uint256 indexed _tokenId,
        uint256 indexed _projectId
    );

    // getter function of public variable
    function admin() external view returns (address);

    // getter function of public variable
    function nextProjectId() external view returns (uint256);

    // getter function of public mapping
    function tokenIdToProjectId(uint256 tokenId)
        external
        view
        returns (uint256 projectId);

    function isWhitelisted(address sender) external view returns (bool);

    function projectIdToCurrencySymbol(uint256 _projectId)
        external
        view
        returns (string memory);

    function projectIdToCurrencyAddress(uint256 _projectId)
        external
        view
        returns (address);

    function projectIdToArtistAddress(uint256 _projectId)
        external
        view
        returns (address payable);

    function projectIdToPricePerTokenInWei(uint256 _projectId)
        external
        view
        returns (uint256);

    function projectIdToAdditionalPayee(uint256 _projectId)
        external
        view
        returns (address payable);

    function projectIdToAdditionalPayeePercentage(uint256 _projectId)
        external
        view
        returns (uint256);

    function projectTokenInfo(uint256 _projectId)
        external
        view
        returns (
            address,
            uint256,
            uint256,
            uint256,
            bool,
            address,
            uint256,
            string memory,
            address
        );

    function renderProviderAddress() external view returns (address payable);

    function renderProviderPercentage() external view returns (uint256);

    function mint(
        address _to,
        uint256 _projectId,
        address _by
    ) external returns (uint256 tokenId);

    function getRoyaltyData(uint256 _tokenId)
        external
        view
        returns (
            address artistAddress,
            address additionalPayee,
            uint256 additionalPayeePercentage,
            uint256 royaltyFeeByID
        );
}

File 4 of 12 : 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 5 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

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

File 6 of 12 : 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 7 of 12 : 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 8 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 9 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 11 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 12 of 12 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"address","name":"_randomizerContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_projectId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_index","type":"uint256"}],"name":"ExternalAssetDependencyRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_projectId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_index","type":"uint256"},{"indexed":false,"internalType":"string","name":"_cid","type":"string"},{"indexed":false,"internalType":"enum GenArt721CoreV2_PlottablesFlex.ExternalAssetDependencyType","name":"_dependencyType","type":"uint8"},{"indexed":false,"internalType":"uint24","name":"_externalAssetDependencyCount","type":"uint24"}],"name":"ExternalAssetDependencyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum GenArt721CoreV2_PlottablesFlex.ExternalAssetDependencyType","name":"_dependencyType","type":"uint8"},{"indexed":false,"internalType":"string","name":"_gatewayAddress","type":"string"}],"name":"GatewayUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"ProjectExternalAssetDependenciesLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addMintWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_projectName","type":"string"},{"internalType":"address payable","name":"_artistAddress","type":"address"},{"internalType":"uint256","name":"_pricePerTokenInWei","type":"uint256"}],"name":"addProject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_cid","type":"string"},{"internalType":"enum GenArt721CoreV2_PlottablesFlex.ExternalAssetDependencyType","name":"_dependencyType","type":"uint8"}],"name":"addProjectExternalAssetDependency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_script","type":"string"}],"name":"addProjectScript","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"coreType","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"coreVersion","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getRoyaltyData","outputs":[{"internalType":"address","name":"artistAddress","type":"address"},{"internalType":"address","name":"additionalPayee","type":"address"},{"internalType":"uint256","name":"additionalPayeePercentage","type":"uint256"},{"internalType":"uint256","name":"royaltyFeeByID","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"hashToTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isMintWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"lockProjectExternalAssetDependencies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"address","name":"_by","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_projectId","type":"uint256[]"},{"internalType":"address[]","name":"_by","type":"address[]"},{"internalType":"bytes32[]","name":"_hash","type":"bytes32[]"}],"name":"mintBatchWithHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"address","name":"_by","type":"address"},{"internalType":"bytes32","name":"_hash","type":"bytes32"}],"name":"mintWithHash","outputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextProjectId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preferredArweaveGateway","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preferredIPFSGateway","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"projectDetails","outputs":[{"internalType":"string","name":"projectName","type":"string"},{"internalType":"string","name":"artist","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"website","type":"string"},{"internalType":"string","name":"license","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"projectExternalAssetDependencyByIndex","outputs":[{"components":[{"internalType":"string","name":"cid","type":"string"},{"internalType":"enum GenArt721CoreV2_PlottablesFlex.ExternalAssetDependencyType","name":"dependencyType","type":"uint8"}],"internalType":"struct GenArt721CoreV2_PlottablesFlex.ExternalAssetDependency","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"projectExternalAssetDependencyCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToAdditionalPayee","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToAdditionalPayeePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToArtistAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToCurrencyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToCurrencySymbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToPricePerTokenInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectIdToSecondaryMarketRoyaltyPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"projectScriptByIndex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"projectScriptInfo","outputs":[{"internalType":"string","name":"scriptJSON","type":"string"},{"internalType":"uint256","name":"scriptCount","type":"uint256"},{"internalType":"string","name":"ipfsHash","type":"string"},{"internalType":"bool","name":"locked","type":"bool"},{"internalType":"bool","name":"paused","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"projectTokenInfo","outputs":[{"internalType":"address","name":"artistAddress","type":"address"},{"internalType":"uint256","name":"pricePerTokenInWei","type":"uint256"},{"internalType":"uint256","name":"invocations","type":"uint256"},{"internalType":"uint256","name":"maxInvocations","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"address","name":"additionalPayee","type":"address"},{"internalType":"uint256","name":"additionalPayeePercentage","type":"uint256"},{"internalType":"string","name":"currency","type":"string"},{"internalType":"address","name":"currencyAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"projectURIInfo","outputs":[{"internalType":"string","name":"projectBaseURI","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomizerContract","outputs":[{"internalType":"contract IRandomizer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeMintWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"removeProjectExternalAssetDependency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"removeProjectLastScript","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renderProviderAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renderProviderPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"_projectId","type":"uint256"}],"name":"toggleProjectIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"toggleProjectIsLocked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"}],"name":"toggleProjectIsPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToProjectId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_adminAddress","type":"address"}],"name":"updateAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_gateway","type":"string"}],"name":"updateArweaveGateway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_gateway","type":"string"}],"name":"updateIPFSGateway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"address payable","name":"_additionalPayee","type":"address"},{"internalType":"uint256","name":"_additionalPayeePercentage","type":"uint256"}],"name":"updateProjectAdditionalPayeeInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"address payable","name":"_artistAddress","type":"address"}],"name":"updateProjectArtistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_projectArtistName","type":"string"}],"name":"updateProjectArtistName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"updateProjectBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_currencySymbol","type":"string"},{"internalType":"address","name":"_currencyAddress","type":"address"}],"name":"updateProjectCurrencyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_projectDescription","type":"string"}],"name":"updateProjectDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"string","name":"_cid","type":"string"},{"internalType":"enum GenArt721CoreV2_PlottablesFlex.ExternalAssetDependencyType","name":"_dependencyType","type":"uint8"}],"name":"updateProjectExternalAssetDependency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_ipfsHash","type":"string"}],"name":"updateProjectIpfsHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_projectLicense","type":"string"}],"name":"updateProjectLicense","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"uint256","name":"_maxInvocations","type":"uint256"}],"name":"updateProjectMaxInvocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_projectName","type":"string"}],"name":"updateProjectName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"uint256","name":"_pricePerTokenInWei","type":"uint256"}],"name":"updateProjectPricePerTokenInWei","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"uint256","name":"_scriptId","type":"uint256"},{"internalType":"string","name":"_script","type":"string"}],"name":"updateProjectScript","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_projectScriptJSON","type":"string"}],"name":"updateProjectScriptJSON","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"uint256","name":"_secondMarketRoyalty","type":"uint256"}],"name":"updateProjectSecondaryMarketRoyaltyPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_projectId","type":"uint256"},{"internalType":"string","name":"_projectWebsite","type":"string"}],"name":"updateProjectWebsite","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_randomizerAddress","type":"address"}],"name":"updateRandomizerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_renderProviderAddress","type":"address"}],"name":"updateRenderProviderAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_renderProviderPercentage","type":"uint256"}],"name":"updateRenderProviderPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a60125560006019553480156200001b57600080fd5b506040516200532b3803806200532b8339810160408190526200003e9162000241565b82518390839062000057906000906020850190620000ce565b5080516200006d906001906020840190620000ce565b505060168054336001600160a01b031991821681179092556000828152601760205260409020805460ff19166001179055601180548216909217909155600680549091166001600160a01b039390931692909217909155506200030b915050565b828054620000dc90620002ce565b90600052602060002090601f0160209004810192826200010057600085556200014b565b82601f106200011b57805160ff19168380011785556200014b565b828001600101855582156200014b579182015b828111156200014b5782518255916020019190600101906200012e565b50620001599291506200015d565b5090565b5b808211156200015957600081556001016200015e565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200019c57600080fd5b81516001600160401b0380821115620001b957620001b962000174565b604051601f8301601f19908116603f01168101908282118183101715620001e457620001e462000174565b816040528381526020925086838588010111156200020157600080fd5b600091505b8382101562000225578582018301518183018401529082019062000206565b83821115620002375760008385830101525b9695505050505050565b6000806000606084860312156200025757600080fd5b83516001600160401b03808211156200026f57600080fd5b6200027d878388016200018a565b945060208601519150808211156200029457600080fd5b50620002a3868287016200018a565b604086015190935090506001600160a01b0381168114620002c357600080fd5b809150509250925092565b600181811c90821680620002e357607f821691505b602082108114156200030557634e487b7160e01b600052602260045260246000fd5b50919050565b615010806200031b6000396000f3fe608060405234801561001057600080fd5b50600436106103c05760003560e01c80638c2c3622116101f7578063ba3c234511610116578063ba3c2345146109c6578063c34a03b5146109d9578063c6d73231146109ec578063c87b56dd146109ff578063cc74234b14610a12578063cfbf4d9714610a32578063d03c390c14610a45578063d195b36514610a58578063d50f513814610a6b578063d7b044b614610a7e578063db2ff86114610aa7578063e13208b414610aba578063e2f273bd14610acd578063e935b7b114610ae0578063e985e9c514610ae9578063ed8abfda14610afc578063f51f74a914610b1c578063f6cd39e314610b3c578063f70c0f0414610b44578063f851a44014610b6457600080fd5b80638c2c3622146107625780638c3c9cdd1461078a5780638dd91a561461079d57806393c12cc4146107c157806395d89b41146107d457806397dc86cf146107dc578063a11ec70a146107ef578063a22cb46514610802578063a3b2cca614610815578063a47d29cb14610828578063a65ff74c14610851578063acad0124146108d3578063ad0305ce146108e6578063ad28329014610909578063ad576c4514610938578063ae45ad981461094b578063b1656ba314610985578063b7b04fae14610998578063b7ba527d146109ab578063b88d4fde146109b357600080fd5b80633e48e848116102e35780633e48e848146105a05780633fef6c2a146105b357806342842e0e146105c6578063498dd0c1146105d95780634aa6d417146106025780634e1d64af146106265780635464c3091461064b578063621a1f741461065e5780636352211e1461067e57806366e462371461069157806369d14faf146106a45780636b6ec8a6146106b75780636c907b7f146106ca57806370a08231146106dd578063826fc391146106f0578063867f1a3b146107035780638763ad1e146107165780638b1623ee146107295780638ba8f14d1461073c5780638bddb0a61461074f57600080fd5b806301ffc9a7146103c557806306fdde03146103ed578063081812fc14610402578063095ea7b31461042d5780630d170673146104425780630d4d15131461045557806310154bad1461047657806310a9ef181461048957806311f5fdf11461049c5780631b689c0b146104af57806320927ec9146104cf57806323b872dd146104e257806325b75d68146104f55780632642c6b614610508578063291d9549146105285780632d9c02051461053b5780632e9eb74f1461054e57806336c7c12c14610557578063378599631461056a5780633af32abf1461057d575b600080fd5b6103d86103d3366004614005565b610b77565b60405190151581526020015b60405180910390f35b6103f5610bc9565b6040516103e49190614081565b610415610410366004614094565b610c5b565b6040516001600160a01b0390911681526020016103e4565b61044061043b3660046140c2565b610ce8565b005b6104406104503660046141ab565b610df9565b6104686104633660046141f1565b610eaa565b6040519081526020016103e4565b610440610484366004614233565b610fe1565b6104406104973660046142ac565b61102f565b6104406104aa366004614094565b6111ac565b6104686104bd366004614094565b60136020526000908152604090205481565b6103f56104dd366004614094565b611219565b6104406104f0366004614313565b6112b3565b6104406105033660046141ab565b6112e4565b61051b610516366004614354565b611394565b6040516103e491906143ae565b610440610536366004614233565b611495565b6103f5610549366004614094565b6114e0565b61046860125481565b600654610415906001600160a01b031681565b6104406105783660046141ab565b611585565b6103d861058b366004614233565b60176020526000908152604090205460ff1681565b6104406105ae3660046141ab565b6115e8565b6104406105c13660046141ab565b611645565b6104406105d4366004614313565b6116f5565b6104156105e7366004614094565b600c602052600090815260409020546001600160a01b031681565b610615610610366004614094565b611710565b6040516103e49594939291906143e6565b6103f560405180604001604052806006815260200165076322e302e360d41b81525081565b61044061065936600461442b565b611892565b61046861066c366004614094565b60146020526000908152604090205481565b61041561068c366004614094565b61190e565b61044061069f36600461446c565b611985565b6104406106b23660046144c9565b611b6d565b6104406106c5366004614233565b611bee565b6104406106d8366004614233565b611c3a565b6104686106eb366004614233565b611c8b565b6104406106fe366004614354565b611d12565b610440610711366004614233565b611e83565b6104406107243660046144f9565b611ece565b610468610737366004614541565b611fc6565b61044061074a366004614094565b612101565b61044061075d366004614233565b61218a565b610775610770366004614094565b6121d8565b6040516103e499989796959493929190614589565b6103f5610798366004614354565b6122fb565b6107b06107ab366004614094565b6123ab565b6040516103e49594939291906145ef565b6104406107cf36600461474e565b6126d9565b6103f5612864565b6104406107ea366004614354565b612873565b6104406107fd366004614094565b6128be565b61044061081036600461484e565b612925565b6104406108233660046141ab565b612934565b610415610836366004614094565b600a602052600090815260409020546001600160a01b031681565b6108a861085f366004614094565b6000908152601360209081526040808320548352600a825280832054600e835281842054600f845282852054601090945291909320546001600160a01b03938416949390911692565b604080516001600160a01b0395861681529490931660208501529183015260608201526080016103e4565b6104406108e13660046141ab565b612991565b6103d86108f4366004614233565b60186020526000908152604090205460ff1681565b610468610917366004614094565b6000908152600960205260409020600c0154600160201b900462ffffff1690565b610440610946366004614354565b612a82565b6103f56040518060400160405280601b81526020017a08ecadc82e4e86e646286dee4caac64be8a9c8e929c8abe8c988ab602b1b81525081565b610440610993366004614881565b612c65565b6104406109a63660046141ab565b612d79565b6103f5612e29565b6104406109c13660046148d0565b612e36565b6104406109d4366004614094565b612e68565b6104406109e7366004614354565b612f43565b6104406109fa3660046141ab565b612faf565b6103f5610a0d366004614094565b61305f565b610468610a20366004614094565b600f6020526000908152604090205481565b601154610415906001600160a01b031681565b610440610a53366004614094565b613101565b610440610a66366004614943565b613153565b610440610a7936600461442b565b6131dc565b610415610a8c366004614094565b600e602052600090815260409020546001600160a01b031681565b610440610ab5366004614094565b61321f565b610440610ac8366004614992565b61337f565b610440610adb366004614233565b613412565b61046860195481565b6103d8610af73660046149b9565b61345e565b610468610b0a366004614094565b60106020526000908152604090205481565b610468610b2a366004614094565b60156020526000908152604090205481565b6103f561348c565b610468610b52366004614094565b600d6020526000908152604090205481565b601654610415906001600160a01b031681565b60006001600160e01b031982166380ac58cd60e01b1480610ba857506001600160e01b03198216635b5e139f60e01b145b80610bc357506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610bd8906149e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610c04906149e7565b8015610c515780601f10610c2657610100808354040283529160200191610c51565b820191906000526020600020905b815481529060010190602001808311610c3457829003601f168201915b5050505050905090565b6000610c6682613499565b610ccc5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610cf38261190e565b9050806001600160a01b0316836001600160a01b03161415610d615760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610cc3565b336001600160a01b0382161480610d7d5750610d7d813361345e565b610dea5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610cc3565b610df483836134b6565b505050565b6000828152600960205260409020600c01548290610100900460ff1615610e325760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054839060ff1680610e6857506000818152600a60205260409020546001600160a01b031633145b610e845760405162461bcd60e51b8152600401610cc390614a46565b60008481526009602090815260409091208451610ea392860190613e2a565b5050505050565b3360009081526018602052604081205460ff16610ed95760405162461bcd60e51b8152600401610cc390614a7a565b60008381526009602052604090206007810154600690910154610efd906001614adb565b1115610f1b5760405162461bcd60e51b8152600401610cc390614af3565b6000838152600960205260409020600c015460ff1680610f5457506000838152600a60205260409020546001600160a01b038381169116145b610f705760405162461bcd60e51b8152600401610cc390614b2a565b6000838152600960205260409020600c015462010000900460ff161580610fb057506000838152600a60205260409020546001600160a01b038381169116145b610fcc5760405162461bcd60e51b8152600401610cc390614b5f565b6000610fd88585613524565b95945050505050565b6016546001600160a01b0316331461100b5760405162461bcd60e51b8152600401610cc390614b8e565b6001600160a01b03166000908152601760205260409020805460ff19166001179055565b6000858152600960205260409020600c015485906301000000900460ff161561106a5760405162461bcd60e51b8152600401610cc390614bb2565b33600090815260176020526040902054869060ff16806110a057506000818152600a60205260409020546001600160a01b031633145b6110bc5760405162461bcd60e51b8152600401610cc390614a46565b6000878152600960205260409020600c0154600160201b900462ffffff168087106110f95760405162461bcd60e51b8152600401610cc390614c00565b60008881526009602090815260408083208a8452600d019091529020611120908787613eae565b5060008881526009602090815260408083208a8452600d01909152902060019081018054869260ff1990911690838181111561115e5761115e614376565b021790555086887f1628bf0d5f04426de03959d1da1357d8210b3b99e35281256ab7e9bd55dae9498888888660405161119a9493929190614c5b565b60405180910390a35050505050505050565b6016546001600160a01b031633146111d65760405162461bcd60e51b8152600401610cc390614b8e565b60198111156112145760405162461bcd60e51b815260206004820152600a6024820152694d6178206f662032352560b01b6044820152606401610cc3565b601255565b600b6020526000908152604090208054611232906149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461125e906149e7565b80156112ab5780601f10611280576101008083540402835291602001916112ab565b820191906000526020600020905b81548152906001019060200180831161128e57829003601f168201915b505050505081565b6112bd33826136c3565b6112d95760405162461bcd60e51b8152600401610cc390614c92565b610df4838383613785565b6000828152600960205260409020600c01548290610100900460ff161561131d5760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054839060ff168061135357506000818152600a60205260409020546001600160a01b031633145b61136f5760405162461bcd60e51b8152600401610cc390614a46565b60008481526009602090815260409091208451610ea392600490920191860190613e2a565b604080518082018252606081526000602080830182905285825260098152838220858352600d01905282902082518084019093528054919291829082906113da906149e7565b80601f0160208091040260200160405190810160405280929190818152602001828054611406906149e7565b80156114535780601f1061142857610100808354040283529160200191611453565b820191906000526020600020905b81548152906001019060200180831161143657829003601f168201915b505050918352505060018281015460209092019160ff169081111561147a5761147a614376565b600181111561148b5761148b614376565b9052509392505050565b6016546001600160a01b031633146114bf5760405162461bcd60e51b8152600401610cc390614b8e565b6001600160a01b03166000908152601760205260409020805460ff19169055565b6000818152600960205260409020600501805460609190611500906149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461152c906149e7565b80156115795780601f1061154e57610100808354040283529160200191611579565b820191906000526020600020905b81548152906001019060200180831161155c57829003601f168201915b50505050509050919050565b6000828152600a602052604090205482906001600160a01b031633146115bd5760405162461bcd60e51b8152600401610cc390614ce3565b600083815260096020908152604090912083516115e292600390920191850190613e2a565b50505050565b6000828152600a602052604090205482906001600160a01b031633146116205760405162461bcd60e51b8152600401610cc390614ce3565b600083815260096020908152604090912083516115e292600590920191850190613e2a565b6000828152600960205260409020600c01548290610100900460ff161561167e5760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054839060ff16806116b457506000818152600a60205260409020546001600160a01b031633145b6116d05760405162461bcd60e51b8152600401610cc390614a46565b60008481526009602090815260409091208451610ea392600b90920191860190613e2a565b610df483838360405180602001604052806000815250612e36565b60606000606060008060096000878152602001908152602001600020600801805461173a906149e7565b80601f0160208091040260200160405190810160405280929190818152602001828054611766906149e7565b80156117b35780601f10611788576101008083540402835291602001916117b3565b820191906000526020600020905b81548152906001019060200180831161179657829003601f168201915b5050506000898152600960205260409020600a810154600b9091018054949950909750926117e3925090506149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461180f906149e7565b801561185c5780601f106118315761010080835404028352916020019161185c565b820191906000526020600020905b81548152906001019060200180831161183f57829003601f168201915b5050506000988952505060096020526040909620600c0154949693959460ff610100820481169562010000909204169350915050565b3360009081526017602052604090205460ff166118c15760405162461bcd60e51b8152600401610cc390614d08565b6118cd60088383613eae565b5060015b7f897675a9bb2e78c7082f6dd757f2db5e1d07724c1f2d46fea1da4e17e5061afd8383604051611902929190614d32565b60405180910390a25050565b6000818152600260205260408120546001600160a01b031680610bc35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610cc3565b6000848152600960205260409020600c015484906301000000900460ff16156119c05760405162461bcd60e51b8152600401610cc390614bb2565b33600090815260176020526040902054859060ff16806119f657506000818152600a60205260409020546001600160a01b031633145b611a125760405162461bcd60e51b8152600401610cc390614a46565b6000868152600960209081526040808320600c01548151601f8901849004909302830160609081018352918301888152600160201b90910462ffffff169392918291908a908a9081908501838280828437600092019190915250505090825250602001866001811115611a8757611a87614376565b9052600089815260096020908152604080832062ffffff87168452600d0182529091208251805193945084939192611ac492849290910190613e2a565b50602082015160018083018054909160ff19909116908381811115611aeb57611aeb614376565b0217905550611aff91508390506001614d46565b6000898152600960205260409020600c01805462ffffff60201b1916600160201b62ffffff938416021790558216887f1628bf0d5f04426de03959d1da1357d8210b3b99e35281256ab7e9bd55dae949898989611b5d886001614d46565b60405161119a9493929190614c5b565b33600090815260176020526040902054829060ff1680611ba357506000818152600a60205260409020546001600160a01b031633145b611bbf5760405162461bcd60e51b8152600401610cc390614a46565b506000918252600a602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b6016546001600160a01b03163314611c185760405162461bcd60e51b8152600401610cc390614b8e565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526017602052604090205460ff16611c695760405162461bcd60e51b8152600401610cc390614d08565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216611cf65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610cc3565b506001600160a01b031660009081526003602052604090205490565b6000828152600a602052604090205482906001600160a01b03163314611d4a5760405162461bcd60e51b8152600401610cc390614ce3565b6000838152600960205260409020600c0154610100900460ff161580611d80575060008381526009602052604090206007015482105b611d9c5760405162461bcd60e51b8152600401610cc390614a1c565b6000838152600960205260409020600601548211611e225760405162461bcd60e51b815260206004820152603d60248201527f596f75206d75737420736574206d617820696e766f636174696f6e732067726560448201527f61746572207468616e2063757272656e7420696e766f636174696f6e730000006064820152608401610cc3565b620f4240821115611e6d5760405162461bcd60e51b8152602060048201526015602482015274043616e6e6f7420657863656564203130303030303605c1b6044820152606401610cc3565b5060009182526009602052604090912060070155565b6016546001600160a01b03163314611ead5760405162461bcd60e51b8152600401610cc390614b8e565b6001600160a01b03166000908152601860205260409020805460ff19169055565b3360009081526017602052604090205460ff16611efd5760405162461bcd60e51b8152600401610cc390614d08565b6019546000818152600a6020908152604080832080546001600160a01b0319166001600160a01b038816179055600982529091208551611f3f92870190613e2a565b50604080518082018252600381526208aa8960eb1b60208083019182526000858152600b909152929092209051611f769290613e2a565b506000818152600d6020908152604080832085905560099091529020600c8101805462ff0000191662010000179055620f4240600790910155601954611fbd906001614adb565b60195550505050565b3360009081526018602052604081205460ff16611ff55760405162461bcd60e51b8152600401610cc390614a7a565b60008481526009602052604090206007810154600690910154612019906001614adb565b11156120375760405162461bcd60e51b8152600401610cc390614af3565b6000848152600960205260409020600c015460ff168061207057506000848152600a60205260409020546001600160a01b038481169116145b61208c5760405162461bcd60e51b8152600401610cc390614b2a565b6000848152600960205260409020600c015462010000900460ff1615806120cc57506000848152600a60205260409020546001600160a01b038481169116145b6120e85760405162461bcd60e51b8152600401610cc390614b5f565b60006120f5868685613921565b9150505b949350505050565b3360009081526017602052604090205460ff166121305760405162461bcd60e51b8152600401610cc390614d08565b6000818152600960205260409020600c01548190610100900460ff16156121695760405162461bcd60e51b8152600401610cc390614a1c565b506000908152600960205260409020600c01805461ff001916610100179055565b6016546001600160a01b031633146121b45760405162461bcd60e51b8152600401610cc390614b8e565b6001600160a01b03166000908152601860205260409020805460ff19166001179055565b6000818152600a6020908152604080832054600d8352818420546009845282852060068101546007820154600c90920154600e875285882054600f885286892054600b90985295882080546001600160a01b039687169995989397949660ff909316959290941693606092919061224e906149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461227a906149e7565b80156122c75780601f1061229c576101008083540402835291602001916122c7565b820191906000526020600020905b8154815290600101906020018083116122aa57829003601f168201915b50505060009c8d525050600c6020526040909a2054989a9799969895979496939592946001600160a01b0390931692915050565b600082815260096020818152604080842085855290920190529020805460609190612325906149e7565b80601f0160208091040260200160405190810160405280929190818152602001828054612351906149e7565b801561239e5780601f106123735761010080835404028352916020019161239e565b820191906000526020600020905b81548152906001019060200180831161238157829003601f168201915b5050505050905092915050565b60608060608060606009600087815260200190815260200160002060000180546123d4906149e7565b80601f0160208091040260200160405190810160405280929190818152602001828054612400906149e7565b801561244d5780601f106124225761010080835404028352916020019161244d565b820191906000526020600020905b81548152906001019060200180831161243057829003601f168201915b5050506000898152600960205260409020600101805493985092612473925090506149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461249f906149e7565b80156124ec5780601f106124c1576101008083540402835291602001916124ec565b820191906000526020600020905b8154815290600101906020018083116124cf57829003601f168201915b5050506000898152600960205260409020600201805493975092612512925090506149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461253e906149e7565b801561258b5780601f106125605761010080835404028352916020019161258b565b820191906000526020600020905b81548152906001019060200180831161256e57829003601f168201915b50505060008981526009602052604090206003018054939650926125b1925090506149e7565b80601f01602080910402602001604051908101604052809291908181526020018280546125dd906149e7565b801561262a5780601f106125ff5761010080835404028352916020019161262a565b820191906000526020600020905b81548152906001019060200180831161260d57829003601f168201915b5050506000898152600960205260409020600401805493955092612650925090506149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461267c906149e7565b80156126c95780601f1061269e576101008083540402835291602001916126c9565b820191906000526020600020905b8154815290600101906020018083116126ac57829003601f168201915b5050505050905091939590929450565b82518451146127355760405162461bcd60e51b815260206004820152602260248201527f5f70726f6a6563744964206172726179206c656e677468206d6973736d617463604482015261341760f11b6064820152608401610cc3565b81518451146127845760405162461bcd60e51b815260206004820152601b60248201527a2fb13c9030b93930bc903632b733ba341036b4b9b9b6b0ba31b41760291b6044820152606401610cc3565b80518451146127d55760405162461bcd60e51b815260206004820152601d60248201527f5f68617368206172726179206c656e677468206d6973736d617463682e0000006044820152606401610cc3565b60005b8451811015610ea3576128518582815181106127f6576127f6614d6d565b602002602001015185838151811061281057612810614d6d565b602002602001015185848151811061282a5761282a614d6d565b602002602001015185858151811061284457612844614d6d565b6020026020010151611fc6565b508061285c81614d83565b9150506127d8565b606060018054610bd8906149e7565b6000828152600a602052604090205482906001600160a01b031633146128ab5760405162461bcd60e51b8152600401610cc390614ce3565b506000918252600d602052604090912055565b6000818152600a602052604090205481906001600160a01b031633146128f65760405162461bcd60e51b8152600401610cc390614ce3565b506000908152600960205260409020600c01805462ff0000198116620100009182900460ff1615909102179055565b6129303383836139f3565b5050565b6000828152600a602052604090205482906001600160a01b0316331461296c5760405162461bcd60e51b8152600401610cc390614ce3565b600083815260096020908152604090912083516115e292600290920191850190613e2a565b6000828152600960205260409020600c01548290610100900460ff16156129ca5760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054839060ff1680612a0057506000818152600a60205260409020546001600160a01b031633145b612a1c5760405162461bcd60e51b8152600401610cc390614a46565b6000848152600960208181526040808420600a8101548552909201815291208451612a4992860190613e2a565b506000848152600960205260409020600a0154612a67906001614adb565b600094855260096020526040909420600a0193909355505050565b6000828152600960205260409020600c015482906301000000900460ff1615612abd5760405162461bcd60e51b8152600401610cc390614bb2565b33600090815260176020526040902054839060ff1680612af357506000818152600a60205260409020546001600160a01b031633145b612b0f5760405162461bcd60e51b8152600401610cc390614a46565b6000848152600960205260409020600c0154600160201b900462ffffff16808410612b4c5760405162461bcd60e51b8152600401610cc390614c00565b6000612b59600183614d9e565b600087815260096020908152604080832062ffffff85168452600d0190915280822088835291208154929350909181908390612b94906149e7565b612b9f929190613f22565b50600182810154828201805460ff90921692909160ff1916908381811115612bc957612bc9614376565b02179055505050600086815260096020908152604080832062ffffff85168452600d01909152812090612bfc8282613f9d565b50600101805460ff19169055600086815260096020526040808220600c01805462ffffff60201b1916600160201b62ffffff86160217905551869188917fa2290757ebb75dea327ace340daae74c1ac76aca04f6fd163fbf5b87e6d707599190a3505050505050565b6000838152600960205260409020600c01548390610100900460ff1615612c9e5760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054849060ff1680612cd457506000818152600a60205260409020546001600160a01b031633145b612cf05760405162461bcd60e51b8152600401610cc390614a46565b6000858152600960205260409020600a01548410612d485760405162461bcd60e51b81526020600482015260156024820152747363726970744964206f7574206f662072616e676560581b6044820152606401610cc3565b6000858152600960208181526040808420888552909201815291208451612d7192860190613e2a565b505050505050565b6000828152600960205260409020600c01548290610100900460ff1615612db25760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054839060ff1680612de857506000818152600a60205260409020546001600160a01b031633145b612e045760405162461bcd60e51b8152600401610cc390614a46565b60008481526009602090815260409091208451610ea392600190920191860190613e2a565b60088054611232906149e7565b612e4033836136c3565b612e5c5760405162461bcd60e51b8152600401610cc390614c92565b6115e284848484613abe565b33600090815260176020526040902054819060ff1680612e9e57506000818152600a60205260409020546001600160a01b031633145b612eba5760405162461bcd60e51b8152600401610cc390614a46565b6000828152600960205260409020600c015482906301000000900460ff1615612ef55760405162461bcd60e51b8152600401610cc390614bb2565b600083815260096020526040808220600c01805463ff000000191663010000001790555184917fcbd4f9053ca1f820efad7731ae6c938613bfef183ee6f03f61cc8d4ab583f5dc91a2505050565b6000828152600a602052604090205482906001600160a01b03163314612f7b5760405162461bcd60e51b8152600401610cc390614ce3565b6064821115612f9c5760405162461bcd60e51b8152600401610cc390614dc2565b5060009182526010602052604090912055565b6000828152600960205260409020600c01548290610100900460ff1615612fe85760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054839060ff168061301e57506000818152600a60205260409020546001600160a01b031633145b61303a5760405162461bcd60e51b8152600401610cc390614a46565b60008481526009602090815260409091208451610ea392600890920191860190613e2a565b60608161306b81613499565b6130b15760405162461bcd60e51b8152602060048201526017602482015276151bdad95b88125108191bd95cc81b9bdd08195e1a5cdd604a1b6044820152606401610cc3565b6000838152601360209081526040808320548352600990915290206005016130d884613af1565b6040516020016130e9929190614e03565b60405160208183030381529060405291505b50919050565b3360009081526017602052604090205460ff166131305760405162461bcd60e51b8152600401610cc390614d08565b6000908152600960205260409020600c01805460ff19811660ff90911615179055565b6000838152600a602052604090205483906001600160a01b0316331461318b5760405162461bcd60e51b8152600401610cc390614ce3565b6000848152600b6020908152604090912084516131aa92860190613e2a565b50506000928352600c602052604090922080546001600160a01b0319166001600160a01b039093169290921790915550565b3360009081526017602052604090205460ff1661320b5760405162461bcd60e51b8152600401610cc390614d08565b61321760078383613eae565b5060006118d1565b6000818152600960205260409020600c01548190610100900460ff16156132585760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054829060ff168061328e57506000818152600a60205260409020546001600160a01b031633145b6132aa5760405162461bcd60e51b8152600401610cc390614a46565b6000838152600960205260409020600a01546133085760405162461bcd60e51b815260206004820152601e60248201527f746865726520617265206e6f207363726970747320746f2072656d6f766500006044820152606401610cc3565b60008381526009602081905260408220600a8101549101919061332d90600190614ea1565b815260200190815260200160002060006133479190613f9d565b6000838152600960205260409020600a015461336590600190614ea1565b600093845260096020526040909320600a01929092555050565b6000838152600a602052604090205483906001600160a01b031633146133b75760405162461bcd60e51b8152600401610cc390614ce3565b60648211156133d85760405162461bcd60e51b8152600401610cc390614dc2565b506000928352600e6020908152604080852080546001600160a01b0319166001600160a01b039590951694909417909355600f9052912055565b6016546001600160a01b0316331461343c5760405162461bcd60e51b8152600401610cc390614b8e565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60078054611232906149e7565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906134eb8261190e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600960205260408120600601548190613545620f424085614eb8565b61354f9190614adb565b60008481526009602052604090206006015490915061356f906001614adb565b60008481526009602052604081206006018290559043613590600182614ea1565b40600660009054906101000a90046001600160a01b03166001600160a01b031663990c8f796040518163ffffffff1660e01b815260040160206040518083038186803b1580156135df57600080fd5b505afa1580156135f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136179190614ed7565b6040805160208101959095528401929092526060830152608082015260a00160408051601f1981840301815291815281516020928301206000858152601484528281208290558181526015909352912083905590506136768583613bee565b60008281526013602052604080822086905551859184916001600160a01b038916917f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f91a4509392505050565b60006136ce82613499565b61372f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610cc3565b600061373a8361190e565b9050806001600160a01b0316846001600160a01b031614806137755750836001600160a01b031661376a84610c5b565b6001600160a01b0316145b806120f957506120f9818561345e565b826001600160a01b03166137988261190e565b6001600160a01b0316146137fc5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610cc3565b6001600160a01b03821661385e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610cc3565b6138696000826134b6565b6001600160a01b0383166000908152600360205260408120805460019290613892908490614ea1565b90915550506001600160a01b03821660009081526003602052604081208054600192906138c0908490614adb565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000828152600960205260408120600601548190613942620f424086614eb8565b61394c9190614adb565b60008581526009602052604090206006015490915061396c906001614adb565b6000858152600960209081526040808320600601939093558382526014815282822086905585825260159052208190556139a68582613bee565b60008181526013602052604080822086905551859183916001600160a01b038916917f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f91a4949350505050565b816001600160a01b0316836001600160a01b03161415613a515760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610cc3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613ac9848484613785565b613ad584848484613d20565b6115e25760405162461bcd60e51b8152600401610cc390614ef0565b606081613b155750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613b3f5780613b2981614d83565b9150613b389050600a83614f58565b9150613b19565b6000816001600160401b03811115613b5957613b596140ee565b6040519080825280601f01601f191660200182016040528015613b83576020820181803683370190505b5090505b84156120f957613b98600183614ea1565b9150613ba5600a86614f6c565b613bb0906030614adb565b60f81b818381518110613bc557613bc5614d6d565b60200101906001600160f81b031916908160001a905350613be7600a86614f58565b9450613b87565b6001600160a01b038216613c445760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cc3565b613c4d81613499565b15613c995760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b6044820152606401610cc3565b6001600160a01b0382166000908152600360205260408120805460019290613cc2908490614adb565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15613e2257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613d64903390899088908890600401614f80565b602060405180830381600087803b158015613d7e57600080fd5b505af1925050508015613dae575060408051601f3d908101601f19168201909252613dab91810190614fbd565b60015b613e08573d808015613ddc576040519150601f19603f3d011682016040523d82523d6000602084013e613de1565b606091505b508051613e005760405162461bcd60e51b8152600401610cc390614ef0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506120f9565b5060016120f9565b828054613e36906149e7565b90600052602060002090601f016020900481019282613e585760008555613e9e565b82601f10613e7157805160ff1916838001178555613e9e565b82800160010185558215613e9e579182015b82811115613e9e578251825591602001919060010190613e83565b50613eaa929150613fda565b5090565b828054613eba906149e7565b90600052602060002090601f016020900481019282613edc5760008555613e9e565b82601f10613ef55782800160ff19823516178555613e9e565b82800160010185558215613e9e579182015b82811115613e9e578235825591602001919060010190613f07565b828054613f2e906149e7565b90600052602060002090601f016020900481019282613f505760008555613e9e565b82601f10613f615780548555613e9e565b82800160010185558215613e9e57600052602060002091601f016020900482015b82811115613e9e578254825591600101919060010190613f82565b508054613fa9906149e7565b6000825580601f10613fb9575050565b601f016020900490600052602060002090810190613fd79190613fda565b50565b5b80821115613eaa5760008155600101613fdb565b6001600160e01b031981168114613fd757600080fd5b60006020828403121561401757600080fd5b813561402281613fef565b9392505050565b60005b8381101561404457818101518382015260200161402c565b838111156115e25750506000910152565b6000815180845261406d816020860160208601614029565b601f01601f19169290920160200192915050565b6020815260006140226020830184614055565b6000602082840312156140a657600080fd5b5035919050565b6001600160a01b0381168114613fd757600080fd5b600080604083850312156140d557600080fd5b82356140e0816140ad565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561412c5761412c6140ee565b604052919050565b60006001600160401b0383111561414d5761414d6140ee565b614160601f8401601f1916602001614104565b905082815283838301111561417457600080fd5b828260208301376000602084830101529392505050565b600082601f83011261419c57600080fd5b61402283833560208501614134565b600080604083850312156141be57600080fd5b8235915060208301356001600160401b038111156141db57600080fd5b6141e78582860161418b565b9150509250929050565b60008060006060848603121561420657600080fd5b8335614211816140ad565b9250602084013591506040840135614228816140ad565b809150509250925092565b60006020828403121561424557600080fd5b8135614022816140ad565b60008083601f84011261426257600080fd5b5081356001600160401b0381111561427957600080fd5b60208301915083602082850101111561429157600080fd5b9250929050565b8035600281106142a757600080fd5b919050565b6000806000806000608086880312156142c457600080fd5b853594506020860135935060408601356001600160401b038111156142e857600080fd5b6142f488828901614250565b9094509250614307905060608701614298565b90509295509295909350565b60008060006060848603121561432857600080fd5b8335614333816140ad565b92506020840135614343816140ad565b929592945050506040919091013590565b6000806040838503121561436757600080fd5b50508035926020909101359150565b634e487b7160e01b600052602160045260246000fd5b600281106143aa57634e487b7160e01b600052602160045260246000fd5b9052565b6020815260008251604060208401526143ca6060840182614055565b905060208401516143de604085018261438c565b509392505050565b60a0815260006143f960a0830188614055565b86602084015282810360408401526144118187614055565b941515606084015250509015156080909101529392505050565b6000806020838503121561443e57600080fd5b82356001600160401b0381111561445457600080fd5b61446085828601614250565b90969095509350505050565b6000806000806060858703121561448257600080fd5b8435935060208501356001600160401b0381111561449f57600080fd5b6144ab87828801614250565b90945092506144be905060408601614298565b905092959194509250565b600080604083850312156144dc57600080fd5b8235915060208301356144ee816140ad565b809150509250929050565b60008060006060848603121561450e57600080fd5b83356001600160401b0381111561452457600080fd5b6145308682870161418b565b9350506020840135614343816140ad565b6000806000806080858703121561455757600080fd5b8435614562816140ad565b9350602085013592506040850135614579816140ad565b9396929550929360600135925050565b600061012060018060a01b03808d1684528b60208501528a6040850152896060850152881515608085015280881660a08501528660c08501528160e08501526145d482850187614055565b925080851661010085015250509a9950505050505050505050565b60a08152600061460260a0830188614055565b82810360208401526146148188614055565b905082810360408401526146288187614055565b9050828103606084015261463c8186614055565b905082810360808401526146508185614055565b98975050505050505050565b60006001600160401b03821115614675576146756140ee565b5060051b60200190565b600082601f83011261469057600080fd5b813560206146a56146a08361465c565b614104565b82815260059290921b840181019181810190868411156146c457600080fd5b8286015b848110156146e85780356146db816140ad565b83529183019183016146c8565b509695505050505050565b600082601f83011261470457600080fd5b813560206147146146a08361465c565b82815260059290921b8401810191818101908684111561473357600080fd5b8286015b848110156146e85780358352918301918301614737565b6000806000806080858703121561476457600080fd5b84356001600160401b038082111561477b57600080fd5b6147878883890161467f565b955060209150818701358181111561479e57600080fd5b8701601f810189136147af57600080fd5b80356147bd6146a08261465c565b81815260059190911b8201840190848101908b8311156147dc57600080fd5b928501925b828410156147fa578335825292850192908501906147e1565b9750505050604087013591508082111561481357600080fd5b61481f8883890161467f565b9350606087013591508082111561483557600080fd5b50614842878288016146f3565b91505092959194509250565b6000806040838503121561486157600080fd5b823561486c816140ad565b9150602083013580151581146144ee57600080fd5b60008060006060848603121561489657600080fd5b833592506020840135915060408401356001600160401b038111156148ba57600080fd5b6148c68682870161418b565b9150509250925092565b600080600080608085870312156148e657600080fd5b84356148f1816140ad565b93506020850135614901816140ad565b92506040850135915060608501356001600160401b0381111561492357600080fd5b8501601f8101871361493457600080fd5b61484287823560208401614134565b60008060006060848603121561495857600080fd5b8335925060208401356001600160401b0381111561497557600080fd5b6149818682870161418b565b9250506040840135614228816140ad565b6000806000606084860312156149a757600080fd5b833592506020840135614343816140ad565b600080604083850312156149cc57600080fd5b82356149d7816140ad565b915060208301356144ee816140ad565b600181811c908216806149fb57607f821691505b602082108114156130fb57634e487b7160e01b600052602260045260246000fd5b60208082526010908201526f13db9b1e481a59881d5b9b1bd8dad95960821b604082015260600190565b6020808252601a908201527913db9b1e48185c9d1a5cdd081bdc881dda1a5d195b1a5cdd195960321b604082015260600190565b6020808252602b908201527f4d757374206d696e742066726f6d2077686974656c6973746564206d696e746560408201526a391031b7b73a3930b1ba1760a91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115614aee57614aee614ac5565b500190565b6020808252601f908201527f4d757374206e6f7420657863656564206d617820696e766f636174696f6e7300604082015260600190565b6020808252818101527f50726f6a656374206d75737420657869737420616e6420626520616374697665604082015260600190565b602080825260159082015274283ab931b430b9b2b99030b932903830bab9b2b21760591b604082015260600190565b6020808252600a908201526927b7363c9030b236b4b760b11b604082015260600190565b6020808252602e908201527f50726f6a6563742065787465726e616c20617373657420646570656e64656e6360408201526d1a595cc8185c99481b1bd8dad95960921b606082015260800190565b602080825260189082015277417373657420696e646578206f7574206f662072616e676560401b604082015260600190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b606081526000614c6f606083018688614c32565b9050614c7e602083018561438c565b62ffffff8316604083015295945050505050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252600b908201526a13db9b1e48185c9d1a5cdd60aa1b604082015260600190565b60208082526010908201526f13db9b1e481dda1a5d195b1a5cdd195960821b604082015260600190565b6020815260006120f9602083018486614c32565b600062ffffff808316818516808303821115614d6457614d64614ac5565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b6000600019821415614d9757614d97614ac5565b5060010190565b600062ffffff83811690831681811015614dba57614dba614ac5565b039392505050565b6020808252600b908201526a4d6178206f66203130302560a81b604082015260600190565b60008151614df9818560208601614029565b9290920192915050565b600080845481600182811c915080831680614e1f57607f831692505b6020808410821415614e3f57634e487b7160e01b86526022600452602486fd5b818015614e535760018114614e6457614e91565b60ff19861689528489019650614e91565b60008b81526020902060005b86811015614e895781548b820152908501908301614e70565b505084890196505b505050505050610fd88185614de7565b600082821015614eb357614eb3614ac5565b500390565b6000816000190483118215151615614ed257614ed2614ac5565b500290565b600060208284031215614ee957600080fd5b5051919050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082614f6757614f67614f42565b500490565b600082614f7b57614f7b614f42565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614fb390830184614055565b9695505050505050565b600060208284031215614fcf57600080fd5b815161402281613fef56fea264697066735822122083ecd50c0a85953f0f3c2f9cbce71e8ee1366c74757a31e3a8b2cfaa3d297df964736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000088098f7438773182b703625c4128aff85fcffc4000000000000000000000000000000000000000000000000000000000000000f506c6f747461626c657320466c657800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009504c4f5453464c45580000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103c05760003560e01c80638c2c3622116101f7578063ba3c234511610116578063ba3c2345146109c6578063c34a03b5146109d9578063c6d73231146109ec578063c87b56dd146109ff578063cc74234b14610a12578063cfbf4d9714610a32578063d03c390c14610a45578063d195b36514610a58578063d50f513814610a6b578063d7b044b614610a7e578063db2ff86114610aa7578063e13208b414610aba578063e2f273bd14610acd578063e935b7b114610ae0578063e985e9c514610ae9578063ed8abfda14610afc578063f51f74a914610b1c578063f6cd39e314610b3c578063f70c0f0414610b44578063f851a44014610b6457600080fd5b80638c2c3622146107625780638c3c9cdd1461078a5780638dd91a561461079d57806393c12cc4146107c157806395d89b41146107d457806397dc86cf146107dc578063a11ec70a146107ef578063a22cb46514610802578063a3b2cca614610815578063a47d29cb14610828578063a65ff74c14610851578063acad0124146108d3578063ad0305ce146108e6578063ad28329014610909578063ad576c4514610938578063ae45ad981461094b578063b1656ba314610985578063b7b04fae14610998578063b7ba527d146109ab578063b88d4fde146109b357600080fd5b80633e48e848116102e35780633e48e848146105a05780633fef6c2a146105b357806342842e0e146105c6578063498dd0c1146105d95780634aa6d417146106025780634e1d64af146106265780635464c3091461064b578063621a1f741461065e5780636352211e1461067e57806366e462371461069157806369d14faf146106a45780636b6ec8a6146106b75780636c907b7f146106ca57806370a08231146106dd578063826fc391146106f0578063867f1a3b146107035780638763ad1e146107165780638b1623ee146107295780638ba8f14d1461073c5780638bddb0a61461074f57600080fd5b806301ffc9a7146103c557806306fdde03146103ed578063081812fc14610402578063095ea7b31461042d5780630d170673146104425780630d4d15131461045557806310154bad1461047657806310a9ef181461048957806311f5fdf11461049c5780631b689c0b146104af57806320927ec9146104cf57806323b872dd146104e257806325b75d68146104f55780632642c6b614610508578063291d9549146105285780632d9c02051461053b5780632e9eb74f1461054e57806336c7c12c14610557578063378599631461056a5780633af32abf1461057d575b600080fd5b6103d86103d3366004614005565b610b77565b60405190151581526020015b60405180910390f35b6103f5610bc9565b6040516103e49190614081565b610415610410366004614094565b610c5b565b6040516001600160a01b0390911681526020016103e4565b61044061043b3660046140c2565b610ce8565b005b6104406104503660046141ab565b610df9565b6104686104633660046141f1565b610eaa565b6040519081526020016103e4565b610440610484366004614233565b610fe1565b6104406104973660046142ac565b61102f565b6104406104aa366004614094565b6111ac565b6104686104bd366004614094565b60136020526000908152604090205481565b6103f56104dd366004614094565b611219565b6104406104f0366004614313565b6112b3565b6104406105033660046141ab565b6112e4565b61051b610516366004614354565b611394565b6040516103e491906143ae565b610440610536366004614233565b611495565b6103f5610549366004614094565b6114e0565b61046860125481565b600654610415906001600160a01b031681565b6104406105783660046141ab565b611585565b6103d861058b366004614233565b60176020526000908152604090205460ff1681565b6104406105ae3660046141ab565b6115e8565b6104406105c13660046141ab565b611645565b6104406105d4366004614313565b6116f5565b6104156105e7366004614094565b600c602052600090815260409020546001600160a01b031681565b610615610610366004614094565b611710565b6040516103e49594939291906143e6565b6103f560405180604001604052806006815260200165076322e302e360d41b81525081565b61044061065936600461442b565b611892565b61046861066c366004614094565b60146020526000908152604090205481565b61041561068c366004614094565b61190e565b61044061069f36600461446c565b611985565b6104406106b23660046144c9565b611b6d565b6104406106c5366004614233565b611bee565b6104406106d8366004614233565b611c3a565b6104686106eb366004614233565b611c8b565b6104406106fe366004614354565b611d12565b610440610711366004614233565b611e83565b6104406107243660046144f9565b611ece565b610468610737366004614541565b611fc6565b61044061074a366004614094565b612101565b61044061075d366004614233565b61218a565b610775610770366004614094565b6121d8565b6040516103e499989796959493929190614589565b6103f5610798366004614354565b6122fb565b6107b06107ab366004614094565b6123ab565b6040516103e49594939291906145ef565b6104406107cf36600461474e565b6126d9565b6103f5612864565b6104406107ea366004614354565b612873565b6104406107fd366004614094565b6128be565b61044061081036600461484e565b612925565b6104406108233660046141ab565b612934565b610415610836366004614094565b600a602052600090815260409020546001600160a01b031681565b6108a861085f366004614094565b6000908152601360209081526040808320548352600a825280832054600e835281842054600f845282852054601090945291909320546001600160a01b03938416949390911692565b604080516001600160a01b0395861681529490931660208501529183015260608201526080016103e4565b6104406108e13660046141ab565b612991565b6103d86108f4366004614233565b60186020526000908152604090205460ff1681565b610468610917366004614094565b6000908152600960205260409020600c0154600160201b900462ffffff1690565b610440610946366004614354565b612a82565b6103f56040518060400160405280601b81526020017a08ecadc82e4e86e646286dee4caac64be8a9c8e929c8abe8c988ab602b1b81525081565b610440610993366004614881565b612c65565b6104406109a63660046141ab565b612d79565b6103f5612e29565b6104406109c13660046148d0565b612e36565b6104406109d4366004614094565b612e68565b6104406109e7366004614354565b612f43565b6104406109fa3660046141ab565b612faf565b6103f5610a0d366004614094565b61305f565b610468610a20366004614094565b600f6020526000908152604090205481565b601154610415906001600160a01b031681565b610440610a53366004614094565b613101565b610440610a66366004614943565b613153565b610440610a7936600461442b565b6131dc565b610415610a8c366004614094565b600e602052600090815260409020546001600160a01b031681565b610440610ab5366004614094565b61321f565b610440610ac8366004614992565b61337f565b610440610adb366004614233565b613412565b61046860195481565b6103d8610af73660046149b9565b61345e565b610468610b0a366004614094565b60106020526000908152604090205481565b610468610b2a366004614094565b60156020526000908152604090205481565b6103f561348c565b610468610b52366004614094565b600d6020526000908152604090205481565b601654610415906001600160a01b031681565b60006001600160e01b031982166380ac58cd60e01b1480610ba857506001600160e01b03198216635b5e139f60e01b145b80610bc357506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610bd8906149e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610c04906149e7565b8015610c515780601f10610c2657610100808354040283529160200191610c51565b820191906000526020600020905b815481529060010190602001808311610c3457829003601f168201915b5050505050905090565b6000610c6682613499565b610ccc5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610cf38261190e565b9050806001600160a01b0316836001600160a01b03161415610d615760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610cc3565b336001600160a01b0382161480610d7d5750610d7d813361345e565b610dea5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610cc3565b610df483836134b6565b505050565b6000828152600960205260409020600c01548290610100900460ff1615610e325760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054839060ff1680610e6857506000818152600a60205260409020546001600160a01b031633145b610e845760405162461bcd60e51b8152600401610cc390614a46565b60008481526009602090815260409091208451610ea392860190613e2a565b5050505050565b3360009081526018602052604081205460ff16610ed95760405162461bcd60e51b8152600401610cc390614a7a565b60008381526009602052604090206007810154600690910154610efd906001614adb565b1115610f1b5760405162461bcd60e51b8152600401610cc390614af3565b6000838152600960205260409020600c015460ff1680610f5457506000838152600a60205260409020546001600160a01b038381169116145b610f705760405162461bcd60e51b8152600401610cc390614b2a565b6000838152600960205260409020600c015462010000900460ff161580610fb057506000838152600a60205260409020546001600160a01b038381169116145b610fcc5760405162461bcd60e51b8152600401610cc390614b5f565b6000610fd88585613524565b95945050505050565b6016546001600160a01b0316331461100b5760405162461bcd60e51b8152600401610cc390614b8e565b6001600160a01b03166000908152601760205260409020805460ff19166001179055565b6000858152600960205260409020600c015485906301000000900460ff161561106a5760405162461bcd60e51b8152600401610cc390614bb2565b33600090815260176020526040902054869060ff16806110a057506000818152600a60205260409020546001600160a01b031633145b6110bc5760405162461bcd60e51b8152600401610cc390614a46565b6000878152600960205260409020600c0154600160201b900462ffffff168087106110f95760405162461bcd60e51b8152600401610cc390614c00565b60008881526009602090815260408083208a8452600d019091529020611120908787613eae565b5060008881526009602090815260408083208a8452600d01909152902060019081018054869260ff1990911690838181111561115e5761115e614376565b021790555086887f1628bf0d5f04426de03959d1da1357d8210b3b99e35281256ab7e9bd55dae9498888888660405161119a9493929190614c5b565b60405180910390a35050505050505050565b6016546001600160a01b031633146111d65760405162461bcd60e51b8152600401610cc390614b8e565b60198111156112145760405162461bcd60e51b815260206004820152600a6024820152694d6178206f662032352560b01b6044820152606401610cc3565b601255565b600b6020526000908152604090208054611232906149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461125e906149e7565b80156112ab5780601f10611280576101008083540402835291602001916112ab565b820191906000526020600020905b81548152906001019060200180831161128e57829003601f168201915b505050505081565b6112bd33826136c3565b6112d95760405162461bcd60e51b8152600401610cc390614c92565b610df4838383613785565b6000828152600960205260409020600c01548290610100900460ff161561131d5760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054839060ff168061135357506000818152600a60205260409020546001600160a01b031633145b61136f5760405162461bcd60e51b8152600401610cc390614a46565b60008481526009602090815260409091208451610ea392600490920191860190613e2a565b604080518082018252606081526000602080830182905285825260098152838220858352600d01905282902082518084019093528054919291829082906113da906149e7565b80601f0160208091040260200160405190810160405280929190818152602001828054611406906149e7565b80156114535780601f1061142857610100808354040283529160200191611453565b820191906000526020600020905b81548152906001019060200180831161143657829003601f168201915b505050918352505060018281015460209092019160ff169081111561147a5761147a614376565b600181111561148b5761148b614376565b9052509392505050565b6016546001600160a01b031633146114bf5760405162461bcd60e51b8152600401610cc390614b8e565b6001600160a01b03166000908152601760205260409020805460ff19169055565b6000818152600960205260409020600501805460609190611500906149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461152c906149e7565b80156115795780601f1061154e57610100808354040283529160200191611579565b820191906000526020600020905b81548152906001019060200180831161155c57829003601f168201915b50505050509050919050565b6000828152600a602052604090205482906001600160a01b031633146115bd5760405162461bcd60e51b8152600401610cc390614ce3565b600083815260096020908152604090912083516115e292600390920191850190613e2a565b50505050565b6000828152600a602052604090205482906001600160a01b031633146116205760405162461bcd60e51b8152600401610cc390614ce3565b600083815260096020908152604090912083516115e292600590920191850190613e2a565b6000828152600960205260409020600c01548290610100900460ff161561167e5760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054839060ff16806116b457506000818152600a60205260409020546001600160a01b031633145b6116d05760405162461bcd60e51b8152600401610cc390614a46565b60008481526009602090815260409091208451610ea392600b90920191860190613e2a565b610df483838360405180602001604052806000815250612e36565b60606000606060008060096000878152602001908152602001600020600801805461173a906149e7565b80601f0160208091040260200160405190810160405280929190818152602001828054611766906149e7565b80156117b35780601f10611788576101008083540402835291602001916117b3565b820191906000526020600020905b81548152906001019060200180831161179657829003601f168201915b5050506000898152600960205260409020600a810154600b9091018054949950909750926117e3925090506149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461180f906149e7565b801561185c5780601f106118315761010080835404028352916020019161185c565b820191906000526020600020905b81548152906001019060200180831161183f57829003601f168201915b5050506000988952505060096020526040909620600c0154949693959460ff610100820481169562010000909204169350915050565b3360009081526017602052604090205460ff166118c15760405162461bcd60e51b8152600401610cc390614d08565b6118cd60088383613eae565b5060015b7f897675a9bb2e78c7082f6dd757f2db5e1d07724c1f2d46fea1da4e17e5061afd8383604051611902929190614d32565b60405180910390a25050565b6000818152600260205260408120546001600160a01b031680610bc35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610cc3565b6000848152600960205260409020600c015484906301000000900460ff16156119c05760405162461bcd60e51b8152600401610cc390614bb2565b33600090815260176020526040902054859060ff16806119f657506000818152600a60205260409020546001600160a01b031633145b611a125760405162461bcd60e51b8152600401610cc390614a46565b6000868152600960209081526040808320600c01548151601f8901849004909302830160609081018352918301888152600160201b90910462ffffff169392918291908a908a9081908501838280828437600092019190915250505090825250602001866001811115611a8757611a87614376565b9052600089815260096020908152604080832062ffffff87168452600d0182529091208251805193945084939192611ac492849290910190613e2a565b50602082015160018083018054909160ff19909116908381811115611aeb57611aeb614376565b0217905550611aff91508390506001614d46565b6000898152600960205260409020600c01805462ffffff60201b1916600160201b62ffffff938416021790558216887f1628bf0d5f04426de03959d1da1357d8210b3b99e35281256ab7e9bd55dae949898989611b5d886001614d46565b60405161119a9493929190614c5b565b33600090815260176020526040902054829060ff1680611ba357506000818152600a60205260409020546001600160a01b031633145b611bbf5760405162461bcd60e51b8152600401610cc390614a46565b506000918252600a602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b6016546001600160a01b03163314611c185760405162461bcd60e51b8152600401610cc390614b8e565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526017602052604090205460ff16611c695760405162461bcd60e51b8152600401610cc390614d08565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216611cf65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610cc3565b506001600160a01b031660009081526003602052604090205490565b6000828152600a602052604090205482906001600160a01b03163314611d4a5760405162461bcd60e51b8152600401610cc390614ce3565b6000838152600960205260409020600c0154610100900460ff161580611d80575060008381526009602052604090206007015482105b611d9c5760405162461bcd60e51b8152600401610cc390614a1c565b6000838152600960205260409020600601548211611e225760405162461bcd60e51b815260206004820152603d60248201527f596f75206d75737420736574206d617820696e766f636174696f6e732067726560448201527f61746572207468616e2063757272656e7420696e766f636174696f6e730000006064820152608401610cc3565b620f4240821115611e6d5760405162461bcd60e51b8152602060048201526015602482015274043616e6e6f7420657863656564203130303030303605c1b6044820152606401610cc3565b5060009182526009602052604090912060070155565b6016546001600160a01b03163314611ead5760405162461bcd60e51b8152600401610cc390614b8e565b6001600160a01b03166000908152601860205260409020805460ff19169055565b3360009081526017602052604090205460ff16611efd5760405162461bcd60e51b8152600401610cc390614d08565b6019546000818152600a6020908152604080832080546001600160a01b0319166001600160a01b038816179055600982529091208551611f3f92870190613e2a565b50604080518082018252600381526208aa8960eb1b60208083019182526000858152600b909152929092209051611f769290613e2a565b506000818152600d6020908152604080832085905560099091529020600c8101805462ff0000191662010000179055620f4240600790910155601954611fbd906001614adb565b60195550505050565b3360009081526018602052604081205460ff16611ff55760405162461bcd60e51b8152600401610cc390614a7a565b60008481526009602052604090206007810154600690910154612019906001614adb565b11156120375760405162461bcd60e51b8152600401610cc390614af3565b6000848152600960205260409020600c015460ff168061207057506000848152600a60205260409020546001600160a01b038481169116145b61208c5760405162461bcd60e51b8152600401610cc390614b2a565b6000848152600960205260409020600c015462010000900460ff1615806120cc57506000848152600a60205260409020546001600160a01b038481169116145b6120e85760405162461bcd60e51b8152600401610cc390614b5f565b60006120f5868685613921565b9150505b949350505050565b3360009081526017602052604090205460ff166121305760405162461bcd60e51b8152600401610cc390614d08565b6000818152600960205260409020600c01548190610100900460ff16156121695760405162461bcd60e51b8152600401610cc390614a1c565b506000908152600960205260409020600c01805461ff001916610100179055565b6016546001600160a01b031633146121b45760405162461bcd60e51b8152600401610cc390614b8e565b6001600160a01b03166000908152601860205260409020805460ff19166001179055565b6000818152600a6020908152604080832054600d8352818420546009845282852060068101546007820154600c90920154600e875285882054600f885286892054600b90985295882080546001600160a01b039687169995989397949660ff909316959290941693606092919061224e906149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461227a906149e7565b80156122c75780601f1061229c576101008083540402835291602001916122c7565b820191906000526020600020905b8154815290600101906020018083116122aa57829003601f168201915b50505060009c8d525050600c6020526040909a2054989a9799969895979496939592946001600160a01b0390931692915050565b600082815260096020818152604080842085855290920190529020805460609190612325906149e7565b80601f0160208091040260200160405190810160405280929190818152602001828054612351906149e7565b801561239e5780601f106123735761010080835404028352916020019161239e565b820191906000526020600020905b81548152906001019060200180831161238157829003601f168201915b5050505050905092915050565b60608060608060606009600087815260200190815260200160002060000180546123d4906149e7565b80601f0160208091040260200160405190810160405280929190818152602001828054612400906149e7565b801561244d5780601f106124225761010080835404028352916020019161244d565b820191906000526020600020905b81548152906001019060200180831161243057829003601f168201915b5050506000898152600960205260409020600101805493985092612473925090506149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461249f906149e7565b80156124ec5780601f106124c1576101008083540402835291602001916124ec565b820191906000526020600020905b8154815290600101906020018083116124cf57829003601f168201915b5050506000898152600960205260409020600201805493975092612512925090506149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461253e906149e7565b801561258b5780601f106125605761010080835404028352916020019161258b565b820191906000526020600020905b81548152906001019060200180831161256e57829003601f168201915b50505060008981526009602052604090206003018054939650926125b1925090506149e7565b80601f01602080910402602001604051908101604052809291908181526020018280546125dd906149e7565b801561262a5780601f106125ff5761010080835404028352916020019161262a565b820191906000526020600020905b81548152906001019060200180831161260d57829003601f168201915b5050506000898152600960205260409020600401805493955092612650925090506149e7565b80601f016020809104026020016040519081016040528092919081815260200182805461267c906149e7565b80156126c95780601f1061269e576101008083540402835291602001916126c9565b820191906000526020600020905b8154815290600101906020018083116126ac57829003601f168201915b5050505050905091939590929450565b82518451146127355760405162461bcd60e51b815260206004820152602260248201527f5f70726f6a6563744964206172726179206c656e677468206d6973736d617463604482015261341760f11b6064820152608401610cc3565b81518451146127845760405162461bcd60e51b815260206004820152601b60248201527a2fb13c9030b93930bc903632b733ba341036b4b9b9b6b0ba31b41760291b6044820152606401610cc3565b80518451146127d55760405162461bcd60e51b815260206004820152601d60248201527f5f68617368206172726179206c656e677468206d6973736d617463682e0000006044820152606401610cc3565b60005b8451811015610ea3576128518582815181106127f6576127f6614d6d565b602002602001015185838151811061281057612810614d6d565b602002602001015185848151811061282a5761282a614d6d565b602002602001015185858151811061284457612844614d6d565b6020026020010151611fc6565b508061285c81614d83565b9150506127d8565b606060018054610bd8906149e7565b6000828152600a602052604090205482906001600160a01b031633146128ab5760405162461bcd60e51b8152600401610cc390614ce3565b506000918252600d602052604090912055565b6000818152600a602052604090205481906001600160a01b031633146128f65760405162461bcd60e51b8152600401610cc390614ce3565b506000908152600960205260409020600c01805462ff0000198116620100009182900460ff1615909102179055565b6129303383836139f3565b5050565b6000828152600a602052604090205482906001600160a01b0316331461296c5760405162461bcd60e51b8152600401610cc390614ce3565b600083815260096020908152604090912083516115e292600290920191850190613e2a565b6000828152600960205260409020600c01548290610100900460ff16156129ca5760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054839060ff1680612a0057506000818152600a60205260409020546001600160a01b031633145b612a1c5760405162461bcd60e51b8152600401610cc390614a46565b6000848152600960208181526040808420600a8101548552909201815291208451612a4992860190613e2a565b506000848152600960205260409020600a0154612a67906001614adb565b600094855260096020526040909420600a0193909355505050565b6000828152600960205260409020600c015482906301000000900460ff1615612abd5760405162461bcd60e51b8152600401610cc390614bb2565b33600090815260176020526040902054839060ff1680612af357506000818152600a60205260409020546001600160a01b031633145b612b0f5760405162461bcd60e51b8152600401610cc390614a46565b6000848152600960205260409020600c0154600160201b900462ffffff16808410612b4c5760405162461bcd60e51b8152600401610cc390614c00565b6000612b59600183614d9e565b600087815260096020908152604080832062ffffff85168452600d0190915280822088835291208154929350909181908390612b94906149e7565b612b9f929190613f22565b50600182810154828201805460ff90921692909160ff1916908381811115612bc957612bc9614376565b02179055505050600086815260096020908152604080832062ffffff85168452600d01909152812090612bfc8282613f9d565b50600101805460ff19169055600086815260096020526040808220600c01805462ffffff60201b1916600160201b62ffffff86160217905551869188917fa2290757ebb75dea327ace340daae74c1ac76aca04f6fd163fbf5b87e6d707599190a3505050505050565b6000838152600960205260409020600c01548390610100900460ff1615612c9e5760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054849060ff1680612cd457506000818152600a60205260409020546001600160a01b031633145b612cf05760405162461bcd60e51b8152600401610cc390614a46565b6000858152600960205260409020600a01548410612d485760405162461bcd60e51b81526020600482015260156024820152747363726970744964206f7574206f662072616e676560581b6044820152606401610cc3565b6000858152600960208181526040808420888552909201815291208451612d7192860190613e2a565b505050505050565b6000828152600960205260409020600c01548290610100900460ff1615612db25760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054839060ff1680612de857506000818152600a60205260409020546001600160a01b031633145b612e045760405162461bcd60e51b8152600401610cc390614a46565b60008481526009602090815260409091208451610ea392600190920191860190613e2a565b60088054611232906149e7565b612e4033836136c3565b612e5c5760405162461bcd60e51b8152600401610cc390614c92565b6115e284848484613abe565b33600090815260176020526040902054819060ff1680612e9e57506000818152600a60205260409020546001600160a01b031633145b612eba5760405162461bcd60e51b8152600401610cc390614a46565b6000828152600960205260409020600c015482906301000000900460ff1615612ef55760405162461bcd60e51b8152600401610cc390614bb2565b600083815260096020526040808220600c01805463ff000000191663010000001790555184917fcbd4f9053ca1f820efad7731ae6c938613bfef183ee6f03f61cc8d4ab583f5dc91a2505050565b6000828152600a602052604090205482906001600160a01b03163314612f7b5760405162461bcd60e51b8152600401610cc390614ce3565b6064821115612f9c5760405162461bcd60e51b8152600401610cc390614dc2565b5060009182526010602052604090912055565b6000828152600960205260409020600c01548290610100900460ff1615612fe85760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054839060ff168061301e57506000818152600a60205260409020546001600160a01b031633145b61303a5760405162461bcd60e51b8152600401610cc390614a46565b60008481526009602090815260409091208451610ea392600890920191860190613e2a565b60608161306b81613499565b6130b15760405162461bcd60e51b8152602060048201526017602482015276151bdad95b88125108191bd95cc81b9bdd08195e1a5cdd604a1b6044820152606401610cc3565b6000838152601360209081526040808320548352600990915290206005016130d884613af1565b6040516020016130e9929190614e03565b60405160208183030381529060405291505b50919050565b3360009081526017602052604090205460ff166131305760405162461bcd60e51b8152600401610cc390614d08565b6000908152600960205260409020600c01805460ff19811660ff90911615179055565b6000838152600a602052604090205483906001600160a01b0316331461318b5760405162461bcd60e51b8152600401610cc390614ce3565b6000848152600b6020908152604090912084516131aa92860190613e2a565b50506000928352600c602052604090922080546001600160a01b0319166001600160a01b039093169290921790915550565b3360009081526017602052604090205460ff1661320b5760405162461bcd60e51b8152600401610cc390614d08565b61321760078383613eae565b5060006118d1565b6000818152600960205260409020600c01548190610100900460ff16156132585760405162461bcd60e51b8152600401610cc390614a1c565b33600090815260176020526040902054829060ff168061328e57506000818152600a60205260409020546001600160a01b031633145b6132aa5760405162461bcd60e51b8152600401610cc390614a46565b6000838152600960205260409020600a01546133085760405162461bcd60e51b815260206004820152601e60248201527f746865726520617265206e6f207363726970747320746f2072656d6f766500006044820152606401610cc3565b60008381526009602081905260408220600a8101549101919061332d90600190614ea1565b815260200190815260200160002060006133479190613f9d565b6000838152600960205260409020600a015461336590600190614ea1565b600093845260096020526040909320600a01929092555050565b6000838152600a602052604090205483906001600160a01b031633146133b75760405162461bcd60e51b8152600401610cc390614ce3565b60648211156133d85760405162461bcd60e51b8152600401610cc390614dc2565b506000928352600e6020908152604080852080546001600160a01b0319166001600160a01b039590951694909417909355600f9052912055565b6016546001600160a01b0316331461343c5760405162461bcd60e51b8152600401610cc390614b8e565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60078054611232906149e7565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906134eb8261190e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600960205260408120600601548190613545620f424085614eb8565b61354f9190614adb565b60008481526009602052604090206006015490915061356f906001614adb565b60008481526009602052604081206006018290559043613590600182614ea1565b40600660009054906101000a90046001600160a01b03166001600160a01b031663990c8f796040518163ffffffff1660e01b815260040160206040518083038186803b1580156135df57600080fd5b505afa1580156135f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136179190614ed7565b6040805160208101959095528401929092526060830152608082015260a00160408051601f1981840301815291815281516020928301206000858152601484528281208290558181526015909352912083905590506136768583613bee565b60008281526013602052604080822086905551859184916001600160a01b038916917f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f91a4509392505050565b60006136ce82613499565b61372f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610cc3565b600061373a8361190e565b9050806001600160a01b0316846001600160a01b031614806137755750836001600160a01b031661376a84610c5b565b6001600160a01b0316145b806120f957506120f9818561345e565b826001600160a01b03166137988261190e565b6001600160a01b0316146137fc5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610cc3565b6001600160a01b03821661385e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610cc3565b6138696000826134b6565b6001600160a01b0383166000908152600360205260408120805460019290613892908490614ea1565b90915550506001600160a01b03821660009081526003602052604081208054600192906138c0908490614adb565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000828152600960205260408120600601548190613942620f424086614eb8565b61394c9190614adb565b60008581526009602052604090206006015490915061396c906001614adb565b6000858152600960209081526040808320600601939093558382526014815282822086905585825260159052208190556139a68582613bee565b60008181526013602052604080822086905551859183916001600160a01b038916917f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f91a4949350505050565b816001600160a01b0316836001600160a01b03161415613a515760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610cc3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613ac9848484613785565b613ad584848484613d20565b6115e25760405162461bcd60e51b8152600401610cc390614ef0565b606081613b155750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613b3f5780613b2981614d83565b9150613b389050600a83614f58565b9150613b19565b6000816001600160401b03811115613b5957613b596140ee565b6040519080825280601f01601f191660200182016040528015613b83576020820181803683370190505b5090505b84156120f957613b98600183614ea1565b9150613ba5600a86614f6c565b613bb0906030614adb565b60f81b818381518110613bc557613bc5614d6d565b60200101906001600160f81b031916908160001a905350613be7600a86614f58565b9450613b87565b6001600160a01b038216613c445760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cc3565b613c4d81613499565b15613c995760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b6044820152606401610cc3565b6001600160a01b0382166000908152600360205260408120805460019290613cc2908490614adb565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15613e2257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613d64903390899088908890600401614f80565b602060405180830381600087803b158015613d7e57600080fd5b505af1925050508015613dae575060408051601f3d908101601f19168201909252613dab91810190614fbd565b60015b613e08573d808015613ddc576040519150601f19603f3d011682016040523d82523d6000602084013e613de1565b606091505b508051613e005760405162461bcd60e51b8152600401610cc390614ef0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506120f9565b5060016120f9565b828054613e36906149e7565b90600052602060002090601f016020900481019282613e585760008555613e9e565b82601f10613e7157805160ff1916838001178555613e9e565b82800160010185558215613e9e579182015b82811115613e9e578251825591602001919060010190613e83565b50613eaa929150613fda565b5090565b828054613eba906149e7565b90600052602060002090601f016020900481019282613edc5760008555613e9e565b82601f10613ef55782800160ff19823516178555613e9e565b82800160010185558215613e9e579182015b82811115613e9e578235825591602001919060010190613f07565b828054613f2e906149e7565b90600052602060002090601f016020900481019282613f505760008555613e9e565b82601f10613f615780548555613e9e565b82800160010185558215613e9e57600052602060002091601f016020900482015b82811115613e9e578254825591600101919060010190613f82565b508054613fa9906149e7565b6000825580601f10613fb9575050565b601f016020900490600052602060002090810190613fd79190613fda565b50565b5b80821115613eaa5760008155600101613fdb565b6001600160e01b031981168114613fd757600080fd5b60006020828403121561401757600080fd5b813561402281613fef565b9392505050565b60005b8381101561404457818101518382015260200161402c565b838111156115e25750506000910152565b6000815180845261406d816020860160208601614029565b601f01601f19169290920160200192915050565b6020815260006140226020830184614055565b6000602082840312156140a657600080fd5b5035919050565b6001600160a01b0381168114613fd757600080fd5b600080604083850312156140d557600080fd5b82356140e0816140ad565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561412c5761412c6140ee565b604052919050565b60006001600160401b0383111561414d5761414d6140ee565b614160601f8401601f1916602001614104565b905082815283838301111561417457600080fd5b828260208301376000602084830101529392505050565b600082601f83011261419c57600080fd5b61402283833560208501614134565b600080604083850312156141be57600080fd5b8235915060208301356001600160401b038111156141db57600080fd5b6141e78582860161418b565b9150509250929050565b60008060006060848603121561420657600080fd5b8335614211816140ad565b9250602084013591506040840135614228816140ad565b809150509250925092565b60006020828403121561424557600080fd5b8135614022816140ad565b60008083601f84011261426257600080fd5b5081356001600160401b0381111561427957600080fd5b60208301915083602082850101111561429157600080fd5b9250929050565b8035600281106142a757600080fd5b919050565b6000806000806000608086880312156142c457600080fd5b853594506020860135935060408601356001600160401b038111156142e857600080fd5b6142f488828901614250565b9094509250614307905060608701614298565b90509295509295909350565b60008060006060848603121561432857600080fd5b8335614333816140ad565b92506020840135614343816140ad565b929592945050506040919091013590565b6000806040838503121561436757600080fd5b50508035926020909101359150565b634e487b7160e01b600052602160045260246000fd5b600281106143aa57634e487b7160e01b600052602160045260246000fd5b9052565b6020815260008251604060208401526143ca6060840182614055565b905060208401516143de604085018261438c565b509392505050565b60a0815260006143f960a0830188614055565b86602084015282810360408401526144118187614055565b941515606084015250509015156080909101529392505050565b6000806020838503121561443e57600080fd5b82356001600160401b0381111561445457600080fd5b61446085828601614250565b90969095509350505050565b6000806000806060858703121561448257600080fd5b8435935060208501356001600160401b0381111561449f57600080fd5b6144ab87828801614250565b90945092506144be905060408601614298565b905092959194509250565b600080604083850312156144dc57600080fd5b8235915060208301356144ee816140ad565b809150509250929050565b60008060006060848603121561450e57600080fd5b83356001600160401b0381111561452457600080fd5b6145308682870161418b565b9350506020840135614343816140ad565b6000806000806080858703121561455757600080fd5b8435614562816140ad565b9350602085013592506040850135614579816140ad565b9396929550929360600135925050565b600061012060018060a01b03808d1684528b60208501528a6040850152896060850152881515608085015280881660a08501528660c08501528160e08501526145d482850187614055565b925080851661010085015250509a9950505050505050505050565b60a08152600061460260a0830188614055565b82810360208401526146148188614055565b905082810360408401526146288187614055565b9050828103606084015261463c8186614055565b905082810360808401526146508185614055565b98975050505050505050565b60006001600160401b03821115614675576146756140ee565b5060051b60200190565b600082601f83011261469057600080fd5b813560206146a56146a08361465c565b614104565b82815260059290921b840181019181810190868411156146c457600080fd5b8286015b848110156146e85780356146db816140ad565b83529183019183016146c8565b509695505050505050565b600082601f83011261470457600080fd5b813560206147146146a08361465c565b82815260059290921b8401810191818101908684111561473357600080fd5b8286015b848110156146e85780358352918301918301614737565b6000806000806080858703121561476457600080fd5b84356001600160401b038082111561477b57600080fd5b6147878883890161467f565b955060209150818701358181111561479e57600080fd5b8701601f810189136147af57600080fd5b80356147bd6146a08261465c565b81815260059190911b8201840190848101908b8311156147dc57600080fd5b928501925b828410156147fa578335825292850192908501906147e1565b9750505050604087013591508082111561481357600080fd5b61481f8883890161467f565b9350606087013591508082111561483557600080fd5b50614842878288016146f3565b91505092959194509250565b6000806040838503121561486157600080fd5b823561486c816140ad565b9150602083013580151581146144ee57600080fd5b60008060006060848603121561489657600080fd5b833592506020840135915060408401356001600160401b038111156148ba57600080fd5b6148c68682870161418b565b9150509250925092565b600080600080608085870312156148e657600080fd5b84356148f1816140ad565b93506020850135614901816140ad565b92506040850135915060608501356001600160401b0381111561492357600080fd5b8501601f8101871361493457600080fd5b61484287823560208401614134565b60008060006060848603121561495857600080fd5b8335925060208401356001600160401b0381111561497557600080fd5b6149818682870161418b565b9250506040840135614228816140ad565b6000806000606084860312156149a757600080fd5b833592506020840135614343816140ad565b600080604083850312156149cc57600080fd5b82356149d7816140ad565b915060208301356144ee816140ad565b600181811c908216806149fb57607f821691505b602082108114156130fb57634e487b7160e01b600052602260045260246000fd5b60208082526010908201526f13db9b1e481a59881d5b9b1bd8dad95960821b604082015260600190565b6020808252601a908201527913db9b1e48185c9d1a5cdd081bdc881dda1a5d195b1a5cdd195960321b604082015260600190565b6020808252602b908201527f4d757374206d696e742066726f6d2077686974656c6973746564206d696e746560408201526a391031b7b73a3930b1ba1760a91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115614aee57614aee614ac5565b500190565b6020808252601f908201527f4d757374206e6f7420657863656564206d617820696e766f636174696f6e7300604082015260600190565b6020808252818101527f50726f6a656374206d75737420657869737420616e6420626520616374697665604082015260600190565b602080825260159082015274283ab931b430b9b2b99030b932903830bab9b2b21760591b604082015260600190565b6020808252600a908201526927b7363c9030b236b4b760b11b604082015260600190565b6020808252602e908201527f50726f6a6563742065787465726e616c20617373657420646570656e64656e6360408201526d1a595cc8185c99481b1bd8dad95960921b606082015260800190565b602080825260189082015277417373657420696e646578206f7574206f662072616e676560401b604082015260600190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b606081526000614c6f606083018688614c32565b9050614c7e602083018561438c565b62ffffff8316604083015295945050505050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252600b908201526a13db9b1e48185c9d1a5cdd60aa1b604082015260600190565b60208082526010908201526f13db9b1e481dda1a5d195b1a5cdd195960821b604082015260600190565b6020815260006120f9602083018486614c32565b600062ffffff808316818516808303821115614d6457614d64614ac5565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b6000600019821415614d9757614d97614ac5565b5060010190565b600062ffffff83811690831681811015614dba57614dba614ac5565b039392505050565b6020808252600b908201526a4d6178206f66203130302560a81b604082015260600190565b60008151614df9818560208601614029565b9290920192915050565b600080845481600182811c915080831680614e1f57607f831692505b6020808410821415614e3f57634e487b7160e01b86526022600452602486fd5b818015614e535760018114614e6457614e91565b60ff19861689528489019650614e91565b60008b81526020902060005b86811015614e895781548b820152908501908301614e70565b505084890196505b505050505050610fd88185614de7565b600082821015614eb357614eb3614ac5565b500390565b6000816000190483118215151615614ed257614ed2614ac5565b500290565b600060208284031215614ee957600080fd5b5051919050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082614f6757614f67614f42565b500490565b600082614f7b57614f7b614f42565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614fb390830184614055565b9695505050505050565b600060208284031215614fcf57600080fd5b815161402281613fef56fea264697066735822122083ecd50c0a85953f0f3c2f9cbce71e8ee1366c74757a31e3a8b2cfaa3d297df964736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000088098f7438773182b703625c4128aff85fcffc4000000000000000000000000000000000000000000000000000000000000000f506c6f747461626c657320466c657800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009504c4f5453464c45580000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _tokenName (string): Plottables Flex
Arg [1] : _tokenSymbol (string): PLOTSFLEX
Arg [2] : _randomizerContract (address): 0x088098F7438773182b703625C4128aFf85fcFfC4

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000088098f7438773182b703625c4128aff85fcffc4
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [4] : 506c6f747461626c657320466c65780000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [6] : 504c4f5453464c45580000000000000000000000000000000000000000000000


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.