ETH Price: $3,377.93 (-1.92%)
Gas: 2 Gwei

Token

Slices (SLICES)
 

Overview

Max Total Supply

4,132 SLICES

Holders

1,715

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x41c9152a713ac2c48d650862b418a2cc767cebe2
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Slices

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : Slices.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;

import "./openzeppelin/token/ERC1155/ERC1155.sol"; 
import "./openzeppelin/utils/Strings.sol";
import "./openzeppelin/access/Ownable.sol";

contract Slices is ERC1155, Ownable {

  address public mDev;
  string public mName;
  string public mSymbol;

  string public mContractURI;
  string public mBaseURI;

  struct Subcollection {
    uint startingTokenId;
    uint numPrimaryTokens;
    uint price;
    uint maxPerWallet;
    bool active;
    uint totalTime;
    uint fallbackTime;
    uint startTime;
  }

  mapping(uint => Subcollection) public mAllSubcollections;
  mapping(uint => mapping(address => uint)) public mMintedPerWallet;
  uint public mNextSubcollectionId;
  uint public mNextStartingTokenId;

  uint256 private mRoyaltyBasisPoints = 1000;

  modifier onlyOwnerOrDev() {
    require(msg.sender == owner() || msg.sender == mDev, "only the dev or owner can call this");
    _;
  }

  modifier onlyDev() {
    require(msg.sender == mDev,"only dev can call this");
    _;
  }

  constructor(string memory aName, string memory aSymbol, string memory aBaseURI, string memory aContractURI, address aOwner) ERC1155(aBaseURI) {
    mName = aName;
    mSymbol = aSymbol;
    mBaseURI = aBaseURI;
    mContractURI = aContractURI;
    mDev = msg.sender;
    transferOwnership(aOwner);

    mNextStartingTokenId = 1;
    mNextSubcollectionId = 1;
  }

  function mint(uint aSubcollectionId, uint aTokenId, uint aQuantity) public payable {
    require(aSubcollectionId < mNextSubcollectionId, "Not a valid subcollection");
    require(aTokenId >= mAllSubcollections[aSubcollectionId].startingTokenId, "Not a valid token id for this subcollection");
    require(aTokenId < mAllSubcollections[aSubcollectionId].startingTokenId + mAllSubcollections[aSubcollectionId].numPrimaryTokens, "Not a valid token id for this subcollection");
    require(msg.value == mAllSubcollections[aSubcollectionId].price, "Incorrect value sent");
    require(mAllSubcollections[aSubcollectionId].active, "Subcollection minting not active");
    uint256 dt = block.timestamp - mAllSubcollections[aSubcollectionId].startTime;
    require(dt <= mAllSubcollections[aSubcollectionId].totalTime, "Minting has ended.");
    require(mMintedPerWallet[aSubcollectionId][msg.sender] + aQuantity <= mAllSubcollections[aSubcollectionId].maxPerWallet, "You can't mint that many");

    mMintedPerWallet[aSubcollectionId][msg.sender] += aQuantity;

    if (dt <= mAllSubcollections[aSubcollectionId].totalTime - mAllSubcollections[aSubcollectionId].fallbackTime) {
      _mint(msg.sender, aTokenId, aQuantity, "");
    } else {
      _mint(msg.sender, mAllSubcollections[aSubcollectionId].startingTokenId + mAllSubcollections[aSubcollectionId].numPrimaryTokens, aQuantity, "");
    }
  }

  function createNewSubcollection(uint aNumPrimaryTokens, uint aPrice, uint aMaxPerWallet, uint aTotalTime, uint aFallbackTime) public onlyOwnerOrDev {
    Subcollection memory newSc = Subcollection(mNextStartingTokenId, aNumPrimaryTokens, aPrice, aMaxPerWallet, false, aTotalTime, aFallbackTime, 0); 
    mAllSubcollections[mNextSubcollectionId] = newSc;
    mNextSubcollectionId += 1;
    mNextStartingTokenId += aNumPrimaryTokens + 1; //Always 1 fallback token
  }

  function transferDev(address aNewDev) public onlyDev {
    require(aNewDev != address(0), "can't set owner to null address");
    mDev = aNewDev;
  }

  function changeURI(string memory aNewURI) public onlyOwnerOrDev {
    mBaseURI = aNewURI;
  }

  function setActive(uint aSubcollectionId, bool aActive) public onlyOwnerOrDev {
    require(aSubcollectionId < mNextSubcollectionId, "Not a valid subcollection");
    //Everytime this is set to active, the start time starts over. Even if the subcollection is active.
    //This may be useful functionality if things go wrong in the future.
    //If things need to be paused, set this to inactive and then change the times before starting
    if (aActive) mAllSubcollections[aSubcollectionId].startTime = block.timestamp;
    mAllSubcollections[aSubcollectionId].active = aActive;
  }

  function changeTimes(uint aSubcollectionId, uint aTotalTime, uint aFallbackTime) public onlyOwnerOrDev {
    require(aSubcollectionId < mNextSubcollectionId, "Not a valid subcollection");
    mAllSubcollections[aSubcollectionId].totalTime = aTotalTime;
    mAllSubcollections[aSubcollectionId].fallbackTime = aFallbackTime;
  }

  function changePrice(uint aSubcollectionId, uint aPrice) public onlyOwnerOrDev {
    require(aSubcollectionId < mNextSubcollectionId, "Not a valid subcollection");
    mAllSubcollections[aSubcollectionId].price = aPrice;
  }

  function changeRoyaltyBasisPoints(uint256 aRoyaltyBasisPoints) public onlyOwner {
    mRoyaltyBasisPoints = aRoyaltyBasisPoints;
  }

  function changeContractURI(string calldata aContractURI) public onlyOwnerOrDev {
    mContractURI = aContractURI;
  }

  function withdrawFunds() public onlyOwner {
    payable(msg.sender).transfer(address(this).balance);
  }

  function uri(uint256 aTokenId) override public view returns(string memory) {
    return string(
      abi.encodePacked(
        mBaseURI,
        Strings.toString(aTokenId),
        ".json"
      )
    );
  }

  function contractURI() public view returns (string memory) {
    return mContractURI;
  }

  function name() public view virtual returns (string memory) {
    return mName;
  }

  function symbol() public view virtual returns (string memory) {
    return mSymbol;
  }

  function royaltyInfo(uint256 /*aTokenId*/, uint256 aSalePrice)
    external
    view
    returns (address aReceiver, uint256 aRoyaltyAmount)
  {
    return (owner(), (aSalePrice * mRoyaltyBasisPoints) / 10000);
  }

}

File 2 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 4 of 11 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 5 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 6 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

File 9 of 11 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 10 of 11 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

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

        address operator = _msgSender();

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

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

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

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

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

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

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

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

        return array;
    }
}

File 11 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"aName","type":"string"},{"internalType":"string","name":"aSymbol","type":"string"},{"internalType":"string","name":"aBaseURI","type":"string"},{"internalType":"string","name":"aContractURI","type":"string"},{"internalType":"address","name":"aOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"aContractURI","type":"string"}],"name":"changeContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"aSubcollectionId","type":"uint256"},{"internalType":"uint256","name":"aPrice","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"aRoyaltyBasisPoints","type":"uint256"}],"name":"changeRoyaltyBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"aSubcollectionId","type":"uint256"},{"internalType":"uint256","name":"aTotalTime","type":"uint256"},{"internalType":"uint256","name":"aFallbackTime","type":"uint256"}],"name":"changeTimes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"aNewURI","type":"string"}],"name":"changeURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"aNumPrimaryTokens","type":"uint256"},{"internalType":"uint256","name":"aPrice","type":"uint256"},{"internalType":"uint256","name":"aMaxPerWallet","type":"uint256"},{"internalType":"uint256","name":"aTotalTime","type":"uint256"},{"internalType":"uint256","name":"aFallbackTime","type":"uint256"}],"name":"createNewSubcollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mAllSubcollections","outputs":[{"internalType":"uint256","name":"startingTokenId","type":"uint256"},{"internalType":"uint256","name":"numPrimaryTokens","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"uint256","name":"totalTime","type":"uint256"},{"internalType":"uint256","name":"fallbackTime","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mContractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mDev","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"mMintedPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mNextStartingTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mNextSubcollectionId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mSymbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"aSubcollectionId","type":"uint256"},{"internalType":"uint256","name":"aTokenId","type":"uint256"},{"internalType":"uint256","name":"aQuantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"aSalePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"aReceiver","type":"address"},{"internalType":"uint256","name":"aRoyaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"aSubcollectionId","type":"uint256"},{"internalType":"bool","name":"aActive","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"aNewDev","type":"address"}],"name":"transferDev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"aTokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526103e8600d553480156200001757600080fd5b5060405162002eef38038062002eef8339810160408190526200003a91620002cb565b826200004681620000c1565b506200005233620000d3565b600562000060868262000437565b5060066200006f858262000437565b5060086200007e848262000437565b5060076200008d838262000437565b50600480546001600160a01b03191633179055620000ab8162000125565b50506001600c819055600b555062000503915050565b6002620000cf828262000437565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200012f620001a8565b6001600160a01b0381166200019a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b620001a581620000d3565b50565b6003546001600160a01b03163314620002045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000191565b565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200022e57600080fd5b81516001600160401b03808211156200024b576200024b62000206565b604051601f8301601f19908116603f0116810190828211818310171562000276576200027662000206565b816040528381526020925086838588010111156200029357600080fd5b600091505b83821015620002b7578582018301518183018401529082019062000298565b600093810190920192909252949350505050565b600080600080600060a08688031215620002e457600080fd5b85516001600160401b0380821115620002fc57600080fd5b6200030a89838a016200021c565b965060208801519150808211156200032157600080fd5b6200032f89838a016200021c565b955060408801519150808211156200034657600080fd5b6200035489838a016200021c565b945060608801519150808211156200036b57600080fd5b506200037a888289016200021c565b608088015190935090506001600160a01b03811681146200039a57600080fd5b809150509295509295909350565b600181811c90821680620003bd57607f821691505b602082108103620003de57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200043257600081815260208120601f850160051c810160208610156200040d5750805b601f850160051c820191505b818110156200042e5782815560010162000419565b5050505b505050565b81516001600160401b0381111562000453576200045362000206565b6200046b81620004648454620003a8565b84620003e4565b602080601f831160018114620004a357600084156200048a5750858301515b600019600386901b1c1916600185901b1785556200042e565b600085815260208120601f198616915b82811015620004d457888601518255948401946001909101908401620004b3565b5085821015620004f35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6129dc80620005136000396000f3fe6080604052600436106101f85760003560e01c8063803ab8d41161010d578063c1a1c70d116100a0578063e8a3d4851161006f578063e8a3d48514610636578063e985e9c51461064b578063f242432a14610694578063f2fde38b146106b4578063f865dcc1146106d457600080fd5b8063c1a1c70d146105c0578063d97dff5e146105e0578063e5e01c11146105f6578063e60a955d1461061657600080fd5b8063a22cb465116100dc578063a22cb46514610528578063a65ed3c614610548578063b3de019c14610580578063b858c92f146105a057600080fd5b8063803ab8d4146104b75780638da5cb5b146104cc5780639069195b146104fe57806395d89b411461051357600080fd5b80632a55205a116101905780635699b9041161015f5780635699b904146103a35780636113a92a146103c3578063685762bf146103e3578063715018a61461048257806375638e5f1461049757600080fd5b80632a55205a146102f75780632eb2c2d614610336578063332ca4f2146103565780634e1273f41461037657600080fd5b80630e89341c116101cc5780630e89341c1461029757806315e3e1b4146102b75780632149b8ed146102cd57806324600fc3146102e257600080fd5b8062fdd58e146101fd57806301ffc9a71461023057806302acc94b1461026057806306fdde0314610275575b600080fd5b34801561020957600080fd5b5061021d610218366004611c6b565b6106e9565b6040519081526020015b60405180910390f35b34801561023c57600080fd5b5061025061024b366004611cab565b610782565b6040519015158152602001610227565b61027361026e366004611ccf565b6107d2565b005b34801561028157600080fd5b5061028a610ac2565b6040516102279190611d4b565b3480156102a357600080fd5b5061028a6102b2366004611d5e565b610b54565b3480156102c357600080fd5b5061021d600c5481565b3480156102d957600080fd5b5061028a610b88565b3480156102ee57600080fd5b50610273610c16565b34801561030357600080fd5b50610317610312366004611d77565b610c4d565b604080516001600160a01b039093168352602083019190915201610227565b34801561034257600080fd5b50610273610351366004611eec565b610c88565b34801561036257600080fd5b50610273610371366004611f95565b610cd4565b34801561038257600080fd5b50610396610391366004611fb0565b610d9f565b60405161022791906120b5565b3480156103af57600080fd5b506102736103be3660046120c8565b610ec8565b3480156103cf57600080fd5b506102736103de366004612139565b610f19565b3480156103ef57600080fd5b506104456103fe366004611d5e565b60096020526000908152604090208054600182015460028301546003840154600485015460058601546006870154600790970154959694959394929360ff90921692909188565b6040805198895260208901979097529587019490945260608601929092521515608085015260a084015260c083015260e082015261010001610227565b34801561048e57600080fd5b50610273611033565b3480156104a357600080fd5b506102736104b2366004611ccf565b611047565b3480156104c357600080fd5b5061028a6110c4565b3480156104d857600080fd5b506003546001600160a01b03165b6040516001600160a01b039091168152602001610227565b34801561050a57600080fd5b5061028a6110d1565b34801561051f57600080fd5b5061028a6110de565b34801561053457600080fd5b50610273610543366004612184565b6110ed565b34801561055457600080fd5b5061021d6105633660046121b7565b600a60209081526000928352604080842090915290825290205481565b34801561058c57600080fd5b5061027361059b366004611d77565b6110fc565b3480156105ac57600080fd5b506102736105bb366004611d5e565b611171565b3480156105cc57600080fd5b506004546104e6906001600160a01b031681565b3480156105ec57600080fd5b5061021d600b5481565b34801561060257600080fd5b506102736106113660046121da565b61117e565b34801561062257600080fd5b50610273610631366004612222565b6111c9565b34801561064257600080fd5b5061028a611268565b34801561065757600080fd5b50610250610666366004612245565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156106a057600080fd5b506102736106af36600461226f565b611277565b3480156106c057600080fd5b506102736106cf366004611f95565b6112bc565b3480156106e057600080fd5b5061028a611332565b60006001600160a01b0383166107595760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b14806107b357506001600160e01b031982166303a24d0760e21b145b8061077c57506301ffc9a760e01b6001600160e01b031983161461077c565b600b5483106107f35760405162461bcd60e51b8152600401610750906122d3565b6000838152600960205260409020548210156108215760405162461bcd60e51b81526004016107509061230a565b600083815260096020526040902060018101549054610840919061236b565b821061085e5760405162461bcd60e51b81526004016107509061230a565b60008381526009602052604090206002015434146108b55760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd081d985b1d59481cd95b9d60621b6044820152606401610750565b60008381526009602052604090206004015460ff166109165760405162461bcd60e51b815260206004820181905260248201527f537562636f6c6c656374696f6e206d696e74696e67206e6f74206163746976656044820152606401610750565b600083815260096020526040812060070154610932904261237e565b60008581526009602052604090206005015490915081111561098b5760405162461bcd60e51b815260206004820152601260248201527126b4b73a34b733903430b99032b73232b21760711b6044820152606401610750565b600084815260096020908152604080832060030154600a8352818420338552909252909120546109bc90849061236b565b1115610a0a5760405162461bcd60e51b815260206004820152601860248201527f596f752063616e2774206d696e742074686174206d616e7900000000000000006044820152606401610750565b6000848152600a6020908152604080832033845290915281208054849290610a3390849061236b565b909155505060008481526009602052604090206006810154600590910154610a5b919061237e565b8111610a8157610a7c3384846040518060200160405280600081525061133f565b610abc565b600084815260096020526040902060018101549054610abc913391610aa6919061236b565b846040518060200160405280600081525061133f565b50505050565b606060058054610ad190612391565b80601f0160208091040260200160405190810160405280929190818152602001828054610afd90612391565b8015610b4a5780601f10610b1f57610100808354040283529160200191610b4a565b820191906000526020600020905b815481529060010190602001808311610b2d57829003601f168201915b5050505050905090565b60606008610b6183611453565b604051602001610b729291906123cb565b6040516020818303038152906040529050919050565b60088054610b9590612391565b80601f0160208091040260200160405190810160405280929190818152602001828054610bc190612391565b8015610c0e5780601f10610be357610100808354040283529160200191610c0e565b820191906000526020600020905b815481529060010190602001808311610bf157829003601f168201915b505050505081565b610c1e61155b565b60405133904780156108fc02916000818181858888f19350505050158015610c4a573d6000803e3d6000fd5b50565b600080610c626003546001600160a01b031690565b612710600d5485610c739190612462565b610c7d919061248f565b915091509250929050565b6001600160a01b038516331480610ca45750610ca48533610666565b610cc05760405162461bcd60e51b8152600401610750906124a3565b610ccd85858585856115b5565b5050505050565b6004546001600160a01b03163314610d275760405162461bcd60e51b81526020600482015260166024820152756f6e6c79206465762063616e2063616c6c207468697360501b6044820152606401610750565b6001600160a01b038116610d7d5760405162461bcd60e51b815260206004820152601f60248201527f63616e277420736574206f776e657220746f206e756c6c2061646472657373006044820152606401610750565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60608151835114610e045760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610750565b600083516001600160401b03811115610e1f57610e1f611d99565b604051908082528060200260200182016040528015610e48578160200160208202803683370190505b50905060005b8451811015610ec057610e93858281518110610e6c57610e6c6124f2565b6020026020010151858381518110610e8657610e866124f2565b60200260200101516106e9565b828281518110610ea557610ea56124f2565b6020908102919091010152610eb981612508565b9050610e4e565b509392505050565b6003546001600160a01b0316331480610eeb57506004546001600160a01b031633145b610f075760405162461bcd60e51b815260040161075090612521565b6007610f148284836125aa565b505050565b6003546001600160a01b0316331480610f3c57506004546001600160a01b031633145b610f585760405162461bcd60e51b815260040161075090612521565b6040805161010081018252600c54815260208082018881528284018881526060840188815260006080860181815260a087018a815260c088018a815260e08901848152600b8054865260099099529984208951815596516001808901919091559551600288015593516003870155905160048601805460ff191691151591909117905551600585015590516006840155945160079092019190915581549293909261100490849061236b565b90915550611015905086600161236b565b600c6000828254611026919061236b565b9091555050505050505050565b61103b61155b565b6110456000611792565b565b6003546001600160a01b031633148061106a57506004546001600160a01b031633145b6110865760405162461bcd60e51b815260040161075090612521565b600b5483106110a75760405162461bcd60e51b8152600401610750906122d3565b600092835260096020526040909220600581019190915560060155565b60068054610b9590612391565b60058054610b9590612391565b606060068054610ad190612391565b6110f83383836117e4565b5050565b6003546001600160a01b031633148061111f57506004546001600160a01b031633145b61113b5760405162461bcd60e51b815260040161075090612521565b600b54821061115c5760405162461bcd60e51b8152600401610750906122d3565b60009182526009602052604090912060020155565b61117961155b565b600d55565b6003546001600160a01b03163314806111a157506004546001600160a01b031633145b6111bd5760405162461bcd60e51b815260040161075090612521565b60086110f88282612669565b6003546001600160a01b03163314806111ec57506004546001600160a01b031633145b6112085760405162461bcd60e51b815260040161075090612521565b600b5482106112295760405162461bcd60e51b8152600401610750906122d3565b8015611245576000828152600960205260409020426007909101555b600091825260096020526040909120600401805460ff1916911515919091179055565b606060078054610ad190612391565b6001600160a01b03851633148061129357506112938533610666565b6112af5760405162461bcd60e51b8152600401610750906124a3565b610ccd85858585856118c4565b6112c461155b565b6001600160a01b0381166113295760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610750565b610c4a81611792565b60078054610b9590612391565b6001600160a01b03841661139f5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610750565b3360006113ab856119ee565b905060006113b8856119ee565b90506000868152602081815260408083206001600160a01b038b168452909152812080548792906113ea90849061236b565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461144a83600089898989611a39565b50505050505050565b60608160000361147a5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114a4578061148e81612508565b915061149d9050600a8361248f565b915061147e565b6000816001600160401b038111156114be576114be611d99565b6040519080825280601f01601f1916602001820160405280156114e8576020820181803683370190505b5090505b8415611553576114fd60018361237e565b915061150a600a86612728565b61151590603061236b565b60f81b81838151811061152a5761152a6124f2565b60200101906001600160f81b031916908160001a90535061154c600a8661248f565b94506114ec565b949350505050565b6003546001600160a01b031633146110455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610750565b81518351146116175760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610750565b6001600160a01b03841661163d5760405162461bcd60e51b81526004016107509061273c565b3360005b845181101561172457600085828151811061165e5761165e6124f2565b60200260200101519050600085838151811061167c5761167c6124f2565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156116cc5760405162461bcd60e51b815260040161075090612781565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061170990849061236b565b925050819055505050508061171d90612508565b9050611641565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117749291906127cb565b60405180910390a461178a818787878787611b94565b505050505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036118575760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610750565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166118ea5760405162461bcd60e51b81526004016107509061273c565b3360006118f6856119ee565b90506000611903856119ee565b90506000868152602081815260408083206001600160a01b038c168452909152902054858110156119465760405162461bcd60e51b815260040161075090612781565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a1682528120805488929061198390849061236b565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46119e3848a8a8a8a8a611a39565b505050505050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611a2857611a286124f2565b602090810291909101015292915050565b6001600160a01b0384163b1561178a5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611a7d90899089908890889088906004016127f9565b6020604051808303816000875af1925050508015611ab8575060408051601f3d908101601f19168201909252611ab59181019061283e565b60015b611b6457611ac461285b565b806308c379a003611afd5750611ad8612877565b80611ae35750611aff565b8060405162461bcd60e51b81526004016107509190611d4b565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610750565b6001600160e01b0319811663f23a6e6160e01b1461144a5760405162461bcd60e51b815260040161075090612900565b6001600160a01b0384163b1561178a5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611bd89089908990889088908890600401612948565b6020604051808303816000875af1925050508015611c13575060408051601f3d908101601f19168201909252611c109181019061283e565b60015b611c1f57611ac461285b565b6001600160e01b0319811663bc197c8160e01b1461144a5760405162461bcd60e51b815260040161075090612900565b80356001600160a01b0381168114611c6657600080fd5b919050565b60008060408385031215611c7e57600080fd5b611c8783611c4f565b946020939093013593505050565b6001600160e01b031981168114610c4a57600080fd5b600060208284031215611cbd57600080fd5b8135611cc881611c95565b9392505050565b600080600060608486031215611ce457600080fd5b505081359360208301359350604090920135919050565b60005b83811015611d16578181015183820152602001611cfe565b50506000910152565b60008151808452611d37816020860160208601611cfb565b601f01601f19169290920160200192915050565b602081526000611cc86020830184611d1f565b600060208284031215611d7057600080fd5b5035919050565b60008060408385031215611d8a57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611dd457611dd4611d99565b6040525050565b60006001600160401b03821115611df457611df4611d99565b5060051b60200190565b600082601f830112611e0f57600080fd5b81356020611e1c82611ddb565b604051611e298282611daf565b83815260059390931b8501820192828101915086841115611e4957600080fd5b8286015b84811015611e645780358352918301918301611e4d565b509695505050505050565b60006001600160401b03831115611e8857611e88611d99565b604051611e9f601f8501601f191660200182611daf565b809150838152848484011115611eb457600080fd5b83836020830137600060208583010152509392505050565b600082601f830112611edd57600080fd5b611cc883833560208501611e6f565b600080600080600060a08688031215611f0457600080fd5b611f0d86611c4f565b9450611f1b60208701611c4f565b935060408601356001600160401b0380821115611f3757600080fd5b611f4389838a01611dfe565b94506060880135915080821115611f5957600080fd5b611f6589838a01611dfe565b93506080880135915080821115611f7b57600080fd5b50611f8888828901611ecc565b9150509295509295909350565b600060208284031215611fa757600080fd5b611cc882611c4f565b60008060408385031215611fc357600080fd5b82356001600160401b0380821115611fda57600080fd5b818501915085601f830112611fee57600080fd5b81356020611ffb82611ddb565b6040516120088282611daf565b83815260059390931b850182019282810191508984111561202857600080fd5b948201945b8386101561204d5761203e86611c4f565b8252948201949082019061202d565b9650508601359250508082111561206357600080fd5b5061207085828601611dfe565b9150509250929050565b600081518084526020808501945080840160005b838110156120aa5781518752958201959082019060010161208e565b509495945050505050565b602081526000611cc8602083018461207a565b600080602083850312156120db57600080fd5b82356001600160401b03808211156120f257600080fd5b818501915085601f83011261210657600080fd5b81358181111561211557600080fd5b86602082850101111561212757600080fd5b60209290920196919550909350505050565b600080600080600060a0868803121561215157600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b80358015158114611c6657600080fd5b6000806040838503121561219757600080fd5b6121a083611c4f565b91506121ae60208401612174565b90509250929050565b600080604083850312156121ca57600080fd5b823591506121ae60208401611c4f565b6000602082840312156121ec57600080fd5b81356001600160401b0381111561220257600080fd5b8201601f8101841361221357600080fd5b61155384823560208401611e6f565b6000806040838503121561223557600080fd5b823591506121ae60208401612174565b6000806040838503121561225857600080fd5b61226183611c4f565b91506121ae60208401611c4f565b600080600080600060a0868803121561228757600080fd5b61229086611c4f565b945061229e60208701611c4f565b9350604086013592506060860135915060808601356001600160401b038111156122c757600080fd5b611f8888828901611ecc565b60208082526019908201527f4e6f7420612076616c696420737562636f6c6c656374696f6e00000000000000604082015260600190565b6020808252602b908201527f4e6f7420612076616c696420746f6b656e20696420666f72207468697320737560408201526a3131b7b63632b1ba34b7b760a91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561077c5761077c612355565b8181038181111561077c5761077c612355565b600181811c908216806123a557607f821691505b6020821081036123c557634e487b7160e01b600052602260045260246000fd5b50919050565b60008084546123d981612391565b600182811680156123f1576001811461240657612435565b60ff1984168752821515830287019450612435565b8860005260208060002060005b8581101561242c5781548a820152908401908201612413565b50505082870194505b505050508351612449818360208801611cfb565b64173539b7b760d91b9101908152600501949350505050565b808202811582820484141761077c5761077c612355565b634e487b7160e01b600052601260045260246000fd5b60008261249e5761249e612479565b500490565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006001820161251a5761251a612355565b5060010190565b60208082526023908201527f6f6e6c792074686520646576206f72206f776e65722063616e2063616c6c207460408201526268697360e81b606082015260800190565b601f821115610f1457600081815260208120601f850160051c8101602086101561258b5750805b601f850160051c820191505b8181101561178a57828155600101612597565b6001600160401b038311156125c1576125c1611d99565b6125d5836125cf8354612391565b83612564565b6000601f84116001811461260957600085156125f15750838201355b600019600387901b1c1916600186901b178355610ccd565b600083815260209020601f19861690835b8281101561263a578685013582556020948501946001909201910161261a565b50868210156126575760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b81516001600160401b0381111561268257612682611d99565b612696816126908454612391565b84612564565b602080601f8311600181146126cb57600084156126b35750858301515b600019600386901b1c1916600185901b17855561178a565b600085815260208120601f198616915b828110156126fa578886015182559484019460019091019084016126db565b50858210156127185787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008261273757612737612479565b500690565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006127de604083018561207a565b82810360208401526127f0818561207a565b95945050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061283390830184611d1f565b979650505050505050565b60006020828403121561285057600080fd5b8151611cc881611c95565b600060033d11156128745760046000803e5060005160e01c5b90565b600060443d10156128855790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156128b457505050505090565b82850191508151818111156128cc5750505050505090565b843d87010160208285010111156128e65750505050505090565b6128f560208286010187611daf565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a0604082018190526000906129749083018661207a565b8281036060840152612986818661207a565b9050828103608084015261299a8185611d1f565b9897505050505050505056fea264697066735822122045c52ddc578f0805e69e6a5c6bd66ad8bf700ffb181f641aa5f84933052078c764736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000de8f5f0b94134d50ad7f85ef02b9771203f939e50000000000000000000000000000000000000000000000000000000000000006536c6963657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006534c494345530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f736c696365732d70726f6a6563742e73332e616d617a6f6e6177732e636f6d2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003568747470733a2f2f736c696365732d70726f6a6563742e73332e616d617a6f6e6177732e636f6d2f636f6e74726163742e6a736f6e0000000000000000000000

Deployed Bytecode

0x6080604052600436106101f85760003560e01c8063803ab8d41161010d578063c1a1c70d116100a0578063e8a3d4851161006f578063e8a3d48514610636578063e985e9c51461064b578063f242432a14610694578063f2fde38b146106b4578063f865dcc1146106d457600080fd5b8063c1a1c70d146105c0578063d97dff5e146105e0578063e5e01c11146105f6578063e60a955d1461061657600080fd5b8063a22cb465116100dc578063a22cb46514610528578063a65ed3c614610548578063b3de019c14610580578063b858c92f146105a057600080fd5b8063803ab8d4146104b75780638da5cb5b146104cc5780639069195b146104fe57806395d89b411461051357600080fd5b80632a55205a116101905780635699b9041161015f5780635699b904146103a35780636113a92a146103c3578063685762bf146103e3578063715018a61461048257806375638e5f1461049757600080fd5b80632a55205a146102f75780632eb2c2d614610336578063332ca4f2146103565780634e1273f41461037657600080fd5b80630e89341c116101cc5780630e89341c1461029757806315e3e1b4146102b75780632149b8ed146102cd57806324600fc3146102e257600080fd5b8062fdd58e146101fd57806301ffc9a71461023057806302acc94b1461026057806306fdde0314610275575b600080fd5b34801561020957600080fd5b5061021d610218366004611c6b565b6106e9565b6040519081526020015b60405180910390f35b34801561023c57600080fd5b5061025061024b366004611cab565b610782565b6040519015158152602001610227565b61027361026e366004611ccf565b6107d2565b005b34801561028157600080fd5b5061028a610ac2565b6040516102279190611d4b565b3480156102a357600080fd5b5061028a6102b2366004611d5e565b610b54565b3480156102c357600080fd5b5061021d600c5481565b3480156102d957600080fd5b5061028a610b88565b3480156102ee57600080fd5b50610273610c16565b34801561030357600080fd5b50610317610312366004611d77565b610c4d565b604080516001600160a01b039093168352602083019190915201610227565b34801561034257600080fd5b50610273610351366004611eec565b610c88565b34801561036257600080fd5b50610273610371366004611f95565b610cd4565b34801561038257600080fd5b50610396610391366004611fb0565b610d9f565b60405161022791906120b5565b3480156103af57600080fd5b506102736103be3660046120c8565b610ec8565b3480156103cf57600080fd5b506102736103de366004612139565b610f19565b3480156103ef57600080fd5b506104456103fe366004611d5e565b60096020526000908152604090208054600182015460028301546003840154600485015460058601546006870154600790970154959694959394929360ff90921692909188565b6040805198895260208901979097529587019490945260608601929092521515608085015260a084015260c083015260e082015261010001610227565b34801561048e57600080fd5b50610273611033565b3480156104a357600080fd5b506102736104b2366004611ccf565b611047565b3480156104c357600080fd5b5061028a6110c4565b3480156104d857600080fd5b506003546001600160a01b03165b6040516001600160a01b039091168152602001610227565b34801561050a57600080fd5b5061028a6110d1565b34801561051f57600080fd5b5061028a6110de565b34801561053457600080fd5b50610273610543366004612184565b6110ed565b34801561055457600080fd5b5061021d6105633660046121b7565b600a60209081526000928352604080842090915290825290205481565b34801561058c57600080fd5b5061027361059b366004611d77565b6110fc565b3480156105ac57600080fd5b506102736105bb366004611d5e565b611171565b3480156105cc57600080fd5b506004546104e6906001600160a01b031681565b3480156105ec57600080fd5b5061021d600b5481565b34801561060257600080fd5b506102736106113660046121da565b61117e565b34801561062257600080fd5b50610273610631366004612222565b6111c9565b34801561064257600080fd5b5061028a611268565b34801561065757600080fd5b50610250610666366004612245565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156106a057600080fd5b506102736106af36600461226f565b611277565b3480156106c057600080fd5b506102736106cf366004611f95565b6112bc565b3480156106e057600080fd5b5061028a611332565b60006001600160a01b0383166107595760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b14806107b357506001600160e01b031982166303a24d0760e21b145b8061077c57506301ffc9a760e01b6001600160e01b031983161461077c565b600b5483106107f35760405162461bcd60e51b8152600401610750906122d3565b6000838152600960205260409020548210156108215760405162461bcd60e51b81526004016107509061230a565b600083815260096020526040902060018101549054610840919061236b565b821061085e5760405162461bcd60e51b81526004016107509061230a565b60008381526009602052604090206002015434146108b55760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd081d985b1d59481cd95b9d60621b6044820152606401610750565b60008381526009602052604090206004015460ff166109165760405162461bcd60e51b815260206004820181905260248201527f537562636f6c6c656374696f6e206d696e74696e67206e6f74206163746976656044820152606401610750565b600083815260096020526040812060070154610932904261237e565b60008581526009602052604090206005015490915081111561098b5760405162461bcd60e51b815260206004820152601260248201527126b4b73a34b733903430b99032b73232b21760711b6044820152606401610750565b600084815260096020908152604080832060030154600a8352818420338552909252909120546109bc90849061236b565b1115610a0a5760405162461bcd60e51b815260206004820152601860248201527f596f752063616e2774206d696e742074686174206d616e7900000000000000006044820152606401610750565b6000848152600a6020908152604080832033845290915281208054849290610a3390849061236b565b909155505060008481526009602052604090206006810154600590910154610a5b919061237e565b8111610a8157610a7c3384846040518060200160405280600081525061133f565b610abc565b600084815260096020526040902060018101549054610abc913391610aa6919061236b565b846040518060200160405280600081525061133f565b50505050565b606060058054610ad190612391565b80601f0160208091040260200160405190810160405280929190818152602001828054610afd90612391565b8015610b4a5780601f10610b1f57610100808354040283529160200191610b4a565b820191906000526020600020905b815481529060010190602001808311610b2d57829003601f168201915b5050505050905090565b60606008610b6183611453565b604051602001610b729291906123cb565b6040516020818303038152906040529050919050565b60088054610b9590612391565b80601f0160208091040260200160405190810160405280929190818152602001828054610bc190612391565b8015610c0e5780601f10610be357610100808354040283529160200191610c0e565b820191906000526020600020905b815481529060010190602001808311610bf157829003601f168201915b505050505081565b610c1e61155b565b60405133904780156108fc02916000818181858888f19350505050158015610c4a573d6000803e3d6000fd5b50565b600080610c626003546001600160a01b031690565b612710600d5485610c739190612462565b610c7d919061248f565b915091509250929050565b6001600160a01b038516331480610ca45750610ca48533610666565b610cc05760405162461bcd60e51b8152600401610750906124a3565b610ccd85858585856115b5565b5050505050565b6004546001600160a01b03163314610d275760405162461bcd60e51b81526020600482015260166024820152756f6e6c79206465762063616e2063616c6c207468697360501b6044820152606401610750565b6001600160a01b038116610d7d5760405162461bcd60e51b815260206004820152601f60248201527f63616e277420736574206f776e657220746f206e756c6c2061646472657373006044820152606401610750565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60608151835114610e045760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610750565b600083516001600160401b03811115610e1f57610e1f611d99565b604051908082528060200260200182016040528015610e48578160200160208202803683370190505b50905060005b8451811015610ec057610e93858281518110610e6c57610e6c6124f2565b6020026020010151858381518110610e8657610e866124f2565b60200260200101516106e9565b828281518110610ea557610ea56124f2565b6020908102919091010152610eb981612508565b9050610e4e565b509392505050565b6003546001600160a01b0316331480610eeb57506004546001600160a01b031633145b610f075760405162461bcd60e51b815260040161075090612521565b6007610f148284836125aa565b505050565b6003546001600160a01b0316331480610f3c57506004546001600160a01b031633145b610f585760405162461bcd60e51b815260040161075090612521565b6040805161010081018252600c54815260208082018881528284018881526060840188815260006080860181815260a087018a815260c088018a815260e08901848152600b8054865260099099529984208951815596516001808901919091559551600288015593516003870155905160048601805460ff191691151591909117905551600585015590516006840155945160079092019190915581549293909261100490849061236b565b90915550611015905086600161236b565b600c6000828254611026919061236b565b9091555050505050505050565b61103b61155b565b6110456000611792565b565b6003546001600160a01b031633148061106a57506004546001600160a01b031633145b6110865760405162461bcd60e51b815260040161075090612521565b600b5483106110a75760405162461bcd60e51b8152600401610750906122d3565b600092835260096020526040909220600581019190915560060155565b60068054610b9590612391565b60058054610b9590612391565b606060068054610ad190612391565b6110f83383836117e4565b5050565b6003546001600160a01b031633148061111f57506004546001600160a01b031633145b61113b5760405162461bcd60e51b815260040161075090612521565b600b54821061115c5760405162461bcd60e51b8152600401610750906122d3565b60009182526009602052604090912060020155565b61117961155b565b600d55565b6003546001600160a01b03163314806111a157506004546001600160a01b031633145b6111bd5760405162461bcd60e51b815260040161075090612521565b60086110f88282612669565b6003546001600160a01b03163314806111ec57506004546001600160a01b031633145b6112085760405162461bcd60e51b815260040161075090612521565b600b5482106112295760405162461bcd60e51b8152600401610750906122d3565b8015611245576000828152600960205260409020426007909101555b600091825260096020526040909120600401805460ff1916911515919091179055565b606060078054610ad190612391565b6001600160a01b03851633148061129357506112938533610666565b6112af5760405162461bcd60e51b8152600401610750906124a3565b610ccd85858585856118c4565b6112c461155b565b6001600160a01b0381166113295760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610750565b610c4a81611792565b60078054610b9590612391565b6001600160a01b03841661139f5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610750565b3360006113ab856119ee565b905060006113b8856119ee565b90506000868152602081815260408083206001600160a01b038b168452909152812080548792906113ea90849061236b565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461144a83600089898989611a39565b50505050505050565b60608160000361147a5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114a4578061148e81612508565b915061149d9050600a8361248f565b915061147e565b6000816001600160401b038111156114be576114be611d99565b6040519080825280601f01601f1916602001820160405280156114e8576020820181803683370190505b5090505b8415611553576114fd60018361237e565b915061150a600a86612728565b61151590603061236b565b60f81b81838151811061152a5761152a6124f2565b60200101906001600160f81b031916908160001a90535061154c600a8661248f565b94506114ec565b949350505050565b6003546001600160a01b031633146110455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610750565b81518351146116175760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610750565b6001600160a01b03841661163d5760405162461bcd60e51b81526004016107509061273c565b3360005b845181101561172457600085828151811061165e5761165e6124f2565b60200260200101519050600085838151811061167c5761167c6124f2565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156116cc5760405162461bcd60e51b815260040161075090612781565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061170990849061236b565b925050819055505050508061171d90612508565b9050611641565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117749291906127cb565b60405180910390a461178a818787878787611b94565b505050505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036118575760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610750565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166118ea5760405162461bcd60e51b81526004016107509061273c565b3360006118f6856119ee565b90506000611903856119ee565b90506000868152602081815260408083206001600160a01b038c168452909152902054858110156119465760405162461bcd60e51b815260040161075090612781565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a1682528120805488929061198390849061236b565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46119e3848a8a8a8a8a611a39565b505050505050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611a2857611a286124f2565b602090810291909101015292915050565b6001600160a01b0384163b1561178a5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611a7d90899089908890889088906004016127f9565b6020604051808303816000875af1925050508015611ab8575060408051601f3d908101601f19168201909252611ab59181019061283e565b60015b611b6457611ac461285b565b806308c379a003611afd5750611ad8612877565b80611ae35750611aff565b8060405162461bcd60e51b81526004016107509190611d4b565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610750565b6001600160e01b0319811663f23a6e6160e01b1461144a5760405162461bcd60e51b815260040161075090612900565b6001600160a01b0384163b1561178a5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611bd89089908990889088908890600401612948565b6020604051808303816000875af1925050508015611c13575060408051601f3d908101601f19168201909252611c109181019061283e565b60015b611c1f57611ac461285b565b6001600160e01b0319811663bc197c8160e01b1461144a5760405162461bcd60e51b815260040161075090612900565b80356001600160a01b0381168114611c6657600080fd5b919050565b60008060408385031215611c7e57600080fd5b611c8783611c4f565b946020939093013593505050565b6001600160e01b031981168114610c4a57600080fd5b600060208284031215611cbd57600080fd5b8135611cc881611c95565b9392505050565b600080600060608486031215611ce457600080fd5b505081359360208301359350604090920135919050565b60005b83811015611d16578181015183820152602001611cfe565b50506000910152565b60008151808452611d37816020860160208601611cfb565b601f01601f19169290920160200192915050565b602081526000611cc86020830184611d1f565b600060208284031215611d7057600080fd5b5035919050565b60008060408385031215611d8a57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611dd457611dd4611d99565b6040525050565b60006001600160401b03821115611df457611df4611d99565b5060051b60200190565b600082601f830112611e0f57600080fd5b81356020611e1c82611ddb565b604051611e298282611daf565b83815260059390931b8501820192828101915086841115611e4957600080fd5b8286015b84811015611e645780358352918301918301611e4d565b509695505050505050565b60006001600160401b03831115611e8857611e88611d99565b604051611e9f601f8501601f191660200182611daf565b809150838152848484011115611eb457600080fd5b83836020830137600060208583010152509392505050565b600082601f830112611edd57600080fd5b611cc883833560208501611e6f565b600080600080600060a08688031215611f0457600080fd5b611f0d86611c4f565b9450611f1b60208701611c4f565b935060408601356001600160401b0380821115611f3757600080fd5b611f4389838a01611dfe565b94506060880135915080821115611f5957600080fd5b611f6589838a01611dfe565b93506080880135915080821115611f7b57600080fd5b50611f8888828901611ecc565b9150509295509295909350565b600060208284031215611fa757600080fd5b611cc882611c4f565b60008060408385031215611fc357600080fd5b82356001600160401b0380821115611fda57600080fd5b818501915085601f830112611fee57600080fd5b81356020611ffb82611ddb565b6040516120088282611daf565b83815260059390931b850182019282810191508984111561202857600080fd5b948201945b8386101561204d5761203e86611c4f565b8252948201949082019061202d565b9650508601359250508082111561206357600080fd5b5061207085828601611dfe565b9150509250929050565b600081518084526020808501945080840160005b838110156120aa5781518752958201959082019060010161208e565b509495945050505050565b602081526000611cc8602083018461207a565b600080602083850312156120db57600080fd5b82356001600160401b03808211156120f257600080fd5b818501915085601f83011261210657600080fd5b81358181111561211557600080fd5b86602082850101111561212757600080fd5b60209290920196919550909350505050565b600080600080600060a0868803121561215157600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b80358015158114611c6657600080fd5b6000806040838503121561219757600080fd5b6121a083611c4f565b91506121ae60208401612174565b90509250929050565b600080604083850312156121ca57600080fd5b823591506121ae60208401611c4f565b6000602082840312156121ec57600080fd5b81356001600160401b0381111561220257600080fd5b8201601f8101841361221357600080fd5b61155384823560208401611e6f565b6000806040838503121561223557600080fd5b823591506121ae60208401612174565b6000806040838503121561225857600080fd5b61226183611c4f565b91506121ae60208401611c4f565b600080600080600060a0868803121561228757600080fd5b61229086611c4f565b945061229e60208701611c4f565b9350604086013592506060860135915060808601356001600160401b038111156122c757600080fd5b611f8888828901611ecc565b60208082526019908201527f4e6f7420612076616c696420737562636f6c6c656374696f6e00000000000000604082015260600190565b6020808252602b908201527f4e6f7420612076616c696420746f6b656e20696420666f72207468697320737560408201526a3131b7b63632b1ba34b7b760a91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561077c5761077c612355565b8181038181111561077c5761077c612355565b600181811c908216806123a557607f821691505b6020821081036123c557634e487b7160e01b600052602260045260246000fd5b50919050565b60008084546123d981612391565b600182811680156123f1576001811461240657612435565b60ff1984168752821515830287019450612435565b8860005260208060002060005b8581101561242c5781548a820152908401908201612413565b50505082870194505b505050508351612449818360208801611cfb565b64173539b7b760d91b9101908152600501949350505050565b808202811582820484141761077c5761077c612355565b634e487b7160e01b600052601260045260246000fd5b60008261249e5761249e612479565b500490565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60006001820161251a5761251a612355565b5060010190565b60208082526023908201527f6f6e6c792074686520646576206f72206f776e65722063616e2063616c6c207460408201526268697360e81b606082015260800190565b601f821115610f1457600081815260208120601f850160051c8101602086101561258b5750805b601f850160051c820191505b8181101561178a57828155600101612597565b6001600160401b038311156125c1576125c1611d99565b6125d5836125cf8354612391565b83612564565b6000601f84116001811461260957600085156125f15750838201355b600019600387901b1c1916600186901b178355610ccd565b600083815260209020601f19861690835b8281101561263a578685013582556020948501946001909201910161261a565b50868210156126575760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b81516001600160401b0381111561268257612682611d99565b612696816126908454612391565b84612564565b602080601f8311600181146126cb57600084156126b35750858301515b600019600386901b1c1916600185901b17855561178a565b600085815260208120601f198616915b828110156126fa578886015182559484019460019091019084016126db565b50858210156127185787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008261273757612737612479565b500690565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006127de604083018561207a565b82810360208401526127f0818561207a565b95945050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061283390830184611d1f565b979650505050505050565b60006020828403121561285057600080fd5b8151611cc881611c95565b600060033d11156128745760046000803e5060005160e01c5b90565b600060443d10156128855790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156128b457505050505090565b82850191508151818111156128cc5750505050505090565b843d87010160208285010111156128e65750505050505090565b6128f560208286010187611daf565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a0604082018190526000906129749083018661207a565b8281036060840152612986818661207a565b9050828103608084015261299a8185611d1f565b9897505050505050505056fea264697066735822122045c52ddc578f0805e69e6a5c6bd66ad8bf700ffb181f641aa5f84933052078c764736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000de8f5f0b94134d50ad7f85ef02b9771203f939e50000000000000000000000000000000000000000000000000000000000000006536c6963657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006534c494345530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f736c696365732d70726f6a6563742e73332e616d617a6f6e6177732e636f6d2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003568747470733a2f2f736c696365732d70726f6a6563742e73332e616d617a6f6e6177732e636f6d2f636f6e74726163742e6a736f6e0000000000000000000000

-----Decoded View---------------
Arg [0] : aName (string): Slices
Arg [1] : aSymbol (string): SLICES
Arg [2] : aBaseURI (string): https://slices-project.s3.amazonaws.com/
Arg [3] : aContractURI (string): https://slices-project.s3.amazonaws.com/contract.json
Arg [4] : aOwner (address): 0xDE8f5F0b94134d50ad7f85EF02b9771203F939E5

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 000000000000000000000000de8f5f0b94134d50ad7f85ef02b9771203f939e5
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 536c696365730000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [8] : 534c494345530000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [10] : 68747470733a2f2f736c696365732d70726f6a6563742e73332e616d617a6f6e
Arg [11] : 6177732e636f6d2f000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [13] : 68747470733a2f2f736c696365732d70726f6a6563742e73332e616d617a6f6e
Arg [14] : 6177732e636f6d2f636f6e74726163742e6a736f6e0000000000000000000000


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.