ETH Price: $3,494.11 (+2.88%)

Token

Dolce&Gabbana Disco Drip (DGDD)
 

Overview

Max Total Supply

0 DGDD

Holders

2,701

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0xcb14048dfb9971433eb56be524725e1b317b444f
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:
DGDiscoDrip

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : DGDiscoDrip.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";

/**
 * Dolce&Gabbana Disco Drip Collection. Exclusive for DGFamily Collection Holders.
 * https://drops.unxd.com/dgfamily
 */
contract DGDiscoDrip is
	ERC1155,
	AccessControl,
	Pausable,
	ERC1155Burnable,
	ERC1155Supply,
	Ownable
{

	// access roles.
	bytes32 public constant URI_SETTER_ROLE = keccak256("URI_SETTER_ROLE");
	bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
	bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

	// royalty percentage for secondary sales in UNXD marketplace.
	uint256 public royaltyPercentage;

	// status flag for when minting is allowed. once the required amount of tokens are minted, this will be stopped.
	bool public mintingAllowed = true;

	// name
	string public constant name = "Dolce&Gabbana Disco Drip";

	// symbol
	string public constant symbol = "DGDD";

	// royalty % change event.
	event RoyaltyPercentageChanged(uint256 indexed newPercentage);

	// minting status change event.
	event MintingStatusChanged(bool indexed status);

	constructor(
		uint256 _royaltyPercentage,
		string memory _baseUri
	) ERC1155(_baseUri) {
		_grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
		_grantRole(URI_SETTER_ROLE, msg.sender);
		_grantRole(PAUSER_ROLE, msg.sender);
		_grantRole(MINTER_ROLE, msg.sender);
		royaltyPercentage = _royaltyPercentage;
	}

	/**
	* Set base URI
	* @param newuri: new uri
	*/
	function setURI(string memory newuri)
		public
		onlyRole(URI_SETTER_ROLE) {
		_setURI(newuri);
	}


	/**
	* Pause minting & transfers.
	*/
	function pause()
		public
		onlyRole(PAUSER_ROLE) {
		_pause();
	}

	/**
	* UnPause minting & transfers.
	*/
	function unpause()
		public
		onlyRole(PAUSER_ROLE) {
		_unpause();
	}

	/**
	* Mint NFT
	* @param account: address of recipient
	* @param id: id of token
	* @param amount: amount of tokens
	* @param data: any additional data
	*/
	function mint(address account, uint256 id, uint256 amount, bytes memory data)
		public
		onlyRole(MINTER_ROLE)
	{
		require(mintingAllowed, "MINTING_IS_STOPPED");
		_mint(account, id, amount, data);
	}

	/**
	* Mint Batch of NFTs
	* @param to: address of recipient
	* @param ids: array of token ids
	* @param amounts: array of amount of tokens
	* @param data: any additional data
	*/
	function mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data)
		public
		onlyRole(MINTER_ROLE)
	{
		require(mintingAllowed, "MINTING_IS_STOPPED");
		_mintBatch(to, ids, amounts, data);
	}

	/**
	* Airdrop Batch of NFTs
	* @param to: array of recipients
	* @param ids: array of token ids
	* @param amounts: array of amount of tokens
	* @param data: any additional data
	*/
	function batchAirdrop(address[] memory to, uint256[][] memory ids, uint256[][] memory amounts, bytes memory data)
		public
		onlyRole(MINTER_ROLE)
	{
		require(mintingAllowed, "MINTING_IS_STOPPED");
		for (uint256 i = 0; i < to.length; i = i + 1) {
			_mintBatch(to[i], ids[i], amounts[i], data);
		}
	}

	/**
	 * @notice Stops minting. Once required amount of tokens are minted, minting will be stopped forever.
     * @dev Emits "MintingStatusChanged"
     */
	function endMinting()
		external
		onlyRole(MINTER_ROLE)
	{
		require(mintingAllowed, "MINTING_IS_ALREADY_STOPPED");
		mintingAllowed = false;
		emit MintingStatusChanged(false);
	}

	/**
	 * @notice Sets royalty percentage for secondary sale
     * @dev Emits "RoyaltyPercentageChanged"
     * @param percentage The percentage of royalty to be deducted
     */
	function setRoyaltyPercentage(uint256 percentage)
		external
		onlyRole(DEFAULT_ADMIN_ROLE)
	{
		royaltyPercentage = percentage;
		emit RoyaltyPercentageChanged(royaltyPercentage);
	}

	/**
	 * Get royalty amount at any specific price.
	 * @param price: price for sale.
     */
	function getRoyaltyInfo(uint256 price)
		external
		view
		returns (uint256 royaltyAmount, address royaltyReceiver)
	{
		require(price > 0, "PRICE_CAN_NOT_BE_ZERO");
		uint256 royalty = (price * royaltyPercentage)/100;
		return (royalty, owner());
	}

	// Before Transfer Hook
	function _beforeTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data)
		internal
		whenNotPaused
		override(ERC1155, ERC1155Supply)
	{
		super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
	}

	// The following functions are overrides required by Solidity.
	function supportsInterface(bytes4 interfaceId)
		public
		view
		override(ERC1155, AccessControl)
		returns (bool)
	{
		return super.supportsInterface(interfaceId);
	}

}

File 2 of 16 : 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 16 : 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 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 16 : 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 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 16 : 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 16 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

        _burn(account, id, value);
    }

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

        _burnBatch(account, ids, values);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 12 of 16 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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: balance query for the zero address");
        return _balances[id][account];
    }

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

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

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

        return batchBalances;
    }

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

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

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

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

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

        address operator = _msgSender();
        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}.
     *
     * 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`
     *
     * 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}.
     *
     * 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 a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

    /**
     * @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 13 of 16 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 14 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 15 of 16 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 16 of 16 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_royaltyPercentage","type":"uint256"},{"internalType":"string","name":"_baseUri","type":"string"}],"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":"bool","name":"status","type":"bool"}],"name":"MintingStatusChanged","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"RoyaltyPercentageChanged","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"URI_SETTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[][]","name":"ids","type":"uint256[][]"},{"internalType":"uint256[][]","name":"amounts","type":"uint256[][]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"batchAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"getRoyaltyInfo","outputs":[{"internalType":"uint256","name":"royaltyAmount","type":"uint256"},{"internalType":"address","name":"royaltyReceiver","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percentage","type":"uint256"}],"name":"setRoyaltyPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040526001600860006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162005d2f38038062005d2f833981810160405281019062000052919062000629565b8062000064816200015a60201b60201c565b506000600460006101000a81548160ff021916908315150217905550620000a0620000946200017660201b60201c565b6200017e60201b60201c565b620000b56000801b336200024460201b60201c565b620000e77f7804d923f43a17d325d77e781528e0793b2edd9890ab45fc64efd7b4b427744c336200024460201b60201c565b620001197f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336200024460201b60201c565b6200014b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200024460201b60201c565b816007819055505050620006f4565b806002908051906020019062000172929190620003a1565b5050565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200025682826200033660201b60201c565b620003325760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002d76200017660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620003af90620006be565b90600052602060002090601f016020900481019282620003d357600085556200041f565b82601f10620003ee57805160ff19168380011785556200041f565b828001600101855582156200041f579182015b828111156200041e57825182559160200191906001019062000401565b5b5090506200042e919062000432565b5090565b5b808211156200044d57600081600090555060010162000433565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6200047a8162000465565b81146200048657600080fd5b50565b6000815190506200049a816200046f565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004f582620004aa565b810181811067ffffffffffffffff82111715620005175762000516620004bb565b5b80604052505050565b60006200052c62000451565b90506200053a8282620004ea565b919050565b600067ffffffffffffffff8211156200055d576200055c620004bb565b5b6200056882620004aa565b9050602081019050919050565b60005b838110156200059557808201518184015260208101905062000578565b83811115620005a5576000848401525b50505050565b6000620005c2620005bc846200053f565b62000520565b905082815260208101848484011115620005e157620005e0620004a5565b5b620005ee84828562000575565b509392505050565b600082601f8301126200060e576200060d620004a0565b5b815162000620848260208601620005ab565b91505092915050565b600080604083850312156200064357620006426200045b565b5b6000620006538582860162000489565b925050602083015167ffffffffffffffff81111562000677576200067662000460565b5b6200068585828601620005f6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006d757607f821691505b60208210811415620006ee57620006ed6200068f565b5b50919050565b61562b80620007046000396000f3fe608060405234801561001057600080fd5b50600436106102315760003560e01c80637f34571011610130578063b76c632b116100b8578063e985e9c51161007c578063e985e9c514610665578063ef70aebf14610695578063f242432a1461069f578063f2fde38b146106bb578063f5298aca146106d757610231565b8063b76c632b146105ac578063bd85b039146105dd578063d53913931461060d578063d547741f1461062b578063e63ab1e91461064757610231565b806391d14854116100ff57806391d148541461050657806395d89b411461053657806396532d1c14610554578063a217fddf14610572578063a22cb4651461059057610231565b80637f345710146104a25780638456cb59146104c05780638a71bb2d146104ca5780638da5cb5b146104e857610231565b806336568abe116101be5780635c975abb116101825780635c975abb1461042657806361ba27da146104445780636b20c45414610460578063715018a61461047c578063731133e91461048657610231565b806336568abe1461038457806336c82b8d146103a05780633f4ba83a146103bc5780634e1273f4146103c65780634f558e79146103f657610231565b80630e89341c116102055780630e89341c146102d05780631f7fdffa14610300578063248a9ca31461031c5780632eb2c2d61461034c5780632f2ff15d1461036857610231565b8062fdd58e1461023657806301ffc9a71461026657806302fe53051461029657806306fdde03146102b2575b600080fd5b610250600480360381019061024b91906135d1565b6106f3565b60405161025d9190613620565b60405180910390f35b610280600480360381019061027b9190613693565b6107bc565b60405161028d91906136db565b60405180910390f35b6102b060048036038101906102ab919061383c565b6107ce565b005b6102ba610805565b6040516102c7919061390d565b60405180910390f35b6102ea60048036038101906102e5919061392f565b61083e565b6040516102f7919061390d565b60405180910390f35b61031a60048036038101906103159190613ac5565b6108d2565b005b61033660048036038101906103319190613bb6565b61095e565b6040516103439190613bf2565b60405180910390f35b61036660048036038101906103619190613c0d565b61097e565b005b610382600480360381019061037d9190613cdc565b610a1f565b005b61039e60048036038101906103999190613cdc565b610a40565b005b6103ba60048036038101906103b59190613ec0565b610ac3565b005b6103c4610bbe565b005b6103e060048036038101906103db9190613f97565b610bf3565b6040516103ed91906140cd565b60405180910390f35b610410600480360381019061040b919061392f565b610d0c565b60405161041d91906136db565b60405180910390f35b61042e610d20565b60405161043b91906136db565b60405180910390f35b61045e6004803603810190610459919061392f565b610d37565b005b61047a600480360381019061047591906140ef565b610d7d565b005b610484610e1a565b005b6104a0600480360381019061049b919061417a565b610ea2565b005b6104aa610f2e565b6040516104b79190613bf2565b60405180910390f35b6104c8610f52565b005b6104d2610f87565b6040516104df9190613620565b60405180910390f35b6104f0610f8d565b6040516104fd919061420c565b60405180910390f35b610520600480360381019061051b9190613cdc565b610fb7565b60405161052d91906136db565b60405180910390f35b61053e611022565b60405161054b919061390d565b60405180910390f35b61055c61105b565b60405161056991906136db565b60405180910390f35b61057a61106e565b6040516105879190613bf2565b60405180910390f35b6105aa60048036038101906105a59190614253565b611075565b005b6105c660048036038101906105c1919061392f565b61108b565b6040516105d4929190614293565b60405180910390f35b6105f760048036038101906105f2919061392f565b611102565b6040516106049190613620565b60405180910390f35b61061561111f565b6040516106229190613bf2565b60405180910390f35b61064560048036038101906106409190613cdc565b611143565b005b61064f611164565b60405161065c9190613bf2565b60405180910390f35b61067f600480360381019061067a91906142bc565b611188565b60405161068c91906136db565b60405180910390f35b61069d61121c565b005b6106b960048036038101906106b491906142fc565b6112e3565b005b6106d560048036038101906106d09190614393565b611384565b005b6106f160048036038101906106ec91906143c0565b61147c565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075b90614485565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006107c782611519565b9050919050565b7f7804d923f43a17d325d77e781528e0793b2edd9890ab45fc64efd7b4b427744c6107f881611593565b610801826115a7565b5050565b6040518060400160405280601881526020017f446f6c63652647616262616e6120446973636f2044726970000000000000000081525081565b60606002805461084d906144d4565b80601f0160208091040260200160405190810160405280929190818152602001828054610879906144d4565b80156108c65780601f1061089b576101008083540402835291602001916108c6565b820191906000526020600020905b8154815290600101906020018083116108a957829003601f168201915b50505050509050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66108fc81611593565b600860009054906101000a900460ff1661094b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094290614552565b60405180910390fd5b610957858585856115c1565b5050505050565b600060036000838152602001908152602001600020600101549050919050565b6109866117ee565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806109cc57506109cb856109c66117ee565b611188565b5b610a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a02906145e4565b60405180910390fd5b610a1885858585856117f6565b5050505050565b610a288261095e565b610a3181611593565b610a3b8383611b18565b505050565b610a486117ee565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aac90614676565b60405180910390fd5b610abf8282611bf9565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610aed81611593565b600860009054906101000a900460ff16610b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3390614552565b60405180910390fd5b60005b8551811015610bb657610ba2868281518110610b5e57610b5d614696565b5b6020026020010151868381518110610b7957610b78614696565b5b6020026020010151868481518110610b9457610b93614696565b5b6020026020010151866115c1565b600181610baf91906146f4565b9050610b3f565b505050505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610be881611593565b610bf0611cdb565b50565b60608151835114610c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c30906147bc565b60405180910390fd5b6000835167ffffffffffffffff811115610c5657610c55613711565b5b604051908082528060200260200182016040528015610c845781602001602082028036833780820191505090505b50905060005b8451811015610d0157610cd1858281518110610ca957610ca8614696565b5b6020026020010151858381518110610cc457610cc3614696565b5b60200260200101516106f3565b828281518110610ce457610ce3614696565b5b60200260200101818152505080610cfa906147dc565b9050610c8a565b508091505092915050565b600080610d1883611102565b119050919050565b6000600460009054906101000a900460ff16905090565b6000801b610d4481611593565b816007819055506007547ec89f607338c43f69cf5b28786c5f2b43b2be84f09f4ad3bc93e97447de142760405160405180910390a25050565b610d856117ee565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610dcb5750610dca83610dc56117ee565b611188565b5b610e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0190614897565b60405180910390fd5b610e15838383611d7d565b505050565b610e226117ee565b73ffffffffffffffffffffffffffffffffffffffff16610e40610f8d565b73ffffffffffffffffffffffffffffffffffffffff1614610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d90614903565b60405180910390fd5b610ea0600061204c565b565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610ecc81611593565b600860009054906101000a900460ff16610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1290614552565b60405180910390fd5b610f2785858585612112565b5050505050565b7f7804d923f43a17d325d77e781528e0793b2edd9890ab45fc64efd7b4b427744c81565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610f7c81611593565b610f846122c3565b50565b60075481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6040518060400160405280600481526020017f444744440000000000000000000000000000000000000000000000000000000081525081565b600860009054906101000a900460ff1681565b6000801b81565b6110876110806117ee565b8383612366565b5050565b600080600083116110d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c89061496f565b60405180910390fd5b60006064600754856110e3919061498f565b6110ed9190614a18565b9050806110f8610f8d565b9250925050915091565b600060056000838152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61114c8261095e565b61115581611593565b61115f8383611bf9565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661124681611593565b600860009054906101000a900460ff16611295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c90614a95565b60405180910390fd5b6000600860006101000a81548160ff021916908315150217905550600015157f41f386d449eec03c1c3b75bbba9c18df70aa19779ff47f68eab4b6a66fb399d460405160405180910390a250565b6112eb6117ee565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061133157506113308561132b6117ee565b611188565b5b611370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136790614897565b60405180910390fd5b61137d85858585856124d3565b5050505050565b61138c6117ee565b73ffffffffffffffffffffffffffffffffffffffff166113aa610f8d565b73ffffffffffffffffffffffffffffffffffffffff1614611400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f790614903565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611470576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146790614b27565b60405180910390fd5b6114798161204c565b50565b6114846117ee565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806114ca57506114c9836114c46117ee565b611188565b5b611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090614897565b60405180910390fd5b61151483838361276f565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061158c575061158b826129b6565b5b9050919050565b6115a48161159f6117ee565b612a98565b50565b80600290805190602001906115bd929190613486565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162890614bb9565b60405180910390fd5b8151835114611675576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166c90614c4b565b60405180910390fd5b600061167f6117ee565b905061169081600087878787612b35565b60005b8451811015611749578381815181106116af576116ae614696565b5b60200260200101516000808784815181106116cd576116cc614696565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461172f91906146f4565b925050819055508080611741906147dc565b915050611693565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117c1929190614c6b565b60405180910390a46117d881600087878787612b93565b6117e781600087878787612b9b565b5050505050565b600033905090565b815183511461183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190614c4b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a190614d14565b60405180910390fd5b60006118b46117ee565b90506118c4818787878787612b35565b60005b8451811015611a755760008582815181106118e5576118e4614696565b5b60200260200101519050600085838151811061190457611903614696565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156119a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199c90614da6565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a5a91906146f4565b9250508190555050505080611a6e906147dc565b90506118c7565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611aec929190614c6b565b60405180910390a4611b02818787878787612b93565b611b10818787878787612b9b565b505050505050565b611b228282610fb7565b611bf55760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b9a6117ee565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611c038282610fb7565b15611cd75760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611c7c6117ee565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611ce3610d20565b611d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1990614e12565b60405180910390fd5b6000600460006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611d666117ee565b604051611d73919061420c565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de490614ea4565b60405180910390fd5b8051825114611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2890614c4b565b60405180910390fd5b6000611e3b6117ee565b9050611e5b81856000868660405180602001604052806000815250612b35565b60005b8351811015611fa8576000848281518110611e7c57611e7b614696565b5b602002602001015190506000848381518110611e9b57611e9a614696565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3390614f36565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611fa0906147dc565b915050611e5e565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612020929190614c6b565b60405180910390a461204681856000868660405180602001604052806000815250612b93565b50505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217990614bb9565b60405180910390fd5b600061218c6117ee565b9050600061219985612d82565b905060006121a685612d82565b90506121b783600089858589612b35565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461221691906146f4565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612294929190614f56565b60405180910390a46122ab83600089858589612b93565b6122ba83600089898989612dfc565b50505050505050565b6122cb610d20565b1561230b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230290614fcb565b60405180910390fd5b6001600460006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861234f6117ee565b60405161235c919061420c565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cc9061505d565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124c691906136db565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612543576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253a90614d14565b60405180910390fd5b600061254d6117ee565b9050600061255a85612d82565b9050600061256785612d82565b9050612577838989858589612b35565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508581101561260e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260590614da6565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126c391906146f4565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612740929190614f56565b60405180910390a4612756848a8a86868a612b93565b612764848a8a8a8a8a612dfc565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d690614ea4565b60405180910390fd5b60006127e96117ee565b905060006127f684612d82565b9050600061280384612d82565b905061282383876000858560405180602001604052806000815250612b35565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156128ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b190614f36565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612987929190614f56565b60405180910390a46129ad84886000868660405180602001604052806000815250612b93565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a8157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a915750612a9082612fe3565b5b9050919050565b612aa28282610fb7565b612b3157612ac78173ffffffffffffffffffffffffffffffffffffffff16601461304d565b612ad58360001c602061304d565b604051602001612ae6929190615151565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b28919061390d565b60405180910390fd5b5050565b612b3d610d20565b15612b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7490614fcb565b60405180910390fd5b612b8b868686868686613289565b505050505050565b505050505050565b612bba8473ffffffffffffffffffffffffffffffffffffffff1661345b565b15612d7a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612c009594939291906151e0565b602060405180830381600087803b158015612c1a57600080fd5b505af1925050508015612c4b57506040513d601f19601f82011682018060405250810190612c48919061525d565b60015b612cf157612c57615297565b806308c379a01415612cb45750612c6c6152b9565b80612c775750612cb6565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cab919061390d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce8906153c1565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6f90615453565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612da157612da0613711565b5b604051908082528060200260200182016040528015612dcf5781602001602082028036833780820191505090505b5090508281600081518110612de757612de6614696565b5b60200260200101818152505080915050919050565b612e1b8473ffffffffffffffffffffffffffffffffffffffff1661345b565b15612fdb578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612e61959493929190615473565b602060405180830381600087803b158015612e7b57600080fd5b505af1925050508015612eac57506040513d601f19601f82011682018060405250810190612ea9919061525d565b60015b612f5257612eb8615297565b806308c379a01415612f155750612ecd6152b9565b80612ed85750612f17565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0c919061390d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f49906153c1565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd090615453565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060006002836002613060919061498f565b61306a91906146f4565b67ffffffffffffffff81111561308357613082613711565b5b6040519080825280601f01601f1916602001820160405280156130b55781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106130ed576130ec614696565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061315157613150614696565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613191919061498f565b61319b91906146f4565b90505b600181111561323b577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106131dd576131dc614696565b5b1a60f81b8282815181106131f4576131f3614696565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613234906154cd565b905061319e565b506000841461327f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327690615543565b60405180910390fd5b8091505092915050565b61329786868686868661347e565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156133495760005b8351811015613347578281815181106132eb576132ea614696565b5b60200260200101516005600086848151811061330a57613309614696565b5b60200260200101518152602001908152602001600020600082825461332f91906146f4565b9250508190555080613340906147dc565b90506132cf565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156134535760005b835181101561345157600084828151811061339f5761339e614696565b5b6020026020010151905060008483815181106133be576133bd614696565b5b6020026020010151905060006005600084815260200190815260200160002054905081811015613423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341a906155d5565b60405180910390fd5b81810360056000858152602001908152602001600020819055505050508061344a906147dc565b9050613381565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b828054613492906144d4565b90600052602060002090601f0160209004810192826134b457600085556134fb565b82601f106134cd57805160ff19168380011785556134fb565b828001600101855582156134fb579182015b828111156134fa5782518255916020019190600101906134df565b5b509050613508919061350c565b5090565b5b8082111561352557600081600090555060010161350d565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135688261353d565b9050919050565b6135788161355d565b811461358357600080fd5b50565b6000813590506135958161356f565b92915050565b6000819050919050565b6135ae8161359b565b81146135b957600080fd5b50565b6000813590506135cb816135a5565b92915050565b600080604083850312156135e8576135e7613533565b5b60006135f685828601613586565b9250506020613607858286016135bc565b9150509250929050565b61361a8161359b565b82525050565b60006020820190506136356000830184613611565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136708161363b565b811461367b57600080fd5b50565b60008135905061368d81613667565b92915050565b6000602082840312156136a9576136a8613533565b5b60006136b78482850161367e565b91505092915050565b60008115159050919050565b6136d5816136c0565b82525050565b60006020820190506136f060008301846136cc565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61374982613700565b810181811067ffffffffffffffff8211171561376857613767613711565b5b80604052505050565b600061377b613529565b90506137878282613740565b919050565b600067ffffffffffffffff8211156137a7576137a6613711565b5b6137b082613700565b9050602081019050919050565b82818337600083830152505050565b60006137df6137da8461378c565b613771565b9050828152602081018484840111156137fb576137fa6136fb565b5b6138068482856137bd565b509392505050565b600082601f830112613823576138226136f6565b5b81356138338482602086016137cc565b91505092915050565b60006020828403121561385257613851613533565b5b600082013567ffffffffffffffff8111156138705761386f613538565b5b61387c8482850161380e565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138bf5780820151818401526020810190506138a4565b838111156138ce576000848401525b50505050565b60006138df82613885565b6138e98185613890565b93506138f98185602086016138a1565b61390281613700565b840191505092915050565b6000602082019050818103600083015261392781846138d4565b905092915050565b60006020828403121561394557613944613533565b5b6000613953848285016135bc565b91505092915050565b600067ffffffffffffffff82111561397757613976613711565b5b602082029050602081019050919050565b600080fd5b60006139a061399b8461395c565b613771565b905080838252602082019050602084028301858111156139c3576139c2613988565b5b835b818110156139ec57806139d888826135bc565b8452602084019350506020810190506139c5565b5050509392505050565b600082601f830112613a0b57613a0a6136f6565b5b8135613a1b84826020860161398d565b91505092915050565b600067ffffffffffffffff821115613a3f57613a3e613711565b5b613a4882613700565b9050602081019050919050565b6000613a68613a6384613a24565b613771565b905082815260208101848484011115613a8457613a836136fb565b5b613a8f8482856137bd565b509392505050565b600082601f830112613aac57613aab6136f6565b5b8135613abc848260208601613a55565b91505092915050565b60008060008060808587031215613adf57613ade613533565b5b6000613aed87828801613586565b945050602085013567ffffffffffffffff811115613b0e57613b0d613538565b5b613b1a878288016139f6565b935050604085013567ffffffffffffffff811115613b3b57613b3a613538565b5b613b47878288016139f6565b925050606085013567ffffffffffffffff811115613b6857613b67613538565b5b613b7487828801613a97565b91505092959194509250565b6000819050919050565b613b9381613b80565b8114613b9e57600080fd5b50565b600081359050613bb081613b8a565b92915050565b600060208284031215613bcc57613bcb613533565b5b6000613bda84828501613ba1565b91505092915050565b613bec81613b80565b82525050565b6000602082019050613c076000830184613be3565b92915050565b600080600080600060a08688031215613c2957613c28613533565b5b6000613c3788828901613586565b9550506020613c4888828901613586565b945050604086013567ffffffffffffffff811115613c6957613c68613538565b5b613c75888289016139f6565b935050606086013567ffffffffffffffff811115613c9657613c95613538565b5b613ca2888289016139f6565b925050608086013567ffffffffffffffff811115613cc357613cc2613538565b5b613ccf88828901613a97565b9150509295509295909350565b60008060408385031215613cf357613cf2613533565b5b6000613d0185828601613ba1565b9250506020613d1285828601613586565b9150509250929050565b600067ffffffffffffffff821115613d3757613d36613711565b5b602082029050602081019050919050565b6000613d5b613d5684613d1c565b613771565b90508083825260208201905060208402830185811115613d7e57613d7d613988565b5b835b81811015613da75780613d938882613586565b845260208401935050602081019050613d80565b5050509392505050565b600082601f830112613dc657613dc56136f6565b5b8135613dd6848260208601613d48565b91505092915050565b600067ffffffffffffffff821115613dfa57613df9613711565b5b602082029050602081019050919050565b6000613e1e613e1984613ddf565b613771565b90508083825260208201905060208402830185811115613e4157613e40613988565b5b835b81811015613e8857803567ffffffffffffffff811115613e6657613e656136f6565b5b808601613e7389826139f6565b85526020850194505050602081019050613e43565b5050509392505050565b600082601f830112613ea757613ea66136f6565b5b8135613eb7848260208601613e0b565b91505092915050565b60008060008060808587031215613eda57613ed9613533565b5b600085013567ffffffffffffffff811115613ef857613ef7613538565b5b613f0487828801613db1565b945050602085013567ffffffffffffffff811115613f2557613f24613538565b5b613f3187828801613e92565b935050604085013567ffffffffffffffff811115613f5257613f51613538565b5b613f5e87828801613e92565b925050606085013567ffffffffffffffff811115613f7f57613f7e613538565b5b613f8b87828801613a97565b91505092959194509250565b60008060408385031215613fae57613fad613533565b5b600083013567ffffffffffffffff811115613fcc57613fcb613538565b5b613fd885828601613db1565b925050602083013567ffffffffffffffff811115613ff957613ff8613538565b5b614005858286016139f6565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6140448161359b565b82525050565b6000614056838361403b565b60208301905092915050565b6000602082019050919050565b600061407a8261400f565b614084818561401a565b935061408f8361402b565b8060005b838110156140c05781516140a7888261404a565b97506140b283614062565b925050600181019050614093565b5085935050505092915050565b600060208201905081810360008301526140e7818461406f565b905092915050565b60008060006060848603121561410857614107613533565b5b600061411686828701613586565b935050602084013567ffffffffffffffff81111561413757614136613538565b5b614143868287016139f6565b925050604084013567ffffffffffffffff81111561416457614163613538565b5b614170868287016139f6565b9150509250925092565b6000806000806080858703121561419457614193613533565b5b60006141a287828801613586565b94505060206141b3878288016135bc565b93505060406141c4878288016135bc565b925050606085013567ffffffffffffffff8111156141e5576141e4613538565b5b6141f187828801613a97565b91505092959194509250565b6142068161355d565b82525050565b600060208201905061422160008301846141fd565b92915050565b614230816136c0565b811461423b57600080fd5b50565b60008135905061424d81614227565b92915050565b6000806040838503121561426a57614269613533565b5b600061427885828601613586565b92505060206142898582860161423e565b9150509250929050565b60006040820190506142a86000830185613611565b6142b560208301846141fd565b9392505050565b600080604083850312156142d3576142d2613533565b5b60006142e185828601613586565b92505060206142f285828601613586565b9150509250929050565b600080600080600060a0868803121561431857614317613533565b5b600061432688828901613586565b955050602061433788828901613586565b9450506040614348888289016135bc565b9350506060614359888289016135bc565b925050608086013567ffffffffffffffff81111561437a57614379613538565b5b61438688828901613a97565b9150509295509295909350565b6000602082840312156143a9576143a8613533565b5b60006143b784828501613586565b91505092915050565b6000806000606084860312156143d9576143d8613533565b5b60006143e786828701613586565b93505060206143f8868287016135bc565b9250506040614409868287016135bc565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061446f602b83613890565b915061447a82614413565b604082019050919050565b6000602082019050818103600083015261449e81614462565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806144ec57607f821691505b60208210811415614500576144ff6144a5565b5b50919050565b7f4d494e54494e475f49535f53544f505045440000000000000000000000000000600082015250565b600061453c601283613890565b915061454782614506565b602082019050919050565b6000602082019050818103600083015261456b8161452f565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006145ce603283613890565b91506145d982614572565b604082019050919050565b600060208201905081810360008301526145fd816145c1565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614660602f83613890565b915061466b82614604565b604082019050919050565b6000602082019050818103600083015261468f81614653565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146ff8261359b565b915061470a8361359b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561473f5761473e6146c5565b5b828201905092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006147a6602983613890565b91506147b18261474a565b604082019050919050565b600060208201905081810360008301526147d581614799565b9050919050565b60006147e78261359b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561481a576148196146c5565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614881602983613890565b915061488c82614825565b604082019050919050565b600060208201905081810360008301526148b081614874565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006148ed602083613890565b91506148f8826148b7565b602082019050919050565b6000602082019050818103600083015261491c816148e0565b9050919050565b7f50524943455f43414e5f4e4f545f42455f5a45524f0000000000000000000000600082015250565b6000614959601583613890565b915061496482614923565b602082019050919050565b600060208201905081810360008301526149888161494c565b9050919050565b600061499a8261359b565b91506149a58361359b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149de576149dd6146c5565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a238261359b565b9150614a2e8361359b565b925082614a3e57614a3d6149e9565b5b828204905092915050565b7f4d494e54494e475f49535f414c52454144595f53544f50504544000000000000600082015250565b6000614a7f601a83613890565b9150614a8a82614a49565b602082019050919050565b60006020820190508181036000830152614aae81614a72565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b11602683613890565b9150614b1c82614ab5565b604082019050919050565b60006020820190508181036000830152614b4081614b04565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ba3602183613890565b9150614bae82614b47565b604082019050919050565b60006020820190508181036000830152614bd281614b96565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614c35602883613890565b9150614c4082614bd9565b604082019050919050565b60006020820190508181036000830152614c6481614c28565b9050919050565b60006040820190508181036000830152614c85818561406f565b90508181036020830152614c99818461406f565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614cfe602583613890565b9150614d0982614ca2565b604082019050919050565b60006020820190508181036000830152614d2d81614cf1565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614d90602a83613890565b9150614d9b82614d34565b604082019050919050565b60006020820190508181036000830152614dbf81614d83565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614dfc601483613890565b9150614e0782614dc6565b602082019050919050565b60006020820190508181036000830152614e2b81614def565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614e8e602383613890565b9150614e9982614e32565b604082019050919050565b60006020820190508181036000830152614ebd81614e81565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614f20602483613890565b9150614f2b82614ec4565b604082019050919050565b60006020820190508181036000830152614f4f81614f13565b9050919050565b6000604082019050614f6b6000830185613611565b614f786020830184613611565b9392505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614fb5601083613890565b9150614fc082614f7f565b602082019050919050565b60006020820190508181036000830152614fe481614fa8565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615047602983613890565b915061505282614feb565b604082019050919050565b600060208201905081810360008301526150768161503a565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006150be60178361507d565b91506150c982615088565b601782019050919050565b60006150df82613885565b6150e9818561507d565b93506150f98185602086016138a1565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061513b60118361507d565b915061514682615105565b601182019050919050565b600061515c826150b1565b915061516882856150d4565b91506151738261512e565b915061517f82846150d4565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006151b28261518b565b6151bc8185615196565b93506151cc8185602086016138a1565b6151d581613700565b840191505092915050565b600060a0820190506151f560008301886141fd565b61520260208301876141fd565b8181036040830152615214818661406f565b90508181036060830152615228818561406f565b9050818103608083015261523c81846151a7565b90509695505050505050565b60008151905061525781613667565b92915050565b60006020828403121561527357615272613533565b5b600061528184828501615248565b91505092915050565b60008160e01c9050919050565b600060033d11156152b65760046000803e6152b360005161528a565b90505b90565b600060443d10156152c95761534c565b6152d1613529565b60043d036004823e80513d602482011167ffffffffffffffff821117156152f957505061534c565b808201805167ffffffffffffffff811115615317575050505061534c565b80602083010160043d03850181111561533457505050505061534c565b61534382602001850186613740565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006153ab603483613890565b91506153b68261534f565b604082019050919050565b600060208201905081810360008301526153da8161539e565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061543d602883613890565b9150615448826153e1565b604082019050919050565b6000602082019050818103600083015261546c81615430565b9050919050565b600060a08201905061548860008301886141fd565b61549560208301876141fd565b6154a26040830186613611565b6154af6060830185613611565b81810360808301526154c181846151a7565b90509695505050505050565b60006154d88261359b565b915060008214156154ec576154eb6146c5565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061552d602083613890565b9150615538826154f7565b602082019050919050565b6000602082019050818103600083015261555c81615520565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b60006155bf602883613890565b91506155ca82615563565b604082019050919050565b600060208201905081810360008301526155ee816155b2565b905091905056fea26469706673582212200bde253f9cb5f134bfd9d762c90c6bd8aea9b6f79a6b7cbbbc7c5d681bbfdb5364736f6c63430008090033000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000003868747470733a2f2f6e6674732e756e78642e636f6d2f6e6674732f646f6c63652d67616262616e612d646973636f2d647269702f7b69647d0000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102315760003560e01c80637f34571011610130578063b76c632b116100b8578063e985e9c51161007c578063e985e9c514610665578063ef70aebf14610695578063f242432a1461069f578063f2fde38b146106bb578063f5298aca146106d757610231565b8063b76c632b146105ac578063bd85b039146105dd578063d53913931461060d578063d547741f1461062b578063e63ab1e91461064757610231565b806391d14854116100ff57806391d148541461050657806395d89b411461053657806396532d1c14610554578063a217fddf14610572578063a22cb4651461059057610231565b80637f345710146104a25780638456cb59146104c05780638a71bb2d146104ca5780638da5cb5b146104e857610231565b806336568abe116101be5780635c975abb116101825780635c975abb1461042657806361ba27da146104445780636b20c45414610460578063715018a61461047c578063731133e91461048657610231565b806336568abe1461038457806336c82b8d146103a05780633f4ba83a146103bc5780634e1273f4146103c65780634f558e79146103f657610231565b80630e89341c116102055780630e89341c146102d05780631f7fdffa14610300578063248a9ca31461031c5780632eb2c2d61461034c5780632f2ff15d1461036857610231565b8062fdd58e1461023657806301ffc9a71461026657806302fe53051461029657806306fdde03146102b2575b600080fd5b610250600480360381019061024b91906135d1565b6106f3565b60405161025d9190613620565b60405180910390f35b610280600480360381019061027b9190613693565b6107bc565b60405161028d91906136db565b60405180910390f35b6102b060048036038101906102ab919061383c565b6107ce565b005b6102ba610805565b6040516102c7919061390d565b60405180910390f35b6102ea60048036038101906102e5919061392f565b61083e565b6040516102f7919061390d565b60405180910390f35b61031a60048036038101906103159190613ac5565b6108d2565b005b61033660048036038101906103319190613bb6565b61095e565b6040516103439190613bf2565b60405180910390f35b61036660048036038101906103619190613c0d565b61097e565b005b610382600480360381019061037d9190613cdc565b610a1f565b005b61039e60048036038101906103999190613cdc565b610a40565b005b6103ba60048036038101906103b59190613ec0565b610ac3565b005b6103c4610bbe565b005b6103e060048036038101906103db9190613f97565b610bf3565b6040516103ed91906140cd565b60405180910390f35b610410600480360381019061040b919061392f565b610d0c565b60405161041d91906136db565b60405180910390f35b61042e610d20565b60405161043b91906136db565b60405180910390f35b61045e6004803603810190610459919061392f565b610d37565b005b61047a600480360381019061047591906140ef565b610d7d565b005b610484610e1a565b005b6104a0600480360381019061049b919061417a565b610ea2565b005b6104aa610f2e565b6040516104b79190613bf2565b60405180910390f35b6104c8610f52565b005b6104d2610f87565b6040516104df9190613620565b60405180910390f35b6104f0610f8d565b6040516104fd919061420c565b60405180910390f35b610520600480360381019061051b9190613cdc565b610fb7565b60405161052d91906136db565b60405180910390f35b61053e611022565b60405161054b919061390d565b60405180910390f35b61055c61105b565b60405161056991906136db565b60405180910390f35b61057a61106e565b6040516105879190613bf2565b60405180910390f35b6105aa60048036038101906105a59190614253565b611075565b005b6105c660048036038101906105c1919061392f565b61108b565b6040516105d4929190614293565b60405180910390f35b6105f760048036038101906105f2919061392f565b611102565b6040516106049190613620565b60405180910390f35b61061561111f565b6040516106229190613bf2565b60405180910390f35b61064560048036038101906106409190613cdc565b611143565b005b61064f611164565b60405161065c9190613bf2565b60405180910390f35b61067f600480360381019061067a91906142bc565b611188565b60405161068c91906136db565b60405180910390f35b61069d61121c565b005b6106b960048036038101906106b491906142fc565b6112e3565b005b6106d560048036038101906106d09190614393565b611384565b005b6106f160048036038101906106ec91906143c0565b61147c565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075b90614485565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006107c782611519565b9050919050565b7f7804d923f43a17d325d77e781528e0793b2edd9890ab45fc64efd7b4b427744c6107f881611593565b610801826115a7565b5050565b6040518060400160405280601881526020017f446f6c63652647616262616e6120446973636f2044726970000000000000000081525081565b60606002805461084d906144d4565b80601f0160208091040260200160405190810160405280929190818152602001828054610879906144d4565b80156108c65780601f1061089b576101008083540402835291602001916108c6565b820191906000526020600020905b8154815290600101906020018083116108a957829003601f168201915b50505050509050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66108fc81611593565b600860009054906101000a900460ff1661094b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094290614552565b60405180910390fd5b610957858585856115c1565b5050505050565b600060036000838152602001908152602001600020600101549050919050565b6109866117ee565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806109cc57506109cb856109c66117ee565b611188565b5b610a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a02906145e4565b60405180910390fd5b610a1885858585856117f6565b5050505050565b610a288261095e565b610a3181611593565b610a3b8383611b18565b505050565b610a486117ee565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aac90614676565b60405180910390fd5b610abf8282611bf9565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610aed81611593565b600860009054906101000a900460ff16610b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3390614552565b60405180910390fd5b60005b8551811015610bb657610ba2868281518110610b5e57610b5d614696565b5b6020026020010151868381518110610b7957610b78614696565b5b6020026020010151868481518110610b9457610b93614696565b5b6020026020010151866115c1565b600181610baf91906146f4565b9050610b3f565b505050505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610be881611593565b610bf0611cdb565b50565b60608151835114610c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c30906147bc565b60405180910390fd5b6000835167ffffffffffffffff811115610c5657610c55613711565b5b604051908082528060200260200182016040528015610c845781602001602082028036833780820191505090505b50905060005b8451811015610d0157610cd1858281518110610ca957610ca8614696565b5b6020026020010151858381518110610cc457610cc3614696565b5b60200260200101516106f3565b828281518110610ce457610ce3614696565b5b60200260200101818152505080610cfa906147dc565b9050610c8a565b508091505092915050565b600080610d1883611102565b119050919050565b6000600460009054906101000a900460ff16905090565b6000801b610d4481611593565b816007819055506007547ec89f607338c43f69cf5b28786c5f2b43b2be84f09f4ad3bc93e97447de142760405160405180910390a25050565b610d856117ee565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610dcb5750610dca83610dc56117ee565b611188565b5b610e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0190614897565b60405180910390fd5b610e15838383611d7d565b505050565b610e226117ee565b73ffffffffffffffffffffffffffffffffffffffff16610e40610f8d565b73ffffffffffffffffffffffffffffffffffffffff1614610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d90614903565b60405180910390fd5b610ea0600061204c565b565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610ecc81611593565b600860009054906101000a900460ff16610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1290614552565b60405180910390fd5b610f2785858585612112565b5050505050565b7f7804d923f43a17d325d77e781528e0793b2edd9890ab45fc64efd7b4b427744c81565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610f7c81611593565b610f846122c3565b50565b60075481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6040518060400160405280600481526020017f444744440000000000000000000000000000000000000000000000000000000081525081565b600860009054906101000a900460ff1681565b6000801b81565b6110876110806117ee565b8383612366565b5050565b600080600083116110d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c89061496f565b60405180910390fd5b60006064600754856110e3919061498f565b6110ed9190614a18565b9050806110f8610f8d565b9250925050915091565b600060056000838152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61114c8261095e565b61115581611593565b61115f8383611bf9565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661124681611593565b600860009054906101000a900460ff16611295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c90614a95565b60405180910390fd5b6000600860006101000a81548160ff021916908315150217905550600015157f41f386d449eec03c1c3b75bbba9c18df70aa19779ff47f68eab4b6a66fb399d460405160405180910390a250565b6112eb6117ee565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061133157506113308561132b6117ee565b611188565b5b611370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136790614897565b60405180910390fd5b61137d85858585856124d3565b5050505050565b61138c6117ee565b73ffffffffffffffffffffffffffffffffffffffff166113aa610f8d565b73ffffffffffffffffffffffffffffffffffffffff1614611400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f790614903565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611470576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146790614b27565b60405180910390fd5b6114798161204c565b50565b6114846117ee565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806114ca57506114c9836114c46117ee565b611188565b5b611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090614897565b60405180910390fd5b61151483838361276f565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061158c575061158b826129b6565b5b9050919050565b6115a48161159f6117ee565b612a98565b50565b80600290805190602001906115bd929190613486565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162890614bb9565b60405180910390fd5b8151835114611675576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166c90614c4b565b60405180910390fd5b600061167f6117ee565b905061169081600087878787612b35565b60005b8451811015611749578381815181106116af576116ae614696565b5b60200260200101516000808784815181106116cd576116cc614696565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461172f91906146f4565b925050819055508080611741906147dc565b915050611693565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117c1929190614c6b565b60405180910390a46117d881600087878787612b93565b6117e781600087878787612b9b565b5050505050565b600033905090565b815183511461183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190614c4b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a190614d14565b60405180910390fd5b60006118b46117ee565b90506118c4818787878787612b35565b60005b8451811015611a755760008582815181106118e5576118e4614696565b5b60200260200101519050600085838151811061190457611903614696565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156119a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199c90614da6565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a5a91906146f4565b9250508190555050505080611a6e906147dc565b90506118c7565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611aec929190614c6b565b60405180910390a4611b02818787878787612b93565b611b10818787878787612b9b565b505050505050565b611b228282610fb7565b611bf55760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b9a6117ee565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611c038282610fb7565b15611cd75760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611c7c6117ee565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611ce3610d20565b611d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1990614e12565b60405180910390fd5b6000600460006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611d666117ee565b604051611d73919061420c565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de490614ea4565b60405180910390fd5b8051825114611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2890614c4b565b60405180910390fd5b6000611e3b6117ee565b9050611e5b81856000868660405180602001604052806000815250612b35565b60005b8351811015611fa8576000848281518110611e7c57611e7b614696565b5b602002602001015190506000848381518110611e9b57611e9a614696565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3390614f36565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611fa0906147dc565b915050611e5e565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612020929190614c6b565b60405180910390a461204681856000868660405180602001604052806000815250612b93565b50505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217990614bb9565b60405180910390fd5b600061218c6117ee565b9050600061219985612d82565b905060006121a685612d82565b90506121b783600089858589612b35565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461221691906146f4565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612294929190614f56565b60405180910390a46122ab83600089858589612b93565b6122ba83600089898989612dfc565b50505050505050565b6122cb610d20565b1561230b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230290614fcb565b60405180910390fd5b6001600460006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861234f6117ee565b60405161235c919061420c565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cc9061505d565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124c691906136db565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612543576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253a90614d14565b60405180910390fd5b600061254d6117ee565b9050600061255a85612d82565b9050600061256785612d82565b9050612577838989858589612b35565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508581101561260e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260590614da6565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126c391906146f4565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612740929190614f56565b60405180910390a4612756848a8a86868a612b93565b612764848a8a8a8a8a612dfc565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d690614ea4565b60405180910390fd5b60006127e96117ee565b905060006127f684612d82565b9050600061280384612d82565b905061282383876000858560405180602001604052806000815250612b35565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156128ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b190614f36565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612987929190614f56565b60405180910390a46129ad84886000868660405180602001604052806000815250612b93565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a8157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a915750612a9082612fe3565b5b9050919050565b612aa28282610fb7565b612b3157612ac78173ffffffffffffffffffffffffffffffffffffffff16601461304d565b612ad58360001c602061304d565b604051602001612ae6929190615151565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b28919061390d565b60405180910390fd5b5050565b612b3d610d20565b15612b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7490614fcb565b60405180910390fd5b612b8b868686868686613289565b505050505050565b505050505050565b612bba8473ffffffffffffffffffffffffffffffffffffffff1661345b565b15612d7a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612c009594939291906151e0565b602060405180830381600087803b158015612c1a57600080fd5b505af1925050508015612c4b57506040513d601f19601f82011682018060405250810190612c48919061525d565b60015b612cf157612c57615297565b806308c379a01415612cb45750612c6c6152b9565b80612c775750612cb6565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cab919061390d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce8906153c1565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6f90615453565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612da157612da0613711565b5b604051908082528060200260200182016040528015612dcf5781602001602082028036833780820191505090505b5090508281600081518110612de757612de6614696565b5b60200260200101818152505080915050919050565b612e1b8473ffffffffffffffffffffffffffffffffffffffff1661345b565b15612fdb578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612e61959493929190615473565b602060405180830381600087803b158015612e7b57600080fd5b505af1925050508015612eac57506040513d601f19601f82011682018060405250810190612ea9919061525d565b60015b612f5257612eb8615297565b806308c379a01415612f155750612ecd6152b9565b80612ed85750612f17565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0c919061390d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f49906153c1565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd090615453565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060006002836002613060919061498f565b61306a91906146f4565b67ffffffffffffffff81111561308357613082613711565b5b6040519080825280601f01601f1916602001820160405280156130b55781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106130ed576130ec614696565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061315157613150614696565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613191919061498f565b61319b91906146f4565b90505b600181111561323b577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106131dd576131dc614696565b5b1a60f81b8282815181106131f4576131f3614696565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613234906154cd565b905061319e565b506000841461327f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327690615543565b60405180910390fd5b8091505092915050565b61329786868686868661347e565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156133495760005b8351811015613347578281815181106132eb576132ea614696565b5b60200260200101516005600086848151811061330a57613309614696565b5b60200260200101518152602001908152602001600020600082825461332f91906146f4565b9250508190555080613340906147dc565b90506132cf565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156134535760005b835181101561345157600084828151811061339f5761339e614696565b5b6020026020010151905060008483815181106133be576133bd614696565b5b6020026020010151905060006005600084815260200190815260200160002054905081811015613423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341a906155d5565b60405180910390fd5b81810360056000858152602001908152602001600020819055505050508061344a906147dc565b9050613381565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b828054613492906144d4565b90600052602060002090601f0160209004810192826134b457600085556134fb565b82601f106134cd57805160ff19168380011785556134fb565b828001600101855582156134fb579182015b828111156134fa5782518255916020019190600101906134df565b5b509050613508919061350c565b5090565b5b8082111561352557600081600090555060010161350d565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135688261353d565b9050919050565b6135788161355d565b811461358357600080fd5b50565b6000813590506135958161356f565b92915050565b6000819050919050565b6135ae8161359b565b81146135b957600080fd5b50565b6000813590506135cb816135a5565b92915050565b600080604083850312156135e8576135e7613533565b5b60006135f685828601613586565b9250506020613607858286016135bc565b9150509250929050565b61361a8161359b565b82525050565b60006020820190506136356000830184613611565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136708161363b565b811461367b57600080fd5b50565b60008135905061368d81613667565b92915050565b6000602082840312156136a9576136a8613533565b5b60006136b78482850161367e565b91505092915050565b60008115159050919050565b6136d5816136c0565b82525050565b60006020820190506136f060008301846136cc565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61374982613700565b810181811067ffffffffffffffff8211171561376857613767613711565b5b80604052505050565b600061377b613529565b90506137878282613740565b919050565b600067ffffffffffffffff8211156137a7576137a6613711565b5b6137b082613700565b9050602081019050919050565b82818337600083830152505050565b60006137df6137da8461378c565b613771565b9050828152602081018484840111156137fb576137fa6136fb565b5b6138068482856137bd565b509392505050565b600082601f830112613823576138226136f6565b5b81356138338482602086016137cc565b91505092915050565b60006020828403121561385257613851613533565b5b600082013567ffffffffffffffff8111156138705761386f613538565b5b61387c8482850161380e565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138bf5780820151818401526020810190506138a4565b838111156138ce576000848401525b50505050565b60006138df82613885565b6138e98185613890565b93506138f98185602086016138a1565b61390281613700565b840191505092915050565b6000602082019050818103600083015261392781846138d4565b905092915050565b60006020828403121561394557613944613533565b5b6000613953848285016135bc565b91505092915050565b600067ffffffffffffffff82111561397757613976613711565b5b602082029050602081019050919050565b600080fd5b60006139a061399b8461395c565b613771565b905080838252602082019050602084028301858111156139c3576139c2613988565b5b835b818110156139ec57806139d888826135bc565b8452602084019350506020810190506139c5565b5050509392505050565b600082601f830112613a0b57613a0a6136f6565b5b8135613a1b84826020860161398d565b91505092915050565b600067ffffffffffffffff821115613a3f57613a3e613711565b5b613a4882613700565b9050602081019050919050565b6000613a68613a6384613a24565b613771565b905082815260208101848484011115613a8457613a836136fb565b5b613a8f8482856137bd565b509392505050565b600082601f830112613aac57613aab6136f6565b5b8135613abc848260208601613a55565b91505092915050565b60008060008060808587031215613adf57613ade613533565b5b6000613aed87828801613586565b945050602085013567ffffffffffffffff811115613b0e57613b0d613538565b5b613b1a878288016139f6565b935050604085013567ffffffffffffffff811115613b3b57613b3a613538565b5b613b47878288016139f6565b925050606085013567ffffffffffffffff811115613b6857613b67613538565b5b613b7487828801613a97565b91505092959194509250565b6000819050919050565b613b9381613b80565b8114613b9e57600080fd5b50565b600081359050613bb081613b8a565b92915050565b600060208284031215613bcc57613bcb613533565b5b6000613bda84828501613ba1565b91505092915050565b613bec81613b80565b82525050565b6000602082019050613c076000830184613be3565b92915050565b600080600080600060a08688031215613c2957613c28613533565b5b6000613c3788828901613586565b9550506020613c4888828901613586565b945050604086013567ffffffffffffffff811115613c6957613c68613538565b5b613c75888289016139f6565b935050606086013567ffffffffffffffff811115613c9657613c95613538565b5b613ca2888289016139f6565b925050608086013567ffffffffffffffff811115613cc357613cc2613538565b5b613ccf88828901613a97565b9150509295509295909350565b60008060408385031215613cf357613cf2613533565b5b6000613d0185828601613ba1565b9250506020613d1285828601613586565b9150509250929050565b600067ffffffffffffffff821115613d3757613d36613711565b5b602082029050602081019050919050565b6000613d5b613d5684613d1c565b613771565b90508083825260208201905060208402830185811115613d7e57613d7d613988565b5b835b81811015613da75780613d938882613586565b845260208401935050602081019050613d80565b5050509392505050565b600082601f830112613dc657613dc56136f6565b5b8135613dd6848260208601613d48565b91505092915050565b600067ffffffffffffffff821115613dfa57613df9613711565b5b602082029050602081019050919050565b6000613e1e613e1984613ddf565b613771565b90508083825260208201905060208402830185811115613e4157613e40613988565b5b835b81811015613e8857803567ffffffffffffffff811115613e6657613e656136f6565b5b808601613e7389826139f6565b85526020850194505050602081019050613e43565b5050509392505050565b600082601f830112613ea757613ea66136f6565b5b8135613eb7848260208601613e0b565b91505092915050565b60008060008060808587031215613eda57613ed9613533565b5b600085013567ffffffffffffffff811115613ef857613ef7613538565b5b613f0487828801613db1565b945050602085013567ffffffffffffffff811115613f2557613f24613538565b5b613f3187828801613e92565b935050604085013567ffffffffffffffff811115613f5257613f51613538565b5b613f5e87828801613e92565b925050606085013567ffffffffffffffff811115613f7f57613f7e613538565b5b613f8b87828801613a97565b91505092959194509250565b60008060408385031215613fae57613fad613533565b5b600083013567ffffffffffffffff811115613fcc57613fcb613538565b5b613fd885828601613db1565b925050602083013567ffffffffffffffff811115613ff957613ff8613538565b5b614005858286016139f6565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6140448161359b565b82525050565b6000614056838361403b565b60208301905092915050565b6000602082019050919050565b600061407a8261400f565b614084818561401a565b935061408f8361402b565b8060005b838110156140c05781516140a7888261404a565b97506140b283614062565b925050600181019050614093565b5085935050505092915050565b600060208201905081810360008301526140e7818461406f565b905092915050565b60008060006060848603121561410857614107613533565b5b600061411686828701613586565b935050602084013567ffffffffffffffff81111561413757614136613538565b5b614143868287016139f6565b925050604084013567ffffffffffffffff81111561416457614163613538565b5b614170868287016139f6565b9150509250925092565b6000806000806080858703121561419457614193613533565b5b60006141a287828801613586565b94505060206141b3878288016135bc565b93505060406141c4878288016135bc565b925050606085013567ffffffffffffffff8111156141e5576141e4613538565b5b6141f187828801613a97565b91505092959194509250565b6142068161355d565b82525050565b600060208201905061422160008301846141fd565b92915050565b614230816136c0565b811461423b57600080fd5b50565b60008135905061424d81614227565b92915050565b6000806040838503121561426a57614269613533565b5b600061427885828601613586565b92505060206142898582860161423e565b9150509250929050565b60006040820190506142a86000830185613611565b6142b560208301846141fd565b9392505050565b600080604083850312156142d3576142d2613533565b5b60006142e185828601613586565b92505060206142f285828601613586565b9150509250929050565b600080600080600060a0868803121561431857614317613533565b5b600061432688828901613586565b955050602061433788828901613586565b9450506040614348888289016135bc565b9350506060614359888289016135bc565b925050608086013567ffffffffffffffff81111561437a57614379613538565b5b61438688828901613a97565b9150509295509295909350565b6000602082840312156143a9576143a8613533565b5b60006143b784828501613586565b91505092915050565b6000806000606084860312156143d9576143d8613533565b5b60006143e786828701613586565b93505060206143f8868287016135bc565b9250506040614409868287016135bc565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061446f602b83613890565b915061447a82614413565b604082019050919050565b6000602082019050818103600083015261449e81614462565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806144ec57607f821691505b60208210811415614500576144ff6144a5565b5b50919050565b7f4d494e54494e475f49535f53544f505045440000000000000000000000000000600082015250565b600061453c601283613890565b915061454782614506565b602082019050919050565b6000602082019050818103600083015261456b8161452f565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006145ce603283613890565b91506145d982614572565b604082019050919050565b600060208201905081810360008301526145fd816145c1565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614660602f83613890565b915061466b82614604565b604082019050919050565b6000602082019050818103600083015261468f81614653565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146ff8261359b565b915061470a8361359b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561473f5761473e6146c5565b5b828201905092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006147a6602983613890565b91506147b18261474a565b604082019050919050565b600060208201905081810360008301526147d581614799565b9050919050565b60006147e78261359b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561481a576148196146c5565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614881602983613890565b915061488c82614825565b604082019050919050565b600060208201905081810360008301526148b081614874565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006148ed602083613890565b91506148f8826148b7565b602082019050919050565b6000602082019050818103600083015261491c816148e0565b9050919050565b7f50524943455f43414e5f4e4f545f42455f5a45524f0000000000000000000000600082015250565b6000614959601583613890565b915061496482614923565b602082019050919050565b600060208201905081810360008301526149888161494c565b9050919050565b600061499a8261359b565b91506149a58361359b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149de576149dd6146c5565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a238261359b565b9150614a2e8361359b565b925082614a3e57614a3d6149e9565b5b828204905092915050565b7f4d494e54494e475f49535f414c52454144595f53544f50504544000000000000600082015250565b6000614a7f601a83613890565b9150614a8a82614a49565b602082019050919050565b60006020820190508181036000830152614aae81614a72565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b11602683613890565b9150614b1c82614ab5565b604082019050919050565b60006020820190508181036000830152614b4081614b04565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ba3602183613890565b9150614bae82614b47565b604082019050919050565b60006020820190508181036000830152614bd281614b96565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614c35602883613890565b9150614c4082614bd9565b604082019050919050565b60006020820190508181036000830152614c6481614c28565b9050919050565b60006040820190508181036000830152614c85818561406f565b90508181036020830152614c99818461406f565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614cfe602583613890565b9150614d0982614ca2565b604082019050919050565b60006020820190508181036000830152614d2d81614cf1565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614d90602a83613890565b9150614d9b82614d34565b604082019050919050565b60006020820190508181036000830152614dbf81614d83565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614dfc601483613890565b9150614e0782614dc6565b602082019050919050565b60006020820190508181036000830152614e2b81614def565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614e8e602383613890565b9150614e9982614e32565b604082019050919050565b60006020820190508181036000830152614ebd81614e81565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614f20602483613890565b9150614f2b82614ec4565b604082019050919050565b60006020820190508181036000830152614f4f81614f13565b9050919050565b6000604082019050614f6b6000830185613611565b614f786020830184613611565b9392505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614fb5601083613890565b9150614fc082614f7f565b602082019050919050565b60006020820190508181036000830152614fe481614fa8565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615047602983613890565b915061505282614feb565b604082019050919050565b600060208201905081810360008301526150768161503a565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006150be60178361507d565b91506150c982615088565b601782019050919050565b60006150df82613885565b6150e9818561507d565b93506150f98185602086016138a1565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061513b60118361507d565b915061514682615105565b601182019050919050565b600061515c826150b1565b915061516882856150d4565b91506151738261512e565b915061517f82846150d4565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006151b28261518b565b6151bc8185615196565b93506151cc8185602086016138a1565b6151d581613700565b840191505092915050565b600060a0820190506151f560008301886141fd565b61520260208301876141fd565b8181036040830152615214818661406f565b90508181036060830152615228818561406f565b9050818103608083015261523c81846151a7565b90509695505050505050565b60008151905061525781613667565b92915050565b60006020828403121561527357615272613533565b5b600061528184828501615248565b91505092915050565b60008160e01c9050919050565b600060033d11156152b65760046000803e6152b360005161528a565b90505b90565b600060443d10156152c95761534c565b6152d1613529565b60043d036004823e80513d602482011167ffffffffffffffff821117156152f957505061534c565b808201805167ffffffffffffffff811115615317575050505061534c565b80602083010160043d03850181111561533457505050505061534c565b61534382602001850186613740565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006153ab603483613890565b91506153b68261534f565b604082019050919050565b600060208201905081810360008301526153da8161539e565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061543d602883613890565b9150615448826153e1565b604082019050919050565b6000602082019050818103600083015261546c81615430565b9050919050565b600060a08201905061548860008301886141fd565b61549560208301876141fd565b6154a26040830186613611565b6154af6060830185613611565b81810360808301526154c181846151a7565b90509695505050505050565b60006154d88261359b565b915060008214156154ec576154eb6146c5565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061552d602083613890565b9150615538826154f7565b602082019050919050565b6000602082019050818103600083015261555c81615520565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b60006155bf602883613890565b91506155ca82615563565b604082019050919050565b600060208201905081810360008301526155ee816155b2565b905091905056fea26469706673582212200bde253f9cb5f134bfd9d762c90c6bd8aea9b6f79a6b7cbbbc7c5d681bbfdb5364736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000003868747470733a2f2f6e6674732e756e78642e636f6d2f6e6674732f646f6c63652d67616262616e612d646973636f2d647269702f7b69647d0000000000000000

-----Decoded View---------------
Arg [0] : _royaltyPercentage (uint256): 10
Arg [1] : _baseUri (string): https://nfts.unxd.com/nfts/dolce-gabbana-disco-drip/{id}

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000038
Arg [3] : 68747470733a2f2f6e6674732e756e78642e636f6d2f6e6674732f646f6c6365
Arg [4] : 2d67616262616e612d646973636f2d647269702f7b69647d0000000000000000


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.