ETH Price: $2,961.50 (+1.03%)
Gas: 1 Gwei

Token

Mintable Store (MINT)
 

Overview

Max Total Supply

10,133 MINT

Holders

1,860

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
shaitan.eth
Balance
1 MINT
0x13bf00029926dF7A09087d5C6259D018E0FC2E76
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Turn your creations into blockchain items using Mintable.app.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ERC721Printable

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 15 of 17: PrintablePublic.sol
  // SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "./ERC721Royalties.sol";
import "./ERC721BatchMintableStore.sol";
/**
 * @title ERC721 Printable Token
 * @dev ERC721 Token that can be be printed before being sold and not incur high gas fees 
 */
 contract ERC721Printable is ERC721, Royalties {
     bytes4 private constant _INTERFACE_ID_ERC721ROYALTIES = 0x46e80720;


  uint256 public totalSeries;
  address payable public MintableAddress;
  mapping(uint256 => PreMint) public PreMintData;
  mapping(uint256 => bool) public PrintSeries;
  struct PreMint {
      uint256 amount_of_tokens_left;
      uint256 price;
      address payable creator;
      string url;
      
    }  
  event SeriesMade(address indexed creator, uint256 indexed price, uint256 indexed amount_made);
  event SeriesPurchased(address indexed buyer, uint256 indexed token_id, uint256 indexed price); 
  event TransferPayment(address indexed to, uint256 indexed amount); 
  event TransferFee(address indexed to, uint256 indexed fee); 
  
  
   constructor(
        string memory name,
        string memory symbol,
        string memory baseURI,
        uint256 batch_amount,
        uint256 royalty_amount,
        address creator
    ) public  ERC721(name, symbol, baseURI, batch_amount) Royalties(royalty_amount, creator) {
        MintableAddress = msg.sender;
        _registerInterface(_INTERFACE_ID_ERC721ROYALTIES);
    }
    
   function _createPrintSeries(uint256 _totalAmount, uint256 _price, string memory _url) internal returns (bool){
        totalSeries = totalSeries.add(1);
          PrintSeries[totalSeries] = true;
          
          PreMintData[totalSeries].amount_of_tokens_left = _totalAmount;
              PreMintData[totalSeries].price = _price;
                 PreMintData[totalSeries].url = _url;
                PreMintData[totalSeries].creator = msg.sender;
                
                emit SeriesMade(msg.sender, _price, _totalAmount);
                return true;
 }
 
    function createPrintSeries(uint256 _amount, uint256 _price, string memory _url) public returns (bool){
        return _createPrintSeries(_amount, _price, _url);
        
    }
    function mintSeries(uint256 _seriesID, address _to) public payable returns (bool){
     require(PrintSeries[_seriesID], "Not a valid series");
     require(PreMintData[_seriesID].amount_of_tokens_left >= 1, "Series is SOLD OUT!");
     require(msg.value >= PreMintData[_seriesID].price, "Invalid amount sent to purchase this NFT");
     //get total supply
     //change the amount of tokens left to be one less
     PreMintData[_seriesID].amount_of_tokens_left =  PreMintData[_seriesID].amount_of_tokens_left.sub(1);
     //check if tokens left are 0 if so, set to sold out
     if(PreMintData[_seriesID].amount_of_tokens_left == 0){
         PrintSeries[_seriesID] = false;
     }
     emit SeriesPurchased( msg.sender, super.totalSupply().add(1), msg.value); 
     //mint tokens and send to buyer
     super._mintWithURI(_to, PreMintData[_seriesID].url);
     //calculate fees to be removed
     uint256 fee = (msg.value.mul(5)).div(100);
     uint256 creatorsPayment = msg.value.sub(fee);
     //transfer payment to creator's address
     PreMintData[_seriesID].creator.transfer(creatorsPayment);
    require(address(this).balance >= fee, "Not enough balance to send fee");
    emit TransferPayment( PreMintData[_seriesID].creator,  creatorsPayment);
    MintableAddress.transfer(fee);
    emit TransferFee(MintableAddress, fee); 
    return true;
 }
 
}

  

File 1 of 17: Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 2 of 17: Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 3 of 17: EnumerableMap.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

    struct Map {
        // Storage of map keys and values
        MapEntry[] _entries;

        // Position of the entry defined by a key in the `entries` array, plus 1
        // because index 0 means a key is not in the map.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) { // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({ _key: key, _value: value }));
            // The entry is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

    /**
     * @dev Removes a key-value pair from a map. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function _remove(Map storage map, bytes32 key) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex != 0) { // Equivalent to contains(map, key)
            // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
            // in the array, and then remove the last entry (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;

            // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            MapEntry storage lastEntry = map._entries[lastIndex];

            // Move the last entry to the index where the entry to delete is
            map._entries[toDeleteIndex] = lastEntry;
            // Update the index for the moved entry
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved entry was stored
            map._entries.pop();

            // Delete the index for the deleted slot
            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function _contains(Map storage map, bytes32 key) private view returns (bool) {
        return map._indexes[key] != 0;
    }

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

   /**
    * @dev Returns the key-value pair stored at position `index` in the map. O(1).
    *
    * Note that there are no guarantees on the ordering of entries inside the
    * array, and it may change when more entries are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {
        require(map._entries.length > index, "EnumerableMap: index out of bounds");

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        return _get(map, key, "EnumerableMap: nonexistent key");
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {
        return _remove(map._inner, bytes32(key));
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {
        return _contains(map._inner, bytes32(key));
    }

    /**
     * @dev Returns the number of elements in the map. O(1).
     */
    function length(UintToAddressMap storage map) internal view returns (uint256) {
        return _length(map._inner);
    }

   /**
    * @dev Returns the element stored at position `index` in the set. O(1).
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint256(value)));
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key), errorMessage)));
    }
}

File 4 of 17: EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

File 5 of 17: ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

File 6 of 17: ERC721BatchMintableStore.sol

pragma solidity ^0.6.0;

import "./Context.sol";
import "./IERC721.sol";
import "./IERC721Metadata.sol";
import "./IERC721Enumerable.sol";
import "./IERC721Receiver.sol";
import "./ERC165.sol";
import "./SafeMath.sol";
import "./Address.sol";
import "./EnumerableSet.sol";
import "./EnumerableMap.sol";
import "./Strings.sol";
import "./Ownable.sol";

/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
 
contract ERC721 is
    Context,
    Ownable,
    ERC165,
    IERC721,
    IERC721Metadata,
    IERC721Enumerable
{
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;
    address public exchange;
    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping(address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

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

    // Mapping showing the addresses batch numbers in a set
    mapping(address => EnumerableSet.UintSet) private _ownersBatches;
    mapping(address => uint256) public BalancesMap;
    mapping(uint256 => EnumerableSet.UintSet) private _batchMax;
    mapping(uint256 => owners) public _batchMintOwnersMap;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;
    uint8 MIN_MINT = 2;
    uint256 public MAX_MINT;
    uint256 public _totalSupply = 0;
    uint256 public _totalBatches;
    struct owners {
        uint256 start;
        uint256 end;
        address owner;
    }

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    // Base URI
    string private _baseURI;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(
        string memory name,
        string memory symbol,
        string memory baseURI,
        uint256 batch_amount
    ) public {
        _name = name;
        _symbol = symbol;
        _setBaseURI(baseURI);
        MAX_MINT = batch_amount;
        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public override view returns (address) {
        
        if (_tokenOwners.contains(tokenId)) {
            return _tokenOwners.get(tokenId);
        } else {
            uint256 min = tokenId.div(MAX_MINT);
           
            uint256 max = (tokenId.div(MIN_MINT)).add(1);
            if (max > _totalBatches) {
                max = _totalBatches;
            }

            
            address temp = address(0x0);
            for (uint256 i = min; i < max; i++) {
           
                if (_batchMax[i].length() >= 1) {
                   
                    if (_batchMax[i].at(1) >= tokenId) {
                    
                        if (
                            _batchMintOwnersMap[i].start <= tokenId &&
                            _batchMintOwnersMap[i].end >= tokenId
                        ) {
                           

                            temp = _batchMintOwnersMap[i].owner;
                            return temp;
                        }
                    }
                }
            }
            return temp;
        }
        //return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

    function tokenOwners(address owner, uint256 index) public view returns (uint256){
        (uint256 id) = _holderTokens[owner].at(index);
        return (id);
    }
    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

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

        string memory _tokenURI = _tokenURIs[tokenId];

        // If there is no base URI, return the token URI.
        if (bytes(_baseURI).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return _tokenURI;
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(_baseURI, tokenId.toString()));
    }

    /**
     * @dev Returns the base URI set via {_setBaseURI}. This will be
     * automatically added as a prefix in {tokenURI} to each token's URI, or
     * to the token ID if no specific URI is set for that token ID.
     */
    function baseURI() public view returns (string memory) {
        return _baseURI;
    }




    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
        public
        override
        view
        returns (uint256)
    {
        if(index <= _holderTokens[owner].length()){
             return _holderTokens[owner].at(index);
        }
        
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public override view returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _totalSupply;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     * @return tokenId at index
     */
    function tokenByIndex(uint256 index)
        public
        override
        view
        returns (uint256)
    {
       if(_exists(index)) {
                return index;
        } else {
            revert("No token found at index");
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = 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
        override
        view
        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
    {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForExchange( bool approved)
        internal
        
    {
        require(exchange != msg.sender, "ERC721: approve to caller");

        _operatorApprovals[msg.sender][exchange] = approved;
        emit ApprovalForAll(msg.sender, exchange, approved);
    }
    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator)
        public
        override
        view
        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 mecanisms 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) public view returns (bool) {
        if (_tokenOwners.contains(tokenId)) {
            return _tokenOwners.contains(tokenId);
        } else if(tokenId <= totalSupply()){
          
            uint256 min = tokenId.div(MAX_MINT);
           
            uint256 max = (tokenId.div(MIN_MINT)).add(1);
           
            if (max > _totalBatches) {
                max = _totalBatches;
            }

           
            for (uint256 i = min; i < max; i++) {
                
                if (_batchMax[i].length() >= 1) {
                    if (_batchMax[i].at(1) >= tokenId) {
                        
                        if (
                            _batchMintOwnersMap[i].start <= tokenId &&
                            _batchMintOwnersMap[i].end >= tokenId
                        ) {
                            return true;
                        }
                    }
                }
            }

            return false;
        }
    }

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



    /**
     * @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) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        _totalSupply = _totalSupply.add(1); 
        _holderTokens[to].add(_totalSupply);

        _tokenOwners.set(_totalSupply, to);
        BalancesMap[to] = BalancesMap[to].add(1);
        emit Transfer(address(0), to, _totalSupply); 
        setApprovalForExchange(true);
    }

    function mint(address to) public  returns (bool) {
        _mint(to);
        return true;
    }

    function mintWithURI(address to, string memory url) public  returns (bool) {
        _mint(to);
        _setTokenURI(_totalSupply, url);
        return true;
    }
    
       function _mintWithURI(address to, string memory url) internal returns (bool) {
        _mint(to);
        _setTokenURI(_totalSupply, url);
        return true;
    }
    /** BATCH MINT
     * 
     * Hey nate, ever get tired of relying on others? Ever want to create your own stuff and not copy? 
     * Eh, probably not.... everything you've done so far is riding on someone else's coat tails. 
     * 
     * @dev _batchMint `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 _batchMint(address to, uint256 count) internal virtual {
      
        require(to != address(0), "ERC721: mint to the zero address");


        for (uint16 i = 0; i < count; i++) {
            emit Transfer(address(0), to, _totalSupply.add(i+1));
        }
        _batchMintOwnersMap[_totalBatches].start = _totalSupply;
        _batchMintOwnersMap[_totalBatches].end = _totalSupply.add(count);
        _batchMintOwnersMap[_totalBatches].owner = msg.sender;
        _batchMax[_totalBatches].add(_totalSupply);
        _batchMax[_totalBatches].add(count.add(_totalSupply));
        _ownersBatches[msg.sender].add(count);
        _totalBatches = _totalBatches.add(1);
        BalancesMap[msg.sender] = BalancesMap[msg.sender].add(count);
        _totalSupply = _totalSupply.add(count); 
        setApprovalForExchange(true);
       
    }


    /**
     * @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(
            ownerOf(tokenId) == from,
            "ERC721: transfer of token that is not own"
        );
        require(to != address(0), "ERC721: transfer to the zero address");

        //_beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);
         BalancesMap[from] =   BalancesMap[from].sub(1);
         BalancesMap[to] = BalancesMap[to].add(1);
        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI)
        internal
        virtual
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI set of nonexistent token"
        );
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

    /**
     * @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()) {
            return true;
        }
        bytes memory returndata = to.functionCall(
            abi.encodeWithSelector(
                IERC721Receiver(to).onERC721Received.selector,
                _msgSender(),
                from,
                tokenId,
                _data
            ),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
        bytes4 retval = abi.decode(returndata, (bytes4));
        return (retval == _ERC721_RECEIVED);
    }

    function _approve(address to, uint256 tokenId) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

    function batchMint(address to, uint256 count) public returns (bool) {
        require(
            count >= MIN_MINT && count <= MAX_MINT,
            "Can only mint between 2 and 2000 tokens"
        );
        
        _batchMint(to, count);

        return true;
    }
     function setExchangeContract(address _exchange) onlyOwner public returns (bool){
        exchange = _exchange;
        return true;
    }
}

File 7 of 17: ERC721Royalties.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
import "./ERC165.sol";

/**
 * @dev Implementation of royalties for 721s
 *
 */
abstract contract Royalties is ERC165 {
    /*
     * ERC165 bytes to add to interface array - set in parent contract implementing this standard
     *
     * bytes4(keccak256('royaltyInfo()')) == 0x46e80720
     * bytes4 private constant _INTERFACE_ID_ERC721ROYALTIES = 0x46e80720;
     * _registerInterface(_INTERFACE_ID_ERC721ROYALTIES);
     */

    uint256 private royalty_amount;
    address private creator;
    bytes4 private constant _INTERFACE_ID_ERC721ROYALTIES = 0x46e80720;
    /**
    @notice This event is emitted when royalties are transfered.

    @dev The marketplace would emit this event from their contracts. Or they would call royaltiesRecieved() function.

    @param creator The original creator of the NFT entitled to the royalties
    @param buyer The person buying the NFT on a secondary sale
    @param amount The amount being paid to the creator
    */
    event RecievedRoyalties(
        address indexed creator,
        address indexed buyer,
        uint256 indexed amount
    );

    /**
     *  @notice Constructor called from the NFT being deployed with the value for the royalty in percentage and the creator who will recieve the royalty payment
     *
     *  @param _amount The percentage value on each sale that will be transfered to the creator
     *  @param _creator The original creator of the NFT entitled to the royalties
     *
     */

    constructor(uint256 _amount, address _creator) internal {
        royalty_amount = _amount;
        creator = _creator;
        _registerInterface(_INTERFACE_ID_ERC721ROYALTIES);
    }

    /**
     *      @notice Called to return the royalty amount that was set and only return that amount
     */
    function royaltyAmount() public view returns (uint256) {
        return royalty_amount;
    }

    /**
     *      @notice Called to return both the creator's address and the royalty percentage - this would be the main function called by marketplaces unless they specifically need just the royaltyAmount
     */
    function royaltyInfo() external view returns (uint256, address) {
        return (royalty_amount, creator);
    }

    /**
     *      @notice Called to verify if contract implements royalties - OPTIONAL as supportsInterface()  can be called as well.
     *      @param _creator The original creator of the NFT entitled to the royalties
     *      @param _buyer The buyer of the NFT in a secondary sale
     *      @param _amount The amount paid for royalties on this secondary sale. (Price of ERC721 sold * Royalty Percentage)
     */
    function royaltiesRecieved(
        address _creator,
        address _buyer,
        uint256 _amount
    ) external {
        emit RecievedRoyalties(_creator, _buyer, _amount);
    }

    /**
     *      @notice Called to verify if contract implements royalties - OPTIONAL as supportsInterface()  can be called as well.
     */
    function hasRoyalties() public pure returns (bool) {
        return true;
    }
}

File 8 of 17: IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 9 of 17: IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

import "./IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transfered 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 10 of 17: IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 11 of 17: IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

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 17: IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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 13 of 17: IERC721Royalties.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;
import "./IERC165.sol";
/**
 * @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 IERC721Royalties is IERC165 {
    
     /**
     * @dev Emitted when `tokenId` token is transfered 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;

    /**
    @notice This event is emitted when royalties are received.

    @dev The marketplace would call royaltiesRecieved() function so that the NFT contracts emits this event.

    @param creator The original creator of the NFT entitled to the royalties
    @param buyer The person buying the NFT on a secondary sale
    @param amount The amount being paid to the creator
  */
    event RecievedRoyalties (address indexed creator, address indexed buyer, uint256 indexed amount);
    

     /**
     * @dev Returns true if implemented
     * 
     * @dev this is how the marketplace can see if the contract has royalties, other than using the supportsInterface() call.
     */
    function hasRoyalties() external view returns (bool);

     /**
     * @dev Returns uint256 of the amount of percentage the royalty is set to. For example, if 1%, would return "1", if 50%, would return "50"
     * 
     * @dev Marketplaces would need to call this during the purchase function of their marketplace - and then implement the transfer of that amount on their end
     */
    function royaltyAmount() external view returns (uint256);
    
      /**
     * @dev Returns royalty amount as uint256 and address where royalties should go. 
     * 
     * @dev Marketplaces would need to call this during the purchase function of their marketplace - and then implement the transfer of that amount on their end
     */
    function royaltyInfo() external view returns (uint256, address);
    
      /**
     * @dev Called by the marketplace after the transfer of royalties has happened, so that the contract has a record 
     * @dev emits RecievedRoyalties event;
     * 
     * @param _creator The original creator of the NFT entitled to the royalties
     * @param _buyer The person buying the NFT on a secondary sale
     * @param _amount The amount being paid to the creator
     */
    function royaltiesRecieved(address _creator, address _buyer, uint256 _amount) external view;
}

File 14 of 17: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "./Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 16 of 17: SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

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

        return c;
    }

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

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

File 17 of 17: Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev String operations.
 */
library Strings {
    /**
     * @dev Converts a `uint256` to its ASCII `string` 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);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = byte(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"uint256","name":"batch_amount","type":"uint256"},{"internalType":"uint256","name":"royalty_amount","type":"uint256"},{"internalType":"address","name":"creator","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"creator","type":"address"},{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RecievedRoyalties","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"creator","type":"address"},{"indexed":true,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"amount_made","type":"uint256"}],"name":"SeriesMade","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":true,"internalType":"uint256","name":"token_id","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"price","type":"uint256"}],"name":"SeriesPurchased","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"TransferFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferPayment","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"BalancesMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MintableAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"PreMintData","outputs":[{"internalType":"uint256","name":"amount_of_tokens_left","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address payable","name":"creator","type":"address"},{"internalType":"string","name":"url","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"PrintSeries","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_batchMintOwnersMap","outputs":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"_exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalBatches","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"batchMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"string","name":"_url","type":"string"}],"name":"createPrintSeries","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exchange","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasRoyalties","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","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":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seriesID","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"mintSeries","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"url","type":"string"}],"name":"mintWithURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_creator","type":"address"},{"internalType":"address","name":"_buyer","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"royaltiesRecieved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"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":"address","name":"_exchange","type":"address"}],"name":"setExchangeContract","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOwners","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":[],"name":"totalSeries","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600e805460ff1916600217905560006010553480156200002357600080fd5b50604051620038a4380380620038a4833981810160405260c08110156200004957600080fd5b81019080805160405193929190846401000000008211156200006a57600080fd5b9083019060208201858111156200008057600080fd5b82516401000000008111828201881017156200009b57600080fd5b82525081516020918201929091019080838360005b83811015620000ca578181015183820152602001620000b0565b50505050905090810190601f168015620000f85780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011c57600080fd5b9083019060208201858111156200013257600080fd5b82516401000000008111828201881017156200014d57600080fd5b82525081516020918201929091019080838360005b838110156200017c57818101518382015260200162000162565b50505050905090810190601f168015620001aa5780820380516001836020036101000a031916815260200191505b5060405260200180516040519392919084640100000000821115620001ce57600080fd5b908301906020820185811115620001e457600080fd5b8251640100000000811182820188101715620001ff57600080fd5b82525081516020918201929091019080838360005b838110156200022e57818101518382015260200162000214565b50505050905090810190601f1680156200025c5780820380516001836020036101000a031916815260200191505b506040908152602082015190820151606090920151909350909150818187878787600062000289620003bf565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620002e56301ffc9a760e01b620003c3565b8351620002fa90600c90602087019062000464565b5082516200031090600d90602086019062000464565b506200031c826200044b565b600f819055620003336380ac58cd60e01b620003c3565b62000345635b5e139f60e01b620003c3565b6200035763780e9d6360e01b620003c3565b505050601483905550601580546001600160a01b0319166001600160a01b0383161790556200038d630237403960e51b620003c3565b5050601780546001600160a01b03191633179055620003b3630237403960e51b620003c3565b50505050505062000500565b3390565b6001600160e01b0319808216141562000423576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152600160208190526040909120805460ff19169091179055565b80516200046090601390602084019062000464565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004a757805160ff1916838001178555620004d7565b82800160010185558215620004d7579182015b82811115620004d7578251825591602001919060010190620004ba565b50620004e5929150620004e9565b5090565b5b80821115620004e55760008155600101620004ea565b61339480620005106000396000f3fe6080604052600436106102515760003560e01c8063656605d61161013957806395d89b41116100b6578063d2f7265a1161007a578063d2f7265a14610b5a578063e5c42a3b14610b6f578063e985e9c514610ba2578063f0292a0314610bdd578063f2fde38b14610bf2578063f8e76cc014610c2557610251565b806395d89b41146109f8578063a22cb46514610a0d578063ad72f3f514610a48578063b88d4fde14610a5d578063c87b56dd14610b3057610251565b8063715018a6116100fd578063715018a61461093d5780637c6e551d1461095257806384a09c27146109675780638b5e51d2146109aa5780638da5cb5b146109e357610251565b8063656605d6146107ed578063662f1229146108025780636a627842146108c25780636c0360eb146108f557806370a082311461090a57610251565b80632f745c59116101d257806346e807201161019657806346e80720146106295780634e881e201461065f5780634f6ccce7146106895780634fbe39e9146106b3578063610d107e146107725780636352211e146107c357610251565b80632f745c591461052c57806338232cfe146105655780633eaaf86b1461059857806342842e0e146105ad57806343508b05146105f057610251565b80630c6a595a116102195780630c6a595a146103d55780630e980602146103fc578063146862cc146104bf57806318160ddd146104d457806323b872dd146104e957610251565b806301ffc9a71461025657806303c3ff251461029e57806306fdde03146102ca578063081812fc14610354578063095ea7b31461039a575b600080fd5b34801561026257600080fd5b5061028a6004803603602081101561027957600080fd5b50356001600160e01b031916610c4f565b604080519115158252519081900360200190f35b61028a600480360360408110156102b457600080fd5b50803590602001356001600160a01b0316610c72565b3480156102d657600080fd5b506102df61102b565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610319578181015183820152602001610301565b50505050905090810190601f1680156103465780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561036057600080fd5b5061037e6004803603602081101561037757600080fd5b50356110c1565b604080516001600160a01b039092168252519081900360200190f35b3480156103a657600080fd5b506103d3600480360360408110156103bd57600080fd5b506001600160a01b038135169060200135611123565b005b3480156103e157600080fd5b506103ea6111fe565b60408051918252519081900360200190f35b34801561040857600080fd5b5061028a6004803603604081101561041f57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561044a57600080fd5b82018360208201111561045c57600080fd5b8035906020019184600183028401116401000000008311171561047e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611204945050505050565b3480156104cb57600080fd5b506103ea611224565b3480156104e057600080fd5b506103ea61122a565b3480156104f557600080fd5b506103d36004803603606081101561050c57600080fd5b506001600160a01b03813581169160208101359091169060400135611230565b34801561053857600080fd5b506103ea6004803603604081101561054f57600080fd5b506001600160a01b038135169060200135611287565b34801561057157600080fd5b506103ea6004803603602081101561058857600080fd5b50356001600160a01b03166112d7565b3480156105a457600080fd5b506103ea6112e9565b3480156105b957600080fd5b506103d3600480360360608110156105d057600080fd5b506001600160a01b038135811691602081013590911690604001356112ef565b3480156105fc57600080fd5b5061028a6004803603604081101561061357600080fd5b506001600160a01b03813516906020013561130a565b34801561063557600080fd5b5061063e611369565b604080519283526001600160a01b0390911660208301528051918290030190f35b34801561066b57600080fd5b5061028a6004803603602081101561068257600080fd5b503561137c565b34801561069557600080fd5b506103ea600480360360208110156106ac57600080fd5b5035611391565b3480156106bf57600080fd5b5061028a600480360360608110156106d657600080fd5b8135916020810135918101906060810160408201356401000000008111156106fd57600080fd5b82018360208201111561070f57600080fd5b8035906020019184600183028401116401000000008311171561073157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506113f5945050505050565b34801561077e57600080fd5b5061079c6004803603602081101561079557600080fd5b503561140c565b6040805193845260208401929092526001600160a01b031682820152519081900360600190f35b3480156107cf57600080fd5b5061037e600480360360208110156107e657600080fd5b5035611436565b3480156107f957600080fd5b5061028a611558565b34801561080e57600080fd5b5061082c6004803603602081101561082557600080fd5b503561155d565b60405180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561088457818101518382015260200161086c565b50505050905090810190601f1680156108b15780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156108ce57600080fd5b5061028a600480360360208110156108e557600080fd5b50356001600160a01b031661161b565b34801561090157600080fd5b506102df61162e565b34801561091657600080fd5b506103ea6004803603602081101561092d57600080fd5b50356001600160a01b031661168f565b34801561094957600080fd5b506103d36116f2565b34801561095e57600080fd5b506103ea6117a6565b34801561097357600080fd5b506103d36004803603606081101561098a57600080fd5b506001600160a01b038135811691602081013590911690604001356117ac565b3480156109b657600080fd5b506103ea600480360360408110156109cd57600080fd5b506001600160a01b0381351690602001356117f2565b3480156109ef57600080fd5b5061037e61181e565b348015610a0457600080fd5b506102df61182d565b348015610a1957600080fd5b506103d360048036036040811015610a3057600080fd5b506001600160a01b038135169060200135151561188e565b348015610a5457600080fd5b5061037e61198f565b348015610a6957600080fd5b506103d360048036036080811015610a8057600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610abb57600080fd5b820183602082011115610acd57600080fd5b80359060200191846001830284011164010000000083111715610aef57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061199e945050505050565b348015610b3c57600080fd5b506102df60048036036020811015610b5357600080fd5b50356119fc565b348015610b6657600080fd5b5061037e611be0565b348015610b7b57600080fd5b5061028a60048036036020811015610b9257600080fd5b50356001600160a01b0316611bef565b348015610bae57600080fd5b5061028a60048036036040811015610bc557600080fd5b506001600160a01b0381358116916020013516611c80565b348015610be957600080fd5b506103ea611cae565b348015610bfe57600080fd5b506103d360048036036020811015610c1557600080fd5b50356001600160a01b0316611cb4565b348015610c3157600080fd5b5061028a60048036036020811015610c4857600080fd5b5035611dbe565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b60008281526019602052604081205460ff16610cca576040805162461bcd60e51b81526020600482015260126024820152714e6f7420612076616c69642073657269657360701b604482015290519081900360640190fd5b60008381526018602052604090205460011115610d24576040805162461bcd60e51b815260206004820152601360248201527253657269657320697320534f4c44204f55542160681b604482015290519081900360640190fd5b600083815260186020526040902060010154341015610d745760405162461bcd60e51b81526004018080602001828103825260288152602001806133376028913960400191505060405180910390fd5b600083815260186020526040902054610d8e906001611ecc565b6000848152601860205260409020819055610dba576000838152601960205260409020805460ff191690555b34610dce6001610dc861122a565b90611f0e565b60405133907fb0442210ef7e89767af2eeb7f3e41f8a7efeaf443711463e8d0d54106b082a0690600090a46000838152601860209081526040918290206003018054835160026001831615610100026000190190921691909104601f8101849004840282018401909452838152610e9f938693919291830182828015610e955780601f10610e6a57610100808354040283529160200191610e95565b820191906000526020600020905b815481529060010190602001808311610e7857829003601f168201915b5050505050611204565b506000610eb86064610eb2346005611f68565b90611fc1565b90506000610ec63483611ecc565b6000868152601860205260408082206002015490519293506001600160a01b03169183156108fc0291849190818181858888f19350505050158015610f0f573d6000803e3d6000fd5b5081471015610f65576040805162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f7567682062616c616e636520746f2073656e64206665650000604482015290519081900360640190fd5b60008581526018602052604080822060020154905183926001600160a01b03909216917f746c3bb9ca06261e1e669964e684fea88d690c158dd10019a8cd09c72fee2de291a36017546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015610fe5573d6000803e3d6000fd5b5060175460405183916001600160a01b0316907f88b171bb78d3ac5e1caa8e729dddce4e1322e84c80c093ebbe52507b62c77d9890600090a36001925050505b92915050565b600c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156110b75780601f1061108c576101008083540402835291602001916110b7565b820191906000526020600020905b81548152906001019060200180831161109a57829003601f168201915b5050505050905090565b60006110cc82611dbe565b6111075760405162461bcd60e51b815260040180806020018281038252602c815260200180613235602c913960400191505060405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061112e82611436565b9050806001600160a01b0316836001600160a01b031614156111815760405162461bcd60e51b81526004018080602001828103825260218152602001806132e56021913960400191505060405180910390fd5b806001600160a01b0316611193612003565b6001600160a01b031614806111b457506111b4816111af612003565b611c80565b6111ef5760405162461bcd60e51b815260040180806020018281038252603881526020018061318b6038913960400191505060405180910390fd5b6111f98383612007565b505050565b60165481565b600061120f83612075565b61121b6010548361218e565b50600192915050565b60115481565b60105490565b61124161123b612003565b826121f1565b61127c5760405162461bcd60e51b81526004018080602001828103825260318152602001806133066031913960400191505060405180910390fd5b6111f983838361228d565b6001600160a01b03821660009081526003602052604081206112a890612435565b8211611025576001600160a01b03831660009081526003602052604090206112d09083612440565b9050611025565b60096020526000908152604090205481565b60105481565b6111f98383836040518060200160405280600081525061199e565b600e5460009060ff1682108015906113245750600f548211155b61135f5760405162461bcd60e51b81526004018080602001828103825260278152602001806131ed6027913960400191505060405180910390fd5b61121b838361244c565b6014546015546001600160a01b03169091565b60196020526000908152604090205460ff1681565b600061139c82611dbe565b156113a8575080610c6d565b6040805162461bcd60e51b815260206004820152601760248201527f4e6f20746f6b656e20666f756e6420617420696e646578000000000000000000604482015290519081900360640190fd5b600061140284848461261c565b90505b9392505050565b600b602052600090815260409020805460018201546002909201549091906001600160a01b031683565b60006114436004836126e2565b1561145a576114536004836126ee565b9050610c6d565b6000611471600f5484611fc190919063ffffffff16565b600e5490915060009061148f90600190610dc890879060ff16611fc1565b90506011548111156114a057506011545b6000825b8281101561154d576000818152600a602052604090206001906114c690612435565b10611545576000818152600a6020526040902086906114e6906001612440565b10611545576000818152600b6020526040902054861080159061151a57506000818152600b60205260409020600101548611155b15611545576000908152600b60205260409020600201546001600160a01b03169350610c6d92505050565b6001016114a4565b509250610c6d915050565b600190565b601860209081526000918252604091829020805460018083015460028085015460038601805489516101009682161596909602600019011692909204601f8101889004880285018801909852878452939691956001600160a01b0390941694939091908301828280156116115780601f106115e657610100808354040283529160200191611611565b820191906000526020600020905b8154815290600101906020018083116115f457829003601f168201915b5050505050905084565b600061162682612075565b506001919050565b60138054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156110b75780601f1061108c576101008083540402835291602001916110b7565b60006001600160a01b0382166116d65760405162461bcd60e51b815260040180806020018281038252602a8152602001806131c3602a913960400191505060405180910390fd5b506001600160a01b031660009081526009602052604090205490565b6116fa612003565b6000546001600160a01b0390811691161461175c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60145490565b80826001600160a01b0316846001600160a01b03167f06cb0b9d04d0ac2a93b9b9a93ee6c2511e069efb107c06eee43c85021fbc04ed60405160405180910390a4505050565b6001600160a01b038216600090815260036020526040812081906118169084612440565b949350505050565b6000546001600160a01b031690565b600d8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156110b75780601f1061108c576101008083540402835291602001916110b7565b611896612003565b6001600160a01b0316826001600160a01b031614156118f8576040805162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015290519081900360640190fd5b8060076000611905612003565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611949612003565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6017546001600160a01b031681565b6119af6119a9612003565b836121f1565b6119ea5760405162461bcd60e51b81526004018080602001828103825260318152602001806133066031913960400191505060405180910390fd5b6119f6848484846126fa565b50505050565b6060611a0782611dbe565b611a425760405162461bcd60e51b815260040180806020018281038252602f8152602001806132b6602f913960400191505060405180910390fd5b60008281526012602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611ad75780601f10611aac57610100808354040283529160200191611ad7565b820191906000526020600020905b815481529060010190602001808311611aba57829003601f168201915b505060135493945050505060026000196101006001841615020190911604611b00579050610c6d565b805115611b0e579050610c6d565b6013611b198461274c565b6040516020018083805460018160011615610100020316600290048015611b775780601f10611b55576101008083540402835291820191611b77565b820191906000526020600020905b815481529060010190602001808311611b63575b5050825160208401908083835b60208310611ba35780518252601f199092019160209182019101611b84565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b6002546001600160a01b031681565b6000611bf9612003565b6000546001600160a01b03908116911614611c5b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b50600280546001600160a01b0383166001600160a01b03199091161790556001919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600f5481565b611cbc612003565b6000546001600160a01b03908116911614611d1e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116611d635760405162461bcd60e51b81526004018080602001828103825260268152602001806131156026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000611dcb6004836126e2565b15611ddb576114536004836126e2565b611de361122a565b8211610c6d576000611e00600f5484611fc190919063ffffffff16565b600e54909150600090611e1e90600190610dc890879060ff16611fc1565b9050601154811115611e2f57506011545b815b81811015611ec0576000818152600a60205260409020600190611e5390612435565b10611eb8576000818152600a602052604090208590611e73906001612440565b10611eb8576000818152600b60205260409020548510801590611ea757506000818152600b60205260409020600101548511155b15611eb85760019350505050610c6d565b600101611e31565b50600092505050610c6d565b600061140583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612827565b600082820183811015611405576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082611f7757506000611025565b82820282848281611f8457fe5b04146114055760405162461bcd60e51b81526004018080602001828103825260218152602001806132146021913960400191505060405180910390fd5b600061140583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128be565b3390565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061203c82611436565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b0381166120d0576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6010546120de906001611f0e565b60108190556001600160a01b038216600090815260036020526040902061210491612923565b50601054612115906004908361292f565b506001600160a01b03811660009081526009602052604090205461213a906001611f0e565b6001600160a01b0382166000818152600960205260408082209390935560105492517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461218b6001612945565b50565b61219782611dbe565b6121d25760405162461bcd60e51b815260040180806020018281038252602c815260200180613261602c913960400191505060405180910390fd5b600082815260126020908152604090912082516111f99284019061302d565b60006121fc82611dbe565b6122375760405162461bcd60e51b815260040180806020018281038252602c81526020018061315f602c913960400191505060405180910390fd5b600061224283611436565b9050806001600160a01b0316846001600160a01b0316148061227d5750836001600160a01b0316612272846110c1565b6001600160a01b0316145b8061181657506118168185611c80565b826001600160a01b03166122a082611436565b6001600160a01b0316146122e55760405162461bcd60e51b815260040180806020018281038252602981526020018061328d6029913960400191505060405180910390fd5b6001600160a01b03821661232a5760405162461bcd60e51b815260040180806020018281038252602481526020018061313b6024913960400191505060405180910390fd5b612335600082612007565b6001600160a01b038316600090815260096020526040902054612359906001611ecc565b6001600160a01b038085166000908152600960205260408082209390935590841681522054612389906001611f0e565b6001600160a01b0380841660009081526009602090815260408083209490945591861681526003909152206123be9082612a13565b506001600160a01b03821660009081526003602052604090206123e19082612923565b506123ee6004828461292f565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061102582612a1f565b60006114058383612a23565b6001600160a01b0382166124a7576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b60005b818161ffff161015612508576010546124ca9061ffff6001840116611f0e565b6040516001600160a01b038516906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46001016124aa565b506010546011546000908152600b6020526040902081905561252a9082611f0e565b601180546000908152600b60209081526040808320600101949094558254825283822060020180546001600160a01b0319163317905560105492548252600a90529190912061257891612923565b506125a861259160105483611f0e90919063ffffffff16565b6011546000908152600a6020526040902090612923565b503360009081526008602052604090206125c29082612923565b506011546125d1906001611f0e565b601155336000908152600960205260409020546125ee9082611f0e565b3360009081526009602052604090205560105461260b9082611f0e565b6010556126186001612945565b5050565b60165460009061262d906001611f0e565b60168181556000918252601960209081526040808420805460ff191660019081179091558354855260188352818520899055835485528185200187905591548352912083516126849260039092019185019061302d565b5060165460009081526018602052604080822060020180546001600160a01b03191633908117909155905186928692917f335cf3124d4c238e9c1bbae5ae98a445bab5de090df6b8b94e94caab3ffb45f69190a45060019392505050565b60006114058383612a87565b60006114058383612a9f565b61270584848461228d565b61271184848484612ae1565b6119f65760405162461bcd60e51b81526004018080602001828103825260328152602001806130e36032913960400191505060405180910390fd5b60608161277157506040805180820190915260018152600360fc1b6020820152610c6d565b8160005b811561278957600101600a82049150612775565b60608167ffffffffffffffff811180156127a257600080fd5b506040519080825280601f01601f1916602001820160405280156127cd576020820181803683370190505b50859350905060001982015b831561281e57600a840660300160f81b828280600190039350815181106127fc57fe5b60200101906001600160f81b031916908160001a905350600a840493506127d9565b50949350505050565b600081848411156128b65760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561287b578181015183820152602001612863565b50505050905090810190601f1680156128a85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818361290d5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561287b578181015183820152602001612863565b50600083858161291957fe5b0495945050505050565b60006114058383612c49565b600061140284846001600160a01b038516612c93565b6002546001600160a01b03163314156129a1576040805162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015290519081900360640190fd5b336000818152600760209081526040808320600280546001600160a01b03908116865291845293829020805460ff1916871515908117909155935482519485529151911693927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3192908290030190a350565b60006114058383612d2a565b5490565b81546000908210612a655760405162461bcd60e51b81526004018080602001828103825260228152602001806130c16022913960400191505060405180910390fd5b826000018281548110612a7457fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b600061140583836040518060400160405280601e81526020017f456e756d657261626c654d61703a206e6f6e6578697374656e74206b65790000815250612df0565b6000612af5846001600160a01b0316612e7d565b612b0157506001611816565b6060612c0f630a85bd0160e11b612b16612003565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612b7d578181015183820152602001612b65565b50505050905090810190601f168015612baa5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016130e3603291396001600160a01b0388169190612eb6565b90506000818060200190516020811015612c2857600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000612c558383612a87565b612c8b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611025565b506000611025565b600082815260018401602052604081205480612cf8575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611405565b82856000016001830381548110612d0b57fe5b9060005260206000209060020201600101819055506000915050611405565b60008181526001830160205260408120548015612de65783546000198083019190810190600090879083908110612d5d57fe5b9060005260206000200154905080876000018481548110612d7a57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080612daa57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611025565b6000915050611025565b60008281526001840160205260408120548281612e4e5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561287b578181015183820152602001612863565b50846000016001820381548110612e6157fe5b9060005260206000209060020201600101549150509392505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611816575050151592915050565b606061140284846000856060612ecb85612e7d565b612f1c576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612f5b5780518252601f199092019160209182019101612f3c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612fbd576040519150601f19603f3d011682016040523d82523d6000602084013e612fc2565b606091505b50915091508115612fd65791506118169050565b805115612fe65780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561287b578181015183820152602001612863565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061306e57805160ff191683800117855561309b565b8280016001018555821561309b579182015b8281111561309b578251825591602001919060010190613080565b506130a79291506130ab565b5090565b5b808211156130a757600081556001016130ac56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f206164647265737343616e206f6e6c79206d696e74206265747765656e203220616e64203230303020746f6b656e73536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564496e76616c696420616d6f756e742073656e7420746f2070757263686173652074686973204e4654a26469706673582212204a63f85f75420b80a164dc892b523949ac6f0f14deb305479bddcdbdae5c5dbd64736f6c634300060c003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000007d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a522d98ec2d2c3bbe91acc29ee7fd32ab880ab000000000000000000000000000000000000000000000000000000000000000e4d696e7461626c652053746f726500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d494e5400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d68747470733a2f2f6d657461646174612e6d696e7461626c652e6170702f6d696e7461626c655f73746f72652f00000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102515760003560e01c8063656605d61161013957806395d89b41116100b6578063d2f7265a1161007a578063d2f7265a14610b5a578063e5c42a3b14610b6f578063e985e9c514610ba2578063f0292a0314610bdd578063f2fde38b14610bf2578063f8e76cc014610c2557610251565b806395d89b41146109f8578063a22cb46514610a0d578063ad72f3f514610a48578063b88d4fde14610a5d578063c87b56dd14610b3057610251565b8063715018a6116100fd578063715018a61461093d5780637c6e551d1461095257806384a09c27146109675780638b5e51d2146109aa5780638da5cb5b146109e357610251565b8063656605d6146107ed578063662f1229146108025780636a627842146108c25780636c0360eb146108f557806370a082311461090a57610251565b80632f745c59116101d257806346e807201161019657806346e80720146106295780634e881e201461065f5780634f6ccce7146106895780634fbe39e9146106b3578063610d107e146107725780636352211e146107c357610251565b80632f745c591461052c57806338232cfe146105655780633eaaf86b1461059857806342842e0e146105ad57806343508b05146105f057610251565b80630c6a595a116102195780630c6a595a146103d55780630e980602146103fc578063146862cc146104bf57806318160ddd146104d457806323b872dd146104e957610251565b806301ffc9a71461025657806303c3ff251461029e57806306fdde03146102ca578063081812fc14610354578063095ea7b31461039a575b600080fd5b34801561026257600080fd5b5061028a6004803603602081101561027957600080fd5b50356001600160e01b031916610c4f565b604080519115158252519081900360200190f35b61028a600480360360408110156102b457600080fd5b50803590602001356001600160a01b0316610c72565b3480156102d657600080fd5b506102df61102b565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610319578181015183820152602001610301565b50505050905090810190601f1680156103465780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561036057600080fd5b5061037e6004803603602081101561037757600080fd5b50356110c1565b604080516001600160a01b039092168252519081900360200190f35b3480156103a657600080fd5b506103d3600480360360408110156103bd57600080fd5b506001600160a01b038135169060200135611123565b005b3480156103e157600080fd5b506103ea6111fe565b60408051918252519081900360200190f35b34801561040857600080fd5b5061028a6004803603604081101561041f57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561044a57600080fd5b82018360208201111561045c57600080fd5b8035906020019184600183028401116401000000008311171561047e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611204945050505050565b3480156104cb57600080fd5b506103ea611224565b3480156104e057600080fd5b506103ea61122a565b3480156104f557600080fd5b506103d36004803603606081101561050c57600080fd5b506001600160a01b03813581169160208101359091169060400135611230565b34801561053857600080fd5b506103ea6004803603604081101561054f57600080fd5b506001600160a01b038135169060200135611287565b34801561057157600080fd5b506103ea6004803603602081101561058857600080fd5b50356001600160a01b03166112d7565b3480156105a457600080fd5b506103ea6112e9565b3480156105b957600080fd5b506103d3600480360360608110156105d057600080fd5b506001600160a01b038135811691602081013590911690604001356112ef565b3480156105fc57600080fd5b5061028a6004803603604081101561061357600080fd5b506001600160a01b03813516906020013561130a565b34801561063557600080fd5b5061063e611369565b604080519283526001600160a01b0390911660208301528051918290030190f35b34801561066b57600080fd5b5061028a6004803603602081101561068257600080fd5b503561137c565b34801561069557600080fd5b506103ea600480360360208110156106ac57600080fd5b5035611391565b3480156106bf57600080fd5b5061028a600480360360608110156106d657600080fd5b8135916020810135918101906060810160408201356401000000008111156106fd57600080fd5b82018360208201111561070f57600080fd5b8035906020019184600183028401116401000000008311171561073157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506113f5945050505050565b34801561077e57600080fd5b5061079c6004803603602081101561079557600080fd5b503561140c565b6040805193845260208401929092526001600160a01b031682820152519081900360600190f35b3480156107cf57600080fd5b5061037e600480360360208110156107e657600080fd5b5035611436565b3480156107f957600080fd5b5061028a611558565b34801561080e57600080fd5b5061082c6004803603602081101561082557600080fd5b503561155d565b60405180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561088457818101518382015260200161086c565b50505050905090810190601f1680156108b15780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156108ce57600080fd5b5061028a600480360360208110156108e557600080fd5b50356001600160a01b031661161b565b34801561090157600080fd5b506102df61162e565b34801561091657600080fd5b506103ea6004803603602081101561092d57600080fd5b50356001600160a01b031661168f565b34801561094957600080fd5b506103d36116f2565b34801561095e57600080fd5b506103ea6117a6565b34801561097357600080fd5b506103d36004803603606081101561098a57600080fd5b506001600160a01b038135811691602081013590911690604001356117ac565b3480156109b657600080fd5b506103ea600480360360408110156109cd57600080fd5b506001600160a01b0381351690602001356117f2565b3480156109ef57600080fd5b5061037e61181e565b348015610a0457600080fd5b506102df61182d565b348015610a1957600080fd5b506103d360048036036040811015610a3057600080fd5b506001600160a01b038135169060200135151561188e565b348015610a5457600080fd5b5061037e61198f565b348015610a6957600080fd5b506103d360048036036080811015610a8057600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610abb57600080fd5b820183602082011115610acd57600080fd5b80359060200191846001830284011164010000000083111715610aef57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061199e945050505050565b348015610b3c57600080fd5b506102df60048036036020811015610b5357600080fd5b50356119fc565b348015610b6657600080fd5b5061037e611be0565b348015610b7b57600080fd5b5061028a60048036036020811015610b9257600080fd5b50356001600160a01b0316611bef565b348015610bae57600080fd5b5061028a60048036036040811015610bc557600080fd5b506001600160a01b0381358116916020013516611c80565b348015610be957600080fd5b506103ea611cae565b348015610bfe57600080fd5b506103d360048036036020811015610c1557600080fd5b50356001600160a01b0316611cb4565b348015610c3157600080fd5b5061028a60048036036020811015610c4857600080fd5b5035611dbe565b6001600160e01b0319811660009081526001602052604090205460ff165b919050565b60008281526019602052604081205460ff16610cca576040805162461bcd60e51b81526020600482015260126024820152714e6f7420612076616c69642073657269657360701b604482015290519081900360640190fd5b60008381526018602052604090205460011115610d24576040805162461bcd60e51b815260206004820152601360248201527253657269657320697320534f4c44204f55542160681b604482015290519081900360640190fd5b600083815260186020526040902060010154341015610d745760405162461bcd60e51b81526004018080602001828103825260288152602001806133376028913960400191505060405180910390fd5b600083815260186020526040902054610d8e906001611ecc565b6000848152601860205260409020819055610dba576000838152601960205260409020805460ff191690555b34610dce6001610dc861122a565b90611f0e565b60405133907fb0442210ef7e89767af2eeb7f3e41f8a7efeaf443711463e8d0d54106b082a0690600090a46000838152601860209081526040918290206003018054835160026001831615610100026000190190921691909104601f8101849004840282018401909452838152610e9f938693919291830182828015610e955780601f10610e6a57610100808354040283529160200191610e95565b820191906000526020600020905b815481529060010190602001808311610e7857829003601f168201915b5050505050611204565b506000610eb86064610eb2346005611f68565b90611fc1565b90506000610ec63483611ecc565b6000868152601860205260408082206002015490519293506001600160a01b03169183156108fc0291849190818181858888f19350505050158015610f0f573d6000803e3d6000fd5b5081471015610f65576040805162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f7567682062616c616e636520746f2073656e64206665650000604482015290519081900360640190fd5b60008581526018602052604080822060020154905183926001600160a01b03909216917f746c3bb9ca06261e1e669964e684fea88d690c158dd10019a8cd09c72fee2de291a36017546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015610fe5573d6000803e3d6000fd5b5060175460405183916001600160a01b0316907f88b171bb78d3ac5e1caa8e729dddce4e1322e84c80c093ebbe52507b62c77d9890600090a36001925050505b92915050565b600c8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156110b75780601f1061108c576101008083540402835291602001916110b7565b820191906000526020600020905b81548152906001019060200180831161109a57829003601f168201915b5050505050905090565b60006110cc82611dbe565b6111075760405162461bcd60e51b815260040180806020018281038252602c815260200180613235602c913960400191505060405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061112e82611436565b9050806001600160a01b0316836001600160a01b031614156111815760405162461bcd60e51b81526004018080602001828103825260218152602001806132e56021913960400191505060405180910390fd5b806001600160a01b0316611193612003565b6001600160a01b031614806111b457506111b4816111af612003565b611c80565b6111ef5760405162461bcd60e51b815260040180806020018281038252603881526020018061318b6038913960400191505060405180910390fd5b6111f98383612007565b505050565b60165481565b600061120f83612075565b61121b6010548361218e565b50600192915050565b60115481565b60105490565b61124161123b612003565b826121f1565b61127c5760405162461bcd60e51b81526004018080602001828103825260318152602001806133066031913960400191505060405180910390fd5b6111f983838361228d565b6001600160a01b03821660009081526003602052604081206112a890612435565b8211611025576001600160a01b03831660009081526003602052604090206112d09083612440565b9050611025565b60096020526000908152604090205481565b60105481565b6111f98383836040518060200160405280600081525061199e565b600e5460009060ff1682108015906113245750600f548211155b61135f5760405162461bcd60e51b81526004018080602001828103825260278152602001806131ed6027913960400191505060405180910390fd5b61121b838361244c565b6014546015546001600160a01b03169091565b60196020526000908152604090205460ff1681565b600061139c82611dbe565b156113a8575080610c6d565b6040805162461bcd60e51b815260206004820152601760248201527f4e6f20746f6b656e20666f756e6420617420696e646578000000000000000000604482015290519081900360640190fd5b600061140284848461261c565b90505b9392505050565b600b602052600090815260409020805460018201546002909201549091906001600160a01b031683565b60006114436004836126e2565b1561145a576114536004836126ee565b9050610c6d565b6000611471600f5484611fc190919063ffffffff16565b600e5490915060009061148f90600190610dc890879060ff16611fc1565b90506011548111156114a057506011545b6000825b8281101561154d576000818152600a602052604090206001906114c690612435565b10611545576000818152600a6020526040902086906114e6906001612440565b10611545576000818152600b6020526040902054861080159061151a57506000818152600b60205260409020600101548611155b15611545576000908152600b60205260409020600201546001600160a01b03169350610c6d92505050565b6001016114a4565b509250610c6d915050565b600190565b601860209081526000918252604091829020805460018083015460028085015460038601805489516101009682161596909602600019011692909204601f8101889004880285018801909852878452939691956001600160a01b0390941694939091908301828280156116115780601f106115e657610100808354040283529160200191611611565b820191906000526020600020905b8154815290600101906020018083116115f457829003601f168201915b5050505050905084565b600061162682612075565b506001919050565b60138054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156110b75780601f1061108c576101008083540402835291602001916110b7565b60006001600160a01b0382166116d65760405162461bcd60e51b815260040180806020018281038252602a8152602001806131c3602a913960400191505060405180910390fd5b506001600160a01b031660009081526009602052604090205490565b6116fa612003565b6000546001600160a01b0390811691161461175c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60145490565b80826001600160a01b0316846001600160a01b03167f06cb0b9d04d0ac2a93b9b9a93ee6c2511e069efb107c06eee43c85021fbc04ed60405160405180910390a4505050565b6001600160a01b038216600090815260036020526040812081906118169084612440565b949350505050565b6000546001600160a01b031690565b600d8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156110b75780601f1061108c576101008083540402835291602001916110b7565b611896612003565b6001600160a01b0316826001600160a01b031614156118f8576040805162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015290519081900360640190fd5b8060076000611905612003565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611949612003565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6017546001600160a01b031681565b6119af6119a9612003565b836121f1565b6119ea5760405162461bcd60e51b81526004018080602001828103825260318152602001806133066031913960400191505060405180910390fd5b6119f6848484846126fa565b50505050565b6060611a0782611dbe565b611a425760405162461bcd60e51b815260040180806020018281038252602f8152602001806132b6602f913960400191505060405180910390fd5b60008281526012602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611ad75780601f10611aac57610100808354040283529160200191611ad7565b820191906000526020600020905b815481529060010190602001808311611aba57829003601f168201915b505060135493945050505060026000196101006001841615020190911604611b00579050610c6d565b805115611b0e579050610c6d565b6013611b198461274c565b6040516020018083805460018160011615610100020316600290048015611b775780601f10611b55576101008083540402835291820191611b77565b820191906000526020600020905b815481529060010190602001808311611b63575b5050825160208401908083835b60208310611ba35780518252601f199092019160209182019101611b84565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b6002546001600160a01b031681565b6000611bf9612003565b6000546001600160a01b03908116911614611c5b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b50600280546001600160a01b0383166001600160a01b03199091161790556001919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600f5481565b611cbc612003565b6000546001600160a01b03908116911614611d1e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116611d635760405162461bcd60e51b81526004018080602001828103825260268152602001806131156026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000611dcb6004836126e2565b15611ddb576114536004836126e2565b611de361122a565b8211610c6d576000611e00600f5484611fc190919063ffffffff16565b600e54909150600090611e1e90600190610dc890879060ff16611fc1565b9050601154811115611e2f57506011545b815b81811015611ec0576000818152600a60205260409020600190611e5390612435565b10611eb8576000818152600a602052604090208590611e73906001612440565b10611eb8576000818152600b60205260409020548510801590611ea757506000818152600b60205260409020600101548511155b15611eb85760019350505050610c6d565b600101611e31565b50600092505050610c6d565b600061140583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612827565b600082820183811015611405576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082611f7757506000611025565b82820282848281611f8457fe5b04146114055760405162461bcd60e51b81526004018080602001828103825260218152602001806132146021913960400191505060405180910390fd5b600061140583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128be565b3390565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061203c82611436565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b0381166120d0576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6010546120de906001611f0e565b60108190556001600160a01b038216600090815260036020526040902061210491612923565b50601054612115906004908361292f565b506001600160a01b03811660009081526009602052604090205461213a906001611f0e565b6001600160a01b0382166000818152600960205260408082209390935560105492517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461218b6001612945565b50565b61219782611dbe565b6121d25760405162461bcd60e51b815260040180806020018281038252602c815260200180613261602c913960400191505060405180910390fd5b600082815260126020908152604090912082516111f99284019061302d565b60006121fc82611dbe565b6122375760405162461bcd60e51b815260040180806020018281038252602c81526020018061315f602c913960400191505060405180910390fd5b600061224283611436565b9050806001600160a01b0316846001600160a01b0316148061227d5750836001600160a01b0316612272846110c1565b6001600160a01b0316145b8061181657506118168185611c80565b826001600160a01b03166122a082611436565b6001600160a01b0316146122e55760405162461bcd60e51b815260040180806020018281038252602981526020018061328d6029913960400191505060405180910390fd5b6001600160a01b03821661232a5760405162461bcd60e51b815260040180806020018281038252602481526020018061313b6024913960400191505060405180910390fd5b612335600082612007565b6001600160a01b038316600090815260096020526040902054612359906001611ecc565b6001600160a01b038085166000908152600960205260408082209390935590841681522054612389906001611f0e565b6001600160a01b0380841660009081526009602090815260408083209490945591861681526003909152206123be9082612a13565b506001600160a01b03821660009081526003602052604090206123e19082612923565b506123ee6004828461292f565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061102582612a1f565b60006114058383612a23565b6001600160a01b0382166124a7576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b60005b818161ffff161015612508576010546124ca9061ffff6001840116611f0e565b6040516001600160a01b038516906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46001016124aa565b506010546011546000908152600b6020526040902081905561252a9082611f0e565b601180546000908152600b60209081526040808320600101949094558254825283822060020180546001600160a01b0319163317905560105492548252600a90529190912061257891612923565b506125a861259160105483611f0e90919063ffffffff16565b6011546000908152600a6020526040902090612923565b503360009081526008602052604090206125c29082612923565b506011546125d1906001611f0e565b601155336000908152600960205260409020546125ee9082611f0e565b3360009081526009602052604090205560105461260b9082611f0e565b6010556126186001612945565b5050565b60165460009061262d906001611f0e565b60168181556000918252601960209081526040808420805460ff191660019081179091558354855260188352818520899055835485528185200187905591548352912083516126849260039092019185019061302d565b5060165460009081526018602052604080822060020180546001600160a01b03191633908117909155905186928692917f335cf3124d4c238e9c1bbae5ae98a445bab5de090df6b8b94e94caab3ffb45f69190a45060019392505050565b60006114058383612a87565b60006114058383612a9f565b61270584848461228d565b61271184848484612ae1565b6119f65760405162461bcd60e51b81526004018080602001828103825260328152602001806130e36032913960400191505060405180910390fd5b60608161277157506040805180820190915260018152600360fc1b6020820152610c6d565b8160005b811561278957600101600a82049150612775565b60608167ffffffffffffffff811180156127a257600080fd5b506040519080825280601f01601f1916602001820160405280156127cd576020820181803683370190505b50859350905060001982015b831561281e57600a840660300160f81b828280600190039350815181106127fc57fe5b60200101906001600160f81b031916908160001a905350600a840493506127d9565b50949350505050565b600081848411156128b65760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561287b578181015183820152602001612863565b50505050905090810190601f1680156128a85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818361290d5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561287b578181015183820152602001612863565b50600083858161291957fe5b0495945050505050565b60006114058383612c49565b600061140284846001600160a01b038516612c93565b6002546001600160a01b03163314156129a1576040805162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015290519081900360640190fd5b336000818152600760209081526040808320600280546001600160a01b03908116865291845293829020805460ff1916871515908117909155935482519485529151911693927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3192908290030190a350565b60006114058383612d2a565b5490565b81546000908210612a655760405162461bcd60e51b81526004018080602001828103825260228152602001806130c16022913960400191505060405180910390fd5b826000018281548110612a7457fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b600061140583836040518060400160405280601e81526020017f456e756d657261626c654d61703a206e6f6e6578697374656e74206b65790000815250612df0565b6000612af5846001600160a01b0316612e7d565b612b0157506001611816565b6060612c0f630a85bd0160e11b612b16612003565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612b7d578181015183820152602001612b65565b50505050905090810190601f168015612baa5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016130e3603291396001600160a01b0388169190612eb6565b90506000818060200190516020811015612c2857600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000612c558383612a87565b612c8b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611025565b506000611025565b600082815260018401602052604081205480612cf8575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611405565b82856000016001830381548110612d0b57fe5b9060005260206000209060020201600101819055506000915050611405565b60008181526001830160205260408120548015612de65783546000198083019190810190600090879083908110612d5d57fe5b9060005260206000200154905080876000018481548110612d7a57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080612daa57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611025565b6000915050611025565b60008281526001840160205260408120548281612e4e5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561287b578181015183820152602001612863565b50846000016001820381548110612e6157fe5b9060005260206000209060020201600101549150509392505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611816575050151592915050565b606061140284846000856060612ecb85612e7d565b612f1c576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612f5b5780518252601f199092019160209182019101612f3c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612fbd576040519150601f19603f3d011682016040523d82523d6000602084013e612fc2565b606091505b50915091508115612fd65791506118169050565b805115612fe65780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561287b578181015183820152602001612863565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061306e57805160ff191683800117855561309b565b8280016001018555821561309b579182015b8281111561309b578251825591602001919060010190613080565b506130a79291506130ab565b5090565b5b808211156130a757600081556001016130ac56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f206164647265737343616e206f6e6c79206d696e74206265747765656e203220616e64203230303020746f6b656e73536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564496e76616c696420616d6f756e742073656e7420746f2070757263686173652074686973204e4654a26469706673582212204a63f85f75420b80a164dc892b523949ac6f0f14deb305479bddcdbdae5c5dbd64736f6c634300060c0033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000007d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a522d98ec2d2c3bbe91acc29ee7fd32ab880ab000000000000000000000000000000000000000000000000000000000000000e4d696e7461626c652053746f726500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d494e5400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002d68747470733a2f2f6d657461646174612e6d696e7461626c652e6170702f6d696e7461626c655f73746f72652f00000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Mintable Store
Arg [1] : symbol (string): MINT
Arg [2] : baseURI (string): https://metadata.mintable.app/mintable_store/
Arg [3] : batch_amount (uint256): 2000
Arg [4] : royalty_amount (uint256): 0
Arg [5] : creator (address): 0x02A522D98EC2D2c3bBe91AcC29ee7fD32ab880ab

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000000000000000000000000000000000000000007d0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 00000000000000000000000002a522d98ec2d2c3bbe91acc29ee7fd32ab880ab
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [7] : 4d696e7461626c652053746f7265000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4d494e5400000000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000002d
Arg [11] : 68747470733a2f2f6d657461646174612e6d696e7461626c652e6170702f6d69
Arg [12] : 6e7461626c655f73746f72652f00000000000000000000000000000000000000


Deployed Bytecode Sourcemap

276:3351:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;982:142:2;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;982:142:2;-1:-1:-1;;;;;;982:142:2;;:::i;:::-;;;;;;;;;;;;;;;;;;2244:1377:14;;;;;;;;;;;;;;;;-1:-1:-1;2244:1377:14;;;;;;-1:-1:-1;;;;;2244:1377:14;;:::i;6434:92:3:-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9601:291;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9601:291:3;;:::i;:::-;;;;-1:-1:-1;;;;;9601:291:3;;;;;;;;;;;;;;9131:404;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;9131:404:3;;;;;;;;:::i;:::-;;405:26:14;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;16091:167:3;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16091:167:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16091:167:3;;-1:-1:-1;16091:167:3;;-1:-1:-1;;;;;16091:167:3:i;2117:28::-;;;;;;;;;;;;;:::i;8503:194::-;;;;;;;;;;;;;:::i;10982:376::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;10982:376:3;;;;;;;;;;;;;;;;;:::i;8153:274::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8153:274:3;;;;;;;;:::i;1745:46::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1745:46:3;-1:-1:-1;;;;;1745:46:3;;:::i;2079:31::-;;;;;;;;;;;;;:::i;11429:185::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;11429:185:3;;;;;;;;;;;;;;;;;:::i;21185:280::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21185:280:3;;;;;;;;:::i;2204:115:4:-;;;;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;2204:115:4;;;;;;;;;;;;;;;;530:43:14;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;530:43:14;;:::i;8807:262:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8807:262:3;;:::i;2060:178:14:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2060:178:14;;-1:-1:-1;2060:178:14;;-1:-1:-1;;;;;2060:178:14:i;1864:53:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1864:53:3;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;1864:53:3;;;;;;;;;;;;;;5127:1240;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5127:1240:3;;:::i;3099:81:4:-;;;;;;;;;;;;;:::i;479:46:14:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;479:46:14;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;;;;479:46:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15984:99:3;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15984:99:3;-1:-1:-1;;;;;15984:99:3;;:::i;7974:89::-;;;;;;;;;;;;;:::i;4769:296::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4769:296:3;-1:-1:-1;;;;;4769:296:3;;:::i;1737:148:13:-;;;;;;;;;;;;;:::i;1881:95:4:-;;;;;;;;;;;;;:::i;2755:189::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2755:189:4;;;;;;;;;;;;;;;;;:::i;6534:166:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6534:166:3;;;;;;;;:::i;1095:79:13:-;;;;;;;;;;;;;:::i;6767:96:3:-;;;;;;;;;;;;;:::i;9964:327::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;9964:327:3;;;;;;;;;;:::i;436:38:14:-;;;;;;;;;;;;;:::i;11685:365:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11685:365:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11685:365:3;;-1:-1:-1;11685:365:3;;-1:-1:-1;;;;;11685:365:3:i;6934:797::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6934:797:3;;:::i;840:23::-;;;;;;;;;;;;;:::i;21472:140::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21472:140:3;-1:-1:-1;;;;;21472:140:3;;:::i;10718:197::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;10718:197:3;;;;;;;;;;:::i;2049:23::-;;;;;;;;;;;;;:::i;2040:244:13:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2040:244:13;-1:-1:-1;;;;;2040:244:13;;:::i;13596:1037:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13596:1037:3;;:::i;982:142:2:-;-1:-1:-1;;;;;;1083:33:2;;1059:4;1083:33;;;:20;:33;;;;;;;;982:142;;;;:::o;2244:1377:14:-;2320:4;2341:22;;;:11;:22;;;;;;;;2333:53;;;;;-1:-1:-1;;;2333:53:14;;;;;;;;;;;;-1:-1:-1;;;2333:53:14;;;;;;;;;;;;;;;2402:22;;;;:11;:22;;;;;:44;2450:1;-1:-1:-1;2402:49:14;2394:81;;;;;-1:-1:-1;;;2394:81:14;;;;;;;;;;;;-1:-1:-1;;;2394:81:14;;;;;;;;;;;;;;;2504:22;;;;:11;:22;;;;;:28;;;2491:9;:41;;2483:94;;;;-1:-1:-1;;;2483:94:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2714:22;;;;:11;:22;;;;;:44;:51;;2763:1;2714:48;:51::i;:::-;2666:22;;;;:11;:22;;;;;:99;;;2831:104;;2921:5;2896:22;;;:11;:22;;;;;:30;;-1:-1:-1;;2896:30:14;;;2831:104;3004:9;2976:26;3000:1;2976:19;:17;:19::i;:::-;:23;;:26::i;:::-;2947:67;;2964:10;;2947:67;;;;;3085:22;;;;:11;:22;;;;;;;;;:26;;3061:51;;;;;;;;;;;-1:-1:-1;;3061:51:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;3080:3;;3061:51;;3085:26;3061:51;;3085:26;3061:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:18;:51::i;:::-;-1:-1:-1;3157:11:14;3171:27;3194:3;3172:16;:9;3186:1;3172:13;:16::i;:::-;3171:22;;:27::i;:::-;3157:41;-1:-1:-1;3206:23:14;3232:18;:9;3157:41;3232:13;:18::i;:::-;3304:22;;;;:11;:22;;;;;;:30;;;:56;;3206:44;;-1:-1:-1;;;;;;3304:30:14;;:56;;;;;3206:44;;3304:56;;:22;:56;3206:44;3304:30;:56;;;;;;;;;;;;;;;;;;;;;3400:3;3375:21;:28;;3367:71;;;;;-1:-1:-1;;;3367:71:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;3467:22;;;;:11;:22;;;;;;:30;;;3450:66;;3500:15;;-1:-1:-1;;;;;3467:30:14;;;;3450:66;;;3523:15;;:29;;-1:-1:-1;;;;;3523:15:14;;;;:29;;;;;3548:3;;3523:15;:29;:15;:29;3548:3;3523:15;:29;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3576:15:14;;3564:33;;3593:3;;-1:-1:-1;;;;;3576:15:14;;3564:33;;3576:15;;3564:33;3612:4;3605:11;;;;2244:1377;;;;;:::o;6434:92:3:-;6513:5;6506:12;;;;;;;;-1:-1:-1;;6506:12:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6480:13;;6506:12;;6513:5;;6506:12;;6513:5;6506:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6434:92;:::o;9601:291::-;9705:7;9752:16;9760:7;9752;:16::i;:::-;9730:110;;;;-1:-1:-1;;;9730:110:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9860:24:3;;;;:15;:24;;;;;;-1:-1:-1;;;;;9860:24:3;;9601:291::o;9131:404::-;9212:13;9228:16;9236:7;9228;:16::i;:::-;9212:32;;9269:5;-1:-1:-1;;;;;9263:11:3;:2;-1:-1:-1;;;;;9263:11:3;;;9255:57;;;;-1:-1:-1;;;9255:57:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9363:5;-1:-1:-1;;;;;9347:21:3;:12;:10;:12::i;:::-;-1:-1:-1;;;;;9347:21:3;;:62;;;;9372:37;9389:5;9396:12;:10;:12::i;:::-;9372:16;:37::i;:::-;9325:168;;;;-1:-1:-1;;;9325:168:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9506:21;9515:2;9519:7;9506:8;:21::i;:::-;9131:404;;;:::o;405:26:14:-;;;;:::o;16091:167:3:-;16160:4;16177:9;16183:2;16177:5;:9::i;:::-;16197:31;16210:12;;16224:3;16197:12;:31::i;:::-;-1:-1:-1;16246:4:3;16091:167;;;;:::o;2117:28::-;;;;:::o;8503:194::-;8677:12;;8503:194;:::o;10982:376::-;11191:41;11210:12;:10;:12::i;:::-;11224:7;11191:18;:41::i;:::-;11169:140;;;;-1:-1:-1;;;11169:140:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11322:28;11332:4;11338:2;11342:7;11322:9;:28::i;8153:274::-;-1:-1:-1;;;;;8315:20:3;;8278:7;8315:20;;;:13;:20;;;;;:29;;:27;:29::i;:::-;8306:5;:38;8303:107;;-1:-1:-1;;;;;8368:20:3;;;;;;:13;:20;;;;;:30;;8392:5;8368:23;:30::i;:::-;8361:37;;;;1745:46;;;;;;;;;;;;;:::o;2079:31::-;;;;:::o;11429:185::-;11567:39;11584:4;11590:2;11594:7;11567:39;;;;;;;;;;;;:16;:39::i;21185:280::-;21295:8;;21247:4;;21295:8;;21286:17;;;;;:38;;;21316:8;;21307:5;:17;;21286:38;21264:127;;;;-1:-1:-1;;;21264:127:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21412:21;21423:2;21427:5;21412:10;:21::i;2204:115:4:-;2287:14;;2303:7;;-1:-1:-1;;;;;2303:7:4;2204:115;;:::o;530:43:14:-;;;;;;;;;;;;;;;:::o;8807:262:3:-;8910:7;8937:14;8945:5;8937:7;:14::i;:::-;8934:128;;;-1:-1:-1;8979:5:3;8972:12;;8934:128;9017:33;;;-1:-1:-1;;;9017:33:3;;;;;;;;;;;;;;;;;;;;;;;;;;;2060:178:14;2156:4;2179:41;2198:7;2207:6;2215:4;2179:18;:41::i;:::-;2172:48;;2060:178;;;;;;:::o;1864:53:3:-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1864:53:3;;:::o;5127:1240::-;5191:7;5225:30;:12;5247:7;5225:21;:30::i;:::-;5221:1049;;;5279:25;:12;5296:7;5279:16;:25::i;:::-;5272:32;;;;5221:1049;5337:11;5351:21;5363:8;;5351:7;:11;;:21;;;;:::i;:::-;5427:8;;5337:35;;-1:-1:-1;5400:11:3;;5414:30;;5442:1;;5415:21;;:7;;5427:8;;5415:11;:21::i;5414:30::-;5400:44;;5469:13;;5463:3;:19;5459:79;;;-1:-1:-1;5509:13:3;;5459:79;5568:12;5627:3;5610:623;5636:3;5632:1;:7;5610:623;;;5682:12;;;;:9;:12;;;;;5707:1;;5682:21;;:19;:21::i;:::-;:26;5678:540;;5758:12;;;;:9;:12;;;;;5780:7;;5758:18;;5774:1;5758:15;:18::i;:::-;:29;5754:445;;5872:22;;;;:19;:22;;;;;:28;:39;-1:-1:-1;5872:39:3;;;:109;;-1:-1:-1;5944:22:3;;;;:19;:22;;;;;:26;;;:37;-1:-1:-1;5944:37:3;5872:109;5838:338;;;6078:22;;;;:19;:22;;;;;:28;;;-1:-1:-1;;;;;6078:28:3;;-1:-1:-1;6137:11:3;;-1:-1:-1;;;6137:11:3;5838:338;5641:3;;5610:623;;;-1:-1:-1;6254:4:3;-1:-1:-1;6247:11:3;;-1:-1:-1;;6247:11:3;3099:81:4;3168:4;3099:81;:::o;479:46:14:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;479:46:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;479:46:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;15984:99:3:-;16027:4;16044:9;16050:2;16044:5;:9::i;:::-;-1:-1:-1;16071:4:3;15984:99;;;:::o;7974:89::-;8047:8;8040:15;;;;;;;;-1:-1:-1;;8040:15:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8014:13;;8040:15;;8047:8;;8040:15;;8047:8;8040:15;;;;;;;;;;;;;;;;;;;;;;;;4769:296;4833:7;-1:-1:-1;;;;;4875:19:3;;4853:111;;;;-1:-1:-1;;;4853:111:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4990:18:3;;;;;:11;:18;;;;;;;4769:296::o;1737:148:13:-;1317:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:13;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1844:1:::1;1828:6:::0;;1807:40:::1;::::0;-1:-1:-1;;;;;1828:6:13;;::::1;::::0;1807:40:::1;::::0;1844:1;;1807:40:::1;1875:1;1858:19:::0;;-1:-1:-1;;;;;;1858:19:13::1;::::0;;1737:148::o;1881:95:4:-;1954:14;;1881:95;:::o;2755:189::-;2928:7;2920:6;-1:-1:-1;;;;;2892:44:4;2910:8;-1:-1:-1;;;;;2892:44:4;;;;;;;;;;;2755:189;;;:::o;6534:166:3:-;-1:-1:-1;;;;;6640:20:3;;6606:7;6640:20;;;:13;:20;;;;;6606:7;;6640:30;;6664:5;6640:23;:30::i;:::-;6625:45;6534:166;-1:-1:-1;;;;6534:166:3:o;1095:79:13:-;1133:7;1160:6;-1:-1:-1;;;;;1160:6:13;1095:79;:::o;6767:96:3:-;6848:7;6841:14;;;;;;;;-1:-1:-1;;6841:14:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6815:13;;6841:14;;6848:7;;6841:14;;6848:7;6841:14;;;;;;;;;;;;;;;;;;;;;;;;9964:327;10111:12;:10;:12::i;:::-;-1:-1:-1;;;;;10099:24:3;:8;-1:-1:-1;;;;;10099:24:3;;;10091:62;;;;;-1:-1:-1;;;10091:62:3;;;;;;;;;;;;-1:-1:-1;;;10091:62:3;;;;;;;;;;;;;;;10211:8;10166:18;:32;10185:12;:10;:12::i;:::-;-1:-1:-1;;;;;10166:32:3;;;;;;;;;;;;;;;;;-1:-1:-1;10166:32:3;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;10166:53:3;;;;;;;;;;;10250:12;:10;:12::i;:::-;-1:-1:-1;;;;;10235:48:3;;10274:8;10235:48;;;;;;;;;;;;;;;;;;;;9964:327;;:::o;436:38:14:-;;;-1:-1:-1;;;;;436:38:14;;:::o;11685:365:3:-;11874:41;11893:12;:10;:12::i;:::-;11907:7;11874:18;:41::i;:::-;11852:140;;;;-1:-1:-1;;;11852:140:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12003:39;12017:4;12023:2;12027:7;12036:5;12003:13;:39::i;:::-;11685:365;;;;:::o;6934:797::-;7035:13;7088:16;7096:7;7088;:16::i;:::-;7066:113;;;;-1:-1:-1;;;7066:113:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7218:19;;;;:10;:19;;;;;;;;;7192:45;;;;;;-1:-1:-1;;7192:45:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;7218:19;7192:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7319:8:3;7313:22;7192:45;;-1:-1:-1;;;;7313:22:3;-1:-1:-1;;7313:22:3;;;;;;;;;;;7309:76;;7364:9;-1:-1:-1;7357:16:3;;7309:76;7489:23;;:27;7485:76;;7540:9;-1:-1:-1;7533:16:3;;7485:76;7693:8;7703:18;:7;:16;:18::i;:::-;7676:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7676:46:3;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7676:46:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7662:61;;;6934:797;;;:::o;840:23::-;;;-1:-1:-1;;;;;840:23:3;;:::o;21472:140::-;21546:4;1317:12:13;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:13;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21562:8:3::1;:20:::0;;-1:-1:-1;;;;;21562:20:3;::::1;-1:-1:-1::0;;;;;;21562:20:3;;::::1;;::::0;;;21472:140;;;:::o;10718:197::-;-1:-1:-1;;;;;10872:25:3;;;10843:4;10872:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;10718:197::o;2049:23::-;;;;:::o;2040:244:13:-;1317:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:13;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2129:22:13;::::1;2121:73;;;;-1:-1:-1::0;;;2121:73:13::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2231:6;::::0;;2210:38:::1;::::0;-1:-1:-1;;;;;2210:38:13;;::::1;::::0;2231:6;::::1;::::0;2210:38:::1;::::0;::::1;2259:6;:17:::0;;-1:-1:-1;;;;;;2259:17:13::1;-1:-1:-1::0;;;;;2259:17:13;;;::::1;::::0;;;::::1;::::0;;2040:244::o;13596:1037:3:-;13651:4;13672:30;:12;13694:7;13672:21;:30::i;:::-;13668:958;;;13726:30;:12;13748:7;13726:21;:30::i;13668:958::-;13788:13;:11;:13::i;:::-;13777:7;:24;13774:852;;13829:11;13843:21;13855:8;;13843:7;:11;;:21;;;;:::i;:::-;13919:8;;13829:35;;-1:-1:-1;13892:11:3;;13906:30;;13934:1;;13907:21;;:7;;13919:8;;13907:11;:21::i;13906:30::-;13892:44;;13974:13;;13968:3;:19;13964:79;;;-1:-1:-1;14014:13:3;;13964:79;14089:3;14072:514;14098:3;14094:1;:7;14072:514;;;14149:12;;;;:9;:12;;;;;14174:1;;14149:21;;:19;:21::i;:::-;:26;14145:426;;14204:12;;;;:9;:12;;;;;14226:7;;14204:18;;14220:1;14204:15;:18::i;:::-;:29;14200:352;;14322:22;;;;:19;:22;;;;;:28;:39;-1:-1:-1;14322:39:3;;;:109;;-1:-1:-1;14394:22:3;;;;:19;:22;;;;;:26;;;:37;-1:-1:-1;14394:37:3;14322:109;14288:241;;;14497:4;14490:11;;;;;;;14288:241;14103:3;;14072:514;;;;14609:5;14602:12;;;;;;1366:136:15;1424:7;1451:43;1455:1;1458;1451:43;;;;;;;;;;;;;;;;;:3;:43::i;902:181::-;960:7;992:5;;;1016:6;;;;1008:46;;;;;-1:-1:-1;;;1008:46:15;;;;;;;;;;;;;;;;;;;;;;;;;;;2256:471;2314:7;2559:6;2555:47;;-1:-1:-1;2589:1:15;2582:8;;2555:47;2626:5;;;2630:1;2626;:5;:1;2650:5;;;;;:10;2642:56;;;;-1:-1:-1;;;2642:56:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3203:132;3261:7;3288:39;3292:1;3295;3288:39;;;;;;;;;;;;;;;;;:3;:39::i;605:106:1:-;693:10;605:106;:::o;21019:158:3:-;21085:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;21085:29:3;-1:-1:-1;;;;;21085:29:3;;;;;;;;:24;;21139:16;21085:24;21139:7;:16::i;:::-;-1:-1:-1;;;;;21130:39:3;;;;;;;;;;;21019:158;;:::o;15568:408::-;-1:-1:-1;;;;;15631:16:3;;15623:61;;;;;-1:-1:-1;;;15623:61:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15710:12;;:19;;15727:1;15710:16;:19::i;:::-;15695:12;:34;;;-1:-1:-1;;;;;15741:17:3;;;;;;:13;:17;;;;;:35;;:21;:35::i;:::-;-1:-1:-1;15806:12:3;;15789:34;;:12;;15820:2;15789:16;:34::i;:::-;-1:-1:-1;;;;;;15852:15:3;;;;;;:11;:15;;;;;;:22;;15872:1;15852:19;:22::i;:::-;-1:-1:-1;;;;;15834:15:3;;;;;;:11;:15;;;;;;:40;;;;15915:12;;15890:38;;;;15834:15;;15890:38;15940:28;15963:4;15940:22;:28::i;:::-;15568:408;:::o;19147:275::-;19284:16;19292:7;19284;:16::i;:::-;19262:110;;;;-1:-1:-1;;;19262:110:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19383:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;14800:428::-;14912:4;14956:16;14964:7;14956;:16::i;:::-;14934:110;;;;-1:-1:-1;;;14934:110:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15055:13;15071:16;15079:7;15071;:16::i;:::-;15055:32;;15117:5;-1:-1:-1;;;;;15106:16:3;:7;-1:-1:-1;;;;;15106:16:3;;:64;;;;15163:7;-1:-1:-1;;;;;15139:31:3;:20;15151:7;15139:11;:20::i;:::-;-1:-1:-1;;;;;15139:31:3;;15106:64;:113;;;;15187:32;15204:5;15211:7;15187:16;:32::i;18236:755::-;18402:4;-1:-1:-1;;;;;18382:24:3;:16;18390:7;18382;:16::i;:::-;-1:-1:-1;;;;;18382:24:3;;18360:115;;;;-1:-1:-1;;;18360:115:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18494:16:3;;18486:65;;;;-1:-1:-1;;;18486:65:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18670:29;18687:1;18691:7;18670:8;:29::i;:::-;-1:-1:-1;;;;;18733:17:3;;;;;;:11;:17;;;;;;:24;;18755:1;18733:21;:24::i;:::-;-1:-1:-1;;;;;18711:17:3;;;;;;;:11;:17;;;;;;:46;;;;18787:15;;;;;;;:22;;18807:1;18787:19;:22::i;:::-;-1:-1:-1;;;;;18769:15:3;;;;;;;:11;:15;;;;;;;;:40;;;;18820:19;;;;;:13;:19;;;;:35;;18847:7;18820:26;:35::i;:::-;-1:-1:-1;;;;;;18866:17:3;;;;;;:13;:17;;;;;:30;;18888:7;18866:21;:30::i;:::-;-1:-1:-1;18909:29:3;:12;18926:7;18935:2;18909:16;:29::i;:::-;;18975:7;18971:2;-1:-1:-1;;;;;18956:27:3;18965:4;-1:-1:-1;;;;;18956:27:3;;;;;;;;;;;18236:755;;;:::o;7430:114:6:-;7490:7;7517:19;7525:3;7517:7;:19::i;7888:137::-;7959:7;7994:22;7998:3;8010:5;7994:3;:22::i;17031:866:3:-;-1:-1:-1;;;;;17122:16:3;;17114:61;;;;;-1:-1:-1;;;17114:61:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17195:8;17190:114;17213:5;17209:1;:9;;;17190:114;;;17270:12;;:21;;;17289:1;17287:3;;17270:21;:16;:21::i;:::-;17245:47;;-1:-1:-1;;;;;17245:47:3;;;17262:1;;17245:47;;17262:1;;17245:47;17220:3;;17190:114;;;-1:-1:-1;17357:12:3;;17334:13;;17314:34;;;;:19;:34;;;;;:55;;;17421:23;;17438:5;17421:16;:23::i;:::-;17400:13;;;17380:34;;;;:19;:34;;;;;;;;:38;;:64;;;;17475:13;;17455:34;;;;;:40;;:53;;-1:-1:-1;;;;;;17455:53:3;17498:10;17455:53;;;17548:12;;17529:13;;17519:24;;:9;:24;;;;;;:42;;:28;:42::i;:::-;;17572:53;17601:23;17611:12;;17601:5;:9;;:23;;;;:::i;:::-;17582:13;;17572:24;;;;:9;:24;;;;;;:28;:53::i;:::-;-1:-1:-1;17651:10:3;17636:26;;;;:14;:26;;;;;:37;;17667:5;17636:30;:37::i;:::-;-1:-1:-1;17700:13:3;;:20;;17718:1;17700:17;:20::i;:::-;17684:13;:36;17769:10;17757:23;;;;:11;:23;;;;;;:34;;17785:5;17757:27;:34::i;:::-;17743:10;17731:23;;;;:11;:23;;;;;:60;17817:12;;:23;;17834:5;17817:16;:23::i;:::-;17802:12;:38;17852:28;17875:4;17852:22;:28::i;:::-;17031:866;;:::o;1473:578:14:-;1607:11;;1577:4;;1607:18;;1623:1;1607:15;:18::i;:::-;1593:11;:32;;;1638:24;;;;:11;:24;;;;;;;;:31;;-1:-1:-1;;1638:31:14;1665:4;1638:31;;;;;;1706:11;;1694:24;;:11;:24;;;;;:61;;;1784:11;;1772:24;;;;;:30;:39;;;1843:11;;1831:24;;;;:35;;;;:28;;;;;:35;;;;:::i;:::-;-1:-1:-1;1897:11:14;;1885:24;;;;:11;:24;;;;;;:32;;:45;;-1:-1:-1;;;;;;1885:45:14;1920:10;1885:45;;;;;;1972:44;;2003:12;;1995:6;;1920:10;1972:44;;1885:24;1972:44;-1:-1:-1;2042:4:14;1473:578;;;;;:::o;6985:151:5:-;7069:4;7093:35;7103:3;7123;7093:9;:35::i;8074:162::-;8153:7;8196:30;8201:3;8221;8196:4;:30::i;12931:352:3:-;13088:28;13098:4;13104:2;13108:7;13088:9;:28::i;:::-;13149:48;13172:4;13178:2;13182:7;13191:5;13149:22;:48::i;:::-;13127:148;;;;-1:-1:-1;;;13127:148:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;213:744:16;269:13;490:10;486:53;;-1:-1:-1;517:10:16;;;;;;;;;;;;-1:-1:-1;;;517:10:16;;;;;;486:53;564:5;549:12;605:78;612:9;;605:78;;638:8;;669:2;661:10;;;;605:78;;;693:19;725:6;715:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;715:17:16;-1:-1:-1;787:5:16;;-1:-1:-1;693:39:16;-1:-1:-1;;;759:10:16;;803:115;810:9;;803:115;;877:2;870:4;:9;865:2;:14;854:27;;836:6;843:7;;;;;;;836:15;;;;;;;;;;;:45;-1:-1:-1;;;;;836:45:16;;;;;;;;-1:-1:-1;904:2:16;896:10;;;;803:115;;;-1:-1:-1;942:6:16;213:744;-1:-1:-1;;;;213:744:16:o;1805:192:15:-;1891:7;1927:12;1919:6;;;;1911:29;;;;-1:-1:-1;;;1911:29:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1963:5:15;;;1805:192::o;3831:278::-;3917:7;3952:12;3945:5;3937:28;;;;-1:-1:-1;;;3937:28:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3976:9;3992:1;3988;:5;;;;;;;3831:278;-1:-1:-1;;;;;3831:278:15:o;6668:131:6:-;6735:4;6759:32;6764:3;6784:5;6759:4;:32::i;6417:176:5:-;6506:4;6530:55;6535:3;6555;-1:-1:-1;;;;;6569:14:5;;6530:4;:55::i;10363:286:3:-;10463:8;;-1:-1:-1;;;;;10463:8:3;10475:10;10463:22;;10455:60;;;;;-1:-1:-1;;;10455:60:3;;;;;;;;;;;;-1:-1:-1;;;10455:60:3;;;;;;;;;;;;;;;10547:10;10528:30;;;;:18;:30;;;;;;;;10559:8;;;-1:-1:-1;;;;;10559:8:3;;;10528:40;;;;;;;;;:51;;-1:-1:-1;;10528:51:3;;;;;;;;;;10622:8;;10595:46;;;;;;;10622:8;;;10547:10;10595:46;;;;;;;;;10363:286;:::o;6975:137:6:-;7045:4;7069:35;7077:3;7097:5;7069:7;:35::i;4099:109::-;4182:18;;4099:109::o;4552:204::-;4647:18;;4619:7;;4647:26;-1:-1:-1;4639:73:6;;;;-1:-1:-1;;;4639:73:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4730:3;:11;;4742:5;4730:18;;;;;;;;;;;;;;;;4723:25;;4552:204;;;;:::o;4387:125:5:-;4458:4;4482:17;;;:12;;;;;:17;;;;;;:22;;;4387:125::o;5512:149::-;5578:7;5605:48;5610:3;5615;5605:48;;;;;;;;;;;;;;;;;:4;:48::i;20317:694:3:-;20472:4;20494:15;:2;-1:-1:-1;;;;;20494:13:3;;:15::i;:::-;20489:60;;-1:-1:-1;20533:4:3;20526:11;;20489:60;20559:23;20585:313;-1:-1:-1;;;20720:12:3;:10;:12::i;:::-;20751:4;20774:7;20800:5;20615:205;;;;;;-1:-1:-1;;;;;20615:205:3;;;;;;-1:-1:-1;;;;;20615:205:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20615:205:3;;;;;;;-1:-1:-1;;;;;20615:205:3;;;;;;;;;;;20585:313;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20585:15:3;;;:313;:15;:313::i;:::-;20559:339;;20909:13;20936:10;20925:32;;;;;;;;;;;;;;;-1:-1:-1;20925:32:3;-1:-1:-1;;;;;;20976:26:3;-1:-1:-1;;;20976:26:3;;-1:-1:-1;;;20317:694:3;;;;;;:::o;1664:414:6:-;1727:4;1749:21;1759:3;1764:5;1749:9;:21::i;:::-;1744:327;;-1:-1:-1;1787:23:6;;;;;;;;:11;:23;;;;;;;;;;;;;1970:18;;1948:19;;;:12;;;:19;;;;;;:40;;;;2003:11;;1744:327;-1:-1:-1;2054:5:6;2047:12;;1887:692:5;1963:4;2098:17;;;:12;;;:17;;;;;;2132:13;2128:444;;-1:-1:-1;;2217:38:5;;;;;;;;;;;;;;;;;;2199:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;2414:19;;2394:17;;;:12;;;:17;;;;;;;:39;2448:11;;2128:444;2528:5;2492:3;:12;;2516:1;2505:8;:12;2492:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;2555:5;2548:12;;;;;2254:1544:6;2320:4;2459:19;;;:12;;;:19;;;;;;2495:15;;2491:1300;;2930:18;;-1:-1:-1;;2881:14:6;;;;2930:22;;;;2857:21;;2930:3;;:22;;3217;;;;;;;;;;;;;;3197:42;;3363:9;3334:3;:11;;3346:13;3334:26;;;;;;;;;;;;;;;;;;;:38;;;;3440:23;;;3482:1;3440:12;;;:23;;;;;;3466:17;;;3440:43;;3592:17;;3440:3;;3592:17;;;;;;;;;;;;;;;;;;;;;;3687:3;:12;;:19;3700:5;3687:19;;;;;;;;;;;3680:26;;;3730:4;3723:11;;;;;;;;2491:1300;3774:5;3767:12;;;;;5774:319:5;5868:7;5907:17;;;:12;;;:17;;;;;;5958:12;5943:13;5935:36;;;;-1:-1:-1;;;5935:36:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6025:3;:12;;6049:1;6038:8;:12;6025:26;;;;;;;;;;;;;;;;;;:33;;;6018:40;;;5774:319;;;;;:::o;743:619:0:-;803:4;1271:20;;1114:66;1311:23;;;;;;:42;;-1:-1:-1;;1338:15:0;;;1303:51;-1:-1:-1;;743:619:0:o;3858:196::-;3961:12;3993:53;4016:6;4024:4;4030:1;4033:12;5365;5398:18;5409:6;5398:10;:18::i;:::-;5390:60;;;;;-1:-1:-1;;;5390:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5524:12;5538:23;5565:6;-1:-1:-1;;;;;5565:11:0;5585:8;5596:4;5565:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5565:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5523:78;;;;5616:7;5612:595;;;5647:10;-1:-1:-1;5640:17:0;;-1:-1:-1;5640:17:0;5612:595;5761:17;;:21;5757:439;;6024:10;6018:17;6085:15;6072:10;6068:2;6064:19;6057:44;5972:148;6160:20;;-1:-1:-1;;;6160:20:0;;;;;;;;;;;;;;;;;6167:12;;6160:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://4a63f85f75420b80a164dc892b523949ac6f0f14deb305479bddcdbdae5c5dbd
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.