ETH Price: $3,344.35 (-4.09%)

Token

 

Overview

Max Total Supply

9

Holders

3

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
Null: 0x000...000
0x0000000000000000000000000000000000000000
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:
RadCollectionNft

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : RadCollectionNft.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";

contract RadCollectionNft is ERC1155, Ownable, ERC1155Supply {
    struct RevenueSplit {
        address wallet;
        uint256 percentange; // 22 = 2.2%
        string nickname;
    }
    struct NftDetailStruct {
        address createdBy;
        bool status;
        uint256 mintPrice;
        uint256 maxSupply;
    }

    uint256 public totalNFTs;
    mapping(uint256 => string) public UriOf;
    mapping(uint256 => NftDetailStruct) public nftDetailOf;
    mapping(uint256 => uint256) public currentSupplyOf;
    mapping(uint256 => RevenueSplit[]) public revenueSplitsOfNFT;

    uint256 platformCommisionPercentage = 300; // 30%
    address platformAddress = 0x02232a2de6C1d673D19ee48f556A3933AC987eCc; // 30%

    event NFTcreated(uint256 indexed id, uint256 mintPrice, uint256 time);

    constructor() ERC1155("Rad Collection") {
        totalNFTs = 0;
    }

    //  Only let the function run if the NFT is created
    modifier onlyNftExist(uint256 id) {
        require(totalNFTs >= id, "NFT doesnot exits");
        _;
    }

    // Only the user who minted the nft can call the function
    modifier onlyNftMinter(uint256 id) {
        require(
            nftDetailOf[id].createdBy == msg.sender,
            "Only the minter can perform this action"
        );
        _;
    }

    modifier onlyPlatform() {
        require(
            msg.sender == platformAddress,
            "Only platform can call this function"
        );
        _;
    }

    // Owner can create NFT and add its Metadat URI and mint price
    function createNFT(
        string memory _nftUri,
        uint256 _mintPrice,
        uint256 _maxSupply,
        RevenueSplit[] memory revenueSplits
    ) public returns (uint256) {
        uint256 _nftId = totalNFTs + 1;
        _checkPercentage(revenueSplits);
        nftDetailOf[_nftId] = NftDetailStruct(
            msg.sender,
            true,
            _mintPrice,
            _maxSupply
        );
        UriOf[_nftId] = _nftUri;
        emit NFTcreated(_nftId, _mintPrice, block.timestamp);
        _addRevenueSplitOfToken(_nftId, revenueSplits);
        totalNFTs++;
        return _nftId;
    }

    // Owner can update uri of created nft
    // params: id - nft id which uri you want to update
    // tokenUri - new URI
    function updateURIOfToken(
        uint256 id,
        string memory tokenUri
    ) public onlyNftMinter(id) onlyNftExist(id) {
        UriOf[id] = tokenUri;
    }

    // Owner can update uri of created nft
    // params: id - nft id which uri you want to update
    // tokenUri - new URI
    function updateNftDetails(
        uint256 id,
        NftDetailStruct memory _details
    ) public onlyNftMinter(id) onlyNftExist(id) {
        nftDetailOf[id] = _details;
    }

    function updateRevenueSplitOfToken(
        uint256 _nftId,
        RevenueSplit[] memory revenueSplits
    ) public onlyNftMinter(_nftId) onlyNftExist(_nftId) {
        _checkPercentage(revenueSplits);
        _addRevenueSplitOfToken(_nftId, revenueSplits);
    }

    function getRevenueSplitsOfToken(
        uint256 _nftId
    ) public view returns (RevenueSplit[] memory) {
        return revenueSplitsOfNFT[_nftId];
    }

    function mint(
        address account,
        uint256 id,
        uint256 amount
    ) public payable onlyNftExist(id) {
        require(
            msg.value >= nftDetailOf[id].mintPrice,
            "Please send full mint price"
        );

        // maxSupply 0  means unlimited supply
        if (nftDetailOf[id].maxSupply != 0) {
            require(
                currentSupplyOf[id] + amount <= nftDetailOf[id].maxSupply,
                "Max supply exceeds for this nft"
            );
        }

        _mint(account, id, amount, "");
        currentSupplyOf[id] += amount;
        splitRevenue(id, nftDetailOf[id].mintPrice);
    }

    function splitRevenue(uint256 nftid, uint256 totalAmount) private {
        uint256 platformCommissionAmount = (totalAmount *
            platformCommisionPercentage) / 1000;
        (bool sent, ) = platformAddress.call{value: platformCommissionAmount}(
            ""
        );
        require(sent, "Not able to send payment to platform");

        uint256 remainingAmount = totalAmount - platformCommissionAmount;
        RevenueSplit[] memory revenueSplits = revenueSplitsOfNFT[nftid];
        _checkPercentage(revenueSplits);
        for (uint i = 0; i < revenueSplits.length; i++) {
            RevenueSplit memory oneUserSplit = revenueSplits[i];
            uint256 userAmount = (remainingAmount * oneUserSplit.percentange) /
                1000;
            (bool sentOther, ) = oneUserSplit.wallet.call{value: userAmount}(
                ""
            );
            require(sentOther, "Not able to send payment to account");
        }
    }

    function uri(
        uint256 id
    ) public view virtual override returns (string memory) {
        return UriOf[id];
    }

    function transferEth(address _to, uint256 amount) public onlyPlatform {
        (bool sent, ) = _to.call{value: amount}("");
        require(sent, "Failed to send Ether");
    }

    function _checkPercentage(
        RevenueSplit[] memory revenueSplits
    ) internal pure {
        uint256 _totalPercentage = 0;
        for (uint i = 0; i < revenueSplits.length; i++) {
            _totalPercentage += revenueSplits[i].percentange;
        }
        require(
            _totalPercentage <= 1000,
            "Percentage Calculation is not correct."
        );
    }

    function updatePlatform(address _newPlatform) public onlyPlatform {
        platformAddress = _newPlatform;
    }

    function _addRevenueSplitOfToken(
        uint256 _nftId,
        RevenueSplit[] memory revenueSplits
    ) internal {
        _checkPercentage(revenueSplits);
        delete revenueSplitsOfNFT[_nftId];
        for (uint256 i = 0; i < revenueSplits.length; i++) {
            revenueSplitsOfNFT[_nftId].push(
                RevenueSplit(
                    revenueSplits[i].wallet,
                    revenueSplits[i].percentange,
                    revenueSplits[i].nickname
                )
            );
        }
    }

    // The following functions are overrides required by Solidity.
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override(ERC1155, ERC1155Supply) {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

        return array;
    }
}

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

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

File 8 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"NFTcreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"UriOf","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_nftUri","type":"string"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"components":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"percentange","type":"uint256"},{"internalType":"string","name":"nickname","type":"string"}],"internalType":"struct RadCollectionNft.RevenueSplit[]","name":"revenueSplits","type":"tuple[]"}],"name":"createNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"currentSupplyOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nftId","type":"uint256"}],"name":"getRevenueSplitsOfToken","outputs":[{"components":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"percentange","type":"uint256"},{"internalType":"string","name":"nickname","type":"string"}],"internalType":"struct RadCollectionNft.RevenueSplit[]","name":"","type":"tuple[]"}],"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"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nftDetailOf","outputs":[{"internalType":"address","name":"createdBy","type":"address"},{"internalType":"bool","name":"status","type":"bool"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"revenueSplitsOfNFT","outputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"percentange","type":"uint256"},{"internalType":"string","name":"nickname","type":"string"}],"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"components":[{"internalType":"address","name":"createdBy","type":"address"},{"internalType":"bool","name":"status","type":"bool"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"internalType":"struct RadCollectionNft.NftDetailStruct","name":"_details","type":"tuple"}],"name":"updateNftDetails","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newPlatform","type":"address"}],"name":"updatePlatform","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nftId","type":"uint256"},{"components":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"percentange","type":"uint256"},{"internalType":"string","name":"nickname","type":"string"}],"internalType":"struct RadCollectionNft.RevenueSplit[]","name":"revenueSplits","type":"tuple[]"}],"name":"updateRevenueSplitOfToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"tokenUri","type":"string"}],"name":"updateURIOfToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

608060405261012c600a557302232a2de6c1d673d19ee48f556a3933ac987ecc600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006c57600080fd5b506040518060400160405280600e81526020017f52616420436f6c6c656374696f6e000000000000000000000000000000000000815250620000b481620000e360201b60201c565b50620000d5620000c9620000f860201b60201c565b6200010060201b60201c565b600060058190555062000527565b8060029081620000f4919062000440565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200024857607f821691505b6020821081036200025e576200025d62000200565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620002c87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000289565b620002d4868362000289565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620003216200031b6200031584620002ec565b620002f6565b620002ec565b9050919050565b6000819050919050565b6200033d8362000300565b620003556200034c8262000328565b84845462000296565b825550505050565b600090565b6200036c6200035d565b6200037981848462000332565b505050565b5b81811015620003a1576200039560008262000362565b6001810190506200037f565b5050565b601f821115620003f057620003ba8162000264565b620003c58462000279565b81016020851015620003d5578190505b620003ed620003e48562000279565b8301826200037e565b50505b505050565b600082821c905092915050565b60006200041560001984600802620003f5565b1980831691505092915050565b600062000430838362000402565b9150826002028217905092915050565b6200044b82620001c6565b67ffffffffffffffff811115620004675762000466620001d1565b5b6200047382546200022f565b62000480828285620003a5565b600060209050601f831160018114620004b85760008415620004a3578287015190505b620004af858262000422565b8655506200051f565b601f198416620004c88662000264565b60005b82811015620004f257848901518255600182019150602085019450602081019050620004cb565b868310156200051257848901516200050e601f89168262000402565b8355505b6001600288020188555050505b505050505050565b61538380620005376000396000f3fe6080604052600436106101805760003560e01c806396298eb6116100d1578063b7c3dbb01161008a578063e9bb84c211610064578063e9bb84c2146105e5578063ea6535e51461060e578063f242432a1461064b578063f2fde38b1461067457610180565b8063b7c3dbb01461052e578063bd85b0391461056b578063e985e9c5146105a857610180565b806396298eb61461040d57806397a26c581461044a5780639817f0211461048a578063a22cb465146104b3578063a26139b6146104dc578063a293da0f1461050557610180565b80631debb5481161013e5780634f558e79116101185780634f558e79146103655780635fe2bef3146103a2578063715018a6146103cb5780638da5cb5b146103e257610180565b80631debb548146102c05780632eb2c2d6146102ff5780634e1273f41461032857610180565b8062fdd58e1461018557806301ffc9a7146101c257806308153b4b146101ff5780630d0e96da1461023c5780630e89341c14610267578063156e29f6146102a4575b600080fd5b34801561019157600080fd5b506101ac60048036038101906101a791906130f0565b61069d565b6040516101b9919061313f565b60405180910390f35b3480156101ce57600080fd5b506101e960048036038101906101e491906131b2565b610765565b6040516101f691906131fa565b60405180910390f35b34801561020b57600080fd5b5061022660048036038101906102219190613215565b610847565b60405161023391906132d2565b60405180910390f35b34801561024857600080fd5b506102516108e7565b60405161025e919061313f565b60405180910390f35b34801561027357600080fd5b5061028e60048036038101906102899190613215565b6108ed565b60405161029b91906132d2565b60405180910390f35b6102be60048036038101906102b991906132f4565b610992565b005b3480156102cc57600080fd5b506102e760048036038101906102e29190613347565b610b32565b6040516102f693929190613396565b60405180910390f35b34801561030b57600080fd5b50610326600480360381019061032191906135d1565b610c21565b005b34801561033457600080fd5b5061034f600480360381019061034a9190613763565b610cc2565b60405161035c9190613899565b60405180910390f35b34801561037157600080fd5b5061038c60048036038101906103879190613215565b610ddb565b60405161039991906131fa565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c49190613ac7565b610def565b005b3480156103d757600080fd5b506103e0610ef3565b005b3480156103ee57600080fd5b506103f7610f07565b6040516104049190613b23565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f9190613215565b610f31565b604051610441919061313f565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c9190613215565b610f49565b6040516104819493929190613b3e565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac9190613b83565b610fa6565b005b3480156104bf57600080fd5b506104da60048036038101906104d59190613c0b565b6110b8565b005b3480156104e857600080fd5b5061050360048036038101906104fe9190613cc3565b6110ce565b005b34801561051157600080fd5b5061052c60048036038101906105279190613d03565b611251565b005b34801561053a57600080fd5b5061055560048036038101906105509190613d30565b611325565b604051610562919061313f565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d9190613215565b611496565b60405161059f919061313f565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190613dcf565b6114b3565b6040516105dc91906131fa565b60405180910390f35b3480156105f157600080fd5b5061060c600480360381019061060791906130f0565b611547565b005b34801561061a57600080fd5b5061063560048036038101906106309190613215565b611688565b6040516106429190613f7a565b60405180910390f35b34801561065757600080fd5b50610672600480360381019061066d9190613f9c565b6117ec565b005b34801561068057600080fd5b5061069b60048036038101906106969190613d03565b61188d565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361070d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610704906140a5565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061083057507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610840575061083f82611910565b5b9050919050565b60066020528060005260406000206000915090508054610866906140f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610892906140f4565b80156108df5780601f106108b4576101008083540402835291602001916108df565b820191906000526020600020905b8154815290600101906020018083116108c257829003601f168201915b505050505081565b60055481565b606060066000838152602001908152602001600020805461090d906140f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610939906140f4565b80156109865780601f1061095b57610100808354040283529160200191610986565b820191906000526020600020905b81548152906001019060200180831161096957829003601f168201915b50505050509050919050565b818060055410156109d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cf90614171565b60405180910390fd5b6007600084815260200190815260200160002060010154341015610a31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a28906141dd565b60405180910390fd5b6000600760008581526020019081526020016000206002015414610ac7576007600084815260200190815260200160002060020154826008600086815260200190815260200160002054610a85919061422c565b1115610ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abd906142ac565b60405180910390fd5b5b610ae28484846040518060200160405280600081525061197a565b81600860008581526020019081526020016000206000828254610b05919061422c565b92505081905550610b2c836007600086815260200190815260200160002060010154611b2a565b50505050565b60096020528160005260406000208181548110610b4e57600080fd5b9060005260206000209060030201600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806001015490806002018054610b9e906140f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610bca906140f4565b8015610c175780601f10610bec57610100808354040283529160200191610c17565b820191906000526020600020905b815481529060010190602001808311610bfa57829003601f168201915b5050505050905083565b610c29611eaa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c6f5750610c6e85610c69611eaa565b6114b3565b5b610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca59061433e565b60405180910390fd5b610cbb8585858585611eb2565b5050505050565b60608151835114610d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cff906143d0565b60405180910390fd5b6000835167ffffffffffffffff811115610d2557610d246133d9565b5b604051908082528060200260200182016040528015610d535781602001602082028036833780820191505090505b50905060005b8451811015610dd057610da0858281518110610d7857610d776143f0565b5b6020026020010151858381518110610d9357610d926143f0565b5b602002602001015161069d565b828281518110610db357610db26143f0565b5b60200260200101818152505080610dc99061441f565b9050610d59565b508091505092915050565b600080610de783611496565b119050919050565b813373ffffffffffffffffffffffffffffffffffffffff166007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8b906144d9565b60405180910390fd5b82806005541015610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed190614171565b60405180910390fd5b610ee3836121d3565b610eed8484612269565b50505050565b610efb6123e5565b610f056000612463565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60086020528060005260406000206000915090505481565b60076020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900460ff16908060010154908060020154905084565b813373ffffffffffffffffffffffffffffffffffffffff166007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461104b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611042906144d9565b60405180910390fd5b82806005541015611091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108890614171565b60405180910390fd5b826006600086815260200190815260200160002090816110b191906146a5565b5050505050565b6110ca6110c3611eaa565b8383612529565b5050565b813373ffffffffffffffffffffffffffffffffffffffff166007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116a906144d9565b60405180910390fd5b828060055410156111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b090614171565b60405180910390fd5b826007600086815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff021916908315150217905550604082015181600101556060820151816002015590505050505050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d8906147e9565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806001600554611337919061422c565b9050611342836121d3565b60405180608001604052803373ffffffffffffffffffffffffffffffffffffffff168152602001600115158152602001868152602001858152506007600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff02191690831515021790555060408201518160010155606082015181600201559050508560066000838152602001908152602001600020908161142d91906146a5565b50807fa60bd421d54bf2d2acc5ea524fc574869a5a004166967f08e68d536b17b62d8a8642604051611460929190614809565b60405180910390a26114728184612269565b600560008154809291906114859061441f565b919050555080915050949350505050565b600060046000838152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ce906147e9565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516115fd90614863565b60006040518083038185875af1925050503d806000811461163a576040519150601f19603f3d011682016040523d82523d6000602084013e61163f565b606091505b5050905080611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a906148c4565b60405180910390fd5b505050565b606060096000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156117e157838290600052602060002090600302016040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152602001600282018054611750906140f4565b80601f016020809104026020016040519081016040528092919081815260200182805461177c906140f4565b80156117c95780601f1061179e576101008083540402835291602001916117c9565b820191906000526020600020905b8154815290600101906020018083116117ac57829003601f168201915b505050505081525050815260200190600101906116bd565b505050509050919050565b6117f4611eaa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061183a575061183985611834611eaa565b6114b3565b5b611879576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118709061433e565b60405180910390fd5b6118868585858585612695565b5050505050565b6118956123e5565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611904576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fb90614956565b60405180910390fd5b61190d81612463565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e0906149e8565b60405180910390fd5b60006119f3611eaa565b90506000611a0085612930565b90506000611a0d85612930565b9050611a1e836000898585896129aa565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a7d919061422c565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611afb929190614809565b60405180910390a4611b12836000898585896129c0565b611b21836000898989896129c8565b50505050505050565b60006103e8600a5483611b3d9190614a08565b611b479190614a79565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611b9190614863565b60006040518083038185875af1925050503d8060008114611bce576040519150601f19603f3d011682016040523d82523d6000602084013e611bd3565b606091505b5050905080611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90614b1c565b60405180910390fd5b60008284611c259190614b3c565b9050600060096000878152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611d8057838290600052602060002090600302016040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152602001600282018054611cef906140f4565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1b906140f4565b8015611d685780601f10611d3d57610100808354040283529160200191611d68565b820191906000526020600020905b815481529060010190602001808311611d4b57829003601f168201915b50505050508152505081526020019060010190611c5c565b505050509050611d8f816121d3565b60005b8151811015611ea1576000828281518110611db057611daf6143f0565b5b6020026020010151905060006103e8826020015186611dcf9190614a08565b611dd99190614a79565b90506000826000015173ffffffffffffffffffffffffffffffffffffffff1682604051611e0590614863565b60006040518083038185875af1925050503d8060008114611e42576040519150601f19603f3d011682016040523d82523d6000602084013e611e47565b606091505b5050905080611e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8290614be2565b60405180910390fd5b5050508080611e999061441f565b915050611d92565b50505050505050565b600033905090565b8151835114611ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eed90614c74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5c90614d06565b60405180910390fd5b6000611f6f611eaa565b9050611f7f8187878787876129aa565b60005b8451811015612130576000858281518110611fa057611f9f6143f0565b5b602002602001015190506000858381518110611fbf57611fbe6143f0565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205790614d98565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612115919061422c565b92505081905550505050806121299061441f565b9050611f82565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516121a7929190614db8565b60405180910390a46121bd8187878787876129c0565b6121cb818787878787612b9f565b505050505050565b6000805b825181101561221f578281815181106121f3576121f26143f0565b5b6020026020010151602001518261220a919061422c565b915080806122179061441f565b9150506121d7565b506103e8811115612265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225c90614e61565b60405180910390fd5b5050565b612272816121d3565b6009600083815260200190815260200160002060006122919190612f71565b60005b81518110156123e0576009600084815260200190815260200160002060405180606001604052808484815181106122ce576122cd6143f0565b5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff168152602001848481518110612308576123076143f0565b5b602002602001015160200151815260200184848151811061232c5761232b6143f0565b5b602002602001015160400151815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020190816123ca91906146a5565b50505080806123d89061441f565b915050612294565b505050565b6123ed611eaa565b73ffffffffffffffffffffffffffffffffffffffff1661240b610f07565b73ffffffffffffffffffffffffffffffffffffffff1614612461576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245890614ecd565b60405180910390fd5b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258e90614f5f565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161268891906131fa565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612704576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fb90614d06565b60405180910390fd5b600061270e611eaa565b9050600061271b85612930565b9050600061272885612930565b90506127388389898585896129aa565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c690614d98565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612884919061422c565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612901929190614809565b60405180910390a4612917848a8a86868a6129c0565b612925848a8a8a8a8a6129c8565b505050505050505050565b60606000600167ffffffffffffffff81111561294f5761294e6133d9565b5b60405190808252806020026020018201604052801561297d5781602001602082028036833780820191505090505b5090508281600081518110612995576129946143f0565b5b60200260200101818152505080915050919050565b6129b8868686868686612d76565b505050505050565b505050505050565b6129e78473ffffffffffffffffffffffffffffffffffffffff16612f46565b15612b97578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612a2d959493929190614fd4565b6020604051808303816000875af1925050508015612a6957506040513d601f19601f82011682018060405250810190612a669190615043565b60015b612b0e57612a7561507d565b806308c379a003612ad15750612a8961509f565b80612a945750612ad3565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac891906132d2565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b05906151a1565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8c90615233565b60405180910390fd5b505b505050505050565b612bbe8473ffffffffffffffffffffffffffffffffffffffff16612f46565b15612d6e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612c04959493929190615253565b6020604051808303816000875af1925050508015612c4057506040513d601f19601f82011682018060405250810190612c3d9190615043565b60015b612ce557612c4c61507d565b806308c379a003612ca85750612c6061509f565b80612c6b5750612caa565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9f91906132d2565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdc906151a1565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6390615233565b60405180910390fd5b505b505050505050565b612d84868686868686612f69565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612e355760005b8351811015612e3357828181518110612dd757612dd66143f0565b5b602002602001015160046000868481518110612df657612df56143f0565b5b602002602001015181526020019081526020016000206000828254612e1b919061422c565b9250508190555080612e2c9061441f565b9050612dbb565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612f3e5760005b8351811015612f3c576000848281518110612e8a57612e896143f0565b5b602002602001015190506000848381518110612ea957612ea86143f0565b5b6020026020010151905060006004600084815260200190815260200160002054905081811015612f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f059061532d565b60405180910390fd5b818103600460008581526020019081526020016000208190555050505080612f359061441f565b9050612e6c565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b5080546000825560030290600052602060002090810190612f929190612f95565b50565b5b80821115612fe757600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160009055600282016000612fde9190612feb565b50600301612f96565b5090565b508054612ff7906140f4565b6000825580601f106130095750613028565b601f016020900490600052602060002090810190613027919061302b565b5b50565b5b8082111561304457600081600090555060010161302c565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130878261305c565b9050919050565b6130978161307c565b81146130a257600080fd5b50565b6000813590506130b48161308e565b92915050565b6000819050919050565b6130cd816130ba565b81146130d857600080fd5b50565b6000813590506130ea816130c4565b92915050565b6000806040838503121561310757613106613052565b5b6000613115858286016130a5565b9250506020613126858286016130db565b9150509250929050565b613139816130ba565b82525050565b60006020820190506131546000830184613130565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61318f8161315a565b811461319a57600080fd5b50565b6000813590506131ac81613186565b92915050565b6000602082840312156131c8576131c7613052565b5b60006131d68482850161319d565b91505092915050565b60008115159050919050565b6131f4816131df565b82525050565b600060208201905061320f60008301846131eb565b92915050565b60006020828403121561322b5761322a613052565b5b6000613239848285016130db565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561327c578082015181840152602081019050613261565b60008484015250505050565b6000601f19601f8301169050919050565b60006132a482613242565b6132ae818561324d565b93506132be81856020860161325e565b6132c781613288565b840191505092915050565b600060208201905081810360008301526132ec8184613299565b905092915050565b60008060006060848603121561330d5761330c613052565b5b600061331b868287016130a5565b935050602061332c868287016130db565b925050604061333d868287016130db565b9150509250925092565b6000806040838503121561335e5761335d613052565b5b600061336c858286016130db565b925050602061337d858286016130db565b9150509250929050565b6133908161307c565b82525050565b60006060820190506133ab6000830186613387565b6133b86020830185613130565b81810360408301526133ca8184613299565b9050949350505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61341182613288565b810181811067ffffffffffffffff821117156134305761342f6133d9565b5b80604052505050565b6000613443613048565b905061344f8282613408565b919050565b600067ffffffffffffffff82111561346f5761346e6133d9565b5b602082029050602081019050919050565b600080fd5b600061349861349384613454565b613439565b905080838252602082019050602084028301858111156134bb576134ba613480565b5b835b818110156134e457806134d088826130db565b8452602084019350506020810190506134bd565b5050509392505050565b600082601f830112613503576135026133d4565b5b8135613513848260208601613485565b91505092915050565b600080fd5b600067ffffffffffffffff82111561353c5761353b6133d9565b5b61354582613288565b9050602081019050919050565b82818337600083830152505050565b600061357461356f84613521565b613439565b9050828152602081018484840111156135905761358f61351c565b5b61359b848285613552565b509392505050565b600082601f8301126135b8576135b76133d4565b5b81356135c8848260208601613561565b91505092915050565b600080600080600060a086880312156135ed576135ec613052565b5b60006135fb888289016130a5565b955050602061360c888289016130a5565b945050604086013567ffffffffffffffff81111561362d5761362c613057565b5b613639888289016134ee565b935050606086013567ffffffffffffffff81111561365a57613659613057565b5b613666888289016134ee565b925050608086013567ffffffffffffffff81111561368757613686613057565b5b613693888289016135a3565b9150509295509295909350565b600067ffffffffffffffff8211156136bb576136ba6133d9565b5b602082029050602081019050919050565b60006136df6136da846136a0565b613439565b9050808382526020820190506020840283018581111561370257613701613480565b5b835b8181101561372b578061371788826130a5565b845260208401935050602081019050613704565b5050509392505050565b600082601f83011261374a576137496133d4565b5b813561375a8482602086016136cc565b91505092915050565b6000806040838503121561377a57613779613052565b5b600083013567ffffffffffffffff81111561379857613797613057565b5b6137a485828601613735565b925050602083013567ffffffffffffffff8111156137c5576137c4613057565b5b6137d1858286016134ee565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613810816130ba565b82525050565b60006138228383613807565b60208301905092915050565b6000602082019050919050565b6000613846826137db565b61385081856137e6565b935061385b836137f7565b8060005b8381101561388c5781516138738882613816565b975061387e8361382e565b92505060018101905061385f565b5085935050505092915050565b600060208201905081810360008301526138b3818461383b565b905092915050565b600067ffffffffffffffff8211156138d6576138d56133d9565b5b602082029050602081019050919050565b600080fd5b600080fd5b600067ffffffffffffffff82111561390c5761390b6133d9565b5b61391582613288565b9050602081019050919050565b6000613935613930846138f1565b613439565b9050828152602081018484840111156139515761395061351c565b5b61395c848285613552565b509392505050565b600082601f830112613979576139786133d4565b5b8135613989848260208601613922565b91505092915050565b6000606082840312156139a8576139a76138e7565b5b6139b26060613439565b905060006139c2848285016130a5565b60008301525060206139d6848285016130db565b602083015250604082013567ffffffffffffffff8111156139fa576139f96138ec565b5b613a0684828501613964565b60408301525092915050565b6000613a25613a20846138bb565b613439565b90508083825260208201905060208402830185811115613a4857613a47613480565b5b835b81811015613a8f57803567ffffffffffffffff811115613a6d57613a6c6133d4565b5b808601613a7a8982613992565b85526020850194505050602081019050613a4a565b5050509392505050565b600082601f830112613aae57613aad6133d4565b5b8135613abe848260208601613a12565b91505092915050565b60008060408385031215613ade57613add613052565b5b6000613aec858286016130db565b925050602083013567ffffffffffffffff811115613b0d57613b0c613057565b5b613b1985828601613a99565b9150509250929050565b6000602082019050613b386000830184613387565b92915050565b6000608082019050613b536000830187613387565b613b6060208301866131eb565b613b6d6040830185613130565b613b7a6060830184613130565b95945050505050565b60008060408385031215613b9a57613b99613052565b5b6000613ba8858286016130db565b925050602083013567ffffffffffffffff811115613bc957613bc8613057565b5b613bd585828601613964565b9150509250929050565b613be8816131df565b8114613bf357600080fd5b50565b600081359050613c0581613bdf565b92915050565b60008060408385031215613c2257613c21613052565b5b6000613c30858286016130a5565b9250506020613c4185828601613bf6565b9150509250929050565b600060808284031215613c6157613c606138e7565b5b613c6b6080613439565b90506000613c7b848285016130a5565b6000830152506020613c8f84828501613bf6565b6020830152506040613ca3848285016130db565b6040830152506060613cb7848285016130db565b60608301525092915050565b60008060a08385031215613cda57613cd9613052565b5b6000613ce8858286016130db565b9250506020613cf985828601613c4b565b9150509250929050565b600060208284031215613d1957613d18613052565b5b6000613d27848285016130a5565b91505092915050565b60008060008060808587031215613d4a57613d49613052565b5b600085013567ffffffffffffffff811115613d6857613d67613057565b5b613d7487828801613964565b9450506020613d85878288016130db565b9350506040613d96878288016130db565b925050606085013567ffffffffffffffff811115613db757613db6613057565b5b613dc387828801613a99565b91505092959194509250565b60008060408385031215613de657613de5613052565b5b6000613df4858286016130a5565b9250506020613e05858286016130a5565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e448161307c565b82525050565b600082825260208201905092915050565b6000613e6682613242565b613e708185613e4a565b9350613e8081856020860161325e565b613e8981613288565b840191505092915050565b6000606083016000830151613eac6000860182613e3b565b506020830151613ebf6020860182613807565b5060408301518482036040860152613ed78282613e5b565b9150508091505092915050565b6000613ef08383613e94565b905092915050565b6000602082019050919050565b6000613f1082613e0f565b613f1a8185613e1a565b935083602082028501613f2c85613e2b565b8060005b85811015613f685784840389528151613f498582613ee4565b9450613f5483613ef8565b925060208a01995050600181019050613f30565b50829750879550505050505092915050565b60006020820190508181036000830152613f948184613f05565b905092915050565b600080600080600060a08688031215613fb857613fb7613052565b5b6000613fc6888289016130a5565b9550506020613fd7888289016130a5565b9450506040613fe8888289016130db565b9350506060613ff9888289016130db565b925050608086013567ffffffffffffffff81111561401a57614019613057565b5b614026888289016135a3565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061408f602a8361324d565b915061409a82614033565b604082019050919050565b600060208201905081810360008301526140be81614082565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061410c57607f821691505b60208210810361411f5761411e6140c5565b5b50919050565b7f4e465420646f65736e6f74206578697473000000000000000000000000000000600082015250565b600061415b60118361324d565b915061416682614125565b602082019050919050565b6000602082019050818103600083015261418a8161414e565b9050919050565b7f506c656173652073656e642066756c6c206d696e742070726963650000000000600082015250565b60006141c7601b8361324d565b91506141d282614191565b602082019050919050565b600060208201905081810360008301526141f6816141ba565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614237826130ba565b9150614242836130ba565b925082820190508082111561425a576142596141fd565b5b92915050565b7f4d617820737570706c79206578636565647320666f722074686973206e667400600082015250565b6000614296601f8361324d565b91506142a182614260565b602082019050919050565b600060208201905081810360008301526142c581614289565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614328602e8361324d565b9150614333826142cc565b604082019050919050565b600060208201905081810360008301526143578161431b565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006143ba60298361324d565b91506143c58261435e565b604082019050919050565b600060208201905081810360008301526143e9816143ad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061442a826130ba565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361445c5761445b6141fd565b5b600182019050919050565b7f4f6e6c7920746865206d696e7465722063616e20706572666f726d207468697360008201527f20616374696f6e00000000000000000000000000000000000000000000000000602082015250565b60006144c360278361324d565b91506144ce82614467565b604082019050919050565b600060208201905081810360008301526144f2816144b6565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261455b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261451e565b614565868361451e565b95508019841693508086168417925050509392505050565b6000819050919050565b60006145a261459d614598846130ba565b61457d565b6130ba565b9050919050565b6000819050919050565b6145bc83614587565b6145d06145c8826145a9565b84845461452b565b825550505050565b600090565b6145e56145d8565b6145f08184846145b3565b505050565b5b81811015614614576146096000826145dd565b6001810190506145f6565b5050565b601f8211156146595761462a816144f9565b6146338461450e565b81016020851015614642578190505b61465661464e8561450e565b8301826145f5565b50505b505050565b600082821c905092915050565b600061467c6000198460080261465e565b1980831691505092915050565b6000614695838361466b565b9150826002028217905092915050565b6146ae82613242565b67ffffffffffffffff8111156146c7576146c66133d9565b5b6146d182546140f4565b6146dc828285614618565b600060209050601f83116001811461470f57600084156146fd578287015190505b6147078582614689565b86555061476f565b601f19841661471d866144f9565b60005b8281101561474557848901518255600182019150602085019450602081019050614720565b86831015614762578489015161475e601f89168261466b565b8355505b6001600288020188555050505b505050505050565b7f4f6e6c7920706c6174666f726d2063616e2063616c6c20746869732066756e6360008201527f74696f6e00000000000000000000000000000000000000000000000000000000602082015250565b60006147d360248361324d565b91506147de82614777565b604082019050919050565b60006020820190508181036000830152614802816147c6565b9050919050565b600060408201905061481e6000830185613130565b61482b6020830184613130565b9392505050565b600081905092915050565b50565b600061484d600083614832565b91506148588261483d565b600082019050919050565b600061486e82614840565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b60006148ae60148361324d565b91506148b982614878565b602082019050919050565b600060208201905081810360008301526148dd816148a1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061494060268361324d565b915061494b826148e4565b604082019050919050565b6000602082019050818103600083015261496f81614933565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006149d260218361324d565b91506149dd82614976565b604082019050919050565b60006020820190508181036000830152614a01816149c5565b9050919050565b6000614a13826130ba565b9150614a1e836130ba565b9250828202614a2c816130ba565b91508282048414831517614a4357614a426141fd565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a84826130ba565b9150614a8f836130ba565b925082614a9f57614a9e614a4a565b5b828204905092915050565b7f4e6f742061626c6520746f2073656e64207061796d656e7420746f20706c617460008201527f666f726d00000000000000000000000000000000000000000000000000000000602082015250565b6000614b0660248361324d565b9150614b1182614aaa565b604082019050919050565b60006020820190508181036000830152614b3581614af9565b9050919050565b6000614b47826130ba565b9150614b52836130ba565b9250828203905081811115614b6a57614b696141fd565b5b92915050565b7f4e6f742061626c6520746f2073656e64207061796d656e7420746f206163636f60008201527f756e740000000000000000000000000000000000000000000000000000000000602082015250565b6000614bcc60238361324d565b9150614bd782614b70565b604082019050919050565b60006020820190508181036000830152614bfb81614bbf565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614c5e60288361324d565b9150614c6982614c02565b604082019050919050565b60006020820190508181036000830152614c8d81614c51565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614cf060258361324d565b9150614cfb82614c94565b604082019050919050565b60006020820190508181036000830152614d1f81614ce3565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614d82602a8361324d565b9150614d8d82614d26565b604082019050919050565b60006020820190508181036000830152614db181614d75565b9050919050565b60006040820190508181036000830152614dd2818561383b565b90508181036020830152614de6818461383b565b90509392505050565b7f50657263656e746167652043616c63756c6174696f6e206973206e6f7420636f60008201527f72726563742e0000000000000000000000000000000000000000000000000000602082015250565b6000614e4b60268361324d565b9150614e5682614def565b604082019050919050565b60006020820190508181036000830152614e7a81614e3e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614eb760208361324d565b9150614ec282614e81565b602082019050919050565b60006020820190508181036000830152614ee681614eaa565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614f4960298361324d565b9150614f5482614eed565b604082019050919050565b60006020820190508181036000830152614f7881614f3c565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614fa682614f7f565b614fb08185614f8a565b9350614fc081856020860161325e565b614fc981613288565b840191505092915050565b600060a082019050614fe96000830188613387565b614ff66020830187613387565b6150036040830186613130565b6150106060830185613130565b81810360808301526150228184614f9b565b90509695505050505050565b60008151905061503d81613186565b92915050565b60006020828403121561505957615058613052565b5b60006150678482850161502e565b91505092915050565b60008160e01c9050919050565b600060033d111561509c5760046000803e615099600051615070565b90505b90565b600060443d1061512c576150b1613048565b60043d036004823e80513d602482011167ffffffffffffffff821117156150d957505061512c565b808201805167ffffffffffffffff8111156150f7575050505061512c565b80602083010160043d03850181111561511457505050505061512c565b61512382602001850186613408565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061518b60348361324d565b91506151968261512f565b604082019050919050565b600060208201905081810360008301526151ba8161517e565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061521d60288361324d565b9150615228826151c1565b604082019050919050565b6000602082019050818103600083015261524c81615210565b9050919050565b600060a0820190506152686000830188613387565b6152756020830187613387565b8181036040830152615287818661383b565b9050818103606083015261529b818561383b565b905081810360808301526152af8184614f9b565b90509695505050505050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b600061531760288361324d565b9150615322826152bb565b604082019050919050565b600060208201905081810360008301526153468161530a565b905091905056fea264697066735822122029734915df734d76f3f76eb02d5534d091ce66d46c42b19497737c4d335f12bd64736f6c63430008120033

Deployed Bytecode

0x6080604052600436106101805760003560e01c806396298eb6116100d1578063b7c3dbb01161008a578063e9bb84c211610064578063e9bb84c2146105e5578063ea6535e51461060e578063f242432a1461064b578063f2fde38b1461067457610180565b8063b7c3dbb01461052e578063bd85b0391461056b578063e985e9c5146105a857610180565b806396298eb61461040d57806397a26c581461044a5780639817f0211461048a578063a22cb465146104b3578063a26139b6146104dc578063a293da0f1461050557610180565b80631debb5481161013e5780634f558e79116101185780634f558e79146103655780635fe2bef3146103a2578063715018a6146103cb5780638da5cb5b146103e257610180565b80631debb548146102c05780632eb2c2d6146102ff5780634e1273f41461032857610180565b8062fdd58e1461018557806301ffc9a7146101c257806308153b4b146101ff5780630d0e96da1461023c5780630e89341c14610267578063156e29f6146102a4575b600080fd5b34801561019157600080fd5b506101ac60048036038101906101a791906130f0565b61069d565b6040516101b9919061313f565b60405180910390f35b3480156101ce57600080fd5b506101e960048036038101906101e491906131b2565b610765565b6040516101f691906131fa565b60405180910390f35b34801561020b57600080fd5b5061022660048036038101906102219190613215565b610847565b60405161023391906132d2565b60405180910390f35b34801561024857600080fd5b506102516108e7565b60405161025e919061313f565b60405180910390f35b34801561027357600080fd5b5061028e60048036038101906102899190613215565b6108ed565b60405161029b91906132d2565b60405180910390f35b6102be60048036038101906102b991906132f4565b610992565b005b3480156102cc57600080fd5b506102e760048036038101906102e29190613347565b610b32565b6040516102f693929190613396565b60405180910390f35b34801561030b57600080fd5b50610326600480360381019061032191906135d1565b610c21565b005b34801561033457600080fd5b5061034f600480360381019061034a9190613763565b610cc2565b60405161035c9190613899565b60405180910390f35b34801561037157600080fd5b5061038c60048036038101906103879190613215565b610ddb565b60405161039991906131fa565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c49190613ac7565b610def565b005b3480156103d757600080fd5b506103e0610ef3565b005b3480156103ee57600080fd5b506103f7610f07565b6040516104049190613b23565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f9190613215565b610f31565b604051610441919061313f565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c9190613215565b610f49565b6040516104819493929190613b3e565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac9190613b83565b610fa6565b005b3480156104bf57600080fd5b506104da60048036038101906104d59190613c0b565b6110b8565b005b3480156104e857600080fd5b5061050360048036038101906104fe9190613cc3565b6110ce565b005b34801561051157600080fd5b5061052c60048036038101906105279190613d03565b611251565b005b34801561053a57600080fd5b5061055560048036038101906105509190613d30565b611325565b604051610562919061313f565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d9190613215565b611496565b60405161059f919061313f565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190613dcf565b6114b3565b6040516105dc91906131fa565b60405180910390f35b3480156105f157600080fd5b5061060c600480360381019061060791906130f0565b611547565b005b34801561061a57600080fd5b5061063560048036038101906106309190613215565b611688565b6040516106429190613f7a565b60405180910390f35b34801561065757600080fd5b50610672600480360381019061066d9190613f9c565b6117ec565b005b34801561068057600080fd5b5061069b60048036038101906106969190613d03565b61188d565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361070d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610704906140a5565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061083057507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610840575061083f82611910565b5b9050919050565b60066020528060005260406000206000915090508054610866906140f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610892906140f4565b80156108df5780601f106108b4576101008083540402835291602001916108df565b820191906000526020600020905b8154815290600101906020018083116108c257829003601f168201915b505050505081565b60055481565b606060066000838152602001908152602001600020805461090d906140f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610939906140f4565b80156109865780601f1061095b57610100808354040283529160200191610986565b820191906000526020600020905b81548152906001019060200180831161096957829003601f168201915b50505050509050919050565b818060055410156109d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cf90614171565b60405180910390fd5b6007600084815260200190815260200160002060010154341015610a31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a28906141dd565b60405180910390fd5b6000600760008581526020019081526020016000206002015414610ac7576007600084815260200190815260200160002060020154826008600086815260200190815260200160002054610a85919061422c565b1115610ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abd906142ac565b60405180910390fd5b5b610ae28484846040518060200160405280600081525061197a565b81600860008581526020019081526020016000206000828254610b05919061422c565b92505081905550610b2c836007600086815260200190815260200160002060010154611b2a565b50505050565b60096020528160005260406000208181548110610b4e57600080fd5b9060005260206000209060030201600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806001015490806002018054610b9e906140f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610bca906140f4565b8015610c175780601f10610bec57610100808354040283529160200191610c17565b820191906000526020600020905b815481529060010190602001808311610bfa57829003601f168201915b5050505050905083565b610c29611eaa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c6f5750610c6e85610c69611eaa565b6114b3565b5b610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca59061433e565b60405180910390fd5b610cbb8585858585611eb2565b5050505050565b60608151835114610d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cff906143d0565b60405180910390fd5b6000835167ffffffffffffffff811115610d2557610d246133d9565b5b604051908082528060200260200182016040528015610d535781602001602082028036833780820191505090505b50905060005b8451811015610dd057610da0858281518110610d7857610d776143f0565b5b6020026020010151858381518110610d9357610d926143f0565b5b602002602001015161069d565b828281518110610db357610db26143f0565b5b60200260200101818152505080610dc99061441f565b9050610d59565b508091505092915050565b600080610de783611496565b119050919050565b813373ffffffffffffffffffffffffffffffffffffffff166007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8b906144d9565b60405180910390fd5b82806005541015610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed190614171565b60405180910390fd5b610ee3836121d3565b610eed8484612269565b50505050565b610efb6123e5565b610f056000612463565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60086020528060005260406000206000915090505481565b60076020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900460ff16908060010154908060020154905084565b813373ffffffffffffffffffffffffffffffffffffffff166007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461104b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611042906144d9565b60405180910390fd5b82806005541015611091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108890614171565b60405180910390fd5b826006600086815260200190815260200160002090816110b191906146a5565b5050505050565b6110ca6110c3611eaa565b8383612529565b5050565b813373ffffffffffffffffffffffffffffffffffffffff166007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116a906144d9565b60405180910390fd5b828060055410156111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b090614171565b60405180910390fd5b826007600086815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff021916908315150217905550604082015181600101556060820151816002015590505050505050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d8906147e9565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806001600554611337919061422c565b9050611342836121d3565b60405180608001604052803373ffffffffffffffffffffffffffffffffffffffff168152602001600115158152602001868152602001858152506007600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff02191690831515021790555060408201518160010155606082015181600201559050508560066000838152602001908152602001600020908161142d91906146a5565b50807fa60bd421d54bf2d2acc5ea524fc574869a5a004166967f08e68d536b17b62d8a8642604051611460929190614809565b60405180910390a26114728184612269565b600560008154809291906114859061441f565b919050555080915050949350505050565b600060046000838152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ce906147e9565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516115fd90614863565b60006040518083038185875af1925050503d806000811461163a576040519150601f19603f3d011682016040523d82523d6000602084013e61163f565b606091505b5050905080611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a906148c4565b60405180910390fd5b505050565b606060096000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156117e157838290600052602060002090600302016040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152602001600282018054611750906140f4565b80601f016020809104026020016040519081016040528092919081815260200182805461177c906140f4565b80156117c95780601f1061179e576101008083540402835291602001916117c9565b820191906000526020600020905b8154815290600101906020018083116117ac57829003601f168201915b505050505081525050815260200190600101906116bd565b505050509050919050565b6117f4611eaa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061183a575061183985611834611eaa565b6114b3565b5b611879576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118709061433e565b60405180910390fd5b6118868585858585612695565b5050505050565b6118956123e5565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611904576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fb90614956565b60405180910390fd5b61190d81612463565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e0906149e8565b60405180910390fd5b60006119f3611eaa565b90506000611a0085612930565b90506000611a0d85612930565b9050611a1e836000898585896129aa565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a7d919061422c565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611afb929190614809565b60405180910390a4611b12836000898585896129c0565b611b21836000898989896129c8565b50505050505050565b60006103e8600a5483611b3d9190614a08565b611b479190614a79565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611b9190614863565b60006040518083038185875af1925050503d8060008114611bce576040519150601f19603f3d011682016040523d82523d6000602084013e611bd3565b606091505b5050905080611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90614b1c565b60405180910390fd5b60008284611c259190614b3c565b9050600060096000878152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611d8057838290600052602060002090600302016040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152602001600282018054611cef906140f4565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1b906140f4565b8015611d685780601f10611d3d57610100808354040283529160200191611d68565b820191906000526020600020905b815481529060010190602001808311611d4b57829003601f168201915b50505050508152505081526020019060010190611c5c565b505050509050611d8f816121d3565b60005b8151811015611ea1576000828281518110611db057611daf6143f0565b5b6020026020010151905060006103e8826020015186611dcf9190614a08565b611dd99190614a79565b90506000826000015173ffffffffffffffffffffffffffffffffffffffff1682604051611e0590614863565b60006040518083038185875af1925050503d8060008114611e42576040519150601f19603f3d011682016040523d82523d6000602084013e611e47565b606091505b5050905080611e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8290614be2565b60405180910390fd5b5050508080611e999061441f565b915050611d92565b50505050505050565b600033905090565b8151835114611ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eed90614c74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5c90614d06565b60405180910390fd5b6000611f6f611eaa565b9050611f7f8187878787876129aa565b60005b8451811015612130576000858281518110611fa057611f9f6143f0565b5b602002602001015190506000858381518110611fbf57611fbe6143f0565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205790614d98565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612115919061422c565b92505081905550505050806121299061441f565b9050611f82565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516121a7929190614db8565b60405180910390a46121bd8187878787876129c0565b6121cb818787878787612b9f565b505050505050565b6000805b825181101561221f578281815181106121f3576121f26143f0565b5b6020026020010151602001518261220a919061422c565b915080806122179061441f565b9150506121d7565b506103e8811115612265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225c90614e61565b60405180910390fd5b5050565b612272816121d3565b6009600083815260200190815260200160002060006122919190612f71565b60005b81518110156123e0576009600084815260200190815260200160002060405180606001604052808484815181106122ce576122cd6143f0565b5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff168152602001848481518110612308576123076143f0565b5b602002602001015160200151815260200184848151811061232c5761232b6143f0565b5b602002602001015160400151815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020190816123ca91906146a5565b50505080806123d89061441f565b915050612294565b505050565b6123ed611eaa565b73ffffffffffffffffffffffffffffffffffffffff1661240b610f07565b73ffffffffffffffffffffffffffffffffffffffff1614612461576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245890614ecd565b60405180910390fd5b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258e90614f5f565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161268891906131fa565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612704576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fb90614d06565b60405180910390fd5b600061270e611eaa565b9050600061271b85612930565b9050600061272885612930565b90506127388389898585896129aa565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c690614d98565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612884919061422c565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612901929190614809565b60405180910390a4612917848a8a86868a6129c0565b612925848a8a8a8a8a6129c8565b505050505050505050565b60606000600167ffffffffffffffff81111561294f5761294e6133d9565b5b60405190808252806020026020018201604052801561297d5781602001602082028036833780820191505090505b5090508281600081518110612995576129946143f0565b5b60200260200101818152505080915050919050565b6129b8868686868686612d76565b505050505050565b505050505050565b6129e78473ffffffffffffffffffffffffffffffffffffffff16612f46565b15612b97578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612a2d959493929190614fd4565b6020604051808303816000875af1925050508015612a6957506040513d601f19601f82011682018060405250810190612a669190615043565b60015b612b0e57612a7561507d565b806308c379a003612ad15750612a8961509f565b80612a945750612ad3565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac891906132d2565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b05906151a1565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8c90615233565b60405180910390fd5b505b505050505050565b612bbe8473ffffffffffffffffffffffffffffffffffffffff16612f46565b15612d6e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612c04959493929190615253565b6020604051808303816000875af1925050508015612c4057506040513d601f19601f82011682018060405250810190612c3d9190615043565b60015b612ce557612c4c61507d565b806308c379a003612ca85750612c6061509f565b80612c6b5750612caa565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9f91906132d2565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdc906151a1565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6390615233565b60405180910390fd5b505b505050505050565b612d84868686868686612f69565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612e355760005b8351811015612e3357828181518110612dd757612dd66143f0565b5b602002602001015160046000868481518110612df657612df56143f0565b5b602002602001015181526020019081526020016000206000828254612e1b919061422c565b9250508190555080612e2c9061441f565b9050612dbb565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612f3e5760005b8351811015612f3c576000848281518110612e8a57612e896143f0565b5b602002602001015190506000848381518110612ea957612ea86143f0565b5b6020026020010151905060006004600084815260200190815260200160002054905081811015612f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f059061532d565b60405180910390fd5b818103600460008581526020019081526020016000208190555050505080612f359061441f565b9050612e6c565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b5080546000825560030290600052602060002090810190612f929190612f95565b50565b5b80821115612fe757600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160009055600282016000612fde9190612feb565b50600301612f96565b5090565b508054612ff7906140f4565b6000825580601f106130095750613028565b601f016020900490600052602060002090810190613027919061302b565b5b50565b5b8082111561304457600081600090555060010161302c565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130878261305c565b9050919050565b6130978161307c565b81146130a257600080fd5b50565b6000813590506130b48161308e565b92915050565b6000819050919050565b6130cd816130ba565b81146130d857600080fd5b50565b6000813590506130ea816130c4565b92915050565b6000806040838503121561310757613106613052565b5b6000613115858286016130a5565b9250506020613126858286016130db565b9150509250929050565b613139816130ba565b82525050565b60006020820190506131546000830184613130565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61318f8161315a565b811461319a57600080fd5b50565b6000813590506131ac81613186565b92915050565b6000602082840312156131c8576131c7613052565b5b60006131d68482850161319d565b91505092915050565b60008115159050919050565b6131f4816131df565b82525050565b600060208201905061320f60008301846131eb565b92915050565b60006020828403121561322b5761322a613052565b5b6000613239848285016130db565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561327c578082015181840152602081019050613261565b60008484015250505050565b6000601f19601f8301169050919050565b60006132a482613242565b6132ae818561324d565b93506132be81856020860161325e565b6132c781613288565b840191505092915050565b600060208201905081810360008301526132ec8184613299565b905092915050565b60008060006060848603121561330d5761330c613052565b5b600061331b868287016130a5565b935050602061332c868287016130db565b925050604061333d868287016130db565b9150509250925092565b6000806040838503121561335e5761335d613052565b5b600061336c858286016130db565b925050602061337d858286016130db565b9150509250929050565b6133908161307c565b82525050565b60006060820190506133ab6000830186613387565b6133b86020830185613130565b81810360408301526133ca8184613299565b9050949350505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61341182613288565b810181811067ffffffffffffffff821117156134305761342f6133d9565b5b80604052505050565b6000613443613048565b905061344f8282613408565b919050565b600067ffffffffffffffff82111561346f5761346e6133d9565b5b602082029050602081019050919050565b600080fd5b600061349861349384613454565b613439565b905080838252602082019050602084028301858111156134bb576134ba613480565b5b835b818110156134e457806134d088826130db565b8452602084019350506020810190506134bd565b5050509392505050565b600082601f830112613503576135026133d4565b5b8135613513848260208601613485565b91505092915050565b600080fd5b600067ffffffffffffffff82111561353c5761353b6133d9565b5b61354582613288565b9050602081019050919050565b82818337600083830152505050565b600061357461356f84613521565b613439565b9050828152602081018484840111156135905761358f61351c565b5b61359b848285613552565b509392505050565b600082601f8301126135b8576135b76133d4565b5b81356135c8848260208601613561565b91505092915050565b600080600080600060a086880312156135ed576135ec613052565b5b60006135fb888289016130a5565b955050602061360c888289016130a5565b945050604086013567ffffffffffffffff81111561362d5761362c613057565b5b613639888289016134ee565b935050606086013567ffffffffffffffff81111561365a57613659613057565b5b613666888289016134ee565b925050608086013567ffffffffffffffff81111561368757613686613057565b5b613693888289016135a3565b9150509295509295909350565b600067ffffffffffffffff8211156136bb576136ba6133d9565b5b602082029050602081019050919050565b60006136df6136da846136a0565b613439565b9050808382526020820190506020840283018581111561370257613701613480565b5b835b8181101561372b578061371788826130a5565b845260208401935050602081019050613704565b5050509392505050565b600082601f83011261374a576137496133d4565b5b813561375a8482602086016136cc565b91505092915050565b6000806040838503121561377a57613779613052565b5b600083013567ffffffffffffffff81111561379857613797613057565b5b6137a485828601613735565b925050602083013567ffffffffffffffff8111156137c5576137c4613057565b5b6137d1858286016134ee565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613810816130ba565b82525050565b60006138228383613807565b60208301905092915050565b6000602082019050919050565b6000613846826137db565b61385081856137e6565b935061385b836137f7565b8060005b8381101561388c5781516138738882613816565b975061387e8361382e565b92505060018101905061385f565b5085935050505092915050565b600060208201905081810360008301526138b3818461383b565b905092915050565b600067ffffffffffffffff8211156138d6576138d56133d9565b5b602082029050602081019050919050565b600080fd5b600080fd5b600067ffffffffffffffff82111561390c5761390b6133d9565b5b61391582613288565b9050602081019050919050565b6000613935613930846138f1565b613439565b9050828152602081018484840111156139515761395061351c565b5b61395c848285613552565b509392505050565b600082601f830112613979576139786133d4565b5b8135613989848260208601613922565b91505092915050565b6000606082840312156139a8576139a76138e7565b5b6139b26060613439565b905060006139c2848285016130a5565b60008301525060206139d6848285016130db565b602083015250604082013567ffffffffffffffff8111156139fa576139f96138ec565b5b613a0684828501613964565b60408301525092915050565b6000613a25613a20846138bb565b613439565b90508083825260208201905060208402830185811115613a4857613a47613480565b5b835b81811015613a8f57803567ffffffffffffffff811115613a6d57613a6c6133d4565b5b808601613a7a8982613992565b85526020850194505050602081019050613a4a565b5050509392505050565b600082601f830112613aae57613aad6133d4565b5b8135613abe848260208601613a12565b91505092915050565b60008060408385031215613ade57613add613052565b5b6000613aec858286016130db565b925050602083013567ffffffffffffffff811115613b0d57613b0c613057565b5b613b1985828601613a99565b9150509250929050565b6000602082019050613b386000830184613387565b92915050565b6000608082019050613b536000830187613387565b613b6060208301866131eb565b613b6d6040830185613130565b613b7a6060830184613130565b95945050505050565b60008060408385031215613b9a57613b99613052565b5b6000613ba8858286016130db565b925050602083013567ffffffffffffffff811115613bc957613bc8613057565b5b613bd585828601613964565b9150509250929050565b613be8816131df565b8114613bf357600080fd5b50565b600081359050613c0581613bdf565b92915050565b60008060408385031215613c2257613c21613052565b5b6000613c30858286016130a5565b9250506020613c4185828601613bf6565b9150509250929050565b600060808284031215613c6157613c606138e7565b5b613c6b6080613439565b90506000613c7b848285016130a5565b6000830152506020613c8f84828501613bf6565b6020830152506040613ca3848285016130db565b6040830152506060613cb7848285016130db565b60608301525092915050565b60008060a08385031215613cda57613cd9613052565b5b6000613ce8858286016130db565b9250506020613cf985828601613c4b565b9150509250929050565b600060208284031215613d1957613d18613052565b5b6000613d27848285016130a5565b91505092915050565b60008060008060808587031215613d4a57613d49613052565b5b600085013567ffffffffffffffff811115613d6857613d67613057565b5b613d7487828801613964565b9450506020613d85878288016130db565b9350506040613d96878288016130db565b925050606085013567ffffffffffffffff811115613db757613db6613057565b5b613dc387828801613a99565b91505092959194509250565b60008060408385031215613de657613de5613052565b5b6000613df4858286016130a5565b9250506020613e05858286016130a5565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e448161307c565b82525050565b600082825260208201905092915050565b6000613e6682613242565b613e708185613e4a565b9350613e8081856020860161325e565b613e8981613288565b840191505092915050565b6000606083016000830151613eac6000860182613e3b565b506020830151613ebf6020860182613807565b5060408301518482036040860152613ed78282613e5b565b9150508091505092915050565b6000613ef08383613e94565b905092915050565b6000602082019050919050565b6000613f1082613e0f565b613f1a8185613e1a565b935083602082028501613f2c85613e2b565b8060005b85811015613f685784840389528151613f498582613ee4565b9450613f5483613ef8565b925060208a01995050600181019050613f30565b50829750879550505050505092915050565b60006020820190508181036000830152613f948184613f05565b905092915050565b600080600080600060a08688031215613fb857613fb7613052565b5b6000613fc6888289016130a5565b9550506020613fd7888289016130a5565b9450506040613fe8888289016130db565b9350506060613ff9888289016130db565b925050608086013567ffffffffffffffff81111561401a57614019613057565b5b614026888289016135a3565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061408f602a8361324d565b915061409a82614033565b604082019050919050565b600060208201905081810360008301526140be81614082565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061410c57607f821691505b60208210810361411f5761411e6140c5565b5b50919050565b7f4e465420646f65736e6f74206578697473000000000000000000000000000000600082015250565b600061415b60118361324d565b915061416682614125565b602082019050919050565b6000602082019050818103600083015261418a8161414e565b9050919050565b7f506c656173652073656e642066756c6c206d696e742070726963650000000000600082015250565b60006141c7601b8361324d565b91506141d282614191565b602082019050919050565b600060208201905081810360008301526141f6816141ba565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614237826130ba565b9150614242836130ba565b925082820190508082111561425a576142596141fd565b5b92915050565b7f4d617820737570706c79206578636565647320666f722074686973206e667400600082015250565b6000614296601f8361324d565b91506142a182614260565b602082019050919050565b600060208201905081810360008301526142c581614289565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614328602e8361324d565b9150614333826142cc565b604082019050919050565b600060208201905081810360008301526143578161431b565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006143ba60298361324d565b91506143c58261435e565b604082019050919050565b600060208201905081810360008301526143e9816143ad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061442a826130ba565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361445c5761445b6141fd565b5b600182019050919050565b7f4f6e6c7920746865206d696e7465722063616e20706572666f726d207468697360008201527f20616374696f6e00000000000000000000000000000000000000000000000000602082015250565b60006144c360278361324d565b91506144ce82614467565b604082019050919050565b600060208201905081810360008301526144f2816144b6565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261455b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261451e565b614565868361451e565b95508019841693508086168417925050509392505050565b6000819050919050565b60006145a261459d614598846130ba565b61457d565b6130ba565b9050919050565b6000819050919050565b6145bc83614587565b6145d06145c8826145a9565b84845461452b565b825550505050565b600090565b6145e56145d8565b6145f08184846145b3565b505050565b5b81811015614614576146096000826145dd565b6001810190506145f6565b5050565b601f8211156146595761462a816144f9565b6146338461450e565b81016020851015614642578190505b61465661464e8561450e565b8301826145f5565b50505b505050565b600082821c905092915050565b600061467c6000198460080261465e565b1980831691505092915050565b6000614695838361466b565b9150826002028217905092915050565b6146ae82613242565b67ffffffffffffffff8111156146c7576146c66133d9565b5b6146d182546140f4565b6146dc828285614618565b600060209050601f83116001811461470f57600084156146fd578287015190505b6147078582614689565b86555061476f565b601f19841661471d866144f9565b60005b8281101561474557848901518255600182019150602085019450602081019050614720565b86831015614762578489015161475e601f89168261466b565b8355505b6001600288020188555050505b505050505050565b7f4f6e6c7920706c6174666f726d2063616e2063616c6c20746869732066756e6360008201527f74696f6e00000000000000000000000000000000000000000000000000000000602082015250565b60006147d360248361324d565b91506147de82614777565b604082019050919050565b60006020820190508181036000830152614802816147c6565b9050919050565b600060408201905061481e6000830185613130565b61482b6020830184613130565b9392505050565b600081905092915050565b50565b600061484d600083614832565b91506148588261483d565b600082019050919050565b600061486e82614840565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b60006148ae60148361324d565b91506148b982614878565b602082019050919050565b600060208201905081810360008301526148dd816148a1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061494060268361324d565b915061494b826148e4565b604082019050919050565b6000602082019050818103600083015261496f81614933565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006149d260218361324d565b91506149dd82614976565b604082019050919050565b60006020820190508181036000830152614a01816149c5565b9050919050565b6000614a13826130ba565b9150614a1e836130ba565b9250828202614a2c816130ba565b91508282048414831517614a4357614a426141fd565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a84826130ba565b9150614a8f836130ba565b925082614a9f57614a9e614a4a565b5b828204905092915050565b7f4e6f742061626c6520746f2073656e64207061796d656e7420746f20706c617460008201527f666f726d00000000000000000000000000000000000000000000000000000000602082015250565b6000614b0660248361324d565b9150614b1182614aaa565b604082019050919050565b60006020820190508181036000830152614b3581614af9565b9050919050565b6000614b47826130ba565b9150614b52836130ba565b9250828203905081811115614b6a57614b696141fd565b5b92915050565b7f4e6f742061626c6520746f2073656e64207061796d656e7420746f206163636f60008201527f756e740000000000000000000000000000000000000000000000000000000000602082015250565b6000614bcc60238361324d565b9150614bd782614b70565b604082019050919050565b60006020820190508181036000830152614bfb81614bbf565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614c5e60288361324d565b9150614c6982614c02565b604082019050919050565b60006020820190508181036000830152614c8d81614c51565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614cf060258361324d565b9150614cfb82614c94565b604082019050919050565b60006020820190508181036000830152614d1f81614ce3565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614d82602a8361324d565b9150614d8d82614d26565b604082019050919050565b60006020820190508181036000830152614db181614d75565b9050919050565b60006040820190508181036000830152614dd2818561383b565b90508181036020830152614de6818461383b565b90509392505050565b7f50657263656e746167652043616c63756c6174696f6e206973206e6f7420636f60008201527f72726563742e0000000000000000000000000000000000000000000000000000602082015250565b6000614e4b60268361324d565b9150614e5682614def565b604082019050919050565b60006020820190508181036000830152614e7a81614e3e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614eb760208361324d565b9150614ec282614e81565b602082019050919050565b60006020820190508181036000830152614ee681614eaa565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614f4960298361324d565b9150614f5482614eed565b604082019050919050565b60006020820190508181036000830152614f7881614f3c565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614fa682614f7f565b614fb08185614f8a565b9350614fc081856020860161325e565b614fc981613288565b840191505092915050565b600060a082019050614fe96000830188613387565b614ff66020830187613387565b6150036040830186613130565b6150106060830185613130565b81810360808301526150228184614f9b565b90509695505050505050565b60008151905061503d81613186565b92915050565b60006020828403121561505957615058613052565b5b60006150678482850161502e565b91505092915050565b60008160e01c9050919050565b600060033d111561509c5760046000803e615099600051615070565b90505b90565b600060443d1061512c576150b1613048565b60043d036004823e80513d602482011167ffffffffffffffff821117156150d957505061512c565b808201805167ffffffffffffffff8111156150f7575050505061512c565b80602083010160043d03850181111561511457505050505061512c565b61512382602001850186613408565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061518b60348361324d565b91506151968261512f565b604082019050919050565b600060208201905081810360008301526151ba8161517e565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061521d60288361324d565b9150615228826151c1565b604082019050919050565b6000602082019050818103600083015261524c81615210565b9050919050565b600060a0820190506152686000830188613387565b6152756020830187613387565b8181036040830152615287818661383b565b9050818103606083015261529b818561383b565b905081810360808301526152af8184614f9b565b90509695505050505050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b600061531760288361324d565b9150615322826152bb565b604082019050919050565b600060208201905081810360008301526153468161530a565b905091905056fea264697066735822122029734915df734d76f3f76eb02d5534d091ce66d46c42b19497737c4d335f12bd64736f6c63430008120033

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.