ETH Price: $2,814.87 (+8.47%)
 

Overview

Max Total Supply

70 JPR-HWS-R1

Holders

38

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0xa1d7538b62cf5a5d44983e866f2dce8953162c05
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:
JackpotRoyale_SE_HWS_R1

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : ERC1155.sol
// contracts/GameItems.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

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


interface ExternalContract {
    function balanceOf(address owner) external view returns (uint256 balance);
}

contract JackpotRoyale_SE_HWS_R1 is ERC1155, Ownable {
    string private baseUri; // Pinata URL
    string public name; // Collection Name
    string public symbol; // Collection symbol
    address private externalContractAddress =
        0xFdbb8329f5755c4cD0A1Ac172D8a4dF66969c1ef; // Collabrated contract address
    address private communityWalletAddress =
        0xC416a17966FdD5023Fc00E4e0b79558416e7D531; // Community wallet address

    uint256 private _unitPrice = 0.015 ether;
    uint256 private maxSupply = 9999;

    uint256[] private mintedTokenIds;
    mapping(uint256 => address) private tokenOwner;

    enum MintingStatus {
        Start,
        Pause,
        Close
    }

    MintingStatus private CurrentMintingStatus;

    // Events
    event MintingStatusChange(MintingStatus status);
    event OnMintToken(uint256[] mintedTokens, uint256 contractBalance);
    event OnSendAward(
        uint256 firstPrize,
        uint256 secondPrize,
        uint256 thirdPrize,
        uint256 communityPrize
    );

    // Modifiers
    modifier beforeMint(uint256[] memory _tokenIds) {
        require(
            tx.origin == msg.sender && !Address.isContract(msg.sender),
            "Not allow EOA!"
        );
        require(
            externalContractBalance(msg.sender) > 0,
            "You are not eligible for mint"
        );
        require(
            CurrentMintingStatus == MintingStatus.Start,
            "Minting not started yet!"
        );
        require(_tokenIds.length > 0, "Token id's missing");
        require(
            mintedTokenIds.length + _tokenIds.length <= maxSupply,
            string(
                abi.encodePacked(
                    Strings.toString(maxSupply - mintedTokenIds.length),
                    " Tokens left to be mint "
                )
            )
        );

        bool _validTokenIds = true;
        bool _tokenNotMintedYet = true;
        uint256 _tokenId;

        for (uint256 index = 0; index < _tokenIds.length; ++index) {
            _tokenId = _tokenIds[index];
            if (tokenOwner[_tokenId] != address(0)) {
                _tokenNotMintedYet = false;
                break;
            }
            if (_tokenId < 1 || _tokenId > maxSupply) {
                _validTokenIds = false;
                break;
            }
        }
        require(
            _validTokenIds,
            string(
                abi.encodePacked(
                    Strings.toString(_tokenId),
                    " is invalid token Id "
                )
            )
        );
        require(
            _tokenNotMintedYet,
            string(
                abi.encodePacked(
                    "Token Id ",
                    Strings.toString(_tokenId),
                    " is already minted"
                )
            )
        );

        require(
            msg.value >= getUnitPrice() * _tokenIds.length,
            "Not enough ETH sent"
        );
        _;
    }

    modifier beforeSendReward(
        uint256 _firstWinnerTokenId,
        uint256 _secondWinnerTokenId,
        uint256 _thirdWinnerTokenId
    ) {
        require(
            tx.origin == msg.sender && !Address.isContract(msg.sender),
            "Not allow EOA!"
        );
        require(
            CurrentMintingStatus == MintingStatus.Close,
            "Kindly close the minting"
        );
        require(
            ownerOf(_firstWinnerTokenId) != address(0),
            string(
                abi.encodePacked(
                    "Token Id ",
                    Strings.toString(_firstWinnerTokenId),
                    " has no owner"
                )
            )
        );
        require(
            ownerOf(_secondWinnerTokenId) != address(0),
            string(
                abi.encodePacked(
                    "Token Id ",
                    Strings.toString(_secondWinnerTokenId),
                    " has no owner"
                )
            )
        );
        require(
            ownerOf(_thirdWinnerTokenId) != address(0),
            string(
                abi.encodePacked(
                    "Token Id ",
                    Strings.toString(_thirdWinnerTokenId),
                    " has no owner"
                )
            )
        );
        _;
    }

    constructor(
        string memory _baseUri,
        string memory _name,
        string memory _symbol
    ) ERC1155(string(abi.encodePacked(_baseUri, "{id}.json"))) {
        name = _name;
        symbol = _symbol;
        baseUri = _baseUri;
        CurrentMintingStatus = MintingStatus.Pause;
    }

    function mintToken(uint256[] memory _tokenIds)
        public
        payable
        beforeMint(_tokenIds)
    {
        if (mintedTokenIds.length + _tokenIds.length == maxSupply) {
            CurrentMintingStatus = MintingStatus.Close;
            emit MintingStatusChange(CurrentMintingStatus);
        }
        for (uint256 index = 0; index < _tokenIds.length; ++index) {
            uint256 _tokenId = _tokenIds[index];
            _mint(msg.sender, _tokenId, 1, "");
            tokenOwner[_tokenId] = msg.sender;
            mintedTokenIds.push(_tokenId);
        }
        emit OnMintToken(mintedTokenIds, getContractBalance());
    }

    // Set - Get external contract address
    function getExternalContractAddress() public view returns (address) {
        return externalContractAddress;
    }

    function setExternalContractAddress(address _address) public onlyOwner {
        externalContractAddress = _address;
    }

    // Balance of minter in external contract
    function externalContractBalance(address _address)
        public
        view
        returns (uint256)
    {
        return ExternalContract(externalContractAddress).balanceOf(_address);
    }

    // Contract Settings
    function getContractSetting()
        public
        view
        returns (
            uint256 unitPrice,
            uint256 totalSupply,
            uint256 mintedCount,
            uint256 contractBalance,
            MintingStatus mintingStatus
        )
    {
        return (
            _unitPrice,
            maxSupply,
            getMintedCount(),
            getContractBalance(),
            CurrentMintingStatus
        );
    }

    // Total token minted
    function getMintedCount() internal view returns (uint256) {
        return mintedTokenIds.length;
    }

    // Get contract balance
    function getContractBalance() internal view returns (uint256) {
        return address(this).balance;
    }

    // Owner of token id
    function ownerOf(uint256 _tokenId) public view returns (address) {
        require(_tokenId > 0 && _tokenId <= maxSupply, "Invalid token id");
        return tokenOwner[_tokenId];
    }

    // Get array of minted token ids
    function getMintedTokenIds() public view returns (uint256[] memory) {
        return mintedTokenIds;
    }

    // Token price
    function getUnitPrice() public view returns (uint256) {
        return _unitPrice;
    }

    // Start, stop and close MINTING
    function startMinting() public onlyOwner {
        require(
            CurrentMintingStatus != MintingStatus.Close,
            "Not allow to start minting"
        );
        CurrentMintingStatus = MintingStatus.Start;
        emit MintingStatusChange(CurrentMintingStatus);
    }

    function pauseMinting() public onlyOwner {
        require(
            CurrentMintingStatus != MintingStatus.Close,
            "Not allow to pause minting"
        );
        CurrentMintingStatus = MintingStatus.Pause;
        emit MintingStatusChange(CurrentMintingStatus);
    }

    function closeMinting() public onlyOwner {
        CurrentMintingStatus = MintingStatus.Close;
        emit MintingStatusChange(CurrentMintingStatus);
    }

    // Send Award To Winner
    function sendAward(
        uint256 _firstWinnerTokenId,
        uint256 _secondWinnerTokenId,
        uint256 _thirdWinnerTokenId
    )
        public
        onlyOwner
        beforeSendReward(
            _firstWinnerTokenId,
            _secondWinnerTokenId,
            _thirdWinnerTokenId
        )
    {
        uint256 balance = address(this).balance;
        uint256 firstWinnerPrize = (balance / 100) * 30; // 30%
        uint256 secondWinnerPrize = (balance / 100) * 15; // 15%
        uint256 thirdWinnerPrize = (balance / 100) * 5; // 05%
        uint256 communityPrize = balance -
            (firstWinnerPrize + secondWinnerPrize + thirdWinnerPrize); // 50%

        address firstWinner = ownerOf(_firstWinnerTokenId);
        address secondWinner = ownerOf(_secondWinnerTokenId);
        address thirdWinner = ownerOf(_thirdWinnerTokenId);

        payable(firstWinner).transfer(firstWinnerPrize);
        payable(secondWinner).transfer(secondWinnerPrize);
        payable(thirdWinner).transfer(thirdWinnerPrize);
        payable(communityWalletAddress).transfer(communityPrize);
        emit OnSendAward(firstWinnerPrize,secondWinnerPrize, thirdWinnerPrize, communityPrize);
    }

    // ERC1155 Override Methods

    // @ Override
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        super.safeTransferFrom(from, to, id, amount, data);
        tokenOwner[id] = to;
    }

    // @ Override
    function safeBatchTransferFrom(
        address,
        address,
        uint256[] calldata,
        uint256[] calldata,
        bytes calldata
    ) public virtual override {
        require(false, "Method not allowed");
    }

    // @ Override
    function uri(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        return
            string(
                abi.encodePacked(baseUri, Strings.toString(_tokenId), ".json")
            );
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), 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);

        _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);

        _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();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        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);
    }

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

        address operator = _msgSender();

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 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":[{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum JackpotRoyale_SE_HWS_R1.MintingStatus","name":"status","type":"uint8"}],"name":"MintingStatusChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"mintedTokens","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"contractBalance","type":"uint256"}],"name":"OnMintToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"firstPrize","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"secondPrize","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"thirdPrize","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"communityPrize","type":"uint256"}],"name":"OnSendAward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closeMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"externalContractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractSetting","outputs":[{"internalType":"uint256","name":"unitPrice","type":"uint256"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"mintedCount","type":"uint256"},{"internalType":"uint256","name":"contractBalance","type":"uint256"},{"internalType":"enum JackpotRoyale_SE_HWS_R1.MintingStatus","name":"mintingStatus","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getExternalContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintedTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUnitPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"mintToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_firstWinnerTokenId","type":"uint256"},{"internalType":"uint256","name":"_secondWinnerTokenId","type":"uint256"},{"internalType":"uint256","name":"_thirdWinnerTokenId","type":"uint256"}],"name":"sendAward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setExternalContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

608060405273fdbb8329f5755c4cd0a1ac172d8a4df66969c1ef600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073c416a17966fdd5023fc00e4e0b79558416e7d531600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555066354a6ba7a1800060095561270f600a55348015620000cc57600080fd5b506040516200505e3803806200505e8339818101604052810190620000f29190620004ff565b8260405160200162000105919062000655565b6040516020818303038152906040526200012581620001c860201b60201c565b50620001466200013a620001e460201b60201c565b620001ec60201b60201c565b81600590805190602001906200015e929190620002b2565b50806006908051906020019062000177929190620002b2565b50826004908051906020019062000190929190620002b2565b506001600d60006101000a81548160ff02191690836002811115620001ba57620001b96200067b565b5b02179055505050506200070f565b8060029080519060200190620001e0929190620002b2565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002c090620006d9565b90600052602060002090601f016020900481019282620002e4576000855562000330565b82601f10620002ff57805160ff191683800117855562000330565b8280016001018555821562000330579182015b828111156200032f57825182559160200191906001019062000312565b5b5090506200033f919062000343565b5090565b5b808211156200035e57600081600090555060010162000344565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003cb8262000380565b810181811067ffffffffffffffff82111715620003ed57620003ec62000391565b5b80604052505050565b60006200040262000362565b9050620004108282620003c0565b919050565b600067ffffffffffffffff82111562000433576200043262000391565b5b6200043e8262000380565b9050602081019050919050565b60005b838110156200046b5780820151818401526020810190506200044e565b838111156200047b576000848401525b50505050565b600062000498620004928462000415565b620003f6565b905082815260208101848484011115620004b757620004b66200037b565b5b620004c48482856200044b565b509392505050565b600082601f830112620004e457620004e362000376565b5b8151620004f684826020860162000481565b91505092915050565b6000806000606084860312156200051b576200051a6200036c565b5b600084015167ffffffffffffffff8111156200053c576200053b62000371565b5b6200054a86828701620004cc565b935050602084015167ffffffffffffffff8111156200056e576200056d62000371565b5b6200057c86828701620004cc565b925050604084015167ffffffffffffffff811115620005a0576200059f62000371565b5b620005ae86828701620004cc565b9150509250925092565b600081519050919050565b600081905092915050565b6000620005db82620005b8565b620005e78185620005c3565b9350620005f98185602086016200044b565b80840191505092915050565b7f7b69647d2e6a736f6e0000000000000000000000000000000000000000000000600082015250565b60006200063d600983620005c3565b91506200064a8262000605565b600982019050919050565b6000620006638284620005ce565b915062000670826200062e565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006f257607f821691505b60208210811415620007095762000708620006aa565b5b50919050565b61493f806200071f6000396000f3fe6080604052600436106101655760003560e01c806384a4e7a7116100d1578063a22cb4651161008a578063da8fbf2a11610064578063da8fbf2a1461050e578063e985e9c514610525578063f242432a14610562578063f2fde38b1461058b57610165565b8063a22cb4651461047f578063b62d371c146104a8578063c27df471146104e557610165565b806384a4e7a7146103a557806387491c60146103d05780638da5cb5b146103e75780638ed0f31f1461041257806395d89b411461043d5780639a65ea261461046857610165565b80632eb2c2d6116101235780632eb2c2d6146102a05780634e1273f4146102c95780635edd1b68146103065780636352211e1461032257806368efd6a81461035f578063715018a61461038e57610165565b8062fdd58e1461016a578063012a33aa146101a757806301ffc9a7146101d257806306fdde031461020f5780630e89341c1461023a578063254ca69214610277575b600080fd5b34801561017657600080fd5b50610191600480360381019061018c9190612a96565b6105b4565b60405161019e9190612ae5565b60405180910390f35b3480156101b357600080fd5b506101bc61067d565b6040516101c99190612ae5565b60405180910390f35b3480156101de57600080fd5b506101f960048036038101906101f49190612b58565b610687565b6040516102069190612ba0565b60405180910390f35b34801561021b57600080fd5b50610224610769565b6040516102319190612c54565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c9190612c76565b6107f7565b60405161026e9190612c54565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190612ca3565b61082b565b005b3480156102ac57600080fd5b506102c760048036038101906102c29190612db1565b610dbc565b005b3480156102d557600080fd5b506102f060048036038101906102eb919061308e565b610e07565b6040516102fd91906131c4565b60405180910390f35b610320600480360381019061031b91906131e6565b610f20565b005b34801561032e57600080fd5b5061034960048036038101906103449190612c76565b6114e9565b604051610356919061323e565b60405180910390f35b34801561036b57600080fd5b50610374611576565b6040516103859594939291906132d0565b60405180910390f35b34801561039a57600080fd5b506103a36115b5565b005b3480156103b157600080fd5b506103ba61163d565b6040516103c791906131c4565b60405180910390f35b3480156103dc57600080fd5b506103e5611695565b005b3480156103f357600080fd5b506103fc611784565b604051610409919061323e565b60405180910390f35b34801561041e57600080fd5b506104276117ae565b604051610434919061323e565b60405180910390f35b34801561044957600080fd5b506104526117d8565b60405161045f9190612c54565b60405180910390f35b34801561047457600080fd5b5061047d611866565b005b34801561048b57600080fd5b506104a660048036038101906104a1919061334f565b6119cb565b005b3480156104b457600080fd5b506104cf60048036038101906104ca919061338f565b6119e1565b6040516104dc9190612ae5565b60405180910390f35b3480156104f157600080fd5b5061050c6004803603810190610507919061338f565b611a86565b005b34801561051a57600080fd5b50610523611b46565b005b34801561053157600080fd5b5061054c600480360381019061054791906133bc565b611cab565b6040516105599190612ba0565b60405180910390f35b34801561056e57600080fd5b50610589600480360381019061058491906134b1565b611d3f565b005b34801561059757600080fd5b506105b260048036038101906105ad919061338f565b611da5565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061c906135ba565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600954905090565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610762575061076182611e9d565b5b9050919050565b6005805461077690613609565b80601f01602080910402602001604051908101604052809291908181526020018280546107a290613609565b80156107ef5780601f106107c4576101008083540402835291602001916107ef565b820191906000526020600020905b8154815290600101906020018083116107d257829003601f168201915b505050505081565b6060600461080483611f07565b604051602001610815929190613757565b6040516020818303038152906040529050919050565b610833612068565b73ffffffffffffffffffffffffffffffffffffffff16610851611784565b73ffffffffffffffffffffffffffffffffffffffff16146108a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089e906137d2565b60405180910390fd5b8282823373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161480156108eb57506108e933612070565b155b61092a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109219061383e565b60405180910390fd5b60028081111561093d5761093c613259565b5b600d60009054906101000a900460ff16600281111561095f5761095e613259565b5b1461099f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610996906138aa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166109c0846114e9565b73ffffffffffffffffffffffffffffffffffffffff1614156109e184611f07565b6040516020016109f19190613962565b60405160208183030381529060405290610a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a389190612c54565b60405180910390fd5b50600073ffffffffffffffffffffffffffffffffffffffff16610a63836114e9565b73ffffffffffffffffffffffffffffffffffffffff161415610a8483611f07565b604051602001610a949190613962565b60405160208183030381529060405290610ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adb9190612c54565b60405180910390fd5b50600073ffffffffffffffffffffffffffffffffffffffff16610b06826114e9565b73ffffffffffffffffffffffffffffffffffffffff161415610b2782611f07565b604051602001610b379190613962565b60405160208183030381529060405290610b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7e9190612c54565b60405180910390fd5b5060004790506000601e606483610b9e91906139ed565b610ba89190613a1e565b90506000600f606484610bbb91906139ed565b610bc59190613a1e565b905060006005606485610bd891906139ed565b610be29190613a1e565b90506000818385610bf39190613a78565b610bfd9190613a78565b85610c089190613ace565b90506000610c158c6114e9565b90506000610c228c6114e9565b90506000610c2f8c6114e9565b90508273ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f19350505050158015610c77573d6000803e3d6000fd5b508173ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050158015610cbe573d6000803e3d6000fd5b508073ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f19350505050158015610d05573d6000803e3d6000fd5b50600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050158015610d6e573d6000803e3d6000fd5b507f42ef4cb230a36dbe0bc8ac2f3147ef17cb7523c38cee538ff39260e447a372ff87878787604051610da49493929190613b02565b60405180910390a15050505050505050505050505050565b6000610dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df490613b93565b60405180910390fd5b5050505050505050565b60608151835114610e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4490613c25565b60405180910390fd5b6000835167ffffffffffffffff811115610e6a57610e69612e8d565b5b604051908082528060200260200182016040528015610e985781602001602082028036833780820191505090505b50905060005b8451811015610f1557610ee5858281518110610ebd57610ebc613c45565b5b6020026020010151858381518110610ed857610ed7613c45565b5b60200260200101516105b4565b828281518110610ef857610ef7613c45565b5b60200260200101818152505080610f0e90613c74565b9050610e9e565b508091505092915050565b803373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16148015610f625750610f6033612070565b155b610fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f989061383e565b60405180910390fd5b6000610fac336119e1565b11610fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe390613d09565b60405180910390fd5b6000600281111561100057610fff613259565b5b600d60009054906101000a900460ff16600281111561102257611021613259565b5b14611062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105990613d75565b60405180910390fd5b60008151116110a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109d90613de1565b60405180910390fd5b600a548151600b805490506110bb9190613a78565b11156110d8600b80549050600a546110d39190613ace565b611f07565b6040516020016110e89190613e4d565b60405160208183030381529060405290611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f9190612c54565b60405180910390fd5b50600060019050600060019050600080600090505b84518110156112125784818151811061116957611168613c45565b5b60200260200101519150600073ffffffffffffffffffffffffffffffffffffffff16600c600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111e35760009250611212565b60018210806111f35750600a5482115b156112015760009350611212565b8061120b90613c74565b905061114d565b508261121d82611f07565b60405160200161122d9190613ebb565b6040516020818303038152906040529061127d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112749190612c54565b60405180910390fd5b508161128882611f07565b6040516020016112989190613f29565b604051602081830303815290604052906112e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112df9190612c54565b60405180910390fd5b5083516112f361067d565b6112fd9190613a1e565b34101561133f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133690613fa2565b60405180910390fd5b600a548551600b805490506113549190613a78565b14156113cc576002600d60006101000a81548160ff021916908360028111156113805761137f613259565b5b02179055507f3d56074039b613958bdcf04ebd9d788c9e3e9aef66e3a7bf8826c7f987b926bb600d60009054906101000a900460ff166040516113c39190613fc2565b60405180910390a15b60005b85518110156114a05760008682815181106113ed576113ec613c45565b5b602002602001015190506114133382600160405180602001604052806000815250612093565b33600c600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600b819080600181540180825580915050600190039060005260206000200160009091909190915055508061149990613c74565b90506113cf565b507fded86a32fa49111832d71ffdbb93a3ab180a7506675765de51a4d2b10393c390600b6114cc612229565b6040516114da9291906140b3565b60405180910390a15050505050565b600080821180156114fc5750600a548211155b61153b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115329061412f565b60405180910390fd5b600c600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000806000806000600954600a5461158c612231565b611594612229565b600d60009054906101000a900460ff16945094509450945094509091929394565b6115bd612068565b73ffffffffffffffffffffffffffffffffffffffff166115db611784565b73ffffffffffffffffffffffffffffffffffffffff1614611631576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611628906137d2565b60405180910390fd5b61163b600061223e565b565b6060600b80548060200260200160405190810160405280929190818152602001828054801561168b57602002820191906000526020600020905b815481526020019060010190808311611677575b5050505050905090565b61169d612068565b73ffffffffffffffffffffffffffffffffffffffff166116bb611784565b73ffffffffffffffffffffffffffffffffffffffff1614611711576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611708906137d2565b60405180910390fd5b6002600d60006101000a81548160ff0219169083600281111561173757611736613259565b5b02179055507f3d56074039b613958bdcf04ebd9d788c9e3e9aef66e3a7bf8826c7f987b926bb600d60009054906101000a900460ff1660405161177a9190613fc2565b60405180910390a1565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600680546117e590613609565b80601f016020809104026020016040519081016040528092919081815260200182805461181190613609565b801561185e5780601f106118335761010080835404028352916020019161185e565b820191906000526020600020905b81548152906001019060200180831161184157829003601f168201915b505050505081565b61186e612068565b73ffffffffffffffffffffffffffffffffffffffff1661188c611784565b73ffffffffffffffffffffffffffffffffffffffff16146118e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d9906137d2565b60405180910390fd5b6002808111156118f5576118f4613259565b5b600d60009054906101000a900460ff16600281111561191757611916613259565b5b1415611958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194f9061419b565b60405180910390fd5b6000600d60006101000a81548160ff0219169083600281111561197e5761197d613259565b5b02179055507f3d56074039b613958bdcf04ebd9d788c9e3e9aef66e3a7bf8826c7f987b926bb600d60009054906101000a900460ff166040516119c19190613fc2565b60405180910390a1565b6119dd6119d6612068565b8383612304565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b8152600401611a3e919061323e565b602060405180830381865afa158015611a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7f91906141d0565b9050919050565b611a8e612068565b73ffffffffffffffffffffffffffffffffffffffff16611aac611784565b73ffffffffffffffffffffffffffffffffffffffff1614611b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af9906137d2565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611b4e612068565b73ffffffffffffffffffffffffffffffffffffffff16611b6c611784565b73ffffffffffffffffffffffffffffffffffffffff1614611bc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb9906137d2565b60405180910390fd5b600280811115611bd557611bd4613259565b5b600d60009054906101000a900460ff166002811115611bf757611bf6613259565b5b1415611c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2f90614249565b60405180910390fd5b6001600d60006101000a81548160ff02191690836002811115611c5e57611c5d613259565b5b02179055507f3d56074039b613958bdcf04ebd9d788c9e3e9aef66e3a7bf8826c7f987b926bb600d60009054906101000a900460ff16604051611ca19190613fc2565b60405180910390a1565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d4c8585858585612471565b83600c600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b611dad612068565b73ffffffffffffffffffffffffffffffffffffffff16611dcb611784565b73ffffffffffffffffffffffffffffffffffffffff1614611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e18906137d2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e88906142db565b60405180910390fd5b611e9a8161223e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611f4f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612063565b600082905060005b60008214611f81578080611f6a90613c74565b915050600a82611f7a91906139ed565b9150611f57565b60008167ffffffffffffffff811115611f9d57611f9c612e8d565b5b6040519080825280601f01601f191660200182016040528015611fcf5781602001600182028036833780820191505090505b5090505b6000851461205c57600182611fe89190613ace565b9150600a85611ff791906142fb565b60306120039190613a78565b60f81b81838151811061201957612018613c45565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561205591906139ed565b9450611fd3565b8093505050505b919050565b600033905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fa9061439e565b60405180910390fd5b600061210d612068565b905061212e8160008761211f88612512565b61212888612512565b8761258c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461218d9190613a78565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161220b9291906143be565b60405180910390a461222281600087878787612594565b5050505050565b600047905090565b6000600b80549050905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236a90614459565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124649190612ba0565b60405180910390a3505050565b612479612068565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806124bf57506124be856124b9612068565b611cab565b5b6124fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f5906144eb565b60405180910390fd5b61250b858585858561276c565b5050505050565b60606000600167ffffffffffffffff81111561253157612530612e8d565b5b60405190808252806020026020018201604052801561255f5781602001602082028036833780820191505090505b509050828160008151811061257757612576613c45565b5b60200260200101818152505080915050919050565b505050505050565b6125b38473ffffffffffffffffffffffffffffffffffffffff16612070565b15612764578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016125f9959493929190614560565b6020604051808303816000875af192505050801561263557506040513d601f19601f8201168201806040525081019061263291906145cf565b60015b6126db57612641614609565b806308c379a0141561269e575061265661462b565b8061266157506126a0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126959190612c54565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d290614733565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612762576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612759906147c5565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d390614857565b60405180910390fd5b60006127e6612068565b90506128068187876127f788612512565b61280088612512565b8761258c565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561289d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612894906148e9565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129529190613a78565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516129cf9291906143be565b60405180910390a46129e5828888888888612594565b50505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a2d82612a02565b9050919050565b612a3d81612a22565b8114612a4857600080fd5b50565b600081359050612a5a81612a34565b92915050565b6000819050919050565b612a7381612a60565b8114612a7e57600080fd5b50565b600081359050612a9081612a6a565b92915050565b60008060408385031215612aad57612aac6129f8565b5b6000612abb85828601612a4b565b9250506020612acc85828601612a81565b9150509250929050565b612adf81612a60565b82525050565b6000602082019050612afa6000830184612ad6565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b3581612b00565b8114612b4057600080fd5b50565b600081359050612b5281612b2c565b92915050565b600060208284031215612b6e57612b6d6129f8565b5b6000612b7c84828501612b43565b91505092915050565b60008115159050919050565b612b9a81612b85565b82525050565b6000602082019050612bb56000830184612b91565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612bf5578082015181840152602081019050612bda565b83811115612c04576000848401525b50505050565b6000601f19601f8301169050919050565b6000612c2682612bbb565b612c308185612bc6565b9350612c40818560208601612bd7565b612c4981612c0a565b840191505092915050565b60006020820190508181036000830152612c6e8184612c1b565b905092915050565b600060208284031215612c8c57612c8b6129f8565b5b6000612c9a84828501612a81565b91505092915050565b600080600060608486031215612cbc57612cbb6129f8565b5b6000612cca86828701612a81565b9350506020612cdb86828701612a81565b9250506040612cec86828701612a81565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112612d1b57612d1a612cf6565b5b8235905067ffffffffffffffff811115612d3857612d37612cfb565b5b602083019150836020820283011115612d5457612d53612d00565b5b9250929050565b60008083601f840112612d7157612d70612cf6565b5b8235905067ffffffffffffffff811115612d8e57612d8d612cfb565b5b602083019150836001820283011115612daa57612da9612d00565b5b9250929050565b60008060008060008060008060a0898b031215612dd157612dd06129f8565b5b6000612ddf8b828c01612a4b565b9850506020612df08b828c01612a4b565b975050604089013567ffffffffffffffff811115612e1157612e106129fd565b5b612e1d8b828c01612d05565b9650965050606089013567ffffffffffffffff811115612e4057612e3f6129fd565b5b612e4c8b828c01612d05565b9450945050608089013567ffffffffffffffff811115612e6f57612e6e6129fd565b5b612e7b8b828c01612d5b565b92509250509295985092959890939650565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ec582612c0a565b810181811067ffffffffffffffff82111715612ee457612ee3612e8d565b5b80604052505050565b6000612ef76129ee565b9050612f038282612ebc565b919050565b600067ffffffffffffffff821115612f2357612f22612e8d565b5b602082029050602081019050919050565b6000612f47612f4284612f08565b612eed565b90508083825260208201905060208402830185811115612f6a57612f69612d00565b5b835b81811015612f935780612f7f8882612a4b565b845260208401935050602081019050612f6c565b5050509392505050565b600082601f830112612fb257612fb1612cf6565b5b8135612fc2848260208601612f34565b91505092915050565b600067ffffffffffffffff821115612fe657612fe5612e8d565b5b602082029050602081019050919050565b600061300a61300584612fcb565b612eed565b9050808382526020820190506020840283018581111561302d5761302c612d00565b5b835b8181101561305657806130428882612a81565b84526020840193505060208101905061302f565b5050509392505050565b600082601f83011261307557613074612cf6565b5b8135613085848260208601612ff7565b91505092915050565b600080604083850312156130a5576130a46129f8565b5b600083013567ffffffffffffffff8111156130c3576130c26129fd565b5b6130cf85828601612f9d565b925050602083013567ffffffffffffffff8111156130f0576130ef6129fd565b5b6130fc85828601613060565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61313b81612a60565b82525050565b600061314d8383613132565b60208301905092915050565b6000602082019050919050565b600061317182613106565b61317b8185613111565b935061318683613122565b8060005b838110156131b757815161319e8882613141565b97506131a983613159565b92505060018101905061318a565b5085935050505092915050565b600060208201905081810360008301526131de8184613166565b905092915050565b6000602082840312156131fc576131fb6129f8565b5b600082013567ffffffffffffffff81111561321a576132196129fd565b5b61322684828501613060565b91505092915050565b61323881612a22565b82525050565b6000602082019050613253600083018461322f565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811061329957613298613259565b5b50565b60008190506132aa82613288565b919050565b60006132ba8261329c565b9050919050565b6132ca816132af565b82525050565b600060a0820190506132e56000830188612ad6565b6132f26020830187612ad6565b6132ff6040830186612ad6565b61330c6060830185612ad6565b61331960808301846132c1565b9695505050505050565b61332c81612b85565b811461333757600080fd5b50565b60008135905061334981613323565b92915050565b60008060408385031215613366576133656129f8565b5b600061337485828601612a4b565b92505060206133858582860161333a565b9150509250929050565b6000602082840312156133a5576133a46129f8565b5b60006133b384828501612a4b565b91505092915050565b600080604083850312156133d3576133d26129f8565b5b60006133e185828601612a4b565b92505060206133f285828601612a4b565b9150509250929050565b600080fd5b600067ffffffffffffffff82111561341c5761341b612e8d565b5b61342582612c0a565b9050602081019050919050565b82818337600083830152505050565b600061345461344f84613401565b612eed565b9050828152602081018484840111156134705761346f6133fc565b5b61347b848285613432565b509392505050565b600082601f83011261349857613497612cf6565b5b81356134a8848260208601613441565b91505092915050565b600080600080600060a086880312156134cd576134cc6129f8565b5b60006134db88828901612a4b565b95505060206134ec88828901612a4b565b94505060406134fd88828901612a81565b935050606061350e88828901612a81565b925050608086013567ffffffffffffffff81111561352f5761352e6129fd565b5b61353b88828901613483565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006135a4602b83612bc6565b91506135af82613548565b604082019050919050565b600060208201905081810360008301526135d381613597565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061362157607f821691505b60208210811415613635576136346135da565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461366881613609565b613672818661363b565b9450600182166000811461368d576001811461369e576136d1565b60ff198316865281860193506136d1565b6136a785613646565b60005b838110156136c9578154818901526001820191506020810190506136aa565b838801955050505b50505092915050565b60006136e582612bbb565b6136ef818561363b565b93506136ff818560208601612bd7565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061374160058361363b565b915061374c8261370b565b600582019050919050565b6000613763828561365b565b915061376f82846136da565b915061377a82613734565b91508190509392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006137bc602083612bc6565b91506137c782613786565b602082019050919050565b600060208201905081810360008301526137eb816137af565b9050919050565b7f4e6f7420616c6c6f7720454f4121000000000000000000000000000000000000600082015250565b6000613828600e83612bc6565b9150613833826137f2565b602082019050919050565b600060208201905081810360008301526138578161381b565b9050919050565b7f4b696e646c7920636c6f736520746865206d696e74696e670000000000000000600082015250565b6000613894601883612bc6565b915061389f8261385e565b602082019050919050565b600060208201905081810360008301526138c381613887565b9050919050565b7f546f6b656e204964200000000000000000000000000000000000000000000000600082015250565b600061390060098361363b565b915061390b826138ca565b600982019050919050565b7f20686173206e6f206f776e657200000000000000000000000000000000000000600082015250565b600061394c600d8361363b565b915061395782613916565b600d82019050919050565b600061396d826138f3565b915061397982846136da565b91506139848261393f565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139f882612a60565b9150613a0383612a60565b925082613a1357613a1261398f565b5b828204905092915050565b6000613a2982612a60565b9150613a3483612a60565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a6d57613a6c6139be565b5b828202905092915050565b6000613a8382612a60565b9150613a8e83612a60565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ac357613ac26139be565b5b828201905092915050565b6000613ad982612a60565b9150613ae483612a60565b925082821015613af757613af66139be565b5b828203905092915050565b6000608082019050613b176000830187612ad6565b613b246020830186612ad6565b613b316040830185612ad6565b613b3e6060830184612ad6565b95945050505050565b7f4d6574686f64206e6f7420616c6c6f7765640000000000000000000000000000600082015250565b6000613b7d601283612bc6565b9150613b8882613b47565b602082019050919050565b60006020820190508181036000830152613bac81613b70565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613c0f602983612bc6565b9150613c1a82613bb3565b604082019050919050565b60006020820190508181036000830152613c3e81613c02565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613c7f82612a60565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613cb257613cb16139be565b5b600182019050919050565b7f596f7520617265206e6f7420656c696769626c6520666f72206d696e74000000600082015250565b6000613cf3601d83612bc6565b9150613cfe82613cbd565b602082019050919050565b60006020820190508181036000830152613d2281613ce6565b9050919050565b7f4d696e74696e67206e6f74207374617274656420796574210000000000000000600082015250565b6000613d5f601883612bc6565b9150613d6a82613d29565b602082019050919050565b60006020820190508181036000830152613d8e81613d52565b9050919050565b7f546f6b656e2069642773206d697373696e670000000000000000000000000000600082015250565b6000613dcb601283612bc6565b9150613dd682613d95565b602082019050919050565b60006020820190508181036000830152613dfa81613dbe565b9050919050565b7f20546f6b656e73206c65667420746f206265206d696e74200000000000000000600082015250565b6000613e3760188361363b565b9150613e4282613e01565b601882019050919050565b6000613e5982846136da565b9150613e6482613e2a565b915081905092915050565b7f20697320696e76616c696420746f6b656e204964200000000000000000000000600082015250565b6000613ea560158361363b565b9150613eb082613e6f565b601582019050919050565b6000613ec782846136da565b9150613ed282613e98565b915081905092915050565b7f20697320616c7265616479206d696e7465640000000000000000000000000000600082015250565b6000613f1360128361363b565b9150613f1e82613edd565b601282019050919050565b6000613f34826138f3565b9150613f4082846136da565b9150613f4b82613f06565b915081905092915050565b7f4e6f7420656e6f756768204554482073656e7400000000000000000000000000600082015250565b6000613f8c601383612bc6565b9150613f9782613f56565b602082019050919050565b60006020820190508181036000830152613fbb81613f7f565b9050919050565b6000602082019050613fd760008301846132c1565b92915050565b600081549050919050565b60008190508160005260206000209050919050565b60008160001c9050919050565b6000819050919050565b600061402761402283613ffd565b61400a565b9050919050565b600061403a8254614014565b9050919050565b6000600182019050919050565b600061405982613fdd565b6140638185613111565b935061406e83613fe8565b8060005b838110156140a6576140838261402e565b61408d8882613141565b975061409883614041565b925050600181019050614072565b5085935050505092915050565b600060408201905081810360008301526140cd818561404e565b90506140dc6020830184612ad6565b9392505050565b7f496e76616c696420746f6b656e20696400000000000000000000000000000000600082015250565b6000614119601083612bc6565b9150614124826140e3565b602082019050919050565b600060208201905081810360008301526141488161410c565b9050919050565b7f4e6f7420616c6c6f7720746f207374617274206d696e74696e67000000000000600082015250565b6000614185601a83612bc6565b91506141908261414f565b602082019050919050565b600060208201905081810360008301526141b481614178565b9050919050565b6000815190506141ca81612a6a565b92915050565b6000602082840312156141e6576141e56129f8565b5b60006141f4848285016141bb565b91505092915050565b7f4e6f7420616c6c6f7720746f207061757365206d696e74696e67000000000000600082015250565b6000614233601a83612bc6565b915061423e826141fd565b602082019050919050565b6000602082019050818103600083015261426281614226565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006142c5602683612bc6565b91506142d082614269565b604082019050919050565b600060208201905081810360008301526142f4816142b8565b9050919050565b600061430682612a60565b915061431183612a60565b9250826143215761432061398f565b5b828206905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614388602183612bc6565b91506143938261432c565b604082019050919050565b600060208201905081810360008301526143b78161437b565b9050919050565b60006040820190506143d36000830185612ad6565b6143e06020830184612ad6565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614443602983612bc6565b915061444e826143e7565b604082019050919050565b6000602082019050818103600083015261447281614436565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006144d5602983612bc6565b91506144e082614479565b604082019050919050565b60006020820190508181036000830152614504816144c8565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006145328261450b565b61453c8185614516565b935061454c818560208601612bd7565b61455581612c0a565b840191505092915050565b600060a082019050614575600083018861322f565b614582602083018761322f565b61458f6040830186612ad6565b61459c6060830185612ad6565b81810360808301526145ae8184614527565b90509695505050505050565b6000815190506145c981612b2c565b92915050565b6000602082840312156145e5576145e46129f8565b5b60006145f3848285016145ba565b91505092915050565b60008160e01c9050919050565b600060033d11156146285760046000803e6146256000516145fc565b90505b90565b600060443d101561463b576146be565b6146436129ee565b60043d036004823e80513d602482011167ffffffffffffffff8211171561466b5750506146be565b808201805167ffffffffffffffff81111561468957505050506146be565b80602083010160043d0385018111156146a65750505050506146be565b6146b582602001850186612ebc565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061471d603483612bc6565b9150614728826146c1565b604082019050919050565b6000602082019050818103600083015261474c81614710565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006147af602883612bc6565b91506147ba82614753565b604082019050919050565b600060208201905081810360008301526147de816147a2565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614841602583612bc6565b915061484c826147e5565b604082019050919050565b6000602082019050818103600083015261487081614834565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006148d3602a83612bc6565b91506148de82614877565b604082019050919050565b60006020820190508181036000830152614902816148c6565b905091905056fea2646970667358221220e90be7708fe9b34d925d8a7edc50a68a29264eac03c60fd7f28c5c68c2d9192a64736f6c634300080b0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d63437578534263756f34577365356976635566656e693368316f6669366b4671746d4b75636e56335076464d2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001d4a61636b706f7420526f79616c652076732048575320526f756e642d31000000000000000000000000000000000000000000000000000000000000000000000a4a50522d4857532d523100000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101655760003560e01c806384a4e7a7116100d1578063a22cb4651161008a578063da8fbf2a11610064578063da8fbf2a1461050e578063e985e9c514610525578063f242432a14610562578063f2fde38b1461058b57610165565b8063a22cb4651461047f578063b62d371c146104a8578063c27df471146104e557610165565b806384a4e7a7146103a557806387491c60146103d05780638da5cb5b146103e75780638ed0f31f1461041257806395d89b411461043d5780639a65ea261461046857610165565b80632eb2c2d6116101235780632eb2c2d6146102a05780634e1273f4146102c95780635edd1b68146103065780636352211e1461032257806368efd6a81461035f578063715018a61461038e57610165565b8062fdd58e1461016a578063012a33aa146101a757806301ffc9a7146101d257806306fdde031461020f5780630e89341c1461023a578063254ca69214610277575b600080fd5b34801561017657600080fd5b50610191600480360381019061018c9190612a96565b6105b4565b60405161019e9190612ae5565b60405180910390f35b3480156101b357600080fd5b506101bc61067d565b6040516101c99190612ae5565b60405180910390f35b3480156101de57600080fd5b506101f960048036038101906101f49190612b58565b610687565b6040516102069190612ba0565b60405180910390f35b34801561021b57600080fd5b50610224610769565b6040516102319190612c54565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c9190612c76565b6107f7565b60405161026e9190612c54565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190612ca3565b61082b565b005b3480156102ac57600080fd5b506102c760048036038101906102c29190612db1565b610dbc565b005b3480156102d557600080fd5b506102f060048036038101906102eb919061308e565b610e07565b6040516102fd91906131c4565b60405180910390f35b610320600480360381019061031b91906131e6565b610f20565b005b34801561032e57600080fd5b5061034960048036038101906103449190612c76565b6114e9565b604051610356919061323e565b60405180910390f35b34801561036b57600080fd5b50610374611576565b6040516103859594939291906132d0565b60405180910390f35b34801561039a57600080fd5b506103a36115b5565b005b3480156103b157600080fd5b506103ba61163d565b6040516103c791906131c4565b60405180910390f35b3480156103dc57600080fd5b506103e5611695565b005b3480156103f357600080fd5b506103fc611784565b604051610409919061323e565b60405180910390f35b34801561041e57600080fd5b506104276117ae565b604051610434919061323e565b60405180910390f35b34801561044957600080fd5b506104526117d8565b60405161045f9190612c54565b60405180910390f35b34801561047457600080fd5b5061047d611866565b005b34801561048b57600080fd5b506104a660048036038101906104a1919061334f565b6119cb565b005b3480156104b457600080fd5b506104cf60048036038101906104ca919061338f565b6119e1565b6040516104dc9190612ae5565b60405180910390f35b3480156104f157600080fd5b5061050c6004803603810190610507919061338f565b611a86565b005b34801561051a57600080fd5b50610523611b46565b005b34801561053157600080fd5b5061054c600480360381019061054791906133bc565b611cab565b6040516105599190612ba0565b60405180910390f35b34801561056e57600080fd5b50610589600480360381019061058491906134b1565b611d3f565b005b34801561059757600080fd5b506105b260048036038101906105ad919061338f565b611da5565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061c906135ba565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600954905090565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610762575061076182611e9d565b5b9050919050565b6005805461077690613609565b80601f01602080910402602001604051908101604052809291908181526020018280546107a290613609565b80156107ef5780601f106107c4576101008083540402835291602001916107ef565b820191906000526020600020905b8154815290600101906020018083116107d257829003601f168201915b505050505081565b6060600461080483611f07565b604051602001610815929190613757565b6040516020818303038152906040529050919050565b610833612068565b73ffffffffffffffffffffffffffffffffffffffff16610851611784565b73ffffffffffffffffffffffffffffffffffffffff16146108a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089e906137d2565b60405180910390fd5b8282823373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161480156108eb57506108e933612070565b155b61092a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109219061383e565b60405180910390fd5b60028081111561093d5761093c613259565b5b600d60009054906101000a900460ff16600281111561095f5761095e613259565b5b1461099f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610996906138aa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166109c0846114e9565b73ffffffffffffffffffffffffffffffffffffffff1614156109e184611f07565b6040516020016109f19190613962565b60405160208183030381529060405290610a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a389190612c54565b60405180910390fd5b50600073ffffffffffffffffffffffffffffffffffffffff16610a63836114e9565b73ffffffffffffffffffffffffffffffffffffffff161415610a8483611f07565b604051602001610a949190613962565b60405160208183030381529060405290610ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adb9190612c54565b60405180910390fd5b50600073ffffffffffffffffffffffffffffffffffffffff16610b06826114e9565b73ffffffffffffffffffffffffffffffffffffffff161415610b2782611f07565b604051602001610b379190613962565b60405160208183030381529060405290610b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7e9190612c54565b60405180910390fd5b5060004790506000601e606483610b9e91906139ed565b610ba89190613a1e565b90506000600f606484610bbb91906139ed565b610bc59190613a1e565b905060006005606485610bd891906139ed565b610be29190613a1e565b90506000818385610bf39190613a78565b610bfd9190613a78565b85610c089190613ace565b90506000610c158c6114e9565b90506000610c228c6114e9565b90506000610c2f8c6114e9565b90508273ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f19350505050158015610c77573d6000803e3d6000fd5b508173ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050158015610cbe573d6000803e3d6000fd5b508073ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f19350505050158015610d05573d6000803e3d6000fd5b50600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050158015610d6e573d6000803e3d6000fd5b507f42ef4cb230a36dbe0bc8ac2f3147ef17cb7523c38cee538ff39260e447a372ff87878787604051610da49493929190613b02565b60405180910390a15050505050505050505050505050565b6000610dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df490613b93565b60405180910390fd5b5050505050505050565b60608151835114610e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4490613c25565b60405180910390fd5b6000835167ffffffffffffffff811115610e6a57610e69612e8d565b5b604051908082528060200260200182016040528015610e985781602001602082028036833780820191505090505b50905060005b8451811015610f1557610ee5858281518110610ebd57610ebc613c45565b5b6020026020010151858381518110610ed857610ed7613c45565b5b60200260200101516105b4565b828281518110610ef857610ef7613c45565b5b60200260200101818152505080610f0e90613c74565b9050610e9e565b508091505092915050565b803373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16148015610f625750610f6033612070565b155b610fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f989061383e565b60405180910390fd5b6000610fac336119e1565b11610fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe390613d09565b60405180910390fd5b6000600281111561100057610fff613259565b5b600d60009054906101000a900460ff16600281111561102257611021613259565b5b14611062576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105990613d75565b60405180910390fd5b60008151116110a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109d90613de1565b60405180910390fd5b600a548151600b805490506110bb9190613a78565b11156110d8600b80549050600a546110d39190613ace565b611f07565b6040516020016110e89190613e4d565b60405160208183030381529060405290611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f9190612c54565b60405180910390fd5b50600060019050600060019050600080600090505b84518110156112125784818151811061116957611168613c45565b5b60200260200101519150600073ffffffffffffffffffffffffffffffffffffffff16600c600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111e35760009250611212565b60018210806111f35750600a5482115b156112015760009350611212565b8061120b90613c74565b905061114d565b508261121d82611f07565b60405160200161122d9190613ebb565b6040516020818303038152906040529061127d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112749190612c54565b60405180910390fd5b508161128882611f07565b6040516020016112989190613f29565b604051602081830303815290604052906112e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112df9190612c54565b60405180910390fd5b5083516112f361067d565b6112fd9190613a1e565b34101561133f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133690613fa2565b60405180910390fd5b600a548551600b805490506113549190613a78565b14156113cc576002600d60006101000a81548160ff021916908360028111156113805761137f613259565b5b02179055507f3d56074039b613958bdcf04ebd9d788c9e3e9aef66e3a7bf8826c7f987b926bb600d60009054906101000a900460ff166040516113c39190613fc2565b60405180910390a15b60005b85518110156114a05760008682815181106113ed576113ec613c45565b5b602002602001015190506114133382600160405180602001604052806000815250612093565b33600c600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600b819080600181540180825580915050600190039060005260206000200160009091909190915055508061149990613c74565b90506113cf565b507fded86a32fa49111832d71ffdbb93a3ab180a7506675765de51a4d2b10393c390600b6114cc612229565b6040516114da9291906140b3565b60405180910390a15050505050565b600080821180156114fc5750600a548211155b61153b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115329061412f565b60405180910390fd5b600c600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000806000806000600954600a5461158c612231565b611594612229565b600d60009054906101000a900460ff16945094509450945094509091929394565b6115bd612068565b73ffffffffffffffffffffffffffffffffffffffff166115db611784565b73ffffffffffffffffffffffffffffffffffffffff1614611631576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611628906137d2565b60405180910390fd5b61163b600061223e565b565b6060600b80548060200260200160405190810160405280929190818152602001828054801561168b57602002820191906000526020600020905b815481526020019060010190808311611677575b5050505050905090565b61169d612068565b73ffffffffffffffffffffffffffffffffffffffff166116bb611784565b73ffffffffffffffffffffffffffffffffffffffff1614611711576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611708906137d2565b60405180910390fd5b6002600d60006101000a81548160ff0219169083600281111561173757611736613259565b5b02179055507f3d56074039b613958bdcf04ebd9d788c9e3e9aef66e3a7bf8826c7f987b926bb600d60009054906101000a900460ff1660405161177a9190613fc2565b60405180910390a1565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600680546117e590613609565b80601f016020809104026020016040519081016040528092919081815260200182805461181190613609565b801561185e5780601f106118335761010080835404028352916020019161185e565b820191906000526020600020905b81548152906001019060200180831161184157829003601f168201915b505050505081565b61186e612068565b73ffffffffffffffffffffffffffffffffffffffff1661188c611784565b73ffffffffffffffffffffffffffffffffffffffff16146118e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d9906137d2565b60405180910390fd5b6002808111156118f5576118f4613259565b5b600d60009054906101000a900460ff16600281111561191757611916613259565b5b1415611958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194f9061419b565b60405180910390fd5b6000600d60006101000a81548160ff0219169083600281111561197e5761197d613259565b5b02179055507f3d56074039b613958bdcf04ebd9d788c9e3e9aef66e3a7bf8826c7f987b926bb600d60009054906101000a900460ff166040516119c19190613fc2565b60405180910390a1565b6119dd6119d6612068565b8383612304565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b8152600401611a3e919061323e565b602060405180830381865afa158015611a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7f91906141d0565b9050919050565b611a8e612068565b73ffffffffffffffffffffffffffffffffffffffff16611aac611784565b73ffffffffffffffffffffffffffffffffffffffff1614611b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af9906137d2565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611b4e612068565b73ffffffffffffffffffffffffffffffffffffffff16611b6c611784565b73ffffffffffffffffffffffffffffffffffffffff1614611bc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb9906137d2565b60405180910390fd5b600280811115611bd557611bd4613259565b5b600d60009054906101000a900460ff166002811115611bf757611bf6613259565b5b1415611c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2f90614249565b60405180910390fd5b6001600d60006101000a81548160ff02191690836002811115611c5e57611c5d613259565b5b02179055507f3d56074039b613958bdcf04ebd9d788c9e3e9aef66e3a7bf8826c7f987b926bb600d60009054906101000a900460ff16604051611ca19190613fc2565b60405180910390a1565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d4c8585858585612471565b83600c600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b611dad612068565b73ffffffffffffffffffffffffffffffffffffffff16611dcb611784565b73ffffffffffffffffffffffffffffffffffffffff1614611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e18906137d2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e88906142db565b60405180910390fd5b611e9a8161223e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611f4f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612063565b600082905060005b60008214611f81578080611f6a90613c74565b915050600a82611f7a91906139ed565b9150611f57565b60008167ffffffffffffffff811115611f9d57611f9c612e8d565b5b6040519080825280601f01601f191660200182016040528015611fcf5781602001600182028036833780820191505090505b5090505b6000851461205c57600182611fe89190613ace565b9150600a85611ff791906142fb565b60306120039190613a78565b60f81b81838151811061201957612018613c45565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561205591906139ed565b9450611fd3565b8093505050505b919050565b600033905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fa9061439e565b60405180910390fd5b600061210d612068565b905061212e8160008761211f88612512565b61212888612512565b8761258c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461218d9190613a78565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161220b9291906143be565b60405180910390a461222281600087878787612594565b5050505050565b600047905090565b6000600b80549050905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236a90614459565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124649190612ba0565b60405180910390a3505050565b612479612068565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806124bf57506124be856124b9612068565b611cab565b5b6124fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f5906144eb565b60405180910390fd5b61250b858585858561276c565b5050505050565b60606000600167ffffffffffffffff81111561253157612530612e8d565b5b60405190808252806020026020018201604052801561255f5781602001602082028036833780820191505090505b509050828160008151811061257757612576613c45565b5b60200260200101818152505080915050919050565b505050505050565b6125b38473ffffffffffffffffffffffffffffffffffffffff16612070565b15612764578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016125f9959493929190614560565b6020604051808303816000875af192505050801561263557506040513d601f19601f8201168201806040525081019061263291906145cf565b60015b6126db57612641614609565b806308c379a0141561269e575061265661462b565b8061266157506126a0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126959190612c54565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d290614733565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612762576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612759906147c5565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d390614857565b60405180910390fd5b60006127e6612068565b90506128068187876127f788612512565b61280088612512565b8761258c565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561289d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612894906148e9565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129529190613a78565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516129cf9291906143be565b60405180910390a46129e5828888888888612594565b50505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a2d82612a02565b9050919050565b612a3d81612a22565b8114612a4857600080fd5b50565b600081359050612a5a81612a34565b92915050565b6000819050919050565b612a7381612a60565b8114612a7e57600080fd5b50565b600081359050612a9081612a6a565b92915050565b60008060408385031215612aad57612aac6129f8565b5b6000612abb85828601612a4b565b9250506020612acc85828601612a81565b9150509250929050565b612adf81612a60565b82525050565b6000602082019050612afa6000830184612ad6565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b3581612b00565b8114612b4057600080fd5b50565b600081359050612b5281612b2c565b92915050565b600060208284031215612b6e57612b6d6129f8565b5b6000612b7c84828501612b43565b91505092915050565b60008115159050919050565b612b9a81612b85565b82525050565b6000602082019050612bb56000830184612b91565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612bf5578082015181840152602081019050612bda565b83811115612c04576000848401525b50505050565b6000601f19601f8301169050919050565b6000612c2682612bbb565b612c308185612bc6565b9350612c40818560208601612bd7565b612c4981612c0a565b840191505092915050565b60006020820190508181036000830152612c6e8184612c1b565b905092915050565b600060208284031215612c8c57612c8b6129f8565b5b6000612c9a84828501612a81565b91505092915050565b600080600060608486031215612cbc57612cbb6129f8565b5b6000612cca86828701612a81565b9350506020612cdb86828701612a81565b9250506040612cec86828701612a81565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112612d1b57612d1a612cf6565b5b8235905067ffffffffffffffff811115612d3857612d37612cfb565b5b602083019150836020820283011115612d5457612d53612d00565b5b9250929050565b60008083601f840112612d7157612d70612cf6565b5b8235905067ffffffffffffffff811115612d8e57612d8d612cfb565b5b602083019150836001820283011115612daa57612da9612d00565b5b9250929050565b60008060008060008060008060a0898b031215612dd157612dd06129f8565b5b6000612ddf8b828c01612a4b565b9850506020612df08b828c01612a4b565b975050604089013567ffffffffffffffff811115612e1157612e106129fd565b5b612e1d8b828c01612d05565b9650965050606089013567ffffffffffffffff811115612e4057612e3f6129fd565b5b612e4c8b828c01612d05565b9450945050608089013567ffffffffffffffff811115612e6f57612e6e6129fd565b5b612e7b8b828c01612d5b565b92509250509295985092959890939650565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ec582612c0a565b810181811067ffffffffffffffff82111715612ee457612ee3612e8d565b5b80604052505050565b6000612ef76129ee565b9050612f038282612ebc565b919050565b600067ffffffffffffffff821115612f2357612f22612e8d565b5b602082029050602081019050919050565b6000612f47612f4284612f08565b612eed565b90508083825260208201905060208402830185811115612f6a57612f69612d00565b5b835b81811015612f935780612f7f8882612a4b565b845260208401935050602081019050612f6c565b5050509392505050565b600082601f830112612fb257612fb1612cf6565b5b8135612fc2848260208601612f34565b91505092915050565b600067ffffffffffffffff821115612fe657612fe5612e8d565b5b602082029050602081019050919050565b600061300a61300584612fcb565b612eed565b9050808382526020820190506020840283018581111561302d5761302c612d00565b5b835b8181101561305657806130428882612a81565b84526020840193505060208101905061302f565b5050509392505050565b600082601f83011261307557613074612cf6565b5b8135613085848260208601612ff7565b91505092915050565b600080604083850312156130a5576130a46129f8565b5b600083013567ffffffffffffffff8111156130c3576130c26129fd565b5b6130cf85828601612f9d565b925050602083013567ffffffffffffffff8111156130f0576130ef6129fd565b5b6130fc85828601613060565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61313b81612a60565b82525050565b600061314d8383613132565b60208301905092915050565b6000602082019050919050565b600061317182613106565b61317b8185613111565b935061318683613122565b8060005b838110156131b757815161319e8882613141565b97506131a983613159565b92505060018101905061318a565b5085935050505092915050565b600060208201905081810360008301526131de8184613166565b905092915050565b6000602082840312156131fc576131fb6129f8565b5b600082013567ffffffffffffffff81111561321a576132196129fd565b5b61322684828501613060565b91505092915050565b61323881612a22565b82525050565b6000602082019050613253600083018461322f565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811061329957613298613259565b5b50565b60008190506132aa82613288565b919050565b60006132ba8261329c565b9050919050565b6132ca816132af565b82525050565b600060a0820190506132e56000830188612ad6565b6132f26020830187612ad6565b6132ff6040830186612ad6565b61330c6060830185612ad6565b61331960808301846132c1565b9695505050505050565b61332c81612b85565b811461333757600080fd5b50565b60008135905061334981613323565b92915050565b60008060408385031215613366576133656129f8565b5b600061337485828601612a4b565b92505060206133858582860161333a565b9150509250929050565b6000602082840312156133a5576133a46129f8565b5b60006133b384828501612a4b565b91505092915050565b600080604083850312156133d3576133d26129f8565b5b60006133e185828601612a4b565b92505060206133f285828601612a4b565b9150509250929050565b600080fd5b600067ffffffffffffffff82111561341c5761341b612e8d565b5b61342582612c0a565b9050602081019050919050565b82818337600083830152505050565b600061345461344f84613401565b612eed565b9050828152602081018484840111156134705761346f6133fc565b5b61347b848285613432565b509392505050565b600082601f83011261349857613497612cf6565b5b81356134a8848260208601613441565b91505092915050565b600080600080600060a086880312156134cd576134cc6129f8565b5b60006134db88828901612a4b565b95505060206134ec88828901612a4b565b94505060406134fd88828901612a81565b935050606061350e88828901612a81565b925050608086013567ffffffffffffffff81111561352f5761352e6129fd565b5b61353b88828901613483565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006135a4602b83612bc6565b91506135af82613548565b604082019050919050565b600060208201905081810360008301526135d381613597565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061362157607f821691505b60208210811415613635576136346135da565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461366881613609565b613672818661363b565b9450600182166000811461368d576001811461369e576136d1565b60ff198316865281860193506136d1565b6136a785613646565b60005b838110156136c9578154818901526001820191506020810190506136aa565b838801955050505b50505092915050565b60006136e582612bbb565b6136ef818561363b565b93506136ff818560208601612bd7565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061374160058361363b565b915061374c8261370b565b600582019050919050565b6000613763828561365b565b915061376f82846136da565b915061377a82613734565b91508190509392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006137bc602083612bc6565b91506137c782613786565b602082019050919050565b600060208201905081810360008301526137eb816137af565b9050919050565b7f4e6f7420616c6c6f7720454f4121000000000000000000000000000000000000600082015250565b6000613828600e83612bc6565b9150613833826137f2565b602082019050919050565b600060208201905081810360008301526138578161381b565b9050919050565b7f4b696e646c7920636c6f736520746865206d696e74696e670000000000000000600082015250565b6000613894601883612bc6565b915061389f8261385e565b602082019050919050565b600060208201905081810360008301526138c381613887565b9050919050565b7f546f6b656e204964200000000000000000000000000000000000000000000000600082015250565b600061390060098361363b565b915061390b826138ca565b600982019050919050565b7f20686173206e6f206f776e657200000000000000000000000000000000000000600082015250565b600061394c600d8361363b565b915061395782613916565b600d82019050919050565b600061396d826138f3565b915061397982846136da565b91506139848261393f565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139f882612a60565b9150613a0383612a60565b925082613a1357613a1261398f565b5b828204905092915050565b6000613a2982612a60565b9150613a3483612a60565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a6d57613a6c6139be565b5b828202905092915050565b6000613a8382612a60565b9150613a8e83612a60565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ac357613ac26139be565b5b828201905092915050565b6000613ad982612a60565b9150613ae483612a60565b925082821015613af757613af66139be565b5b828203905092915050565b6000608082019050613b176000830187612ad6565b613b246020830186612ad6565b613b316040830185612ad6565b613b3e6060830184612ad6565b95945050505050565b7f4d6574686f64206e6f7420616c6c6f7765640000000000000000000000000000600082015250565b6000613b7d601283612bc6565b9150613b8882613b47565b602082019050919050565b60006020820190508181036000830152613bac81613b70565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613c0f602983612bc6565b9150613c1a82613bb3565b604082019050919050565b60006020820190508181036000830152613c3e81613c02565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613c7f82612a60565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613cb257613cb16139be565b5b600182019050919050565b7f596f7520617265206e6f7420656c696769626c6520666f72206d696e74000000600082015250565b6000613cf3601d83612bc6565b9150613cfe82613cbd565b602082019050919050565b60006020820190508181036000830152613d2281613ce6565b9050919050565b7f4d696e74696e67206e6f74207374617274656420796574210000000000000000600082015250565b6000613d5f601883612bc6565b9150613d6a82613d29565b602082019050919050565b60006020820190508181036000830152613d8e81613d52565b9050919050565b7f546f6b656e2069642773206d697373696e670000000000000000000000000000600082015250565b6000613dcb601283612bc6565b9150613dd682613d95565b602082019050919050565b60006020820190508181036000830152613dfa81613dbe565b9050919050565b7f20546f6b656e73206c65667420746f206265206d696e74200000000000000000600082015250565b6000613e3760188361363b565b9150613e4282613e01565b601882019050919050565b6000613e5982846136da565b9150613e6482613e2a565b915081905092915050565b7f20697320696e76616c696420746f6b656e204964200000000000000000000000600082015250565b6000613ea560158361363b565b9150613eb082613e6f565b601582019050919050565b6000613ec782846136da565b9150613ed282613e98565b915081905092915050565b7f20697320616c7265616479206d696e7465640000000000000000000000000000600082015250565b6000613f1360128361363b565b9150613f1e82613edd565b601282019050919050565b6000613f34826138f3565b9150613f4082846136da565b9150613f4b82613f06565b915081905092915050565b7f4e6f7420656e6f756768204554482073656e7400000000000000000000000000600082015250565b6000613f8c601383612bc6565b9150613f9782613f56565b602082019050919050565b60006020820190508181036000830152613fbb81613f7f565b9050919050565b6000602082019050613fd760008301846132c1565b92915050565b600081549050919050565b60008190508160005260206000209050919050565b60008160001c9050919050565b6000819050919050565b600061402761402283613ffd565b61400a565b9050919050565b600061403a8254614014565b9050919050565b6000600182019050919050565b600061405982613fdd565b6140638185613111565b935061406e83613fe8565b8060005b838110156140a6576140838261402e565b61408d8882613141565b975061409883614041565b925050600181019050614072565b5085935050505092915050565b600060408201905081810360008301526140cd818561404e565b90506140dc6020830184612ad6565b9392505050565b7f496e76616c696420746f6b656e20696400000000000000000000000000000000600082015250565b6000614119601083612bc6565b9150614124826140e3565b602082019050919050565b600060208201905081810360008301526141488161410c565b9050919050565b7f4e6f7420616c6c6f7720746f207374617274206d696e74696e67000000000000600082015250565b6000614185601a83612bc6565b91506141908261414f565b602082019050919050565b600060208201905081810360008301526141b481614178565b9050919050565b6000815190506141ca81612a6a565b92915050565b6000602082840312156141e6576141e56129f8565b5b60006141f4848285016141bb565b91505092915050565b7f4e6f7420616c6c6f7720746f207061757365206d696e74696e67000000000000600082015250565b6000614233601a83612bc6565b915061423e826141fd565b602082019050919050565b6000602082019050818103600083015261426281614226565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006142c5602683612bc6565b91506142d082614269565b604082019050919050565b600060208201905081810360008301526142f4816142b8565b9050919050565b600061430682612a60565b915061431183612a60565b9250826143215761432061398f565b5b828206905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614388602183612bc6565b91506143938261432c565b604082019050919050565b600060208201905081810360008301526143b78161437b565b9050919050565b60006040820190506143d36000830185612ad6565b6143e06020830184612ad6565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614443602983612bc6565b915061444e826143e7565b604082019050919050565b6000602082019050818103600083015261447281614436565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006144d5602983612bc6565b91506144e082614479565b604082019050919050565b60006020820190508181036000830152614504816144c8565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006145328261450b565b61453c8185614516565b935061454c818560208601612bd7565b61455581612c0a565b840191505092915050565b600060a082019050614575600083018861322f565b614582602083018761322f565b61458f6040830186612ad6565b61459c6060830185612ad6565b81810360808301526145ae8184614527565b90509695505050505050565b6000815190506145c981612b2c565b92915050565b6000602082840312156145e5576145e46129f8565b5b60006145f3848285016145ba565b91505092915050565b60008160e01c9050919050565b600060033d11156146285760046000803e6146256000516145fc565b90505b90565b600060443d101561463b576146be565b6146436129ee565b60043d036004823e80513d602482011167ffffffffffffffff8211171561466b5750506146be565b808201805167ffffffffffffffff81111561468957505050506146be565b80602083010160043d0385018111156146a65750505050506146be565b6146b582602001850186612ebc565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061471d603483612bc6565b9150614728826146c1565b604082019050919050565b6000602082019050818103600083015261474c81614710565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006147af602883612bc6565b91506147ba82614753565b604082019050919050565b600060208201905081810360008301526147de816147a2565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614841602583612bc6565b915061484c826147e5565b604082019050919050565b6000602082019050818103600083015261487081614834565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006148d3602a83612bc6565b91506148de82614877565b604082019050919050565b60006020820190508181036000830152614902816148c6565b905091905056fea2646970667358221220e90be7708fe9b34d925d8a7edc50a68a29264eac03c60fd7f28c5c68c2d9192a64736f6c634300080b0033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d63437578534263756f34577365356976635566656e693368316f6669366b4671746d4b75636e56335076464d2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001d4a61636b706f7420526f79616c652076732048575320526f756e642d31000000000000000000000000000000000000000000000000000000000000000000000a4a50522d4857532d523100000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseUri (string): https://gateway.pinata.cloud/ipfs/QmcCuxSBcuo4Wse5ivcUfeni3h1ofi6kFqtmKucnV3PvFM/
Arg [1] : _name (string): Jackpot Royale vs HWS Round-1
Arg [2] : _symbol (string): JPR-HWS-R1

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [4] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [5] : 732f516d63437578534263756f34577365356976635566656e693368316f6669
Arg [6] : 366b4671746d4b75636e56335076464d2f000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [8] : 4a61636b706f7420526f79616c652076732048575320526f756e642d31000000
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [10] : 4a50522d4857532d523100000000000000000000000000000000000000000000


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.