ETH Price: $3,360.51 (-2.18%)

Token

NftyDreams DAO Dreamers (NDDD)
 

Overview

Max Total Supply

1,996 NDDD

Holders

1,371

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
NftyDreamersMintPass

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : NftyDreamsPROD.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Base64.sol";

contract NftyDreamersMintPass is ERC1155, Ownable {
    string private _name;
    string private _symbol;
    string private _merkleTreeInputURI;
    bytes32 private _merkleRoot;

    uint256 public _price;
    uint256 public _currentSupply;
    uint256 public _reservesMinted;
    uint256 public _reserveSupply = 500;
    uint256 public _maxSupplyLimit = 9500;
    uint256 public _totalSupply = 10000;
    uint256 public _maxPerWallet = 5;
    uint256 public _maxTermLimit = 5;
    bool public _isAllowListSaleActive = false;
    bool public _isPublicSaleActive = false;

    mapping(uint256 => string) public tokenURI;
    mapping(address => uint256) public minted;
    
    event AllowListSaleMinted(address indexed to, uint256 indexed term, uint256 amount);
    event PublicSaleMinted(address indexed to, uint256 indexed term, uint256 amount);
    event ReservesMinted(address indexed to, uint256 indexed term, uint256 amount);

    constructor() ERC1155("ipfs://ipfs/") {
        _name = "NftyDreams DAO Dreamers";
        _symbol = "NDDD";
        _price = 0.015 ether;
    }

    modifier mintCheck(
        uint256 term,
        uint256 amount,
        uint256 value
    ) {
        require(
            term <= _maxTermLimit,
            "Exceeding max term limit [max 5 terms]"
        );
        require(
            minted[msg.sender] + amount <= _maxPerWallet,
            "Exceeding max mint limit [max 5 per wallet]"
        );
        require(
            _currentSupply + amount <= _maxSupplyLimit + _reservesMinted,
            "Exceeding max supply limit [total - 9,500 + 500 (reserve)]"
        );
        require(
            value == (amount * term) * _price,
            "Ether value sent is incorrect"
        );
        _;
    }

    function mintPublic(uint256 term, uint256 amount)
        external
        payable
        mintCheck(term, amount, msg.value)
    {
        require(_isPublicSaleActive == true, "Public Sale not active");
        minted[msg.sender] += amount;
        _currentSupply += amount;
        _mint(msg.sender, term, amount, "");
        emit PublicSaleMinted(msg.sender, term, amount);
    }

    function mintAllowList(
        uint256 term,
        uint256 amount,
        bytes32[] calldata merkleProof
    ) external payable mintCheck(term, amount, msg.value) {
        require(_isAllowListSaleActive == true, "AllowList Sale not active");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(
            _checkEligibility(_merkleRoot, merkleProof, leaf) == true,
            "Address not eligible / Invalid merkle proof"
        );

        minted[msg.sender] += amount;
        _currentSupply += amount;
        _mint(msg.sender, term, amount, "");
        emit AllowListSaleMinted(msg.sender, term, amount);
    }

    function mintReserves(address to, uint256 term, uint256 amount)
        external
        onlyOwner
    {
        require(
            _reservesMinted + amount <= _reserveSupply,
            "Exceeding max reserve supply (max 500 tokens)"
        );
        minted[msg.sender] += amount;
        _reservesMinted += amount;
        _currentSupply += amount;
        _mint(to, term, amount, "");
        emit ReservesMinted(msg.sender, term, amount);
    }

    function checkAllowlistEligibility(
        address walletAddress,
        bytes32[] calldata merkleProof
    ) external view returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(walletAddress));
        bool eligibility = _checkEligibility(_merkleRoot, merkleProof, leaf);
        return eligibility;
    }

    function _checkEligibility(
        bytes32 merkleRoot,
        bytes32[] calldata merkleProof,
        bytes32 leaf
    ) internal pure returns (bool) {
        return (MerkleProof.verify(merkleProof, merkleRoot, leaf));
    }

    function mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts
    ) external onlyOwner {
        _mintBatch(to, ids, amounts, "");
    }

    function burn(uint256 _id, uint256 _amount) external {
        _burn(msg.sender, _id, _amount);
    }

    function burnBatch(uint256[] memory _ids, uint256[] memory _amounts)
        external
    {
        _burnBatch(msg.sender, _ids, _amounts);
    }

    function burnForMint(
        address _from,
        uint256[] memory _burnIds,
        uint256[] memory _burnAmounts,
        uint256[] memory _mintIds,
        uint256[] memory _mintAmounts
    ) external onlyOwner {
        _burnBatch(_from, _burnIds, _burnAmounts);
        _mintBatch(_from, _mintIds, _mintAmounts, "");
    }

    function setURI(uint256 id, string memory newURI) external onlyOwner {
        tokenURI[id] = newURI;
        emit URI(newURI, id);
    }

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

    function setMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        _merkleRoot = merkleRoot;
    }

    function getMerkleRoot() external view returns (bytes32) {
        return _merkleRoot;
    }

    function setMerkleTreeInput(string memory merkleTreeInput) external onlyOwner {
        _merkleTreeInputURI = merkleTreeInput;
    }

    function getMerkleTreeInput() external view returns (string memory) {
        return _merkleTreeInputURI;
    }

    function setPrice(uint256 price) external onlyOwner {
        _price = price;
    }

    function setWalletLimit(uint256 limit) external onlyOwner {
        _maxPerWallet = limit;
    }

    function setSaleStatus(bool publicSale, bool allowListSale)
        external
        onlyOwner
    {
        _isPublicSaleActive = publicSale;
        _isAllowListSaleActive = allowListSale;
    }

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

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

    function withdrawFunds() external onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }

    function recoverERC20(IERC20 tokenContract, address to) external onlyOwner {
        tokenContract.transfer(to, tokenContract.balanceOf(address(this)));
    }
}

File 2 of 13 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 4 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

        return array;
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * 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.
 */
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 proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _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}
     *
     * _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 the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _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}
     *
     * _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)
        }
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"term","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AllowListSaleMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"term","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PublicSaleMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"term","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReservesMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"_currentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isAllowListSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupplyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTermLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_reserveSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_reservesMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256[]","name":"_burnIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_burnAmounts","type":"uint256[]"},{"internalType":"uint256[]","name":"_mintIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_mintAmounts","type":"uint256[]"}],"name":"burnForMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"walletAddress","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"checkAllowlistEligibility","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMerkleTreeInput","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"term","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintAllowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"term","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"term","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintReserves","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"tokenContract","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"merkleTreeInput","type":"string"}],"name":"setMerkleTreeInput","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"publicSale","type":"bool"},{"internalType":"bool","name":"allowListSale","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"newURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526101f4600b5561251c600c55612710600d556005600e556005600f556000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff0219169083151502179055503480156200006357600080fd5b506040518060400160405280600c81526020017f697066733a2f2f697066732f0000000000000000000000000000000000000000815250620000ab816200017c60201b60201c565b50620000cc620000c06200019860201b60201c565b620001a060201b60201c565b6040518060400160405280601781526020017f4e667479447265616d732044414f20447265616d657273000000000000000000815250600490805190602001906200011992919062000266565b506040518060400160405280600481526020017f4e44444400000000000000000000000000000000000000000000000000000000815250600590805190602001906200016792919062000266565b5066354a6ba7a180006008819055506200037b565b80600290805190602001906200019492919062000266565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002749062000316565b90600052602060002090601f016020900481019282620002985760008555620002e4565b82601f10620002b357805160ff1916838001178555620002e4565b82800160010185558215620002e4579182015b82811115620002e3578251825591602001919060010190620002c6565b5b509050620002f39190620002f7565b5090565b5b8082111562000312576000816000905550600101620002f8565b5090565b600060028204905060018216806200032f57607f821691505b602082108114156200034657620003456200034c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615629806200038b6000396000f3fe60806040526004361061025b5760003560e01c80638da5cb5b11610144578063d81d0a15116100b6578063ea9daad81161007a578063ea9daad8146108c4578063ed5ab3f614610901578063f0bdc7c11461091d578063f1d5f51714610948578063f242432a14610971578063f2fde38b1461099a5761025b565b8063d81d0a15146107dd578063de3e7f7814610806578063df7b6c8714610831578063e985e9c51461085c578063e9af70ff146108995761025b565b8063a22cb46511610108578063a22cb465146106cf578063a4fefad6146106f8578063b274e48e14610723578063b390c0ab1461074c578063c87b56dd14610775578063d41b7375146107b25761025b565b80638da5cb5b146105fc578063905452da1461062757806391b7f5ed1461065257806395d89b411461067b5780639fe92ce2146106a65761025b565b80633eaaf86b116101dd578063715018a6116101a1578063715018a6146105165780637cb647591461052d5780637fa8e5e41461055657806383ca4b6f14610581578063862440e2146105aa578063886f039a146105d35761025b565b80633eaaf86b1461042f578063495906571461045a5780634e1273f414610485578063510f4104146104c257806357e7213b146104eb5761025b565b8063235b6ea111610224578063235b6ea11461037f57806324600fc3146103aa5780632eb2c2d6146103c15780632fdd4755146103ea57806334281c9d146104135761025b565b8062fdd58e1461026057806301ffc9a71461029d57806306fdde03146102da5780630e89341c146103055780631e7269c514610342575b600080fd5b34801561026c57600080fd5b5061028760048036038101906102829190613c4c565b6109c3565b6040516102949190614994565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190613e69565b610a8c565b6040516102d1919061467c565b60405180910390f35b3480156102e657600080fd5b506102ef610b6e565b6040516102fc91906146b2565b60405180910390f35b34801561031157600080fd5b5061032c60048036038101906103279190613f4c565b610c00565b60405161033991906146b2565b60405180910390f35b34801561034e57600080fd5b5061036960048036038101906103649190613863565b610ca5565b6040516103769190614994565b60405180910390f35b34801561038b57600080fd5b50610394610cbd565b6040516103a19190614994565b60405180910390f35b3480156103b657600080fd5b506103bf610cc3565b005b3480156103cd57600080fd5b506103e860048036038101906103e391906138d0565b610d0b565b005b3480156103f657600080fd5b50610411600480360381019061040c9190613f03565b610dac565b005b61042d60048036038101906104289190614042565b610dce565b005b34801561043b57600080fd5b50610444611116565b6040516104519190614994565b60405180910390f35b34801561046657600080fd5b5061046f61111c565b60405161047c9190614697565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a79190613cdf565b611126565b6040516104b99190614623565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e49190613b21565b61123f565b005b3480156104f757600080fd5b50610500611274565b60405161050d91906146b2565b60405180910390f35b34801561052257600080fd5b5061052b611306565b005b34801561053957600080fd5b50610554600480360381019061054f9190613e3c565b61131a565b005b34801561056257600080fd5b5061056b61132c565b6040516105789190614994565b60405180910390f35b34801561058d57600080fd5b506105a860048036038101906105a39190613d57565b611332565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190613fa6565b611341565b005b3480156105df57600080fd5b506105fa60048036038101906105f59190613ec3565b6113ad565b005b34801561060857600080fd5b506106116114cf565b60405161061e919061451d565b60405180910390f35b34801561063357600080fd5b5061063c6114f9565b6040516106499190614994565b60405180910390f35b34801561065e57600080fd5b5061067960048036038101906106749190613f4c565b6114ff565b005b34801561068757600080fd5b50610690611511565b60405161069d91906146b2565b60405180910390f35b3480156106b257600080fd5b506106cd60048036038101906106c89190613c8c565b6115a3565b005b3480156106db57600080fd5b506106f660048036038101906106f19190613c0c565b6116f4565b005b34801561070457600080fd5b5061070d61170a565b60405161071a9190614994565b60405180910390f35b34801561072f57600080fd5b5061074a60048036038101906107459190613dfc565b611710565b005b34801561075857600080fd5b50610773600480360381019061076e9190614002565b611750565b005b34801561078157600080fd5b5061079c60048036038101906107979190613f4c565b61175f565b6040516107a991906146b2565b60405180910390f35b3480156107be57600080fd5b506107c76117ff565b6040516107d4919061467c565b60405180910390f35b3480156107e957600080fd5b5061080460048036038101906107ff9190613a96565b611812565b005b34801561081257600080fd5b5061081b61183a565b6040516108289190614994565b60405180910390f35b34801561083d57600080fd5b50610846611840565b6040516108539190614994565b60405180910390f35b34801561086857600080fd5b50610883600480360381019061087e9190613890565b611846565b604051610890919061467c565b60405180910390f35b3480156108a557600080fd5b506108ae6118da565b6040516108bb919061467c565b60405180910390f35b3480156108d057600080fd5b506108eb60048036038101906108e69190613a36565b6118ed565b6040516108f8919061467c565b60405180910390f35b61091b60048036038101906109169190614002565b611937565b005b34801561092957600080fd5b50610932611bfd565b60405161093f9190614994565b60405180910390f35b34801561095457600080fd5b5061096f600480360381019061096a9190613f4c565b611c03565b005b34801561097d57600080fd5b506109986004803603810190610993919061399f565b611c15565b005b3480156109a657600080fd5b506109c160048036038101906109bc9190613863565b611cb6565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2b90614794565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b5757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b675750610b6682611d3a565b5b9050919050565b606060048054610b7d90614caa565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba990614caa565b8015610bf65780601f10610bcb57610100808354040283529160200191610bf6565b820191906000526020600020905b815481529060010190602001808311610bd957829003601f168201915b5050505050905090565b6060601160008381526020019081526020016000208054610c2090614caa565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4c90614caa565b8015610c995780601f10610c6e57610100808354040283529160200191610c99565b820191906000526020600020905b815481529060010190602001808311610c7c57829003601f168201915b50505050509050919050565b60126020528060005260406000206000915090505481565b60085481565b610ccb611da4565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610d0957600080fd5b565b610d13611e22565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610d595750610d5885610d53611e22565b611846565b5b610d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8f906146f4565b60405180910390fd5b610da58585858585611e2a565b5050505050565b610db4611da4565b8060069080519060200190610dca929190613491565b5050565b838334600f54831115610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d906148f4565b60405180910390fd5b600e5482601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e649190614b28565b1115610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c906148b4565b60405180910390fd5b600a54600c54610eb59190614b28565b82600954610ec39190614b28565b1115610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb90614834565b60405180910390fd5b6008548383610f139190614b7e565b610f1d9190614b7e565b8114610f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5590614774565b60405180910390fd5b60011515601060009054906101000a900460ff16151514610fb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fab90614854565b60405180910390fd5b600033604051602001610fc79190614502565b60405160208183030381529060405280519060200120905060011515610ff160075488888561214c565b151514611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a90614894565b60405180910390fd5b86601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110829190614b28565b92505081905550866009600082825461109b9190614b28565b925050819055506110bd338989604051806020016040528060008152506121a4565b873373ffffffffffffffffffffffffffffffffffffffff167fe54958ef132f5fc8366d74d0095e2e335fa77e531d9d8c724ecd96a99af5328c896040516111049190614994565b60405180910390a35050505050505050565b600d5481565b6000600754905090565b6060815183511461116c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116390614914565b60405180910390fd5b6000835167ffffffffffffffff81111561118957611188614e07565b5b6040519080825280602002602001820160405280156111b75781602001602082028036833780820191505090505b50905060005b8451811015611234576112048582815181106111dc576111db614dd8565b5b60200260200101518583815181106111f7576111f6614dd8565b5b60200260200101516109c3565b82828151811061121757611216614dd8565b5b6020026020010181815250508061122d90614d0d565b90506111bd565b508091505092915050565b611247611da4565b611252858585612355565b61126d85838360405180602001604052806000815250612624565b5050505050565b60606006805461128390614caa565b80601f01602080910402602001604051908101604052809291908181526020018280546112af90614caa565b80156112fc5780601f106112d1576101008083540402835291602001916112fc565b820191906000526020600020905b8154815290600101906020018083116112df57829003601f168201915b5050505050905090565b61130e611da4565b6113186000612851565b565b611322611da4565b8060078190555050565b600e5481565b61133d338383612355565b5050565b611349611da4565b80601160008481526020019081526020016000209080519060200190611370929190613491565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b826040516113a191906146b2565b60405180910390a25050565b6113b5611da4565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb828473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161140b919061451d565b60206040518083038186803b15801561142357600080fd5b505afa158015611437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145b9190613f79565b6040518363ffffffff1660e01b81526004016114789291906145fa565b602060405180830381600087803b15801561149257600080fd5b505af11580156114a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ca9190613dcf565b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b611507611da4565b8060088190555050565b60606005805461152090614caa565b80601f016020809104026020016040519081016040528092919081815260200182805461154c90614caa565b80156115995780601f1061156e57610100808354040283529160200191611599565b820191906000526020600020905b81548152906001019060200180831161157c57829003601f168201915b5050505050905090565b6115ab611da4565b600b5481600a546115bc9190614b28565b11156115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f490614974565b60405180910390fd5b80601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461164c9190614b28565b9250508190555080600a60008282546116659190614b28565b92505081905550806009600082825461167e9190614b28565b925050819055506116a0838383604051806020016040528060008152506121a4565b813373ffffffffffffffffffffffffffffffffffffffff167f4523a9648568b39b7b79ce70201fddea1c03a3d1c789dee8ac84de07f55acb6d836040516116e79190614994565b60405180910390a3505050565b6117066116ff611e22565b8383612917565b5050565b60095481565b611718611da4565b81601060016101000a81548160ff02191690831515021790555080601060006101000a81548160ff0219169083151502179055505050565b61175b338383612a84565b5050565b6011602052806000526040600020600091509050805461177e90614caa565b80601f01602080910402602001604051908101604052809291908181526020018280546117aa90614caa565b80156117f75780601f106117cc576101008083540402835291602001916117f7565b820191906000526020600020905b8154815290600101906020018083116117da57829003601f168201915b505050505081565b601060019054906101000a900460ff1681565b61181a611da4565b61183583838360405180602001604052806000815250612624565b505050565b600b5481565b600c5481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060009054906101000a900460ff1681565b600080846040516020016119019190614502565b604051602081830303815290604052805190602001209050600061192960075486868561214c565b905080925050509392505050565b818134600f5483111561197f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611976906148f4565b60405180910390fd5b600e5482601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119cd9190614b28565b1115611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a05906148b4565b60405180910390fd5b600a54600c54611a1e9190614b28565b82600954611a2c9190614b28565b1115611a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6490614834565b60405180910390fd5b6008548383611a7c9190614b7e565b611a869190614b7e565b8114611ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abe90614774565b60405180910390fd5b60011515601060019054906101000a900460ff16151514611b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b14906147b4565b60405180910390fd5b83601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b6c9190614b28565b925050819055508360096000828254611b859190614b28565b92505081905550611ba7338686604051806020016040528060008152506121a4565b843373ffffffffffffffffffffffffffffffffffffffff167f92475394a7c2312408f2f4f8cc23eae60a25076043a3a69b3d9c4a973c4caf2486604051611bee9190614994565b60405180910390a35050505050565b600f5481565b611c0b611da4565b80600e8190555050565b611c1d611e22565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611c635750611c6285611c5d611e22565b611846565b5b611ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c99906146f4565b60405180910390fd5b611caf8585858585612ccb565b5050505050565b611cbe611da4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2590614734565b60405180910390fd5b611d3781612851565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611dac611e22565b73ffffffffffffffffffffffffffffffffffffffff16611dca6114cf565b73ffffffffffffffffffffffffffffffffffffffff1614611e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1790614874565b60405180910390fd5b565b600033905090565b8151835114611e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6590614934565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed5906147d4565b60405180910390fd5b6000611ee8611e22565b9050611ef8818787878787612f67565b60005b84518110156120a9576000858281518110611f1957611f18614dd8565b5b602002602001015190506000858381518110611f3857611f37614dd8565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd090614814565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461208e9190614b28565b92505081905550505050806120a290614d0d565b9050611efb565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612120929190614645565b60405180910390a4612136818787878787612f6f565b612144818787878787612f77565b505050505050565b600061219a848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050868461315e565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220b90614954565b60405180910390fd5b600061221e611e22565b9050600061222b85613175565b9050600061223885613175565b905061224983600089858589612f67565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122a89190614b28565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516123269291906149af565b60405180910390a461233d83600089858589612f6f565b61234c836000898989896131ef565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bc906147f4565b60405180910390fd5b8051825114612409576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240090614934565b60405180910390fd5b6000612413611e22565b905061243381856000868660405180602001604052806000815250612f67565b60005b835181101561258057600084828151811061245457612453614dd8565b5b60200260200101519050600084838151811061247357612472614dd8565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250b90614754565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050808061257890614d0d565b915050612436565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516125f8929190614645565b60405180910390a461261e81856000868660405180602001604052806000815250612f6f565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268b90614954565b60405180910390fd5b81518351146126d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cf90614934565b60405180910390fd5b60006126e2611e22565b90506126f381600087878787612f67565b60005b84518110156127ac5783818151811061271257612711614dd8565b5b60200260200101516000808784815181106127305761272f614dd8565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127929190614b28565b9250508190555080806127a490614d0d565b9150506126f6565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612824929190614645565b60405180910390a461283b81600087878787612f6f565b61284a81600087878787612f77565b5050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297d906148d4565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a77919061467c565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aeb906147f4565b60405180910390fd5b6000612afe611e22565b90506000612b0b84613175565b90506000612b1884613175565b9050612b3883876000858560405180602001604052806000815250612f67565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015612bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc690614754565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612c9c9291906149af565b60405180910390a4612cc284886000868660405180602001604052806000815250612f6f565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d32906147d4565b60405180910390fd5b6000612d45611e22565b90506000612d5285613175565b90506000612d5f85613175565b9050612d6f838989858589612f67565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfd90614814565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ebb9190614b28565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612f389291906149af565b60405180910390a4612f4e848a8a86868a612f6f565b612f5c848a8a8a8a8a6131ef565b505050505050505050565b505050505050565b505050505050565b612f968473ffffffffffffffffffffffffffffffffffffffff166133d6565b15613156578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612fdc959493929190614538565b602060405180830381600087803b158015612ff657600080fd5b505af192505050801561302757506040513d601f19601f820116820180604052508101906130249190613e96565b60015b6130cd57613033614e36565b806308c379a0141561309057506130486154d3565b806130535750613092565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308791906146b2565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c4906146d4565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314b90614714565b60405180910390fd5b505b505050505050565b60008261316b85846133f9565b1490509392505050565b60606000600167ffffffffffffffff81111561319457613193614e07565b5b6040519080825280602002602001820160405280156131c25781602001602082028036833780820191505090505b50905082816000815181106131da576131d9614dd8565b5b60200260200101818152505080915050919050565b61320e8473ffffffffffffffffffffffffffffffffffffffff166133d6565b156133ce578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016132549594939291906145a0565b602060405180830381600087803b15801561326e57600080fd5b505af192505050801561329f57506040513d601f19601f8201168201806040525081019061329c9190613e96565b60015b613345576132ab614e36565b806308c379a0141561330857506132c06154d3565b806132cb575061330a565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ff91906146b2565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333c906146d4565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146133cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c390614714565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b84518110156134445761342f8286838151811061342257613421614dd8565b5b602002602001015161344f565b9150808061343c90614d0d565b915050613402565b508091505092915050565b600081831061346757613462828461347a565b613472565b613471838361347a565b5b905092915050565b600082600052816020526040600020905092915050565b82805461349d90614caa565b90600052602060002090601f0160209004810192826134bf5760008555613506565b82601f106134d857805160ff1916838001178555613506565b82800160010185558215613506579182015b828111156135055782518255916020019190600101906134ea565b5b5090506135139190613517565b5090565b5b80821115613530576000816000905550600101613518565b5090565b6000613547613542846149fd565b6149d8565b9050808382526020820190508285602086028201111561356a57613569614e62565b5b60005b8581101561359a57816135808882613698565b84526020840193506020830192505060018101905061356d565b5050509392505050565b60006135b76135b284614a29565b6149d8565b905080838252602082019050828560208602820111156135da576135d9614e62565b5b60005b8581101561360a57816135f08882613839565b8452602084019350602083019250506001810190506135dd565b5050509392505050565b600061362761362284614a55565b6149d8565b90508281526020810184848401111561364357613642614e67565b5b61364e848285614c68565b509392505050565b600061366961366484614a86565b6149d8565b90508281526020810184848401111561368557613684614e67565b5b613690848285614c68565b509392505050565b6000813590506136a781615569565b92915050565b600082601f8301126136c2576136c1614e5d565b5b81356136d2848260208601613534565b91505092915050565b60008083601f8401126136f1576136f0614e5d565b5b8235905067ffffffffffffffff81111561370e5761370d614e58565b5b60208301915083602082028301111561372a57613729614e62565b5b9250929050565b600082601f83011261374657613745614e5d565b5b81356137568482602086016135a4565b91505092915050565b60008135905061376e81615580565b92915050565b60008151905061378381615580565b92915050565b60008135905061379881615597565b92915050565b6000813590506137ad816155ae565b92915050565b6000815190506137c2816155ae565b92915050565b600082601f8301126137dd576137dc614e5d565b5b81356137ed848260208601613614565b91505092915050565b600081359050613805816155c5565b92915050565b600082601f8301126138205761381f614e5d565b5b8135613830848260208601613656565b91505092915050565b600081359050613848816155dc565b92915050565b60008151905061385d816155dc565b92915050565b60006020828403121561387957613878614e71565b5b600061388784828501613698565b91505092915050565b600080604083850312156138a7576138a6614e71565b5b60006138b585828601613698565b92505060206138c685828601613698565b9150509250929050565b600080600080600060a086880312156138ec576138eb614e71565b5b60006138fa88828901613698565b955050602061390b88828901613698565b945050604086013567ffffffffffffffff81111561392c5761392b614e6c565b5b61393888828901613731565b935050606086013567ffffffffffffffff81111561395957613958614e6c565b5b61396588828901613731565b925050608086013567ffffffffffffffff81111561398657613985614e6c565b5b613992888289016137c8565b9150509295509295909350565b600080600080600060a086880312156139bb576139ba614e71565b5b60006139c988828901613698565b95505060206139da88828901613698565b94505060406139eb88828901613839565b93505060606139fc88828901613839565b925050608086013567ffffffffffffffff811115613a1d57613a1c614e6c565b5b613a29888289016137c8565b9150509295509295909350565b600080600060408486031215613a4f57613a4e614e71565b5b6000613a5d86828701613698565b935050602084013567ffffffffffffffff811115613a7e57613a7d614e6c565b5b613a8a868287016136db565b92509250509250925092565b600080600060608486031215613aaf57613aae614e71565b5b6000613abd86828701613698565b935050602084013567ffffffffffffffff811115613ade57613add614e6c565b5b613aea86828701613731565b925050604084013567ffffffffffffffff811115613b0b57613b0a614e6c565b5b613b1786828701613731565b9150509250925092565b600080600080600060a08688031215613b3d57613b3c614e71565b5b6000613b4b88828901613698565b955050602086013567ffffffffffffffff811115613b6c57613b6b614e6c565b5b613b7888828901613731565b945050604086013567ffffffffffffffff811115613b9957613b98614e6c565b5b613ba588828901613731565b935050606086013567ffffffffffffffff811115613bc657613bc5614e6c565b5b613bd288828901613731565b925050608086013567ffffffffffffffff811115613bf357613bf2614e6c565b5b613bff88828901613731565b9150509295509295909350565b60008060408385031215613c2357613c22614e71565b5b6000613c3185828601613698565b9250506020613c428582860161375f565b9150509250929050565b60008060408385031215613c6357613c62614e71565b5b6000613c7185828601613698565b9250506020613c8285828601613839565b9150509250929050565b600080600060608486031215613ca557613ca4614e71565b5b6000613cb386828701613698565b9350506020613cc486828701613839565b9250506040613cd586828701613839565b9150509250925092565b60008060408385031215613cf657613cf5614e71565b5b600083013567ffffffffffffffff811115613d1457613d13614e6c565b5b613d20858286016136ad565b925050602083013567ffffffffffffffff811115613d4157613d40614e6c565b5b613d4d85828601613731565b9150509250929050565b60008060408385031215613d6e57613d6d614e71565b5b600083013567ffffffffffffffff811115613d8c57613d8b614e6c565b5b613d9885828601613731565b925050602083013567ffffffffffffffff811115613db957613db8614e6c565b5b613dc585828601613731565b9150509250929050565b600060208284031215613de557613de4614e71565b5b6000613df384828501613774565b91505092915050565b60008060408385031215613e1357613e12614e71565b5b6000613e218582860161375f565b9250506020613e328582860161375f565b9150509250929050565b600060208284031215613e5257613e51614e71565b5b6000613e6084828501613789565b91505092915050565b600060208284031215613e7f57613e7e614e71565b5b6000613e8d8482850161379e565b91505092915050565b600060208284031215613eac57613eab614e71565b5b6000613eba848285016137b3565b91505092915050565b60008060408385031215613eda57613ed9614e71565b5b6000613ee8858286016137f6565b9250506020613ef985828601613698565b9150509250929050565b600060208284031215613f1957613f18614e71565b5b600082013567ffffffffffffffff811115613f3757613f36614e6c565b5b613f438482850161380b565b91505092915050565b600060208284031215613f6257613f61614e71565b5b6000613f7084828501613839565b91505092915050565b600060208284031215613f8f57613f8e614e71565b5b6000613f9d8482850161384e565b91505092915050565b60008060408385031215613fbd57613fbc614e71565b5b6000613fcb85828601613839565b925050602083013567ffffffffffffffff811115613fec57613feb614e6c565b5b613ff88582860161380b565b9150509250929050565b6000806040838503121561401957614018614e71565b5b600061402785828601613839565b925050602061403885828601613839565b9150509250929050565b6000806000806060858703121561405c5761405b614e71565b5b600061406a87828801613839565b945050602061407b87828801613839565b935050604085013567ffffffffffffffff81111561409c5761409b614e6c565b5b6140a8878288016136db565b925092505092959194509250565b60006140c283836144e4565b60208301905092915050565b6140d781614bd8565b82525050565b6140ee6140e982614bd8565b614d56565b82525050565b60006140ff82614ac7565b6141098185614af5565b935061411483614ab7565b8060005b8381101561414557815161412c88826140b6565b975061413783614ae8565b925050600181019050614118565b5085935050505092915050565b61415b81614bea565b82525050565b61416a81614bf6565b82525050565b600061417b82614ad2565b6141858185614b06565b9350614195818560208601614c77565b61419e81614e76565b840191505092915050565b60006141b482614add565b6141be8185614b17565b93506141ce818560208601614c77565b6141d781614e76565b840191505092915050565b60006141ef603483614b17565b91506141fa82614ea1565b604082019050919050565b6000614212602f83614b17565b915061421d82614ef0565b604082019050919050565b6000614235602883614b17565b915061424082614f3f565b604082019050919050565b6000614258602683614b17565b915061426382614f8e565b604082019050919050565b600061427b602483614b17565b915061428682614fdd565b604082019050919050565b600061429e601d83614b17565b91506142a98261502c565b602082019050919050565b60006142c1602a83614b17565b91506142cc82615055565b604082019050919050565b60006142e4601683614b17565b91506142ef826150a4565b602082019050919050565b6000614307602583614b17565b9150614312826150cd565b604082019050919050565b600061432a602383614b17565b91506143358261511c565b604082019050919050565b600061434d602a83614b17565b91506143588261516b565b604082019050919050565b6000614370603a83614b17565b915061437b826151ba565b604082019050919050565b6000614393601983614b17565b915061439e82615209565b602082019050919050565b60006143b6602083614b17565b91506143c182615232565b602082019050919050565b60006143d9602b83614b17565b91506143e48261525b565b604082019050919050565b60006143fc602b83614b17565b9150614407826152aa565b604082019050919050565b600061441f602983614b17565b915061442a826152f9565b604082019050919050565b6000614442602683614b17565b915061444d82615348565b604082019050919050565b6000614465602983614b17565b915061447082615397565b604082019050919050565b6000614488602883614b17565b9150614493826153e6565b604082019050919050565b60006144ab602183614b17565b91506144b682615435565b604082019050919050565b60006144ce602d83614b17565b91506144d982615484565b604082019050919050565b6144ed81614c5e565b82525050565b6144fc81614c5e565b82525050565b600061450e82846140dd565b60148201915081905092915050565b600060208201905061453260008301846140ce565b92915050565b600060a08201905061454d60008301886140ce565b61455a60208301876140ce565b818103604083015261456c81866140f4565b9050818103606083015261458081856140f4565b905081810360808301526145948184614170565b90509695505050505050565b600060a0820190506145b560008301886140ce565b6145c260208301876140ce565b6145cf60408301866144f3565b6145dc60608301856144f3565b81810360808301526145ee8184614170565b90509695505050505050565b600060408201905061460f60008301856140ce565b61461c60208301846144f3565b9392505050565b6000602082019050818103600083015261463d81846140f4565b905092915050565b6000604082019050818103600083015261465f81856140f4565b9050818103602083015261467381846140f4565b90509392505050565b60006020820190506146916000830184614152565b92915050565b60006020820190506146ac6000830184614161565b92915050565b600060208201905081810360008301526146cc81846141a9565b905092915050565b600060208201905081810360008301526146ed816141e2565b9050919050565b6000602082019050818103600083015261470d81614205565b9050919050565b6000602082019050818103600083015261472d81614228565b9050919050565b6000602082019050818103600083015261474d8161424b565b9050919050565b6000602082019050818103600083015261476d8161426e565b9050919050565b6000602082019050818103600083015261478d81614291565b9050919050565b600060208201905081810360008301526147ad816142b4565b9050919050565b600060208201905081810360008301526147cd816142d7565b9050919050565b600060208201905081810360008301526147ed816142fa565b9050919050565b6000602082019050818103600083015261480d8161431d565b9050919050565b6000602082019050818103600083015261482d81614340565b9050919050565b6000602082019050818103600083015261484d81614363565b9050919050565b6000602082019050818103600083015261486d81614386565b9050919050565b6000602082019050818103600083015261488d816143a9565b9050919050565b600060208201905081810360008301526148ad816143cc565b9050919050565b600060208201905081810360008301526148cd816143ef565b9050919050565b600060208201905081810360008301526148ed81614412565b9050919050565b6000602082019050818103600083015261490d81614435565b9050919050565b6000602082019050818103600083015261492d81614458565b9050919050565b6000602082019050818103600083015261494d8161447b565b9050919050565b6000602082019050818103600083015261496d8161449e565b9050919050565b6000602082019050818103600083015261498d816144c1565b9050919050565b60006020820190506149a960008301846144f3565b92915050565b60006040820190506149c460008301856144f3565b6149d160208301846144f3565b9392505050565b60006149e26149f3565b90506149ee8282614cdc565b919050565b6000604051905090565b600067ffffffffffffffff821115614a1857614a17614e07565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a4457614a43614e07565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a7057614a6f614e07565b5b614a7982614e76565b9050602081019050919050565b600067ffffffffffffffff821115614aa157614aa0614e07565b5b614aaa82614e76565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000614b3382614c5e565b9150614b3e83614c5e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b7357614b72614d7a565b5b828201905092915050565b6000614b8982614c5e565b9150614b9483614c5e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bcd57614bcc614d7a565b5b828202905092915050565b6000614be382614c3e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614c3782614bd8565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614c95578082015181840152602081019050614c7a565b83811115614ca4576000848401525b50505050565b60006002820490506001821680614cc257607f821691505b60208210811415614cd657614cd5614da9565b5b50919050565b614ce582614e76565b810181811067ffffffffffffffff82111715614d0457614d03614e07565b5b80604052505050565b6000614d1882614c5e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d4b57614d4a614d7a565b5b600182019050919050565b6000614d6182614d68565b9050919050565b6000614d7382614e87565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115614e555760046000803e614e52600051614e94565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e7420697320696e636f7272656374000000600082015250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b7f5075626c69632053616c65206e6f742061637469766500000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f457863656564696e67206d617820737570706c79206c696d6974205b746f746160008201527f6c202d20392c353030202b20353030202872657365727665295d000000000000602082015250565b7f416c6c6f774c6973742053616c65206e6f742061637469766500000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f41646472657373206e6f7420656c696769626c65202f20496e76616c6964206d60008201527f65726b6c652070726f6f66000000000000000000000000000000000000000000602082015250565b7f457863656564696e67206d6178206d696e74206c696d6974205b6d617820352060008201527f7065722077616c6c65745d000000000000000000000000000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f457863656564696e67206d6178207465726d206c696d6974205b6d617820352060008201527f7465726d735d0000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f457863656564696e67206d6178207265736572766520737570706c7920286d6160008201527f782035303020746f6b656e732900000000000000000000000000000000000000602082015250565b600060443d10156154e357615566565b6154eb6149f3565b60043d036004823e80513d602482011167ffffffffffffffff82111715615513575050615566565b808201805167ffffffffffffffff8111156155315750505050615566565b80602083010160043d03850181111561554e575050505050615566565b61555d82602001850186614cdc565b82955050505050505b90565b61557281614bd8565b811461557d57600080fd5b50565b61558981614bea565b811461559457600080fd5b50565b6155a081614bf6565b81146155ab57600080fd5b50565b6155b781614c00565b81146155c257600080fd5b50565b6155ce81614c2c565b81146155d957600080fd5b50565b6155e581614c5e565b81146155f057600080fd5b5056fea264697066735822122057b8a18aae46e3fbcbbe9a813a2cbf7d4ddb4a360b527b156a86529c5eea626964736f6c63430008070033

Deployed Bytecode

0x60806040526004361061025b5760003560e01c80638da5cb5b11610144578063d81d0a15116100b6578063ea9daad81161007a578063ea9daad8146108c4578063ed5ab3f614610901578063f0bdc7c11461091d578063f1d5f51714610948578063f242432a14610971578063f2fde38b1461099a5761025b565b8063d81d0a15146107dd578063de3e7f7814610806578063df7b6c8714610831578063e985e9c51461085c578063e9af70ff146108995761025b565b8063a22cb46511610108578063a22cb465146106cf578063a4fefad6146106f8578063b274e48e14610723578063b390c0ab1461074c578063c87b56dd14610775578063d41b7375146107b25761025b565b80638da5cb5b146105fc578063905452da1461062757806391b7f5ed1461065257806395d89b411461067b5780639fe92ce2146106a65761025b565b80633eaaf86b116101dd578063715018a6116101a1578063715018a6146105165780637cb647591461052d5780637fa8e5e41461055657806383ca4b6f14610581578063862440e2146105aa578063886f039a146105d35761025b565b80633eaaf86b1461042f578063495906571461045a5780634e1273f414610485578063510f4104146104c257806357e7213b146104eb5761025b565b8063235b6ea111610224578063235b6ea11461037f57806324600fc3146103aa5780632eb2c2d6146103c15780632fdd4755146103ea57806334281c9d146104135761025b565b8062fdd58e1461026057806301ffc9a71461029d57806306fdde03146102da5780630e89341c146103055780631e7269c514610342575b600080fd5b34801561026c57600080fd5b5061028760048036038101906102829190613c4c565b6109c3565b6040516102949190614994565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190613e69565b610a8c565b6040516102d1919061467c565b60405180910390f35b3480156102e657600080fd5b506102ef610b6e565b6040516102fc91906146b2565b60405180910390f35b34801561031157600080fd5b5061032c60048036038101906103279190613f4c565b610c00565b60405161033991906146b2565b60405180910390f35b34801561034e57600080fd5b5061036960048036038101906103649190613863565b610ca5565b6040516103769190614994565b60405180910390f35b34801561038b57600080fd5b50610394610cbd565b6040516103a19190614994565b60405180910390f35b3480156103b657600080fd5b506103bf610cc3565b005b3480156103cd57600080fd5b506103e860048036038101906103e391906138d0565b610d0b565b005b3480156103f657600080fd5b50610411600480360381019061040c9190613f03565b610dac565b005b61042d60048036038101906104289190614042565b610dce565b005b34801561043b57600080fd5b50610444611116565b6040516104519190614994565b60405180910390f35b34801561046657600080fd5b5061046f61111c565b60405161047c9190614697565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a79190613cdf565b611126565b6040516104b99190614623565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e49190613b21565b61123f565b005b3480156104f757600080fd5b50610500611274565b60405161050d91906146b2565b60405180910390f35b34801561052257600080fd5b5061052b611306565b005b34801561053957600080fd5b50610554600480360381019061054f9190613e3c565b61131a565b005b34801561056257600080fd5b5061056b61132c565b6040516105789190614994565b60405180910390f35b34801561058d57600080fd5b506105a860048036038101906105a39190613d57565b611332565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190613fa6565b611341565b005b3480156105df57600080fd5b506105fa60048036038101906105f59190613ec3565b6113ad565b005b34801561060857600080fd5b506106116114cf565b60405161061e919061451d565b60405180910390f35b34801561063357600080fd5b5061063c6114f9565b6040516106499190614994565b60405180910390f35b34801561065e57600080fd5b5061067960048036038101906106749190613f4c565b6114ff565b005b34801561068757600080fd5b50610690611511565b60405161069d91906146b2565b60405180910390f35b3480156106b257600080fd5b506106cd60048036038101906106c89190613c8c565b6115a3565b005b3480156106db57600080fd5b506106f660048036038101906106f19190613c0c565b6116f4565b005b34801561070457600080fd5b5061070d61170a565b60405161071a9190614994565b60405180910390f35b34801561072f57600080fd5b5061074a60048036038101906107459190613dfc565b611710565b005b34801561075857600080fd5b50610773600480360381019061076e9190614002565b611750565b005b34801561078157600080fd5b5061079c60048036038101906107979190613f4c565b61175f565b6040516107a991906146b2565b60405180910390f35b3480156107be57600080fd5b506107c76117ff565b6040516107d4919061467c565b60405180910390f35b3480156107e957600080fd5b5061080460048036038101906107ff9190613a96565b611812565b005b34801561081257600080fd5b5061081b61183a565b6040516108289190614994565b60405180910390f35b34801561083d57600080fd5b50610846611840565b6040516108539190614994565b60405180910390f35b34801561086857600080fd5b50610883600480360381019061087e9190613890565b611846565b604051610890919061467c565b60405180910390f35b3480156108a557600080fd5b506108ae6118da565b6040516108bb919061467c565b60405180910390f35b3480156108d057600080fd5b506108eb60048036038101906108e69190613a36565b6118ed565b6040516108f8919061467c565b60405180910390f35b61091b60048036038101906109169190614002565b611937565b005b34801561092957600080fd5b50610932611bfd565b60405161093f9190614994565b60405180910390f35b34801561095457600080fd5b5061096f600480360381019061096a9190613f4c565b611c03565b005b34801561097d57600080fd5b506109986004803603810190610993919061399f565b611c15565b005b3480156109a657600080fd5b506109c160048036038101906109bc9190613863565b611cb6565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2b90614794565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b5757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b675750610b6682611d3a565b5b9050919050565b606060048054610b7d90614caa565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba990614caa565b8015610bf65780601f10610bcb57610100808354040283529160200191610bf6565b820191906000526020600020905b815481529060010190602001808311610bd957829003601f168201915b5050505050905090565b6060601160008381526020019081526020016000208054610c2090614caa565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4c90614caa565b8015610c995780601f10610c6e57610100808354040283529160200191610c99565b820191906000526020600020905b815481529060010190602001808311610c7c57829003601f168201915b50505050509050919050565b60126020528060005260406000206000915090505481565b60085481565b610ccb611da4565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610d0957600080fd5b565b610d13611e22565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610d595750610d5885610d53611e22565b611846565b5b610d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8f906146f4565b60405180910390fd5b610da58585858585611e2a565b5050505050565b610db4611da4565b8060069080519060200190610dca929190613491565b5050565b838334600f54831115610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d906148f4565b60405180910390fd5b600e5482601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e649190614b28565b1115610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c906148b4565b60405180910390fd5b600a54600c54610eb59190614b28565b82600954610ec39190614b28565b1115610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb90614834565b60405180910390fd5b6008548383610f139190614b7e565b610f1d9190614b7e565b8114610f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5590614774565b60405180910390fd5b60011515601060009054906101000a900460ff16151514610fb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fab90614854565b60405180910390fd5b600033604051602001610fc79190614502565b60405160208183030381529060405280519060200120905060011515610ff160075488888561214c565b151514611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a90614894565b60405180910390fd5b86601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110829190614b28565b92505081905550866009600082825461109b9190614b28565b925050819055506110bd338989604051806020016040528060008152506121a4565b873373ffffffffffffffffffffffffffffffffffffffff167fe54958ef132f5fc8366d74d0095e2e335fa77e531d9d8c724ecd96a99af5328c896040516111049190614994565b60405180910390a35050505050505050565b600d5481565b6000600754905090565b6060815183511461116c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116390614914565b60405180910390fd5b6000835167ffffffffffffffff81111561118957611188614e07565b5b6040519080825280602002602001820160405280156111b75781602001602082028036833780820191505090505b50905060005b8451811015611234576112048582815181106111dc576111db614dd8565b5b60200260200101518583815181106111f7576111f6614dd8565b5b60200260200101516109c3565b82828151811061121757611216614dd8565b5b6020026020010181815250508061122d90614d0d565b90506111bd565b508091505092915050565b611247611da4565b611252858585612355565b61126d85838360405180602001604052806000815250612624565b5050505050565b60606006805461128390614caa565b80601f01602080910402602001604051908101604052809291908181526020018280546112af90614caa565b80156112fc5780601f106112d1576101008083540402835291602001916112fc565b820191906000526020600020905b8154815290600101906020018083116112df57829003601f168201915b5050505050905090565b61130e611da4565b6113186000612851565b565b611322611da4565b8060078190555050565b600e5481565b61133d338383612355565b5050565b611349611da4565b80601160008481526020019081526020016000209080519060200190611370929190613491565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b826040516113a191906146b2565b60405180910390a25050565b6113b5611da4565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb828473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161140b919061451d565b60206040518083038186803b15801561142357600080fd5b505afa158015611437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145b9190613f79565b6040518363ffffffff1660e01b81526004016114789291906145fa565b602060405180830381600087803b15801561149257600080fd5b505af11580156114a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ca9190613dcf565b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b611507611da4565b8060088190555050565b60606005805461152090614caa565b80601f016020809104026020016040519081016040528092919081815260200182805461154c90614caa565b80156115995780601f1061156e57610100808354040283529160200191611599565b820191906000526020600020905b81548152906001019060200180831161157c57829003601f168201915b5050505050905090565b6115ab611da4565b600b5481600a546115bc9190614b28565b11156115fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f490614974565b60405180910390fd5b80601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461164c9190614b28565b9250508190555080600a60008282546116659190614b28565b92505081905550806009600082825461167e9190614b28565b925050819055506116a0838383604051806020016040528060008152506121a4565b813373ffffffffffffffffffffffffffffffffffffffff167f4523a9648568b39b7b79ce70201fddea1c03a3d1c789dee8ac84de07f55acb6d836040516116e79190614994565b60405180910390a3505050565b6117066116ff611e22565b8383612917565b5050565b60095481565b611718611da4565b81601060016101000a81548160ff02191690831515021790555080601060006101000a81548160ff0219169083151502179055505050565b61175b338383612a84565b5050565b6011602052806000526040600020600091509050805461177e90614caa565b80601f01602080910402602001604051908101604052809291908181526020018280546117aa90614caa565b80156117f75780601f106117cc576101008083540402835291602001916117f7565b820191906000526020600020905b8154815290600101906020018083116117da57829003601f168201915b505050505081565b601060019054906101000a900460ff1681565b61181a611da4565b61183583838360405180602001604052806000815250612624565b505050565b600b5481565b600c5481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060009054906101000a900460ff1681565b600080846040516020016119019190614502565b604051602081830303815290604052805190602001209050600061192960075486868561214c565b905080925050509392505050565b818134600f5483111561197f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611976906148f4565b60405180910390fd5b600e5482601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119cd9190614b28565b1115611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a05906148b4565b60405180910390fd5b600a54600c54611a1e9190614b28565b82600954611a2c9190614b28565b1115611a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6490614834565b60405180910390fd5b6008548383611a7c9190614b7e565b611a869190614b7e565b8114611ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abe90614774565b60405180910390fd5b60011515601060019054906101000a900460ff16151514611b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b14906147b4565b60405180910390fd5b83601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b6c9190614b28565b925050819055508360096000828254611b859190614b28565b92505081905550611ba7338686604051806020016040528060008152506121a4565b843373ffffffffffffffffffffffffffffffffffffffff167f92475394a7c2312408f2f4f8cc23eae60a25076043a3a69b3d9c4a973c4caf2486604051611bee9190614994565b60405180910390a35050505050565b600f5481565b611c0b611da4565b80600e8190555050565b611c1d611e22565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611c635750611c6285611c5d611e22565b611846565b5b611ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c99906146f4565b60405180910390fd5b611caf8585858585612ccb565b5050505050565b611cbe611da4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2590614734565b60405180910390fd5b611d3781612851565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611dac611e22565b73ffffffffffffffffffffffffffffffffffffffff16611dca6114cf565b73ffffffffffffffffffffffffffffffffffffffff1614611e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1790614874565b60405180910390fd5b565b600033905090565b8151835114611e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6590614934565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed5906147d4565b60405180910390fd5b6000611ee8611e22565b9050611ef8818787878787612f67565b60005b84518110156120a9576000858281518110611f1957611f18614dd8565b5b602002602001015190506000858381518110611f3857611f37614dd8565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd090614814565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461208e9190614b28565b92505081905550505050806120a290614d0d565b9050611efb565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612120929190614645565b60405180910390a4612136818787878787612f6f565b612144818787878787612f77565b505050505050565b600061219a848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050868461315e565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220b90614954565b60405180910390fd5b600061221e611e22565b9050600061222b85613175565b9050600061223885613175565b905061224983600089858589612f67565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122a89190614b28565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516123269291906149af565b60405180910390a461233d83600089858589612f6f565b61234c836000898989896131ef565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bc906147f4565b60405180910390fd5b8051825114612409576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240090614934565b60405180910390fd5b6000612413611e22565b905061243381856000868660405180602001604052806000815250612f67565b60005b835181101561258057600084828151811061245457612453614dd8565b5b60200260200101519050600084838151811061247357612472614dd8565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250b90614754565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050808061257890614d0d565b915050612436565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516125f8929190614645565b60405180910390a461261e81856000868660405180602001604052806000815250612f6f565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268b90614954565b60405180910390fd5b81518351146126d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cf90614934565b60405180910390fd5b60006126e2611e22565b90506126f381600087878787612f67565b60005b84518110156127ac5783818151811061271257612711614dd8565b5b60200260200101516000808784815181106127305761272f614dd8565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127929190614b28565b9250508190555080806127a490614d0d565b9150506126f6565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612824929190614645565b60405180910390a461283b81600087878787612f6f565b61284a81600087878787612f77565b5050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297d906148d4565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a77919061467c565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aeb906147f4565b60405180910390fd5b6000612afe611e22565b90506000612b0b84613175565b90506000612b1884613175565b9050612b3883876000858560405180602001604052806000815250612f67565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015612bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc690614754565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612c9c9291906149af565b60405180910390a4612cc284886000868660405180602001604052806000815250612f6f565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d32906147d4565b60405180910390fd5b6000612d45611e22565b90506000612d5285613175565b90506000612d5f85613175565b9050612d6f838989858589612f67565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfd90614814565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ebb9190614b28565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612f389291906149af565b60405180910390a4612f4e848a8a86868a612f6f565b612f5c848a8a8a8a8a6131ef565b505050505050505050565b505050505050565b505050505050565b612f968473ffffffffffffffffffffffffffffffffffffffff166133d6565b15613156578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612fdc959493929190614538565b602060405180830381600087803b158015612ff657600080fd5b505af192505050801561302757506040513d601f19601f820116820180604052508101906130249190613e96565b60015b6130cd57613033614e36565b806308c379a0141561309057506130486154d3565b806130535750613092565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308791906146b2565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c4906146d4565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314b90614714565b60405180910390fd5b505b505050505050565b60008261316b85846133f9565b1490509392505050565b60606000600167ffffffffffffffff81111561319457613193614e07565b5b6040519080825280602002602001820160405280156131c25781602001602082028036833780820191505090505b50905082816000815181106131da576131d9614dd8565b5b60200260200101818152505080915050919050565b61320e8473ffffffffffffffffffffffffffffffffffffffff166133d6565b156133ce578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016132549594939291906145a0565b602060405180830381600087803b15801561326e57600080fd5b505af192505050801561329f57506040513d601f19601f8201168201806040525081019061329c9190613e96565b60015b613345576132ab614e36565b806308c379a0141561330857506132c06154d3565b806132cb575061330a565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ff91906146b2565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333c906146d4565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146133cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c390614714565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b84518110156134445761342f8286838151811061342257613421614dd8565b5b602002602001015161344f565b9150808061343c90614d0d565b915050613402565b508091505092915050565b600081831061346757613462828461347a565b613472565b613471838361347a565b5b905092915050565b600082600052816020526040600020905092915050565b82805461349d90614caa565b90600052602060002090601f0160209004810192826134bf5760008555613506565b82601f106134d857805160ff1916838001178555613506565b82800160010185558215613506579182015b828111156135055782518255916020019190600101906134ea565b5b5090506135139190613517565b5090565b5b80821115613530576000816000905550600101613518565b5090565b6000613547613542846149fd565b6149d8565b9050808382526020820190508285602086028201111561356a57613569614e62565b5b60005b8581101561359a57816135808882613698565b84526020840193506020830192505060018101905061356d565b5050509392505050565b60006135b76135b284614a29565b6149d8565b905080838252602082019050828560208602820111156135da576135d9614e62565b5b60005b8581101561360a57816135f08882613839565b8452602084019350602083019250506001810190506135dd565b5050509392505050565b600061362761362284614a55565b6149d8565b90508281526020810184848401111561364357613642614e67565b5b61364e848285614c68565b509392505050565b600061366961366484614a86565b6149d8565b90508281526020810184848401111561368557613684614e67565b5b613690848285614c68565b509392505050565b6000813590506136a781615569565b92915050565b600082601f8301126136c2576136c1614e5d565b5b81356136d2848260208601613534565b91505092915050565b60008083601f8401126136f1576136f0614e5d565b5b8235905067ffffffffffffffff81111561370e5761370d614e58565b5b60208301915083602082028301111561372a57613729614e62565b5b9250929050565b600082601f83011261374657613745614e5d565b5b81356137568482602086016135a4565b91505092915050565b60008135905061376e81615580565b92915050565b60008151905061378381615580565b92915050565b60008135905061379881615597565b92915050565b6000813590506137ad816155ae565b92915050565b6000815190506137c2816155ae565b92915050565b600082601f8301126137dd576137dc614e5d565b5b81356137ed848260208601613614565b91505092915050565b600081359050613805816155c5565b92915050565b600082601f8301126138205761381f614e5d565b5b8135613830848260208601613656565b91505092915050565b600081359050613848816155dc565b92915050565b60008151905061385d816155dc565b92915050565b60006020828403121561387957613878614e71565b5b600061388784828501613698565b91505092915050565b600080604083850312156138a7576138a6614e71565b5b60006138b585828601613698565b92505060206138c685828601613698565b9150509250929050565b600080600080600060a086880312156138ec576138eb614e71565b5b60006138fa88828901613698565b955050602061390b88828901613698565b945050604086013567ffffffffffffffff81111561392c5761392b614e6c565b5b61393888828901613731565b935050606086013567ffffffffffffffff81111561395957613958614e6c565b5b61396588828901613731565b925050608086013567ffffffffffffffff81111561398657613985614e6c565b5b613992888289016137c8565b9150509295509295909350565b600080600080600060a086880312156139bb576139ba614e71565b5b60006139c988828901613698565b95505060206139da88828901613698565b94505060406139eb88828901613839565b93505060606139fc88828901613839565b925050608086013567ffffffffffffffff811115613a1d57613a1c614e6c565b5b613a29888289016137c8565b9150509295509295909350565b600080600060408486031215613a4f57613a4e614e71565b5b6000613a5d86828701613698565b935050602084013567ffffffffffffffff811115613a7e57613a7d614e6c565b5b613a8a868287016136db565b92509250509250925092565b600080600060608486031215613aaf57613aae614e71565b5b6000613abd86828701613698565b935050602084013567ffffffffffffffff811115613ade57613add614e6c565b5b613aea86828701613731565b925050604084013567ffffffffffffffff811115613b0b57613b0a614e6c565b5b613b1786828701613731565b9150509250925092565b600080600080600060a08688031215613b3d57613b3c614e71565b5b6000613b4b88828901613698565b955050602086013567ffffffffffffffff811115613b6c57613b6b614e6c565b5b613b7888828901613731565b945050604086013567ffffffffffffffff811115613b9957613b98614e6c565b5b613ba588828901613731565b935050606086013567ffffffffffffffff811115613bc657613bc5614e6c565b5b613bd288828901613731565b925050608086013567ffffffffffffffff811115613bf357613bf2614e6c565b5b613bff88828901613731565b9150509295509295909350565b60008060408385031215613c2357613c22614e71565b5b6000613c3185828601613698565b9250506020613c428582860161375f565b9150509250929050565b60008060408385031215613c6357613c62614e71565b5b6000613c7185828601613698565b9250506020613c8285828601613839565b9150509250929050565b600080600060608486031215613ca557613ca4614e71565b5b6000613cb386828701613698565b9350506020613cc486828701613839565b9250506040613cd586828701613839565b9150509250925092565b60008060408385031215613cf657613cf5614e71565b5b600083013567ffffffffffffffff811115613d1457613d13614e6c565b5b613d20858286016136ad565b925050602083013567ffffffffffffffff811115613d4157613d40614e6c565b5b613d4d85828601613731565b9150509250929050565b60008060408385031215613d6e57613d6d614e71565b5b600083013567ffffffffffffffff811115613d8c57613d8b614e6c565b5b613d9885828601613731565b925050602083013567ffffffffffffffff811115613db957613db8614e6c565b5b613dc585828601613731565b9150509250929050565b600060208284031215613de557613de4614e71565b5b6000613df384828501613774565b91505092915050565b60008060408385031215613e1357613e12614e71565b5b6000613e218582860161375f565b9250506020613e328582860161375f565b9150509250929050565b600060208284031215613e5257613e51614e71565b5b6000613e6084828501613789565b91505092915050565b600060208284031215613e7f57613e7e614e71565b5b6000613e8d8482850161379e565b91505092915050565b600060208284031215613eac57613eab614e71565b5b6000613eba848285016137b3565b91505092915050565b60008060408385031215613eda57613ed9614e71565b5b6000613ee8858286016137f6565b9250506020613ef985828601613698565b9150509250929050565b600060208284031215613f1957613f18614e71565b5b600082013567ffffffffffffffff811115613f3757613f36614e6c565b5b613f438482850161380b565b91505092915050565b600060208284031215613f6257613f61614e71565b5b6000613f7084828501613839565b91505092915050565b600060208284031215613f8f57613f8e614e71565b5b6000613f9d8482850161384e565b91505092915050565b60008060408385031215613fbd57613fbc614e71565b5b6000613fcb85828601613839565b925050602083013567ffffffffffffffff811115613fec57613feb614e6c565b5b613ff88582860161380b565b9150509250929050565b6000806040838503121561401957614018614e71565b5b600061402785828601613839565b925050602061403885828601613839565b9150509250929050565b6000806000806060858703121561405c5761405b614e71565b5b600061406a87828801613839565b945050602061407b87828801613839565b935050604085013567ffffffffffffffff81111561409c5761409b614e6c565b5b6140a8878288016136db565b925092505092959194509250565b60006140c283836144e4565b60208301905092915050565b6140d781614bd8565b82525050565b6140ee6140e982614bd8565b614d56565b82525050565b60006140ff82614ac7565b6141098185614af5565b935061411483614ab7565b8060005b8381101561414557815161412c88826140b6565b975061413783614ae8565b925050600181019050614118565b5085935050505092915050565b61415b81614bea565b82525050565b61416a81614bf6565b82525050565b600061417b82614ad2565b6141858185614b06565b9350614195818560208601614c77565b61419e81614e76565b840191505092915050565b60006141b482614add565b6141be8185614b17565b93506141ce818560208601614c77565b6141d781614e76565b840191505092915050565b60006141ef603483614b17565b91506141fa82614ea1565b604082019050919050565b6000614212602f83614b17565b915061421d82614ef0565b604082019050919050565b6000614235602883614b17565b915061424082614f3f565b604082019050919050565b6000614258602683614b17565b915061426382614f8e565b604082019050919050565b600061427b602483614b17565b915061428682614fdd565b604082019050919050565b600061429e601d83614b17565b91506142a98261502c565b602082019050919050565b60006142c1602a83614b17565b91506142cc82615055565b604082019050919050565b60006142e4601683614b17565b91506142ef826150a4565b602082019050919050565b6000614307602583614b17565b9150614312826150cd565b604082019050919050565b600061432a602383614b17565b91506143358261511c565b604082019050919050565b600061434d602a83614b17565b91506143588261516b565b604082019050919050565b6000614370603a83614b17565b915061437b826151ba565b604082019050919050565b6000614393601983614b17565b915061439e82615209565b602082019050919050565b60006143b6602083614b17565b91506143c182615232565b602082019050919050565b60006143d9602b83614b17565b91506143e48261525b565b604082019050919050565b60006143fc602b83614b17565b9150614407826152aa565b604082019050919050565b600061441f602983614b17565b915061442a826152f9565b604082019050919050565b6000614442602683614b17565b915061444d82615348565b604082019050919050565b6000614465602983614b17565b915061447082615397565b604082019050919050565b6000614488602883614b17565b9150614493826153e6565b604082019050919050565b60006144ab602183614b17565b91506144b682615435565b604082019050919050565b60006144ce602d83614b17565b91506144d982615484565b604082019050919050565b6144ed81614c5e565b82525050565b6144fc81614c5e565b82525050565b600061450e82846140dd565b60148201915081905092915050565b600060208201905061453260008301846140ce565b92915050565b600060a08201905061454d60008301886140ce565b61455a60208301876140ce565b818103604083015261456c81866140f4565b9050818103606083015261458081856140f4565b905081810360808301526145948184614170565b90509695505050505050565b600060a0820190506145b560008301886140ce565b6145c260208301876140ce565b6145cf60408301866144f3565b6145dc60608301856144f3565b81810360808301526145ee8184614170565b90509695505050505050565b600060408201905061460f60008301856140ce565b61461c60208301846144f3565b9392505050565b6000602082019050818103600083015261463d81846140f4565b905092915050565b6000604082019050818103600083015261465f81856140f4565b9050818103602083015261467381846140f4565b90509392505050565b60006020820190506146916000830184614152565b92915050565b60006020820190506146ac6000830184614161565b92915050565b600060208201905081810360008301526146cc81846141a9565b905092915050565b600060208201905081810360008301526146ed816141e2565b9050919050565b6000602082019050818103600083015261470d81614205565b9050919050565b6000602082019050818103600083015261472d81614228565b9050919050565b6000602082019050818103600083015261474d8161424b565b9050919050565b6000602082019050818103600083015261476d8161426e565b9050919050565b6000602082019050818103600083015261478d81614291565b9050919050565b600060208201905081810360008301526147ad816142b4565b9050919050565b600060208201905081810360008301526147cd816142d7565b9050919050565b600060208201905081810360008301526147ed816142fa565b9050919050565b6000602082019050818103600083015261480d8161431d565b9050919050565b6000602082019050818103600083015261482d81614340565b9050919050565b6000602082019050818103600083015261484d81614363565b9050919050565b6000602082019050818103600083015261486d81614386565b9050919050565b6000602082019050818103600083015261488d816143a9565b9050919050565b600060208201905081810360008301526148ad816143cc565b9050919050565b600060208201905081810360008301526148cd816143ef565b9050919050565b600060208201905081810360008301526148ed81614412565b9050919050565b6000602082019050818103600083015261490d81614435565b9050919050565b6000602082019050818103600083015261492d81614458565b9050919050565b6000602082019050818103600083015261494d8161447b565b9050919050565b6000602082019050818103600083015261496d8161449e565b9050919050565b6000602082019050818103600083015261498d816144c1565b9050919050565b60006020820190506149a960008301846144f3565b92915050565b60006040820190506149c460008301856144f3565b6149d160208301846144f3565b9392505050565b60006149e26149f3565b90506149ee8282614cdc565b919050565b6000604051905090565b600067ffffffffffffffff821115614a1857614a17614e07565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a4457614a43614e07565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a7057614a6f614e07565b5b614a7982614e76565b9050602081019050919050565b600067ffffffffffffffff821115614aa157614aa0614e07565b5b614aaa82614e76565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000614b3382614c5e565b9150614b3e83614c5e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b7357614b72614d7a565b5b828201905092915050565b6000614b8982614c5e565b9150614b9483614c5e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bcd57614bcc614d7a565b5b828202905092915050565b6000614be382614c3e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614c3782614bd8565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614c95578082015181840152602081019050614c7a565b83811115614ca4576000848401525b50505050565b60006002820490506001821680614cc257607f821691505b60208210811415614cd657614cd5614da9565b5b50919050565b614ce582614e76565b810181811067ffffffffffffffff82111715614d0457614d03614e07565b5b80604052505050565b6000614d1882614c5e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d4b57614d4a614d7a565b5b600182019050919050565b6000614d6182614d68565b9050919050565b6000614d7382614e87565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115614e555760046000803e614e52600051614e94565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e7420697320696e636f7272656374000000600082015250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b7f5075626c69632053616c65206e6f742061637469766500000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f457863656564696e67206d617820737570706c79206c696d6974205b746f746160008201527f6c202d20392c353030202b20353030202872657365727665295d000000000000602082015250565b7f416c6c6f774c6973742053616c65206e6f742061637469766500000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f41646472657373206e6f7420656c696769626c65202f20496e76616c6964206d60008201527f65726b6c652070726f6f66000000000000000000000000000000000000000000602082015250565b7f457863656564696e67206d6178206d696e74206c696d6974205b6d617820352060008201527f7065722077616c6c65745d000000000000000000000000000000000000000000602082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f457863656564696e67206d6178207465726d206c696d6974205b6d617820352060008201527f7465726d735d0000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f457863656564696e67206d6178207265736572766520737570706c7920286d6160008201527f782035303020746f6b656e732900000000000000000000000000000000000000602082015250565b600060443d10156154e357615566565b6154eb6149f3565b60043d036004823e80513d602482011167ffffffffffffffff82111715615513575050615566565b808201805167ffffffffffffffff8111156155315750505050615566565b80602083010160043d03850181111561554e575050505050615566565b61555d82602001850186614cdc565b82955050505050505b90565b61557281614bd8565b811461557d57600080fd5b50565b61558981614bea565b811461559457600080fd5b50565b6155a081614bf6565b81146155ab57600080fd5b50565b6155b781614c00565b81146155c257600080fd5b50565b6155ce81614c2c565b81146155d957600080fd5b50565b6155e581614c5e565b81146155f057600080fd5b5056fea264697066735822122057b8a18aae46e3fbcbbe9a813a2cbf7d4ddb4a360b527b156a86529c5eea626964736f6c63430008070033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.