ETH Price: $2,084.61 (-0.90%)

Contract

0x9f0dA414075f7952f1bdcF1B2F9cB0D8dAF8b9bD
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...236124352025-10-19 15:00:23146 days ago1760886023IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000080511.72579473
Set Approval For...235982482025-10-17 15:22:23148 days ago1760714543IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000137952.95694173
Set Approval For...233823002025-09-17 10:47:35178 days ago1758106055IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000059891.28146949
Set Approval For...230198652025-07-28 19:56:35229 days ago1753732595IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000026680.57193653
Set Approval For...227556032025-06-21 21:45:47265 days ago1750542347IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000406638.71567192
Set Approval For...225552802025-05-24 21:08:35294 days ago1748120915IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000044470.95334415
Set Approval For...223386582025-04-24 11:45:59324 days ago1745495159IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000059682.41210069
Safe Transfer Fr...220755632025-03-18 18:29:59361 days ago1742322599IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000052670.98353295
Set Approval For...208105552024-09-23 3:19:23537 days ago1727061563IN
0x9f0dA414...8dAF8b9bD
0 ETH0.0007200715.43363756
Set Approval For...206425712024-08-30 16:25:11561 days ago1725035111IN
0x9f0dA414...8dAF8b9bD
0 ETH0.00015453.31167027
Set Approval For...205102572024-08-12 4:50:35579 days ago1723438235IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000096572.06998283
Set Approval For...205101782024-08-12 4:34:35579 days ago1723437275IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000087321.8717687
Set Approval For...205073992024-08-11 19:16:23580 days ago1723403783IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000215414.61715547
Safe Transfer Fr...204453742024-08-03 3:37:47588 days ago1722656267IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000126672.36266442
Safe Transfer Fr...204232562024-07-31 1:29:35591 days ago1722389375IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000383897.15992697
Set Approval For...203302372024-07-18 1:50:11604 days ago1721267411IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000224524.81226811
Set Approval For...202580412024-07-07 23:53:35614 days ago1720396415IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000087881.88362547
Set Approval For...202439142024-07-06 0:33:23616 days ago1720226003IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000060222.43393538
Set Approval For...202438982024-07-06 0:30:11616 days ago1720225811IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000109322.3431116
Safe Transfer Fr...202296022024-07-04 0:35:23618 days ago1720053323IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000085952.35469929
Set Approval For...202295782024-07-04 0:30:35618 days ago1720053035IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000141283.02819192
Set Approval For...202225792024-07-03 1:03:35619 days ago1719968615IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000117262.51341198
Safe Transfer Fr...202163432024-07-02 4:07:23620 days ago1719893243IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000185623.46281518
Safe Transfer Fr...202104722024-07-01 8:27:47621 days ago1719822467IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000222523.80391177
Safe Transfer Fr...202063272024-06-30 18:35:23622 days ago1719772523IN
0x9f0dA414...8dAF8b9bD
0 ETH0.000132983.71720558
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
KittyKartRollKall

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
//  ________  ________  ___       ___       ___  __    ________  ___       ___
// |\   __  \|\   __  \|\  \     |\  \     |\  \|\  \ |\   __  \|\  \     |\  \
// \ \  \|\  \ \  \|\  \ \  \    \ \  \    \ \  \/  /|\ \  \|\  \ \  \    \ \  \
//  \ \   _  _\ \  \\\  \ \  \    \ \  \    \ \   ___  \ \   __  \ \  \    \ \  \
//   \ \  \\  \\ \  \\\  \ \  \____\ \  \____\ \  \\ \  \ \  \ \  \ \  \____\ \  \____
//    \ \__\\ _\\ \_______\ \_______\ \_______\ \__\\ \__\ \__\ \__\ \_______\ \_______\
//     \|__|\|__|\|_______|\|_______|\|_______|\|__| \|__|\|__|\|__|\|_______|\|_______|
//
// RollKall
//
// by Kitty Kart
//
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract KittyKartRollKall is ERC1155, ERC2981, Ownable, Pausable {
    uint256 public constant MAX_SUPPLY = 999;
    uint256 public supply;
    string public constant NAME = "KittyKart RollKall";
    string public constant SYMBOL = "RollKall";
    bytes32 public whitelistMerkleRoot;
    bool public isPublicMint = false;

    mapping(address => bool) public hasClaimed;

    constructor() ERC1155("") {
        _setDefaultRoyalty(address(0x032167473a2A2996754481A26c778Ec4570B2d18), 1000);
    }

    /// @dev set tokenURI
    function setURI(string memory newuri) public onlyOwner {
        _setURI(newuri);
    }

    /// @dev pause contract
    function pause() public onlyOwner {
        _pause();
    }

    /// @dev unpause contract
    function unpause() public onlyOwner {
        _unpause();
    }

    /// @dev set merkle tree root for whitelisted users
    function setWhitelistMerkleRoot(bytes32 _whitelistMerkleRoot) external onlyOwner {
        whitelistMerkleRoot = _whitelistMerkleRoot;
    }

    /// @dev start public mint
    function setIsPublicMint(bool _isPublic) external onlyOwner {
        isPublicMint = _isPublic;
    }

    /// @dev mint rollkall
    function mint(bytes32[] calldata merkleProof) external whenNotPaused {
        require(supply < MAX_SUPPLY, "reached max supply!");
        require(hasClaimed[msg.sender] == false, "can only mint 1 per wallet!");

        if (!isPublicMint) {
            bytes32 node = keccak256(abi.encodePacked(msg.sender));
            bool isWhitelistVerified = MerkleProof.verify(merkleProof, whitelistMerkleRoot, node);
            require(isWhitelistVerified, "whitelisted users only!");
        }

        hasClaimed[msg.sender] = true;
        supply += 1;
        _mint(msg.sender, 0, 1, "");
    }

    /// @dev set royalty receiver and fee
    function setRoyaltyInfo(address receiver, uint96 feeBasisPoints) external onlyOwner {
        _setDefaultRoyalty(receiver, feeBasisPoints);
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC1155, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    function name() public pure returns (string memory) {
        return NAME;
    }

    function symbol() public pure returns (string memory) {
        return SYMBOL;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

        return array;
    }
}

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

// 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"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYMBOL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublic","type":"bool"}],"name":"setIsPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}]

60806040526000600860006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b50604051806020016040528060008152506200004e81620000b860201b60201c565b506200006f62000063620000d460201b60201c565b620000dc60201b60201c565b6000600560146101000a81548160ff021916908315150217905550620000b273032167473a2a2996754481a26c778ec4570b2d186103e8620001a260201b60201c565b62000580565b8060029080519060200190620000d092919062000350565b5050565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001b26200034660201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000213576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200020a9062000487565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000286576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200027d90620004f9565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600360008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b8280546200035e906200054a565b90600052602060002090601f016020900481019282620003825760008555620003ce565b82601f106200039d57805160ff1916838001178555620003ce565b82800160010185558215620003ce579182015b82811115620003cd578251825591602001919060010190620003b0565b5b509050620003dd9190620003e1565b5090565b5b80821115620003fc576000816000905550600101620003e2565b5090565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006200046f602a8362000400565b91506200047c8262000411565b604082019050919050565b60006020820190508181036000830152620004a28162000460565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000620004e160198362000400565b9150620004ee82620004a9565b602082019050919050565b600060208201905081810360008301526200051481620004d2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200056357607f821691505b602082108114156200057a57620005796200051b565b5b50919050565b6140d880620005906000396000f3fe608060405234801561001057600080fd5b50600436106101ce5760003560e01c80635c975abb11610104578063a3f4df7e116100a2578063e985e9c511610071578063e985e9c5146104e4578063f242432a14610514578063f2fde38b14610530578063f76f8d781461054c576101ce565b8063a3f4df7e14610470578063aa98e0c61461048e578063b77a147b146104ac578063bd32fb66146104c8576101ce565b80638456cb59116100de5780638456cb591461040e5780638da5cb5b1461041857806395d89b4114610436578063a22cb46514610454576101ce565b80635c975abb146103b6578063715018a6146103d457806373b2e80e146103de576101ce565b8063203c4ed7116101715780633057931f1161014b5780633057931f1461034057806332cb6b0c1461035e5780633f4ba83a1461037c5780634e1273f414610386576101ce565b8063203c4ed7146102d75780632a55205a146102f35780632eb2c2d614610324576101ce565b806302fe5305116101ad57806302fe53051461024f578063047fc9aa1461026b57806306fdde03146102895780630e89341c146102a7576101ce565b8062fdd58e146101d357806301ffc9a71461020357806302fa7c4714610233575b600080fd5b6101ed60048036038101906101e89190612616565b61056a565b6040516101fa9190612665565b60405180910390f35b61021d600480360381019061021891906126d8565b610633565b60405161022a9190612720565b60405180910390f35b61024d6004803603810190610248919061277f565b610645565b005b61026960048036038101906102649190612905565b61065b565b005b61027361066f565b6040516102809190612665565b60405180910390f35b610291610675565b60405161029e91906129d6565b60405180910390f35b6102c160048036038101906102bc91906129f8565b6106b2565b6040516102ce91906129d6565b60405180910390f35b6102f160048036038101906102ec9190612a51565b610746565b005b61030d60048036038101906103089190612a7e565b61076b565b60405161031b929190612acd565b60405180910390f35b61033e60048036038101906103399190612c5f565b610956565b005b6103486109f7565b6040516103559190612720565b60405180910390f35b610366610a0a565b6040516103739190612665565b60405180910390f35b610384610a10565b005b6103a0600480360381019061039b9190612df1565b610a22565b6040516103ad9190612f27565b60405180910390f35b6103be610b3b565b6040516103cb9190612720565b60405180910390f35b6103dc610b52565b005b6103f860048036038101906103f39190612f49565b610b66565b6040516104059190612720565b60405180910390f35b610416610b86565b005b610420610b98565b60405161042d9190612f76565b60405180910390f35b61043e610bc2565b60405161044b91906129d6565b60405180910390f35b61046e60048036038101906104699190612f91565b610bff565b005b610478610c15565b60405161048591906129d6565b60405180910390f35b610496610c4e565b6040516104a39190612fea565b60405180910390f35b6104c660048036038101906104c19190613060565b610c54565b005b6104e260048036038101906104dd91906130d9565b610e9c565b005b6104fe60048036038101906104f99190613106565b610eae565b60405161050b9190612720565b60405180910390f35b61052e60048036038101906105299190613146565b610f42565b005b61054a60048036038101906105459190612f49565b610fe3565b005b610554611067565b60405161056191906129d6565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d29061324f565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061063e826110a0565b9050919050565b61064d61111a565b6106578282611198565b5050565b61066361111a565b61066c8161132e565b50565b60065481565b60606040518060400160405280601281526020017f4b697474794b61727420526f6c6c4b616c6c0000000000000000000000000000815250905090565b6060600280546106c19061329e565b80601f01602080910402602001604051908101604052809291908181526020018280546106ed9061329e565b801561073a5780601f1061070f5761010080835404028352916020019161073a565b820191906000526020600020905b81548152906001019060200180831161071d57829003601f168201915b50505050509050919050565b61074e61111a565b80600860006101000a81548160ff02191690831515021790555050565b6000806000600460008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156109015760036040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061090b611348565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661093791906132ff565b6109419190613388565b90508160000151819350935050509250929050565b61095e611352565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806109a457506109a38561099e611352565b610eae565b5b6109e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109da9061342b565b60405180910390fd5b6109f0858585858561135a565b5050505050565b600860009054906101000a900460ff1681565b6103e781565b610a1861111a565b610a2061167c565b565b60608151835114610a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5f906134bd565b60405180910390fd5b6000835167ffffffffffffffff811115610a8557610a846127da565b5b604051908082528060200260200182016040528015610ab35781602001602082028036833780820191505090505b50905060005b8451811015610b3057610b00858281518110610ad857610ad76134dd565b5b6020026020010151858381518110610af357610af26134dd565b5b602002602001015161056a565b828281518110610b1357610b126134dd565b5b60200260200101818152505080610b299061350c565b9050610ab9565b508091505092915050565b6000600560149054906101000a900460ff16905090565b610b5a61111a565b610b6460006116df565b565b60096020528060005260406000206000915054906101000a900460ff1681565b610b8e61111a565b610b966117a5565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606040518060400160405280600881526020017f526f6c6c4b616c6c000000000000000000000000000000000000000000000000815250905090565b610c11610c0a611352565b8383611808565b5050565b6040518060400160405280601281526020017f4b697474794b61727420526f6c6c4b616c6c000000000000000000000000000081525081565b60075481565b610c5c611975565b6103e760065410610ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c99906135a1565b60405180910390fd5b60001515600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2c9061360d565b60405180910390fd5b600860009054906101000a900460ff16610e0957600033604051602001610d5c9190613675565b6040516020818303038152906040528051906020012090506000610dc4848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600754846119bf565b905080610e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfd906136dc565b60405180910390fd5b50505b6001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160066000828254610e7491906136fc565b92505081905550610e983360006001604051806020016040528060008152506119d6565b5050565b610ea461111a565b8060078190555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f4a611352565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610f905750610f8f85610f8a611352565b610eae565b5b610fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc69061342b565b60405180910390fd5b610fdc8585858585611b87565b5050505050565b610feb61111a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561105b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611052906137c4565b60405180910390fd5b611064816116df565b50565b6040518060400160405280600881526020017f526f6c6c4b616c6c00000000000000000000000000000000000000000000000081525081565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611113575061111282611e23565b5b9050919050565b611122611352565b73ffffffffffffffffffffffffffffffffffffffff16611140610b98565b73ffffffffffffffffffffffffffffffffffffffff1614611196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118d90613830565b60405180910390fd5b565b6111a0611348565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f5906138c2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561126e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112659061392e565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600360008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b80600290805190602001906113449291906124cb565b5050565b6000612710905090565b600033905090565b815183511461139e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611395906139c0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590613a52565b60405180910390fd5b6000611418611352565b9050611428818787878787611f05565b60005b84518110156115d9576000858281518110611449576114486134dd565b5b602002602001015190506000858381518110611468576114676134dd565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090613ae4565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115be91906136fc565b92505081905550505050806115d29061350c565b905061142b565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611650929190613b04565b60405180910390a4611666818787878787611f0d565b611674818787878787611f15565b505050505050565b6116846120fc565b6000600560146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6116c8611352565b6040516116d59190612f76565b60405180910390a1565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6117ad611975565b6001600560146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117f1611352565b6040516117fe9190612f76565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186e90613bad565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119689190612720565b60405180910390a3505050565b61197d610b3b565b156119bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b490613c19565b60405180910390fd5b565b6000826119cc8584612145565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3d90613cab565b60405180910390fd5b6000611a50611352565b90506000611a5d8561219b565b90506000611a6a8561219b565b9050611a7b83600089858589611f05565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ada91906136fc565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611b58929190613ccb565b60405180910390a4611b6f83600089858589611f0d565b611b7e83600089898989612215565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bee90613a52565b60405180910390fd5b6000611c01611352565b90506000611c0e8561219b565b90506000611c1b8561219b565b9050611c2b838989858589611f05565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb990613ae4565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d7791906136fc565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611df4929190613ccb565b60405180910390a4611e0a848a8a86868a611f0d565b611e18848a8a8a8a8a612215565b505050505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611eee57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611efe5750611efd826123fc565b5b9050919050565b505050505050565b505050505050565b611f348473ffffffffffffffffffffffffffffffffffffffff16612466565b156120f4578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611f7a959493929190613d49565b602060405180830381600087803b158015611f9457600080fd5b505af1925050508015611fc557506040513d601f19601f82011682018060405250810190611fc29190613dc6565b60015b61206b57611fd1613e00565b806308c379a0141561202e5750611fe6613e22565b80611ff15750612030565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202591906129d6565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206290613f2a565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146120f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e990613fbc565b60405180910390fd5b505b505050505050565b612104610b3b565b612143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213a90614028565b60405180910390fd5b565b60008082905060005b84518110156121905761217b8286838151811061216e5761216d6134dd565b5b6020026020010151612489565b915080806121889061350c565b91505061214e565b508091505092915050565b60606000600167ffffffffffffffff8111156121ba576121b96127da565b5b6040519080825280602002602001820160405280156121e85781602001602082028036833780820191505090505b5090508281600081518110612200576121ff6134dd565b5b60200260200101818152505080915050919050565b6122348473ffffffffffffffffffffffffffffffffffffffff16612466565b156123f4578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161227a959493929190614048565b602060405180830381600087803b15801561229457600080fd5b505af19250505080156122c557506040513d601f19601f820116820180604052508101906122c29190613dc6565b60015b61236b576122d1613e00565b806308c379a0141561232e57506122e6613e22565b806122f15750612330565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232591906129d6565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236290613f2a565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146123f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e990613fbc565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008183106124a15761249c82846124b4565b6124ac565b6124ab83836124b4565b5b905092915050565b600082600052816020526040600020905092915050565b8280546124d79061329e565b90600052602060002090601f0160209004810192826124f95760008555612540565b82601f1061251257805160ff1916838001178555612540565b82800160010185558215612540579182015b8281111561253f578251825591602001919060010190612524565b5b50905061254d9190612551565b5090565b5b8082111561256a576000816000905550600101612552565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125ad82612582565b9050919050565b6125bd816125a2565b81146125c857600080fd5b50565b6000813590506125da816125b4565b92915050565b6000819050919050565b6125f3816125e0565b81146125fe57600080fd5b50565b600081359050612610816125ea565b92915050565b6000806040838503121561262d5761262c612578565b5b600061263b858286016125cb565b925050602061264c85828601612601565b9150509250929050565b61265f816125e0565b82525050565b600060208201905061267a6000830184612656565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126b581612680565b81146126c057600080fd5b50565b6000813590506126d2816126ac565b92915050565b6000602082840312156126ee576126ed612578565b5b60006126fc848285016126c3565b91505092915050565b60008115159050919050565b61271a81612705565b82525050565b60006020820190506127356000830184612711565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61275c8161273b565b811461276757600080fd5b50565b60008135905061277981612753565b92915050565b6000806040838503121561279657612795612578565b5b60006127a4858286016125cb565b92505060206127b58582860161276a565b9150509250929050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612812826127c9565b810181811067ffffffffffffffff82111715612831576128306127da565b5b80604052505050565b600061284461256e565b90506128508282612809565b919050565b600067ffffffffffffffff8211156128705761286f6127da565b5b612879826127c9565b9050602081019050919050565b82818337600083830152505050565b60006128a86128a384612855565b61283a565b9050828152602081018484840111156128c4576128c36127c4565b5b6128cf848285612886565b509392505050565b600082601f8301126128ec576128eb6127bf565b5b81356128fc848260208601612895565b91505092915050565b60006020828403121561291b5761291a612578565b5b600082013567ffffffffffffffff8111156129395761293861257d565b5b612945848285016128d7565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561298857808201518184015260208101905061296d565b83811115612997576000848401525b50505050565b60006129a88261294e565b6129b28185612959565b93506129c281856020860161296a565b6129cb816127c9565b840191505092915050565b600060208201905081810360008301526129f0818461299d565b905092915050565b600060208284031215612a0e57612a0d612578565b5b6000612a1c84828501612601565b91505092915050565b612a2e81612705565b8114612a3957600080fd5b50565b600081359050612a4b81612a25565b92915050565b600060208284031215612a6757612a66612578565b5b6000612a7584828501612a3c565b91505092915050565b60008060408385031215612a9557612a94612578565b5b6000612aa385828601612601565b9250506020612ab485828601612601565b9150509250929050565b612ac7816125a2565b82525050565b6000604082019050612ae26000830185612abe565b612aef6020830184612656565b9392505050565b600067ffffffffffffffff821115612b1157612b106127da565b5b602082029050602081019050919050565b600080fd5b6000612b3a612b3584612af6565b61283a565b90508083825260208201905060208402830185811115612b5d57612b5c612b22565b5b835b81811015612b865780612b728882612601565b845260208401935050602081019050612b5f565b5050509392505050565b600082601f830112612ba557612ba46127bf565b5b8135612bb5848260208601612b27565b91505092915050565b600067ffffffffffffffff821115612bd957612bd86127da565b5b612be2826127c9565b9050602081019050919050565b6000612c02612bfd84612bbe565b61283a565b905082815260208101848484011115612c1e57612c1d6127c4565b5b612c29848285612886565b509392505050565b600082601f830112612c4657612c456127bf565b5b8135612c56848260208601612bef565b91505092915050565b600080600080600060a08688031215612c7b57612c7a612578565b5b6000612c89888289016125cb565b9550506020612c9a888289016125cb565b945050604086013567ffffffffffffffff811115612cbb57612cba61257d565b5b612cc788828901612b90565b935050606086013567ffffffffffffffff811115612ce857612ce761257d565b5b612cf488828901612b90565b925050608086013567ffffffffffffffff811115612d1557612d1461257d565b5b612d2188828901612c31565b9150509295509295909350565b600067ffffffffffffffff821115612d4957612d486127da565b5b602082029050602081019050919050565b6000612d6d612d6884612d2e565b61283a565b90508083825260208201905060208402830185811115612d9057612d8f612b22565b5b835b81811015612db95780612da588826125cb565b845260208401935050602081019050612d92565b5050509392505050565b600082601f830112612dd857612dd76127bf565b5b8135612de8848260208601612d5a565b91505092915050565b60008060408385031215612e0857612e07612578565b5b600083013567ffffffffffffffff811115612e2657612e2561257d565b5b612e3285828601612dc3565b925050602083013567ffffffffffffffff811115612e5357612e5261257d565b5b612e5f85828601612b90565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612e9e816125e0565b82525050565b6000612eb08383612e95565b60208301905092915050565b6000602082019050919050565b6000612ed482612e69565b612ede8185612e74565b9350612ee983612e85565b8060005b83811015612f1a578151612f018882612ea4565b9750612f0c83612ebc565b925050600181019050612eed565b5085935050505092915050565b60006020820190508181036000830152612f418184612ec9565b905092915050565b600060208284031215612f5f57612f5e612578565b5b6000612f6d848285016125cb565b91505092915050565b6000602082019050612f8b6000830184612abe565b92915050565b60008060408385031215612fa857612fa7612578565b5b6000612fb6858286016125cb565b9250506020612fc785828601612a3c565b9150509250929050565b6000819050919050565b612fe481612fd1565b82525050565b6000602082019050612fff6000830184612fdb565b92915050565b600080fd5b60008083601f8401126130205761301f6127bf565b5b8235905067ffffffffffffffff81111561303d5761303c613005565b5b60208301915083602082028301111561305957613058612b22565b5b9250929050565b6000806020838503121561307757613076612578565b5b600083013567ffffffffffffffff8111156130955761309461257d565b5b6130a18582860161300a565b92509250509250929050565b6130b681612fd1565b81146130c157600080fd5b50565b6000813590506130d3816130ad565b92915050565b6000602082840312156130ef576130ee612578565b5b60006130fd848285016130c4565b91505092915050565b6000806040838503121561311d5761311c612578565b5b600061312b858286016125cb565b925050602061313c858286016125cb565b9150509250929050565b600080600080600060a0868803121561316257613161612578565b5b6000613170888289016125cb565b9550506020613181888289016125cb565b945050604061319288828901612601565b93505060606131a388828901612601565b925050608086013567ffffffffffffffff8111156131c4576131c361257d565b5b6131d088828901612c31565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613239602a83612959565b9150613244826131dd565b604082019050919050565b600060208201905081810360008301526132688161322c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806132b657607f821691505b602082108114156132ca576132c961326f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061330a826125e0565b9150613315836125e0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561334e5761334d6132d0565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613393826125e0565b915061339e836125e0565b9250826133ae576133ad613359565b5b828204905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613415602e83612959565b9150613420826133b9565b604082019050919050565b6000602082019050818103600083015261344481613408565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006134a7602983612959565b91506134b28261344b565b604082019050919050565b600060208201905081810360008301526134d68161349a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613517826125e0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561354a576135496132d0565b5b600182019050919050565b7f72656163686564206d617820737570706c792100000000000000000000000000600082015250565b600061358b601383612959565b915061359682613555565b602082019050919050565b600060208201905081810360008301526135ba8161357e565b9050919050565b7f63616e206f6e6c79206d696e742031207065722077616c6c6574210000000000600082015250565b60006135f7601b83612959565b9150613602826135c1565b602082019050919050565b60006020820190508181036000830152613626816135ea565b9050919050565b60008160601b9050919050565b60006136458261362d565b9050919050565b60006136578261363a565b9050919050565b61366f61366a826125a2565b61364c565b82525050565b6000613681828461365e565b60148201915081905092915050565b7f77686974656c6973746564207573657273206f6e6c7921000000000000000000600082015250565b60006136c6601783612959565b91506136d182613690565b602082019050919050565b600060208201905081810360008301526136f5816136b9565b9050919050565b6000613707826125e0565b9150613712836125e0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613747576137466132d0565b5b828201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006137ae602683612959565b91506137b982613752565b604082019050919050565b600060208201905081810360008301526137dd816137a1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061381a602083612959565b9150613825826137e4565b602082019050919050565b600060208201905081810360008301526138498161380d565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006138ac602a83612959565b91506138b782613850565b604082019050919050565b600060208201905081810360008301526138db8161389f565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000613918601983612959565b9150613923826138e2565b602082019050919050565b600060208201905081810360008301526139478161390b565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006139aa602883612959565b91506139b58261394e565b604082019050919050565b600060208201905081810360008301526139d98161399d565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613a3c602583612959565b9150613a47826139e0565b604082019050919050565b60006020820190508181036000830152613a6b81613a2f565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613ace602a83612959565b9150613ad982613a72565b604082019050919050565b60006020820190508181036000830152613afd81613ac1565b9050919050565b60006040820190508181036000830152613b1e8185612ec9565b90508181036020830152613b328184612ec9565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613b97602983612959565b9150613ba282613b3b565b604082019050919050565b60006020820190508181036000830152613bc681613b8a565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613c03601083612959565b9150613c0e82613bcd565b602082019050919050565b60006020820190508181036000830152613c3281613bf6565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c95602183612959565b9150613ca082613c39565b604082019050919050565b60006020820190508181036000830152613cc481613c88565b9050919050565b6000604082019050613ce06000830185612656565b613ced6020830184612656565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000613d1b82613cf4565b613d258185613cff565b9350613d3581856020860161296a565b613d3e816127c9565b840191505092915050565b600060a082019050613d5e6000830188612abe565b613d6b6020830187612abe565b8181036040830152613d7d8186612ec9565b90508181036060830152613d918185612ec9565b90508181036080830152613da58184613d10565b90509695505050505050565b600081519050613dc0816126ac565b92915050565b600060208284031215613ddc57613ddb612578565b5b6000613dea84828501613db1565b91505092915050565b60008160e01c9050919050565b600060033d1115613e1f5760046000803e613e1c600051613df3565b90505b90565b600060443d1015613e3257613eb5565b613e3a61256e565b60043d036004823e80513d602482011167ffffffffffffffff82111715613e62575050613eb5565b808201805167ffffffffffffffff811115613e805750505050613eb5565b80602083010160043d038501811115613e9d575050505050613eb5565b613eac82602001850186612809565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613f14603483612959565b9150613f1f82613eb8565b604082019050919050565b60006020820190508181036000830152613f4381613f07565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613fa6602883612959565b9150613fb182613f4a565b604082019050919050565b60006020820190508181036000830152613fd581613f99565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614012601483612959565b915061401d82613fdc565b602082019050919050565b6000602082019050818103600083015261404181614005565b9050919050565b600060a08201905061405d6000830188612abe565b61406a6020830187612abe565b6140776040830186612656565b6140846060830185612656565b81810360808301526140968184613d10565b9050969550505050505056fea2646970667358221220bd2fc97795fce40fcdad10b6afbc2400f31baccbab11338a0dbc4ab721213ab264736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101ce5760003560e01c80635c975abb11610104578063a3f4df7e116100a2578063e985e9c511610071578063e985e9c5146104e4578063f242432a14610514578063f2fde38b14610530578063f76f8d781461054c576101ce565b8063a3f4df7e14610470578063aa98e0c61461048e578063b77a147b146104ac578063bd32fb66146104c8576101ce565b80638456cb59116100de5780638456cb591461040e5780638da5cb5b1461041857806395d89b4114610436578063a22cb46514610454576101ce565b80635c975abb146103b6578063715018a6146103d457806373b2e80e146103de576101ce565b8063203c4ed7116101715780633057931f1161014b5780633057931f1461034057806332cb6b0c1461035e5780633f4ba83a1461037c5780634e1273f414610386576101ce565b8063203c4ed7146102d75780632a55205a146102f35780632eb2c2d614610324576101ce565b806302fe5305116101ad57806302fe53051461024f578063047fc9aa1461026b57806306fdde03146102895780630e89341c146102a7576101ce565b8062fdd58e146101d357806301ffc9a71461020357806302fa7c4714610233575b600080fd5b6101ed60048036038101906101e89190612616565b61056a565b6040516101fa9190612665565b60405180910390f35b61021d600480360381019061021891906126d8565b610633565b60405161022a9190612720565b60405180910390f35b61024d6004803603810190610248919061277f565b610645565b005b61026960048036038101906102649190612905565b61065b565b005b61027361066f565b6040516102809190612665565b60405180910390f35b610291610675565b60405161029e91906129d6565b60405180910390f35b6102c160048036038101906102bc91906129f8565b6106b2565b6040516102ce91906129d6565b60405180910390f35b6102f160048036038101906102ec9190612a51565b610746565b005b61030d60048036038101906103089190612a7e565b61076b565b60405161031b929190612acd565b60405180910390f35b61033e60048036038101906103399190612c5f565b610956565b005b6103486109f7565b6040516103559190612720565b60405180910390f35b610366610a0a565b6040516103739190612665565b60405180910390f35b610384610a10565b005b6103a0600480360381019061039b9190612df1565b610a22565b6040516103ad9190612f27565b60405180910390f35b6103be610b3b565b6040516103cb9190612720565b60405180910390f35b6103dc610b52565b005b6103f860048036038101906103f39190612f49565b610b66565b6040516104059190612720565b60405180910390f35b610416610b86565b005b610420610b98565b60405161042d9190612f76565b60405180910390f35b61043e610bc2565b60405161044b91906129d6565b60405180910390f35b61046e60048036038101906104699190612f91565b610bff565b005b610478610c15565b60405161048591906129d6565b60405180910390f35b610496610c4e565b6040516104a39190612fea565b60405180910390f35b6104c660048036038101906104c19190613060565b610c54565b005b6104e260048036038101906104dd91906130d9565b610e9c565b005b6104fe60048036038101906104f99190613106565b610eae565b60405161050b9190612720565b60405180910390f35b61052e60048036038101906105299190613146565b610f42565b005b61054a60048036038101906105459190612f49565b610fe3565b005b610554611067565b60405161056191906129d6565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d29061324f565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061063e826110a0565b9050919050565b61064d61111a565b6106578282611198565b5050565b61066361111a565b61066c8161132e565b50565b60065481565b60606040518060400160405280601281526020017f4b697474794b61727420526f6c6c4b616c6c0000000000000000000000000000815250905090565b6060600280546106c19061329e565b80601f01602080910402602001604051908101604052809291908181526020018280546106ed9061329e565b801561073a5780601f1061070f5761010080835404028352916020019161073a565b820191906000526020600020905b81548152906001019060200180831161071d57829003601f168201915b50505050509050919050565b61074e61111a565b80600860006101000a81548160ff02191690831515021790555050565b6000806000600460008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156109015760036040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061090b611348565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661093791906132ff565b6109419190613388565b90508160000151819350935050509250929050565b61095e611352565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806109a457506109a38561099e611352565b610eae565b5b6109e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109da9061342b565b60405180910390fd5b6109f0858585858561135a565b5050505050565b600860009054906101000a900460ff1681565b6103e781565b610a1861111a565b610a2061167c565b565b60608151835114610a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5f906134bd565b60405180910390fd5b6000835167ffffffffffffffff811115610a8557610a846127da565b5b604051908082528060200260200182016040528015610ab35781602001602082028036833780820191505090505b50905060005b8451811015610b3057610b00858281518110610ad857610ad76134dd565b5b6020026020010151858381518110610af357610af26134dd565b5b602002602001015161056a565b828281518110610b1357610b126134dd565b5b60200260200101818152505080610b299061350c565b9050610ab9565b508091505092915050565b6000600560149054906101000a900460ff16905090565b610b5a61111a565b610b6460006116df565b565b60096020528060005260406000206000915054906101000a900460ff1681565b610b8e61111a565b610b966117a5565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606040518060400160405280600881526020017f526f6c6c4b616c6c000000000000000000000000000000000000000000000000815250905090565b610c11610c0a611352565b8383611808565b5050565b6040518060400160405280601281526020017f4b697474794b61727420526f6c6c4b616c6c000000000000000000000000000081525081565b60075481565b610c5c611975565b6103e760065410610ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c99906135a1565b60405180910390fd5b60001515600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2c9061360d565b60405180910390fd5b600860009054906101000a900460ff16610e0957600033604051602001610d5c9190613675565b6040516020818303038152906040528051906020012090506000610dc4848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600754846119bf565b905080610e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfd906136dc565b60405180910390fd5b50505b6001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160066000828254610e7491906136fc565b92505081905550610e983360006001604051806020016040528060008152506119d6565b5050565b610ea461111a565b8060078190555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f4a611352565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610f905750610f8f85610f8a611352565b610eae565b5b610fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc69061342b565b60405180910390fd5b610fdc8585858585611b87565b5050505050565b610feb61111a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561105b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611052906137c4565b60405180910390fd5b611064816116df565b50565b6040518060400160405280600881526020017f526f6c6c4b616c6c00000000000000000000000000000000000000000000000081525081565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611113575061111282611e23565b5b9050919050565b611122611352565b73ffffffffffffffffffffffffffffffffffffffff16611140610b98565b73ffffffffffffffffffffffffffffffffffffffff1614611196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118d90613830565b60405180910390fd5b565b6111a0611348565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f5906138c2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561126e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112659061392e565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600360008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b80600290805190602001906113449291906124cb565b5050565b6000612710905090565b600033905090565b815183511461139e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611395906139c0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590613a52565b60405180910390fd5b6000611418611352565b9050611428818787878787611f05565b60005b84518110156115d9576000858281518110611449576114486134dd565b5b602002602001015190506000858381518110611468576114676134dd565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090613ae4565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115be91906136fc565b92505081905550505050806115d29061350c565b905061142b565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611650929190613b04565b60405180910390a4611666818787878787611f0d565b611674818787878787611f15565b505050505050565b6116846120fc565b6000600560146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6116c8611352565b6040516116d59190612f76565b60405180910390a1565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6117ad611975565b6001600560146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117f1611352565b6040516117fe9190612f76565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186e90613bad565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119689190612720565b60405180910390a3505050565b61197d610b3b565b156119bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b490613c19565b60405180910390fd5b565b6000826119cc8584612145565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3d90613cab565b60405180910390fd5b6000611a50611352565b90506000611a5d8561219b565b90506000611a6a8561219b565b9050611a7b83600089858589611f05565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ada91906136fc565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611b58929190613ccb565b60405180910390a4611b6f83600089858589611f0d565b611b7e83600089898989612215565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bee90613a52565b60405180910390fd5b6000611c01611352565b90506000611c0e8561219b565b90506000611c1b8561219b565b9050611c2b838989858589611f05565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb990613ae4565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d7791906136fc565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611df4929190613ccb565b60405180910390a4611e0a848a8a86868a611f0d565b611e18848a8a8a8a8a612215565b505050505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611eee57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611efe5750611efd826123fc565b5b9050919050565b505050505050565b505050505050565b611f348473ffffffffffffffffffffffffffffffffffffffff16612466565b156120f4578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611f7a959493929190613d49565b602060405180830381600087803b158015611f9457600080fd5b505af1925050508015611fc557506040513d601f19601f82011682018060405250810190611fc29190613dc6565b60015b61206b57611fd1613e00565b806308c379a0141561202e5750611fe6613e22565b80611ff15750612030565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202591906129d6565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206290613f2a565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146120f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e990613fbc565b60405180910390fd5b505b505050505050565b612104610b3b565b612143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213a90614028565b60405180910390fd5b565b60008082905060005b84518110156121905761217b8286838151811061216e5761216d6134dd565b5b6020026020010151612489565b915080806121889061350c565b91505061214e565b508091505092915050565b60606000600167ffffffffffffffff8111156121ba576121b96127da565b5b6040519080825280602002602001820160405280156121e85781602001602082028036833780820191505090505b5090508281600081518110612200576121ff6134dd565b5b60200260200101818152505080915050919050565b6122348473ffffffffffffffffffffffffffffffffffffffff16612466565b156123f4578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161227a959493929190614048565b602060405180830381600087803b15801561229457600080fd5b505af19250505080156122c557506040513d601f19601f820116820180604052508101906122c29190613dc6565b60015b61236b576122d1613e00565b806308c379a0141561232e57506122e6613e22565b806122f15750612330565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232591906129d6565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236290613f2a565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146123f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e990613fbc565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008183106124a15761249c82846124b4565b6124ac565b6124ab83836124b4565b5b905092915050565b600082600052816020526040600020905092915050565b8280546124d79061329e565b90600052602060002090601f0160209004810192826124f95760008555612540565b82601f1061251257805160ff1916838001178555612540565b82800160010185558215612540579182015b8281111561253f578251825591602001919060010190612524565b5b50905061254d9190612551565b5090565b5b8082111561256a576000816000905550600101612552565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125ad82612582565b9050919050565b6125bd816125a2565b81146125c857600080fd5b50565b6000813590506125da816125b4565b92915050565b6000819050919050565b6125f3816125e0565b81146125fe57600080fd5b50565b600081359050612610816125ea565b92915050565b6000806040838503121561262d5761262c612578565b5b600061263b858286016125cb565b925050602061264c85828601612601565b9150509250929050565b61265f816125e0565b82525050565b600060208201905061267a6000830184612656565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126b581612680565b81146126c057600080fd5b50565b6000813590506126d2816126ac565b92915050565b6000602082840312156126ee576126ed612578565b5b60006126fc848285016126c3565b91505092915050565b60008115159050919050565b61271a81612705565b82525050565b60006020820190506127356000830184612711565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61275c8161273b565b811461276757600080fd5b50565b60008135905061277981612753565b92915050565b6000806040838503121561279657612795612578565b5b60006127a4858286016125cb565b92505060206127b58582860161276a565b9150509250929050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612812826127c9565b810181811067ffffffffffffffff82111715612831576128306127da565b5b80604052505050565b600061284461256e565b90506128508282612809565b919050565b600067ffffffffffffffff8211156128705761286f6127da565b5b612879826127c9565b9050602081019050919050565b82818337600083830152505050565b60006128a86128a384612855565b61283a565b9050828152602081018484840111156128c4576128c36127c4565b5b6128cf848285612886565b509392505050565b600082601f8301126128ec576128eb6127bf565b5b81356128fc848260208601612895565b91505092915050565b60006020828403121561291b5761291a612578565b5b600082013567ffffffffffffffff8111156129395761293861257d565b5b612945848285016128d7565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561298857808201518184015260208101905061296d565b83811115612997576000848401525b50505050565b60006129a88261294e565b6129b28185612959565b93506129c281856020860161296a565b6129cb816127c9565b840191505092915050565b600060208201905081810360008301526129f0818461299d565b905092915050565b600060208284031215612a0e57612a0d612578565b5b6000612a1c84828501612601565b91505092915050565b612a2e81612705565b8114612a3957600080fd5b50565b600081359050612a4b81612a25565b92915050565b600060208284031215612a6757612a66612578565b5b6000612a7584828501612a3c565b91505092915050565b60008060408385031215612a9557612a94612578565b5b6000612aa385828601612601565b9250506020612ab485828601612601565b9150509250929050565b612ac7816125a2565b82525050565b6000604082019050612ae26000830185612abe565b612aef6020830184612656565b9392505050565b600067ffffffffffffffff821115612b1157612b106127da565b5b602082029050602081019050919050565b600080fd5b6000612b3a612b3584612af6565b61283a565b90508083825260208201905060208402830185811115612b5d57612b5c612b22565b5b835b81811015612b865780612b728882612601565b845260208401935050602081019050612b5f565b5050509392505050565b600082601f830112612ba557612ba46127bf565b5b8135612bb5848260208601612b27565b91505092915050565b600067ffffffffffffffff821115612bd957612bd86127da565b5b612be2826127c9565b9050602081019050919050565b6000612c02612bfd84612bbe565b61283a565b905082815260208101848484011115612c1e57612c1d6127c4565b5b612c29848285612886565b509392505050565b600082601f830112612c4657612c456127bf565b5b8135612c56848260208601612bef565b91505092915050565b600080600080600060a08688031215612c7b57612c7a612578565b5b6000612c89888289016125cb565b9550506020612c9a888289016125cb565b945050604086013567ffffffffffffffff811115612cbb57612cba61257d565b5b612cc788828901612b90565b935050606086013567ffffffffffffffff811115612ce857612ce761257d565b5b612cf488828901612b90565b925050608086013567ffffffffffffffff811115612d1557612d1461257d565b5b612d2188828901612c31565b9150509295509295909350565b600067ffffffffffffffff821115612d4957612d486127da565b5b602082029050602081019050919050565b6000612d6d612d6884612d2e565b61283a565b90508083825260208201905060208402830185811115612d9057612d8f612b22565b5b835b81811015612db95780612da588826125cb565b845260208401935050602081019050612d92565b5050509392505050565b600082601f830112612dd857612dd76127bf565b5b8135612de8848260208601612d5a565b91505092915050565b60008060408385031215612e0857612e07612578565b5b600083013567ffffffffffffffff811115612e2657612e2561257d565b5b612e3285828601612dc3565b925050602083013567ffffffffffffffff811115612e5357612e5261257d565b5b612e5f85828601612b90565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612e9e816125e0565b82525050565b6000612eb08383612e95565b60208301905092915050565b6000602082019050919050565b6000612ed482612e69565b612ede8185612e74565b9350612ee983612e85565b8060005b83811015612f1a578151612f018882612ea4565b9750612f0c83612ebc565b925050600181019050612eed565b5085935050505092915050565b60006020820190508181036000830152612f418184612ec9565b905092915050565b600060208284031215612f5f57612f5e612578565b5b6000612f6d848285016125cb565b91505092915050565b6000602082019050612f8b6000830184612abe565b92915050565b60008060408385031215612fa857612fa7612578565b5b6000612fb6858286016125cb565b9250506020612fc785828601612a3c565b9150509250929050565b6000819050919050565b612fe481612fd1565b82525050565b6000602082019050612fff6000830184612fdb565b92915050565b600080fd5b60008083601f8401126130205761301f6127bf565b5b8235905067ffffffffffffffff81111561303d5761303c613005565b5b60208301915083602082028301111561305957613058612b22565b5b9250929050565b6000806020838503121561307757613076612578565b5b600083013567ffffffffffffffff8111156130955761309461257d565b5b6130a18582860161300a565b92509250509250929050565b6130b681612fd1565b81146130c157600080fd5b50565b6000813590506130d3816130ad565b92915050565b6000602082840312156130ef576130ee612578565b5b60006130fd848285016130c4565b91505092915050565b6000806040838503121561311d5761311c612578565b5b600061312b858286016125cb565b925050602061313c858286016125cb565b9150509250929050565b600080600080600060a0868803121561316257613161612578565b5b6000613170888289016125cb565b9550506020613181888289016125cb565b945050604061319288828901612601565b93505060606131a388828901612601565b925050608086013567ffffffffffffffff8111156131c4576131c361257d565b5b6131d088828901612c31565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613239602a83612959565b9150613244826131dd565b604082019050919050565b600060208201905081810360008301526132688161322c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806132b657607f821691505b602082108114156132ca576132c961326f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061330a826125e0565b9150613315836125e0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561334e5761334d6132d0565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613393826125e0565b915061339e836125e0565b9250826133ae576133ad613359565b5b828204905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613415602e83612959565b9150613420826133b9565b604082019050919050565b6000602082019050818103600083015261344481613408565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006134a7602983612959565b91506134b28261344b565b604082019050919050565b600060208201905081810360008301526134d68161349a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613517826125e0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561354a576135496132d0565b5b600182019050919050565b7f72656163686564206d617820737570706c792100000000000000000000000000600082015250565b600061358b601383612959565b915061359682613555565b602082019050919050565b600060208201905081810360008301526135ba8161357e565b9050919050565b7f63616e206f6e6c79206d696e742031207065722077616c6c6574210000000000600082015250565b60006135f7601b83612959565b9150613602826135c1565b602082019050919050565b60006020820190508181036000830152613626816135ea565b9050919050565b60008160601b9050919050565b60006136458261362d565b9050919050565b60006136578261363a565b9050919050565b61366f61366a826125a2565b61364c565b82525050565b6000613681828461365e565b60148201915081905092915050565b7f77686974656c6973746564207573657273206f6e6c7921000000000000000000600082015250565b60006136c6601783612959565b91506136d182613690565b602082019050919050565b600060208201905081810360008301526136f5816136b9565b9050919050565b6000613707826125e0565b9150613712836125e0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613747576137466132d0565b5b828201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006137ae602683612959565b91506137b982613752565b604082019050919050565b600060208201905081810360008301526137dd816137a1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061381a602083612959565b9150613825826137e4565b602082019050919050565b600060208201905081810360008301526138498161380d565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006138ac602a83612959565b91506138b782613850565b604082019050919050565b600060208201905081810360008301526138db8161389f565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000613918601983612959565b9150613923826138e2565b602082019050919050565b600060208201905081810360008301526139478161390b565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006139aa602883612959565b91506139b58261394e565b604082019050919050565b600060208201905081810360008301526139d98161399d565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613a3c602583612959565b9150613a47826139e0565b604082019050919050565b60006020820190508181036000830152613a6b81613a2f565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613ace602a83612959565b9150613ad982613a72565b604082019050919050565b60006020820190508181036000830152613afd81613ac1565b9050919050565b60006040820190508181036000830152613b1e8185612ec9565b90508181036020830152613b328184612ec9565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613b97602983612959565b9150613ba282613b3b565b604082019050919050565b60006020820190508181036000830152613bc681613b8a565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613c03601083612959565b9150613c0e82613bcd565b602082019050919050565b60006020820190508181036000830152613c3281613bf6565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c95602183612959565b9150613ca082613c39565b604082019050919050565b60006020820190508181036000830152613cc481613c88565b9050919050565b6000604082019050613ce06000830185612656565b613ced6020830184612656565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000613d1b82613cf4565b613d258185613cff565b9350613d3581856020860161296a565b613d3e816127c9565b840191505092915050565b600060a082019050613d5e6000830188612abe565b613d6b6020830187612abe565b8181036040830152613d7d8186612ec9565b90508181036060830152613d918185612ec9565b90508181036080830152613da58184613d10565b90509695505050505050565b600081519050613dc0816126ac565b92915050565b600060208284031215613ddc57613ddb612578565b5b6000613dea84828501613db1565b91505092915050565b60008160e01c9050919050565b600060033d1115613e1f5760046000803e613e1c600051613df3565b90505b90565b600060443d1015613e3257613eb5565b613e3a61256e565b60043d036004823e80513d602482011167ffffffffffffffff82111715613e62575050613eb5565b808201805167ffffffffffffffff811115613e805750505050613eb5565b80602083010160043d038501811115613e9d575050505050613eb5565b613eac82602001850186612809565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613f14603483612959565b9150613f1f82613eb8565b604082019050919050565b60006020820190508181036000830152613f4381613f07565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613fa6602883612959565b9150613fb182613f4a565b604082019050919050565b60006020820190508181036000830152613fd581613f99565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614012601483612959565b915061401d82613fdc565b602082019050919050565b6000602082019050818103600083015261404181614005565b9050919050565b600060a08201905061405d6000830188612abe565b61406a6020830187612abe565b6140776040830186612656565b6140846060830185612656565b81810360808301526140968184613d10565b9050969550505050505056fea2646970667358221220bd2fc97795fce40fcdad10b6afbc2400f31baccbab11338a0dbc4ab721213ab264736f6c63430008090033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.