ETH Price: $2,974.15 (+1.85%)
Gas: 1 Gwei

Token

 

Overview

Max Total Supply

200

Holders

92

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x7ef4D67068e038d1667F40BE3457B54c7a2394F5
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:
FreakyPass

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : FreakyPass.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

/*
      _______   _______   __   ___    _______   
     /"     "| /"      \ |/"| /  ")  |   __ "\  
    (: ______)|:        |(: |/   /   (. |__) :) 
     \/    |  |_____/   )|    __/    |:  ____/  
     // ___)   //      / (// _  \    (|  /      
    (:  (     |:  __   \ |: | \  \  /|__/ \     
     \__/     |__|  \___)(__|  \__)(_______)    

    Freaky Pass All Rights Reserved 2022
    Developed by ATOMICON.PRO ([email protected])
*/

import "./utils/Manageable.sol";
import "./utils/operator_filterer/DefaultOperatorFilterer.sol";

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract FreakyPass is ERC1155, ERC1155Supply, Manageable, DefaultOperatorFilterer {

    error ExceedingCollectionSize();
    error ExceedingMintingLimits();
    error SalesAreClosed();

    error HashComparisonFailed();
    error InvalidSignature();
    error SignatureAlreadyUsed();

    error NothingToWithdraw();    
    error WrongEthAmount();

    enum SALE_STAGE {
        CLOSED,
        PRIVATE,
        WHITELIST
    }    

    string constant TOKEN_URI = "ipfs://QmP4axrTkwpSD6PByi1pvAwcSpANpAVnqHM42WgpYYb32S";
    uint16 constant public COLLECTION_SIZE = 200;

    uint8 constant public MAX_TOKENS_PRIVATE_SALE = 3;
    uint8 constant public MAX_TOKENS_WHITELIST_SALE = 2;

    address constant private CREATOR_PAYOUT_WALLET = 0x57BE09189fF5dC6cDE887E706A2a148D6ABf5FF5;
    address constant private DEVELOPER_PAYOUT_WALLET = 0xf2E4186DF36cbdb2c77fad2BC74d169643B32E86;

    uint256 public privateSaleTokenPrice = 0.1 ether;
    uint256 public whitelistSaleTokenPrice = 0.1 ether;

    uint32 public privateSaleStartTime = 1672228800;
    uint32 public whitelistSaleStartTime = 1672252200;

    bytes8 private _hashSalt = 0xe02197c2f84029f0;
    address private _signerAddress = 0x4018433648F2A6dB1014CBc3027AA950728607C2;

    /// @dev Ammount of tokens an address has minted during different sale stages
    mapping (address => uint256) private _numberMintedDuringPrivateSale;
    mapping (address => uint256) private _numberMintedDuringWhitelistSale;

    /// @dev Used nonces for signatures    
    mapping(uint64 => bool) private _usedNonces;

    constructor() ERC1155(TOKEN_URI) {}

    /// @notice Mint tokens during the sales
    function saleMint(bytes32 hash, bytes memory signature, uint64 nonce, uint256 quantity)
        external
        payable
    {
        SALE_STAGE saleStage = getCurrentSaleStage();

        if(totalSupply() + quantity > COLLECTION_SIZE) revert ExceedingCollectionSize();
        if(quantity > numberAbleToMint(msg.sender)) revert ExceedingMintingLimits();
        if(msg.value != getCurrentStagePrice() * quantity) revert WrongEthAmount();

        if(_mintOperationHash(msg.sender, quantity, nonce) != hash) revert HashComparisonFailed();
        if(!_isTrustedSigner(hash, signature)) revert InvalidSignature();
        if(_usedNonces[nonce]) revert SignatureAlreadyUsed();

        _mint(msg.sender, 1, quantity, "");
        _usedNonces[nonce] = true;

        if(saleStage == SALE_STAGE.PRIVATE)
            _numberMintedDuringPrivateSale[msg.sender] += quantity;
        else if(saleStage == SALE_STAGE.WHITELIST)
            _numberMintedDuringWhitelistSale[msg.sender] += quantity;
    }

    /// @notice Airdrop tokens to a list of accounts
    function airdrop(address[] memory owners, uint256 quantity)
        external
        onlyManager
    {
        if(totalSupply() + quantity > COLLECTION_SIZE) revert ExceedingCollectionSize();

        for(uint64 i = 0; i < owners.length; i++) {
            _mint(owners[i], 1, quantity, "");
        }
    }

    /// @notice Withdraw money from the contract. 80% go to the creator and 20% go to the developer
    function withdrawMoney() external onlyManager {
        if(address(this).balance == 0) revert NothingToWithdraw();

        payable(CREATOR_PAYOUT_WALLET).transfer(address(this).balance * 4 / 5);
        payable(DEVELOPER_PAYOUT_WALLET).transfer(address(this).balance);
    }

    /// @notice Number of tokens an address can mint at the given moment
    function numberAbleToMint(address owner) public view returns (uint256) {
        SALE_STAGE saleStage = getCurrentSaleStage();
        
        if(saleStage == SALE_STAGE.WHITELIST)
            return MAX_TOKENS_WHITELIST_SALE - numberMintedDuringWhitelistSale(owner);
        
        if(saleStage == SALE_STAGE.PRIVATE)
            return MAX_TOKENS_PRIVATE_SALE - numberMintedDuringPrivateSale(owner);

        return 0;
    }

    /// @notice Number of tokens minted by an address during the private sales
    function numberMintedDuringPrivateSale(address owner) public view returns(uint256){
        return _numberMintedDuringPrivateSale[owner];
    }

    /// @notice Number of tokens minted by an address
    function numberMintedDuringWhitelistSale(address owner) public view returns (uint256) {
        return _numberMintedDuringWhitelistSale[owner];
    }

    /// @notice Token price at the currnt sale stage
    function getCurrentStagePrice() public view returns(uint256) {
        SALE_STAGE saleStage = getCurrentSaleStage();

        if(saleStage == SALE_STAGE.CLOSED)
            revert SalesAreClosed();

        if(saleStage == SALE_STAGE.PRIVATE) 
            return privateSaleTokenPrice;
        
        return whitelistSaleTokenPrice;
    }

    /// @notice Change private sales token price
    function setPrivateSaleTokenPrice(uint256 priceInWei) public onlyManager {
        privateSaleTokenPrice = priceInWei;
    }

    /// @notice Change whitelist sales token price
    function setWhitelistSaleTokenPrice(uint256 priceInWei) public onlyManager {
        whitelistSaleTokenPrice = priceInWei;
    }

    /// @notice Get current sale stage
    function getCurrentSaleStage() public view returns (SALE_STAGE) {
        if(block.timestamp >= whitelistSaleStartTime)
            return SALE_STAGE.WHITELIST;
        
        if(block.timestamp >= privateSaleStartTime)
            return SALE_STAGE.PRIVATE;
        
        return SALE_STAGE.CLOSED;
    }

    /// @notice Change private sales start time in unix time format
    function setPrivateSaleStartTime(uint32 unixTime) public onlyManager {
        privateSaleStartTime = unixTime;
    }

    /// @notice Change whitelist sales start time in unix time format
    function setWhitelistSaleStartTime(uint32 unixTime) public onlyManager {
        whitelistSaleStartTime = unixTime;
    }

    /// @notice URI with contract metadata for opensea
    function contractURI() public pure returns (string memory) {
        return "ipfs://QmQXZBQm6MujcLDdiKXNQWaWFC8zkPc17mjpqaXFRQibJo";
    }

    /// @dev Generate hash of current mint operation
    function _mintOperationHash(address buyer, uint256 quantity, uint64 nonce) internal view returns (bytes32) {
        SALE_STAGE saleStage = getCurrentSaleStage();

        if(saleStage == SALE_STAGE.CLOSED)
            revert SalesAreClosed();

        return keccak256(abi.encodePacked(
            _hashSalt,
            buyer,
            uint64(block.chainid),
            uint64(saleStage),
            uint64(quantity),
            uint64(nonce)
        ));
    }

    /// @dev Test whether a message was signed by a trusted address
    function _isTrustedSigner(bytes32 hash, bytes memory signature) internal view returns(bool) {
        return _signerAddress == ECDSA.recover(hash, signature);
    }

    /// @dev Overrides for marketplace restrictions
    function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, uint256 amount, bytes memory data)
        public
        override
        onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, amount, data);
    }

    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override onlyAllowedOperator(from) {
        super.safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /// @dev Overrides for ERC1155Supply support
    function _beforeTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data)
        internal
        override(ERC1155, ERC1155Supply)
    {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }

    /// @notice Total amount of tokens minted
    function totalSupply() public view returns (uint256) {
        return totalSupply(1);
    }

    /// @notice Amount of tokens of the specified account
    function balanceOf(address account) public view returns (uint256) {
        return balanceOf(account, 1);
    }
}

File 2 of 18 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 3 of 18 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

        return array;
    }
}

File 5 of 18 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 6 of 18 : Manageable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/access/Ownable.sol";    

abstract contract Manageable is Ownable {

    address[] private _managers;
    
    constructor() {
        addManager(_msgSender());
    }

    /// @dev Throws if called by any account other than a manager.
    modifier onlyManager() {
        _checkManager();
        _;
    }

    /// @notice Check, whether a wallet is a manager or not
    function isManager(address wallet) public view virtual returns (bool) {
        for(uint256 index = 0; index < _managers.length; index++) {
            if(_managers[index] == wallet) return true;
        }

        return false;
    }

    /// @dev Throws if the sender is not a manager
    function _checkManager() internal view virtual {
        require(isManager(_msgSender()), "Managable: caller is not a manager");
    }

    /// @notice Add a list of addresses to a list of managers
    function addManagers(address[] memory newManagers) public virtual onlyOwner {
        for(uint256 index = 0; index < newManagers.length; index++) {
            addManager(newManagers[index]);
        }
    }

    /// @notice Add an address to a list of managers
    function addManager(address newManager) public virtual onlyOwner {
        require(!isManager(newManager), "Managable: wallet is already a manager");
        require(newManager != address(0), "Managable: new manager is the zero address");

        _managers.push(newManager);
    }

    /// @notice Remove all managers from the contract
    function removeManagers() public virtual onlyOwner {
        delete _managers;
    }
}

File 7 of 18 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 8 of 18 : 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 9 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 18 : 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 12 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 18 : 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 14 of 18 : 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 15 of 18 : 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 16 of 18 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

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

pragma solidity ^0.8.0;

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

File 18 of 18 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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"},{"inputs":[],"name":"ExceedingCollectionSize","type":"error"},{"inputs":[],"name":"ExceedingMintingLimits","type":"error"},{"inputs":[],"name":"HashComparisonFailed","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"NothingToWithdraw","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"SalesAreClosed","type":"error"},{"inputs":[],"name":"SignatureAlreadyUsed","type":"error"},{"inputs":[],"name":"WrongEthAmount","type":"error"},{"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":"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":"COLLECTION_SIZE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS_PRIVATE_SALE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS_WHITELIST_SALE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newManager","type":"address"}],"name":"addManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"newManagers","type":"address[]"}],"name":"addManagers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"owners","type":"address[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentSaleStage","outputs":[{"internalType":"enum FreakyPass.SALE_STAGE","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentStagePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"isManager","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberAbleToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMintedDuringPrivateSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMintedDuringWhitelistSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privateSaleStartTime","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privateSaleTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeManagers","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":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint64","name":"nonce","type":"uint64"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"saleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"unixTime","type":"uint32"}],"name":"setPrivateSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"priceInWei","type":"uint256"}],"name":"setPrivateSaleTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"unixTime","type":"uint32"}],"name":"setWhitelistSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"priceInWei","type":"uint256"}],"name":"setWhitelistSaleTokenPrice","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSaleStartTime","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSaleTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405267016345785d8a000060065567016345785d8a00006007556363ac2fc0600860006101000a81548163ffffffff021916908363ffffffff1602179055506363ac8b28600860046101000a81548163ffffffff021916908363ffffffff16021790555067e02197c2f84029f060c01b6008806101000a81548167ffffffffffffffff021916908360c01c0217905550734018433648f2a6db1014cbc3027aa950728607c2600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000f457600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb6600160405180606001604052806035815260200162005d1e6035913962000137816200037560201b60201c565b50620001586200014c6200038a60201b60201c565b6200039260201b60201c565b620001786200016c6200038a60201b60201c565b6200045860201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200036d57801562000233576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001f99291906200074b565b600060405180830381600087803b1580156200021457600080fd5b505af115801562000229573d6000803e3d6000fd5b505050506200036c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002ed576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620002b39291906200074b565b600060405180830381600087803b158015620002ce57600080fd5b505af1158015620002e3573d6000803e3d6000fd5b505050506200036b565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000336919062000778565b600060405180830381600087803b1580156200035157600080fd5b505af115801562000366573d6000803e3d6000fd5b505050505b5b5b505062000d54565b806002908162000386919062000a0f565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004686200059460201b60201c565b62000479816200062560201b60201c565b15620004bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004b39062000b7d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200052e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005259062000c15565b60405180910390fd5b6005819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b620005a46200038a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620005ca620006dc60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000623576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200061a9062000c87565b60405180910390fd5b565b600080600090505b600580549050811015620006d1578273ffffffffffffffffffffffffffffffffffffffff166005828154811062000669576200066862000ca9565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603620006bb576001915050620006d7565b8080620006c89062000d07565b9150506200062d565b50600090505b919050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007338262000706565b9050919050565b620007458162000726565b82525050565b60006040820190506200076260008301856200073a565b6200077160208301846200073a565b9392505050565b60006020820190506200078f60008301846200073a565b92915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200081757607f821691505b6020821081036200082d576200082c620007cf565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620008977fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000858565b620008a3868362000858565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620008f0620008ea620008e484620008bb565b620008c5565b620008bb565b9050919050565b6000819050919050565b6200090c83620008cf565b620009246200091b82620008f7565b84845462000865565b825550505050565b600090565b6200093b6200092c565b6200094881848462000901565b505050565b5b8181101562000970576200096460008262000931565b6001810190506200094e565b5050565b601f821115620009bf57620009898162000833565b620009948462000848565b81016020851015620009a4578190505b620009bc620009b38562000848565b8301826200094d565b50505b505050565b600082821c905092915050565b6000620009e460001984600802620009c4565b1980831691505092915050565b6000620009ff8383620009d1565b9150826002028217905092915050565b62000a1a8262000795565b67ffffffffffffffff81111562000a365762000a35620007a0565b5b62000a428254620007fe565b62000a4f82828562000974565b600060209050601f83116001811462000a87576000841562000a72578287015190505b62000a7e8582620009f1565b86555062000aee565b601f19841662000a978662000833565b60005b8281101562000ac15784890151825560018201915060208501945060208101905062000a9a565b8683101562000ae1578489015162000add601f891682620009d1565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f4d616e616761626c653a2077616c6c657420697320616c72656164792061206d60008201527f616e616765720000000000000000000000000000000000000000000000000000602082015250565b600062000b6560268362000af6565b915062000b728262000b07565b604082019050919050565b6000602082019050818103600083015262000b988162000b56565b9050919050565b7f4d616e616761626c653a206e6577206d616e6167657220697320746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600062000bfd602a8362000af6565b915062000c0a8262000b9f565b604082019050919050565b6000602082019050818103600083015262000c308162000bee565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000c6f60208362000af6565b915062000c7c8262000c37565b602082019050919050565b6000602082019050818103600083015262000ca28162000c60565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000d1482620008bb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820362000d495762000d4862000cd8565b5b600182019050919050565b614fba8062000d646000396000f3fe60806040526004361061023a5760003560e01c8063715018a61161012e578063bd85b039116100ab578063f242432a1161006f578063f242432a14610898578063f2fde38b146108c1578063f3ae2415146108ea578063fd0525bc14610927578063fe55e201146109435761023a565b8063bd85b0391461079f578063c204642c146107dc578063d8258d9514610805578063e8a3d48514610830578063e985e9c51461085b5761023a565b80638e80d549116100f25780638e80d549146106cc578063940de97e146106f75780639737e73014610722578063a22cb4651461075f578063ac446002146107885761023a565b8063715018a61461060f5780637de86909146106265780638b3d95a71461064f5780638c5f9e74146106785780638da5cb5b146106a15761023a565b80632d06177a116101bc578063558b8b4911610180578063558b8b491461052a5780635f31c7fb1461055557806362702cf61461058057806369e24e39146105a957806370a08231146105d25761023a565b80632d06177a146104335780632eb2c2d61461045c57806341f43434146104855780634e1273f4146104b05780634f558e79146104ed5761023a565b80631500163211610203578063150016321461035e57806317bb05561461038957806318160ddd146103c6578063191475b5146103f1578063230b43f4146104085761023a565b8062fdd58e1461023f57806301ffc9a71461027c5780630e89341c146102b9578063120d7257146102f657806314760bf114610333575b600080fd5b34801561024b57600080fd5b5061026660048036038101906102619190613208565b61096e565b6040516102739190613257565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906132ca565b610a36565b6040516102b09190613312565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db919061332d565b610b18565b6040516102ed91906133ea565b60405180910390f35b34801561030257600080fd5b5061031d6004803603810190610318919061340c565b610bac565b60405161032a9190613257565b60405180910390f35b34801561033f57600080fd5b50610348610bf5565b6040516103559190613455565b60405180910390f35b34801561036a57600080fd5b50610373610bfa565b60405161038091906134e7565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab919061340c565b610c54565b6040516103bd9190613257565b60405180910390f35b3480156103d257600080fd5b506103db610c9d565b6040516103e89190613257565b60405180910390f35b3480156103fd57600080fd5b50610406610cae565b005b34801561041457600080fd5b5061041d610cc6565b60405161042a9190613521565b60405180910390f35b34801561043f57600080fd5b5061045a6004803603810190610455919061340c565b610cdc565b005b34801561046857600080fd5b50610483600480360381019061047e9190613739565b610e02565b005b34801561049157600080fd5b5061049a610e55565b6040516104a79190613867565b60405180910390f35b3480156104bc57600080fd5b506104d760048036038101906104d29190613945565b610e67565b6040516104e49190613a7b565b60405180910390f35b3480156104f957600080fd5b50610514600480360381019061050f919061332d565b610f80565b6040516105219190613312565b60405180910390f35b34801561053657600080fd5b5061053f610f94565b60405161054c9190613257565b60405180910390f35b34801561056157600080fd5b5061056a610f9a565b6040516105779190613455565b60405180910390f35b34801561058c57600080fd5b506105a760048036038101906105a29190613ac9565b610f9f565b005b3480156105b557600080fd5b506105d060048036038101906105cb919061332d565b610fcb565b005b3480156105de57600080fd5b506105f960048036038101906105f4919061340c565b610fdd565b6040516106069190613257565b60405180910390f35b34801561061b57600080fd5b50610624610ff1565b005b34801561063257600080fd5b5061064d60048036038101906106489190613ac9565b611005565b005b34801561065b57600080fd5b506106766004803603810190610671919061332d565b611031565b005b34801561068457600080fd5b5061069f600480360381019061069a9190613af6565b611043565b005b3480156106ad57600080fd5b506106b6611091565b6040516106c39190613b4e565b60405180910390f35b3480156106d857600080fd5b506106e16110bb565b6040516106ee9190613257565b60405180910390f35b34801561070357600080fd5b5061070c611167565b6040516107199190613521565b60405180910390f35b34801561072e57600080fd5b506107496004803603810190610744919061340c565b61117d565b6040516107569190613257565b60405180910390f35b34801561076b57600080fd5b5061078660048036038101906107819190613b95565b61122c565b005b34801561079457600080fd5b5061079d611245565b005b3480156107ab57600080fd5b506107c660048036038101906107c1919061332d565b611357565b6040516107d39190613257565b60405180910390f35b3480156107e857600080fd5b5061080360048036038101906107fe9190613bd5565b611374565b005b34801561081157600080fd5b5061081a61143b565b6040516108279190613c4e565b60405180910390f35b34801561083c57600080fd5b50610845611440565b60405161085291906133ea565b60405180910390f35b34801561086757600080fd5b50610882600480360381019061087d9190613c69565b611460565b60405161088f9190613312565b60405180910390f35b3480156108a457600080fd5b506108bf60048036038101906108ba9190613ca9565b6114f4565b005b3480156108cd57600080fd5b506108e860048036038101906108e3919061340c565b611547565b005b3480156108f657600080fd5b50610911600480360381019061090c919061340c565b6115ca565b60405161091e9190613312565b60405180910390f35b610941600480360381019061093c9190613db6565b611678565b005b34801561094f57600080fd5b506109586119be565b6040516109659190613257565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d590613eab565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b0157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b115750610b10826119c4565b5b9050919050565b606060028054610b2790613efa565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5390613efa565b8015610ba05780601f10610b7557610100808354040283529160200191610ba0565b820191906000526020600020905b815481529060010190602001808311610b8357829003601f168201915b50505050509050919050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600381565b6000600860049054906101000a900463ffffffff1663ffffffff164210610c245760029050610c51565b600860009054906101000a900463ffffffff1663ffffffff164210610c4c5760019050610c51565b600090505b90565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610ca96001611357565b905090565b610cb6611a2e565b60056000610cc49190613122565b565b600860049054906101000a900463ffffffff1681565b610ce4611a2e565b610ced816115ca565b15610d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2490613f9d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d939061402f565b60405180910390fd5b6005819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e4057610e3f33611aac565b5b610e4d8686868686611ba9565b505050505050565b6daaeb6d7670e522a718067333cd4e81565b60608151835114610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea4906140c1565b60405180910390fd5b6000835167ffffffffffffffff811115610eca57610ec9613541565b5b604051908082528060200260200182016040528015610ef85781602001602082028036833780820191505090505b50905060005b8451811015610f7557610f45858281518110610f1d57610f1c6140e1565b5b6020026020010151858381518110610f3857610f376140e1565b5b602002602001015161096e565b828281518110610f5857610f576140e1565b5b60200260200101818152505080610f6e9061413f565b9050610efe565b508091505092915050565b600080610f8c83611357565b119050919050565b60065481565b600281565b610fa7611c4a565b80600860006101000a81548163ffffffff021916908363ffffffff16021790555050565b610fd3611c4a565b8060078190555050565b6000610fea82600161096e565b9050919050565b610ff9611a2e565b6110036000611c9b565b565b61100d611c4a565b80600860046101000a81548163ffffffff021916908363ffffffff16021790555050565b611039611c4a565b8060068190555050565b61104b611a2e565b60005b815181101561108d5761107a82828151811061106d5761106c6140e1565b5b6020026020010151610cdc565b80806110859061413f565b91505061104e565b5050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000806110c6610bfa565b9050600060028111156110dc576110db613470565b5b8160028111156110ef576110ee613470565b5b03611126576040517f647e888400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600281111561113a57611139613470565b5b81600281111561114d5761114c613470565b5b0361115d57600654915050611164565b6007549150505b90565b600860009054906101000a900463ffffffff1681565b600080611188610bfa565b905060028081111561119d5761119c613470565b5b8160028111156111b0576111af613470565b5b036111d5576111be83610c54565b600260ff166111cd9190614187565b915050611227565b600160028111156111e9576111e8613470565b5b8160028111156111fc576111fb613470565b5b036112215761120a83610bac565b600360ff166112199190614187565b915050611227565b60009150505b919050565b8161123681611aac565b6112408383611d61565b505050565b61124d611c4a565b60004703611287576040517fd0d04f6000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7357be09189ff5dc6cde887e706a2a148d6abf5ff573ffffffffffffffffffffffffffffffffffffffff166108fc60056004476112c491906141bb565b6112ce919061422c565b9081150290604051600060405180830381858888f193505050501580156112f9573d6000803e3d6000fd5b5073f2e4186df36cbdb2c77fad2bc74d169643b32e8673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611354573d6000803e3d6000fd5b50565b600060036000838152602001908152602001600020549050919050565b61137c611c4a565b60c861ffff168161138b610c9d565b611395919061425d565b11156113cd576040517f323c35a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b82518167ffffffffffffffff16101561143657611423838267ffffffffffffffff1681518110611403576114026140e1565b5b602002602001015160018460405180602001604052806000815250611d77565b808061142e90614291565b9150506113d0565b505050565b60c881565b6060604051806060016040528060358152602001614f5060359139905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146115325761153133611aac565b5b61153f8686868686611f27565b505050505050565b61154f611a2e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b590614333565b60405180910390fd5b6115c781611c9b565b50565b600080600090505b60058054905081101561166d578273ffffffffffffffffffffffffffffffffffffffff166005828154811061160a576116096140e1565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361165a576001915050611673565b80806116659061413f565b9150506115d2565b50600090505b919050565b6000611682610bfa565b905060c861ffff1682611693610c9d565b61169d919061425d565b11156116d5576040517f323c35a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116de3361117d565b821115611717576040517f54430be500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816117206110bb565b61172a91906141bb565b3414611762576040517f3acace0100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8461176e338486611fc8565b146117a5576040517f52ccb7e800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117af858561208d565b6117e5576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60008467ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611851576040517f900bb2c900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61186d3360018460405180602001604052806000815250611d77565b6001600c60008567ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160028111156118c1576118c0613470565b5b8160028111156118d4576118d3613470565b5b036119345781600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611928919061425d565b925050819055506119b7565b60028081111561194757611946613470565b5b81600281111561195a57611959613470565b5b036119b65781600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119ae919061425d565b925050819055505b5b5050505050565b60075481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611a366120f1565b73ffffffffffffffffffffffffffffffffffffffff16611a54611091565b73ffffffffffffffffffffffffffffffffffffffff1614611aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa19061439f565b60405180910390fd5b565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611ba6576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611b239291906143bf565b602060405180830381865afa158015611b40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6491906143fd565b611ba557806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611b9c9190613b4e565b60405180910390fd5b5b50565b611bb16120f1565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611bf75750611bf685611bf16120f1565b611460565b5b611c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2d9061449c565b60405180910390fd5b611c4385858585856120f9565b5050505050565b611c5a611c556120f1565b6115ca565b611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c909061452e565b60405180910390fd5b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611d73611d6c6120f1565b838361241a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddd906145c0565b60405180910390fd5b6000611df06120f1565b90506000611dfd85612586565b90506000611e0a85612586565b9050611e1b83600089858589612600565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e7a919061425d565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611ef89291906145e0565b60405180910390a4611f0f83600089858589612616565b611f1e8360008989898961261e565b50505050505050565b611f2f6120f1565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611f755750611f7485611f6f6120f1565b611460565b5b611fb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fab9061449c565b60405180910390fd5b611fc185858585856127f5565b5050505050565b600080611fd3610bfa565b905060006002811115611fe957611fe8613470565b5b816002811115611ffc57611ffb613470565b5b03612033576040517f647e888400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60088054906101000a900460c01b854683600281111561205657612055613470565b5b878760405160200161206d969594939291906146d4565b604051602081830303815290604052805190602001209150509392505050565b60006120998383612a90565b73ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600033905090565b815183511461213d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612134906147b6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036121ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a390614848565b60405180910390fd5b60006121b66120f1565b90506121c6818787878787612600565b60005b84518110156123775760008582815181106121e7576121e66140e1565b5b602002602001015190506000858381518110612206576122056140e1565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156122a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229e906148da565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235c919061425d565b92505081905550505050806123709061413f565b90506121c9565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516123ee9291906148fa565b60405180910390a4612404818787878787612616565b612412818787878787612ab7565b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247f906149a3565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125799190613312565b60405180910390a3505050565b60606000600167ffffffffffffffff8111156125a5576125a4613541565b5b6040519080825280602002602001820160405280156125d35781602001602082028036833780820191505090505b50905082816000815181106125eb576125ea6140e1565b5b60200260200101818152505080915050919050565b61260e868686868686612c8e565b505050505050565b505050505050565b61263d8473ffffffffffffffffffffffffffffffffffffffff16612e5e565b156127ed578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612683959493929190614a18565b6020604051808303816000875af19250505080156126bf57506040513d601f19601f820116820180604052508101906126bc9190614a87565b60015b612764576126cb614ac1565b806308c379a00361272757506126df614ae3565b806126ea5750612729565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271e91906133ea565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275b90614be5565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146127eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e290614c77565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285b90614848565b60405180910390fd5b600061286e6120f1565b9050600061287b85612586565b9050600061288885612586565b9050612898838989858589612600565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508581101561292f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612926906148da565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129e4919061425d565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612a619291906145e0565b60405180910390a4612a77848a8a86868a612616565b612a85848a8a8a8a8a61261e565b505050505050505050565b6000806000612a9f8585612e81565b91509150612aac81612ed2565b819250505092915050565b612ad68473ffffffffffffffffffffffffffffffffffffffff16612e5e565b15612c86578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612b1c959493929190614c97565b6020604051808303816000875af1925050508015612b5857506040513d601f19601f82011682018060405250810190612b559190614a87565b60015b612bfd57612b64614ac1565b806308c379a003612bc05750612b78614ae3565b80612b835750612bc2565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb791906133ea565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf490614be5565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7b90614c77565b60405180910390fd5b505b505050505050565b612c9c868686868686613038565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612d4d5760005b8351811015612d4b57828181518110612cef57612cee6140e1565b5b602002602001015160036000868481518110612d0e57612d0d6140e1565b5b602002602001015181526020019081526020016000206000828254612d33919061425d565b9250508190555080612d449061413f565b9050612cd3565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612e565760005b8351811015612e54576000848281518110612da257612da16140e1565b5b602002602001015190506000848381518110612dc157612dc06140e1565b5b6020026020010151905060006003600084815260200190815260200160002054905081811015612e26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1d90614d71565b60405180910390fd5b818103600360008581526020019081526020016000208190555050505080612e4d9061413f565b9050612d84565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000806041835103612ec25760008060006020860151925060408601519150606086015160001a9050612eb687828585613040565b94509450505050612ecb565b60006002915091505b9250929050565b60006004811115612ee657612ee5613470565b5b816004811115612ef957612ef8613470565b5b03156130355760016004811115612f1357612f12613470565b5b816004811115612f2657612f25613470565b5b03612f66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5d90614ddd565b60405180910390fd5b60026004811115612f7a57612f79613470565b5b816004811115612f8d57612f8c613470565b5b03612fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc490614e49565b60405180910390fd5b60036004811115612fe157612fe0613470565b5b816004811115612ff457612ff3613470565b5b03613034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302b90614edb565b60405180910390fd5b5b50565b505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561307b576000600391509150613119565b6000600187878787604051600081526020016040526040516130a09493929190614f0a565b6020604051602081039080840390855afa1580156130c2573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361311057600060019250925050613119565b80600092509250505b94509492505050565b50805460008255906000526020600020908101906131409190613143565b50565b5b8082111561315c576000816000905550600101613144565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061319f82613174565b9050919050565b6131af81613194565b81146131ba57600080fd5b50565b6000813590506131cc816131a6565b92915050565b6000819050919050565b6131e5816131d2565b81146131f057600080fd5b50565b600081359050613202816131dc565b92915050565b6000806040838503121561321f5761321e61316a565b5b600061322d858286016131bd565b925050602061323e858286016131f3565b9150509250929050565b613251816131d2565b82525050565b600060208201905061326c6000830184613248565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132a781613272565b81146132b257600080fd5b50565b6000813590506132c48161329e565b92915050565b6000602082840312156132e0576132df61316a565b5b60006132ee848285016132b5565b91505092915050565b60008115159050919050565b61330c816132f7565b82525050565b60006020820190506133276000830184613303565b92915050565b6000602082840312156133435761334261316a565b5b6000613351848285016131f3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613394578082015181840152602081019050613379565b60008484015250505050565b6000601f19601f8301169050919050565b60006133bc8261335a565b6133c68185613365565b93506133d6818560208601613376565b6133df816133a0565b840191505092915050565b6000602082019050818103600083015261340481846133b1565b905092915050565b6000602082840312156134225761342161316a565b5b6000613430848285016131bd565b91505092915050565b600060ff82169050919050565b61344f81613439565b82525050565b600060208201905061346a6000830184613446565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600381106134b0576134af613470565b5b50565b60008190506134c18261349f565b919050565b60006134d1826134b3565b9050919050565b6134e1816134c6565b82525050565b60006020820190506134fc60008301846134d8565b92915050565b600063ffffffff82169050919050565b61351b81613502565b82525050565b60006020820190506135366000830184613512565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613579826133a0565b810181811067ffffffffffffffff8211171561359857613597613541565b5b80604052505050565b60006135ab613160565b90506135b78282613570565b919050565b600067ffffffffffffffff8211156135d7576135d6613541565b5b602082029050602081019050919050565b600080fd5b60006136006135fb846135bc565b6135a1565b90508083825260208201905060208402830185811115613623576136226135e8565b5b835b8181101561364c578061363888826131f3565b845260208401935050602081019050613625565b5050509392505050565b600082601f83011261366b5761366a61353c565b5b813561367b8482602086016135ed565b91505092915050565b600080fd5b600067ffffffffffffffff8211156136a4576136a3613541565b5b6136ad826133a0565b9050602081019050919050565b82818337600083830152505050565b60006136dc6136d784613689565b6135a1565b9050828152602081018484840111156136f8576136f7613684565b5b6137038482856136ba565b509392505050565b600082601f8301126137205761371f61353c565b5b81356137308482602086016136c9565b91505092915050565b600080600080600060a086880312156137555761375461316a565b5b6000613763888289016131bd565b9550506020613774888289016131bd565b945050604086013567ffffffffffffffff8111156137955761379461316f565b5b6137a188828901613656565b935050606086013567ffffffffffffffff8111156137c2576137c161316f565b5b6137ce88828901613656565b925050608086013567ffffffffffffffff8111156137ef576137ee61316f565b5b6137fb8882890161370b565b9150509295509295909350565b6000819050919050565b600061382d61382861382384613174565b613808565b613174565b9050919050565b600061383f82613812565b9050919050565b600061385182613834565b9050919050565b61386181613846565b82525050565b600060208201905061387c6000830184613858565b92915050565b600067ffffffffffffffff82111561389d5761389c613541565b5b602082029050602081019050919050565b60006138c16138bc84613882565b6135a1565b905080838252602082019050602084028301858111156138e4576138e36135e8565b5b835b8181101561390d57806138f988826131bd565b8452602084019350506020810190506138e6565b5050509392505050565b600082601f83011261392c5761392b61353c565b5b813561393c8482602086016138ae565b91505092915050565b6000806040838503121561395c5761395b61316a565b5b600083013567ffffffffffffffff81111561397a5761397961316f565b5b61398685828601613917565b925050602083013567ffffffffffffffff8111156139a7576139a661316f565b5b6139b385828601613656565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6139f2816131d2565b82525050565b6000613a0483836139e9565b60208301905092915050565b6000602082019050919050565b6000613a28826139bd565b613a3281856139c8565b9350613a3d836139d9565b8060005b83811015613a6e578151613a5588826139f8565b9750613a6083613a10565b925050600181019050613a41565b5085935050505092915050565b60006020820190508181036000830152613a958184613a1d565b905092915050565b613aa681613502565b8114613ab157600080fd5b50565b600081359050613ac381613a9d565b92915050565b600060208284031215613adf57613ade61316a565b5b6000613aed84828501613ab4565b91505092915050565b600060208284031215613b0c57613b0b61316a565b5b600082013567ffffffffffffffff811115613b2a57613b2961316f565b5b613b3684828501613917565b91505092915050565b613b4881613194565b82525050565b6000602082019050613b636000830184613b3f565b92915050565b613b72816132f7565b8114613b7d57600080fd5b50565b600081359050613b8f81613b69565b92915050565b60008060408385031215613bac57613bab61316a565b5b6000613bba858286016131bd565b9250506020613bcb85828601613b80565b9150509250929050565b60008060408385031215613bec57613beb61316a565b5b600083013567ffffffffffffffff811115613c0a57613c0961316f565b5b613c1685828601613917565b9250506020613c27858286016131f3565b9150509250929050565b600061ffff82169050919050565b613c4881613c31565b82525050565b6000602082019050613c636000830184613c3f565b92915050565b60008060408385031215613c8057613c7f61316a565b5b6000613c8e858286016131bd565b9250506020613c9f858286016131bd565b9150509250929050565b600080600080600060a08688031215613cc557613cc461316a565b5b6000613cd3888289016131bd565b9550506020613ce4888289016131bd565b9450506040613cf5888289016131f3565b9350506060613d06888289016131f3565b925050608086013567ffffffffffffffff811115613d2757613d2661316f565b5b613d338882890161370b565b9150509295509295909350565b6000819050919050565b613d5381613d40565b8114613d5e57600080fd5b50565b600081359050613d7081613d4a565b92915050565b600067ffffffffffffffff82169050919050565b613d9381613d76565b8114613d9e57600080fd5b50565b600081359050613db081613d8a565b92915050565b60008060008060808587031215613dd057613dcf61316a565b5b6000613dde87828801613d61565b945050602085013567ffffffffffffffff811115613dff57613dfe61316f565b5b613e0b8782880161370b565b9350506040613e1c87828801613da1565b9250506060613e2d878288016131f3565b91505092959194509250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613e95602a83613365565b9150613ea082613e39565b604082019050919050565b60006020820190508181036000830152613ec481613e88565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f1257607f821691505b602082108103613f2557613f24613ecb565b5b50919050565b7f4d616e616761626c653a2077616c6c657420697320616c72656164792061206d60008201527f616e616765720000000000000000000000000000000000000000000000000000602082015250565b6000613f87602683613365565b9150613f9282613f2b565b604082019050919050565b60006020820190508181036000830152613fb681613f7a565b9050919050565b7f4d616e616761626c653a206e6577206d616e6167657220697320746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614019602a83613365565b915061402482613fbd565b604082019050919050565b600060208201905081810360008301526140488161400c565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006140ab602983613365565b91506140b68261404f565b604082019050919050565b600060208201905081810360008301526140da8161409e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061414a826131d2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361417c5761417b614110565b5b600182019050919050565b6000614192826131d2565b915061419d836131d2565b92508282039050818111156141b5576141b4614110565b5b92915050565b60006141c6826131d2565b91506141d1836131d2565b92508282026141df816131d2565b915082820484148315176141f6576141f5614110565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614237826131d2565b9150614242836131d2565b925082614252576142516141fd565b5b828204905092915050565b6000614268826131d2565b9150614273836131d2565b925082820190508082111561428b5761428a614110565b5b92915050565b600061429c82613d76565b915067ffffffffffffffff82036142b6576142b5614110565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061431d602683613365565b9150614328826142c1565b604082019050919050565b6000602082019050818103600083015261434c81614310565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614389602083613365565b915061439482614353565b602082019050919050565b600060208201905081810360008301526143b88161437c565b9050919050565b60006040820190506143d46000830185613b3f565b6143e16020830184613b3f565b9392505050565b6000815190506143f781613b69565b92915050565b6000602082840312156144135761441261316a565b5b6000614421848285016143e8565b91505092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614486602e83613365565b91506144918261442a565b604082019050919050565b600060208201905081810360008301526144b581614479565b9050919050565b7f4d616e616761626c653a2063616c6c6572206973206e6f742061206d616e616760008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000614518602283613365565b9150614523826144bc565b604082019050919050565b600060208201905081810360008301526145478161450b565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006145aa602183613365565b91506145b58261454e565b604082019050919050565b600060208201905081810360008301526145d98161459d565b9050919050565b60006040820190506145f56000830185613248565b6146026020830184613248565b9392505050565b60007fffffffffffffffff00000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b61465061464b82614609565b614635565b82525050565b60008160601b9050919050565b600061466e82614656565b9050919050565b600061468082614663565b9050919050565b61469861469382613194565b614675565b82525050565b60008160c01b9050919050565b60006146b68261469e565b9050919050565b6146ce6146c982613d76565b6146ab565b82525050565b60006146e0828961463f565b6008820191506146f08288614687565b60148201915061470082876146bd565b60088201915061471082866146bd565b60088201915061472082856146bd565b60088201915061473082846146bd565b600882019150819050979650505050505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006147a0602883613365565b91506147ab82614744565b604082019050919050565b600060208201905081810360008301526147cf81614793565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614832602583613365565b915061483d826147d6565b604082019050919050565b6000602082019050818103600083015261486181614825565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006148c4602a83613365565b91506148cf82614868565b604082019050919050565b600060208201905081810360008301526148f3816148b7565b9050919050565b600060408201905081810360008301526149148185613a1d565b905081810360208301526149288184613a1d565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061498d602983613365565b915061499882614931565b604082019050919050565b600060208201905081810360008301526149bc81614980565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149ea826149c3565b6149f481856149ce565b9350614a04818560208601613376565b614a0d816133a0565b840191505092915050565b600060a082019050614a2d6000830188613b3f565b614a3a6020830187613b3f565b614a476040830186613248565b614a546060830185613248565b8181036080830152614a6681846149df565b90509695505050505050565b600081519050614a818161329e565b92915050565b600060208284031215614a9d57614a9c61316a565b5b6000614aab84828501614a72565b91505092915050565b60008160e01c9050919050565b600060033d1115614ae05760046000803e614add600051614ab4565b90505b90565b600060443d10614b7057614af5613160565b60043d036004823e80513d602482011167ffffffffffffffff82111715614b1d575050614b70565b808201805167ffffffffffffffff811115614b3b5750505050614b70565b80602083010160043d038501811115614b58575050505050614b70565b614b6782602001850186613570565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614bcf603483613365565b9150614bda82614b73565b604082019050919050565b60006020820190508181036000830152614bfe81614bc2565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614c61602883613365565b9150614c6c82614c05565b604082019050919050565b60006020820190508181036000830152614c9081614c54565b9050919050565b600060a082019050614cac6000830188613b3f565b614cb96020830187613b3f565b8181036040830152614ccb8186613a1d565b90508181036060830152614cdf8185613a1d565b90508181036080830152614cf381846149df565b90509695505050505050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000614d5b602883613365565b9150614d6682614cff565b604082019050919050565b60006020820190508181036000830152614d8a81614d4e565b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614dc7601883613365565b9150614dd282614d91565b602082019050919050565b60006020820190508181036000830152614df681614dba565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614e33601f83613365565b9150614e3e82614dfd565b602082019050919050565b60006020820190508181036000830152614e6281614e26565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ec5602283613365565b9150614ed082614e69565b604082019050919050565b60006020820190508181036000830152614ef481614eb8565b9050919050565b614f0481613d40565b82525050565b6000608082019050614f1f6000830187614efb565b614f2c6020830186613446565b614f396040830185614efb565b614f466060830184614efb565b9594505050505056fe697066733a2f2f516d51585a42516d364d756a634c4464694b584e515761574643387a6b506331376d6a7071615846525169624a6fa2646970667358221220834dabd009d772b7e630a5c24ef8c0d47e9f603b02e3d0488a13c7bfb4b0845864736f6c63430008110033697066733a2f2f516d5034617872546b7770534436504279693170764177635370414e7041566e71484d3432576770595962333253

Deployed Bytecode

0x60806040526004361061023a5760003560e01c8063715018a61161012e578063bd85b039116100ab578063f242432a1161006f578063f242432a14610898578063f2fde38b146108c1578063f3ae2415146108ea578063fd0525bc14610927578063fe55e201146109435761023a565b8063bd85b0391461079f578063c204642c146107dc578063d8258d9514610805578063e8a3d48514610830578063e985e9c51461085b5761023a565b80638e80d549116100f25780638e80d549146106cc578063940de97e146106f75780639737e73014610722578063a22cb4651461075f578063ac446002146107885761023a565b8063715018a61461060f5780637de86909146106265780638b3d95a71461064f5780638c5f9e74146106785780638da5cb5b146106a15761023a565b80632d06177a116101bc578063558b8b4911610180578063558b8b491461052a5780635f31c7fb1461055557806362702cf61461058057806369e24e39146105a957806370a08231146105d25761023a565b80632d06177a146104335780632eb2c2d61461045c57806341f43434146104855780634e1273f4146104b05780634f558e79146104ed5761023a565b80631500163211610203578063150016321461035e57806317bb05561461038957806318160ddd146103c6578063191475b5146103f1578063230b43f4146104085761023a565b8062fdd58e1461023f57806301ffc9a71461027c5780630e89341c146102b9578063120d7257146102f657806314760bf114610333575b600080fd5b34801561024b57600080fd5b5061026660048036038101906102619190613208565b61096e565b6040516102739190613257565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906132ca565b610a36565b6040516102b09190613312565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db919061332d565b610b18565b6040516102ed91906133ea565b60405180910390f35b34801561030257600080fd5b5061031d6004803603810190610318919061340c565b610bac565b60405161032a9190613257565b60405180910390f35b34801561033f57600080fd5b50610348610bf5565b6040516103559190613455565b60405180910390f35b34801561036a57600080fd5b50610373610bfa565b60405161038091906134e7565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab919061340c565b610c54565b6040516103bd9190613257565b60405180910390f35b3480156103d257600080fd5b506103db610c9d565b6040516103e89190613257565b60405180910390f35b3480156103fd57600080fd5b50610406610cae565b005b34801561041457600080fd5b5061041d610cc6565b60405161042a9190613521565b60405180910390f35b34801561043f57600080fd5b5061045a6004803603810190610455919061340c565b610cdc565b005b34801561046857600080fd5b50610483600480360381019061047e9190613739565b610e02565b005b34801561049157600080fd5b5061049a610e55565b6040516104a79190613867565b60405180910390f35b3480156104bc57600080fd5b506104d760048036038101906104d29190613945565b610e67565b6040516104e49190613a7b565b60405180910390f35b3480156104f957600080fd5b50610514600480360381019061050f919061332d565b610f80565b6040516105219190613312565b60405180910390f35b34801561053657600080fd5b5061053f610f94565b60405161054c9190613257565b60405180910390f35b34801561056157600080fd5b5061056a610f9a565b6040516105779190613455565b60405180910390f35b34801561058c57600080fd5b506105a760048036038101906105a29190613ac9565b610f9f565b005b3480156105b557600080fd5b506105d060048036038101906105cb919061332d565b610fcb565b005b3480156105de57600080fd5b506105f960048036038101906105f4919061340c565b610fdd565b6040516106069190613257565b60405180910390f35b34801561061b57600080fd5b50610624610ff1565b005b34801561063257600080fd5b5061064d60048036038101906106489190613ac9565b611005565b005b34801561065b57600080fd5b506106766004803603810190610671919061332d565b611031565b005b34801561068457600080fd5b5061069f600480360381019061069a9190613af6565b611043565b005b3480156106ad57600080fd5b506106b6611091565b6040516106c39190613b4e565b60405180910390f35b3480156106d857600080fd5b506106e16110bb565b6040516106ee9190613257565b60405180910390f35b34801561070357600080fd5b5061070c611167565b6040516107199190613521565b60405180910390f35b34801561072e57600080fd5b506107496004803603810190610744919061340c565b61117d565b6040516107569190613257565b60405180910390f35b34801561076b57600080fd5b5061078660048036038101906107819190613b95565b61122c565b005b34801561079457600080fd5b5061079d611245565b005b3480156107ab57600080fd5b506107c660048036038101906107c1919061332d565b611357565b6040516107d39190613257565b60405180910390f35b3480156107e857600080fd5b5061080360048036038101906107fe9190613bd5565b611374565b005b34801561081157600080fd5b5061081a61143b565b6040516108279190613c4e565b60405180910390f35b34801561083c57600080fd5b50610845611440565b60405161085291906133ea565b60405180910390f35b34801561086757600080fd5b50610882600480360381019061087d9190613c69565b611460565b60405161088f9190613312565b60405180910390f35b3480156108a457600080fd5b506108bf60048036038101906108ba9190613ca9565b6114f4565b005b3480156108cd57600080fd5b506108e860048036038101906108e3919061340c565b611547565b005b3480156108f657600080fd5b50610911600480360381019061090c919061340c565b6115ca565b60405161091e9190613312565b60405180910390f35b610941600480360381019061093c9190613db6565b611678565b005b34801561094f57600080fd5b506109586119be565b6040516109659190613257565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d590613eab565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b0157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b115750610b10826119c4565b5b9050919050565b606060028054610b2790613efa565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5390613efa565b8015610ba05780601f10610b7557610100808354040283529160200191610ba0565b820191906000526020600020905b815481529060010190602001808311610b8357829003601f168201915b50505050509050919050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600381565b6000600860049054906101000a900463ffffffff1663ffffffff164210610c245760029050610c51565b600860009054906101000a900463ffffffff1663ffffffff164210610c4c5760019050610c51565b600090505b90565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610ca96001611357565b905090565b610cb6611a2e565b60056000610cc49190613122565b565b600860049054906101000a900463ffffffff1681565b610ce4611a2e565b610ced816115ca565b15610d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2490613f9d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d939061402f565b60405180910390fd5b6005819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e4057610e3f33611aac565b5b610e4d8686868686611ba9565b505050505050565b6daaeb6d7670e522a718067333cd4e81565b60608151835114610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea4906140c1565b60405180910390fd5b6000835167ffffffffffffffff811115610eca57610ec9613541565b5b604051908082528060200260200182016040528015610ef85781602001602082028036833780820191505090505b50905060005b8451811015610f7557610f45858281518110610f1d57610f1c6140e1565b5b6020026020010151858381518110610f3857610f376140e1565b5b602002602001015161096e565b828281518110610f5857610f576140e1565b5b60200260200101818152505080610f6e9061413f565b9050610efe565b508091505092915050565b600080610f8c83611357565b119050919050565b60065481565b600281565b610fa7611c4a565b80600860006101000a81548163ffffffff021916908363ffffffff16021790555050565b610fd3611c4a565b8060078190555050565b6000610fea82600161096e565b9050919050565b610ff9611a2e565b6110036000611c9b565b565b61100d611c4a565b80600860046101000a81548163ffffffff021916908363ffffffff16021790555050565b611039611c4a565b8060068190555050565b61104b611a2e565b60005b815181101561108d5761107a82828151811061106d5761106c6140e1565b5b6020026020010151610cdc565b80806110859061413f565b91505061104e565b5050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000806110c6610bfa565b9050600060028111156110dc576110db613470565b5b8160028111156110ef576110ee613470565b5b03611126576040517f647e888400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600281111561113a57611139613470565b5b81600281111561114d5761114c613470565b5b0361115d57600654915050611164565b6007549150505b90565b600860009054906101000a900463ffffffff1681565b600080611188610bfa565b905060028081111561119d5761119c613470565b5b8160028111156111b0576111af613470565b5b036111d5576111be83610c54565b600260ff166111cd9190614187565b915050611227565b600160028111156111e9576111e8613470565b5b8160028111156111fc576111fb613470565b5b036112215761120a83610bac565b600360ff166112199190614187565b915050611227565b60009150505b919050565b8161123681611aac565b6112408383611d61565b505050565b61124d611c4a565b60004703611287576040517fd0d04f6000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7357be09189ff5dc6cde887e706a2a148d6abf5ff573ffffffffffffffffffffffffffffffffffffffff166108fc60056004476112c491906141bb565b6112ce919061422c565b9081150290604051600060405180830381858888f193505050501580156112f9573d6000803e3d6000fd5b5073f2e4186df36cbdb2c77fad2bc74d169643b32e8673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611354573d6000803e3d6000fd5b50565b600060036000838152602001908152602001600020549050919050565b61137c611c4a565b60c861ffff168161138b610c9d565b611395919061425d565b11156113cd576040517f323c35a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b82518167ffffffffffffffff16101561143657611423838267ffffffffffffffff1681518110611403576114026140e1565b5b602002602001015160018460405180602001604052806000815250611d77565b808061142e90614291565b9150506113d0565b505050565b60c881565b6060604051806060016040528060358152602001614f5060359139905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146115325761153133611aac565b5b61153f8686868686611f27565b505050505050565b61154f611a2e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b590614333565b60405180910390fd5b6115c781611c9b565b50565b600080600090505b60058054905081101561166d578273ffffffffffffffffffffffffffffffffffffffff166005828154811061160a576116096140e1565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361165a576001915050611673565b80806116659061413f565b9150506115d2565b50600090505b919050565b6000611682610bfa565b905060c861ffff1682611693610c9d565b61169d919061425d565b11156116d5576040517f323c35a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116de3361117d565b821115611717576040517f54430be500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816117206110bb565b61172a91906141bb565b3414611762576040517f3acace0100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8461176e338486611fc8565b146117a5576040517f52ccb7e800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117af858561208d565b6117e5576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60008467ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611851576040517f900bb2c900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61186d3360018460405180602001604052806000815250611d77565b6001600c60008567ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160028111156118c1576118c0613470565b5b8160028111156118d4576118d3613470565b5b036119345781600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611928919061425d565b925050819055506119b7565b60028081111561194757611946613470565b5b81600281111561195a57611959613470565b5b036119b65781600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119ae919061425d565b925050819055505b5b5050505050565b60075481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611a366120f1565b73ffffffffffffffffffffffffffffffffffffffff16611a54611091565b73ffffffffffffffffffffffffffffffffffffffff1614611aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa19061439f565b60405180910390fd5b565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611ba6576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611b239291906143bf565b602060405180830381865afa158015611b40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6491906143fd565b611ba557806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611b9c9190613b4e565b60405180910390fd5b5b50565b611bb16120f1565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611bf75750611bf685611bf16120f1565b611460565b5b611c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2d9061449c565b60405180910390fd5b611c4385858585856120f9565b5050505050565b611c5a611c556120f1565b6115ca565b611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c909061452e565b60405180910390fd5b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611d73611d6c6120f1565b838361241a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddd906145c0565b60405180910390fd5b6000611df06120f1565b90506000611dfd85612586565b90506000611e0a85612586565b9050611e1b83600089858589612600565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e7a919061425d565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611ef89291906145e0565b60405180910390a4611f0f83600089858589612616565b611f1e8360008989898961261e565b50505050505050565b611f2f6120f1565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611f755750611f7485611f6f6120f1565b611460565b5b611fb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fab9061449c565b60405180910390fd5b611fc185858585856127f5565b5050505050565b600080611fd3610bfa565b905060006002811115611fe957611fe8613470565b5b816002811115611ffc57611ffb613470565b5b03612033576040517f647e888400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60088054906101000a900460c01b854683600281111561205657612055613470565b5b878760405160200161206d969594939291906146d4565b604051602081830303815290604052805190602001209150509392505050565b60006120998383612a90565b73ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600033905090565b815183511461213d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612134906147b6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036121ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a390614848565b60405180910390fd5b60006121b66120f1565b90506121c6818787878787612600565b60005b84518110156123775760008582815181106121e7576121e66140e1565b5b602002602001015190506000858381518110612206576122056140e1565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156122a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229e906148da565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235c919061425d565b92505081905550505050806123709061413f565b90506121c9565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516123ee9291906148fa565b60405180910390a4612404818787878787612616565b612412818787878787612ab7565b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247f906149a3565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125799190613312565b60405180910390a3505050565b60606000600167ffffffffffffffff8111156125a5576125a4613541565b5b6040519080825280602002602001820160405280156125d35781602001602082028036833780820191505090505b50905082816000815181106125eb576125ea6140e1565b5b60200260200101818152505080915050919050565b61260e868686868686612c8e565b505050505050565b505050505050565b61263d8473ffffffffffffffffffffffffffffffffffffffff16612e5e565b156127ed578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612683959493929190614a18565b6020604051808303816000875af19250505080156126bf57506040513d601f19601f820116820180604052508101906126bc9190614a87565b60015b612764576126cb614ac1565b806308c379a00361272757506126df614ae3565b806126ea5750612729565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271e91906133ea565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275b90614be5565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146127eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e290614c77565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285b90614848565b60405180910390fd5b600061286e6120f1565b9050600061287b85612586565b9050600061288885612586565b9050612898838989858589612600565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508581101561292f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612926906148da565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129e4919061425d565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612a619291906145e0565b60405180910390a4612a77848a8a86868a612616565b612a85848a8a8a8a8a61261e565b505050505050505050565b6000806000612a9f8585612e81565b91509150612aac81612ed2565b819250505092915050565b612ad68473ffffffffffffffffffffffffffffffffffffffff16612e5e565b15612c86578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612b1c959493929190614c97565b6020604051808303816000875af1925050508015612b5857506040513d601f19601f82011682018060405250810190612b559190614a87565b60015b612bfd57612b64614ac1565b806308c379a003612bc05750612b78614ae3565b80612b835750612bc2565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb791906133ea565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf490614be5565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7b90614c77565b60405180910390fd5b505b505050505050565b612c9c868686868686613038565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612d4d5760005b8351811015612d4b57828181518110612cef57612cee6140e1565b5b602002602001015160036000868481518110612d0e57612d0d6140e1565b5b602002602001015181526020019081526020016000206000828254612d33919061425d565b9250508190555080612d449061413f565b9050612cd3565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612e565760005b8351811015612e54576000848281518110612da257612da16140e1565b5b602002602001015190506000848381518110612dc157612dc06140e1565b5b6020026020010151905060006003600084815260200190815260200160002054905081811015612e26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1d90614d71565b60405180910390fd5b818103600360008581526020019081526020016000208190555050505080612e4d9061413f565b9050612d84565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000806041835103612ec25760008060006020860151925060408601519150606086015160001a9050612eb687828585613040565b94509450505050612ecb565b60006002915091505b9250929050565b60006004811115612ee657612ee5613470565b5b816004811115612ef957612ef8613470565b5b03156130355760016004811115612f1357612f12613470565b5b816004811115612f2657612f25613470565b5b03612f66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5d90614ddd565b60405180910390fd5b60026004811115612f7a57612f79613470565b5b816004811115612f8d57612f8c613470565b5b03612fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc490614e49565b60405180910390fd5b60036004811115612fe157612fe0613470565b5b816004811115612ff457612ff3613470565b5b03613034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302b90614edb565b60405180910390fd5b5b50565b505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561307b576000600391509150613119565b6000600187878787604051600081526020016040526040516130a09493929190614f0a565b6020604051602081039080840390855afa1580156130c2573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361311057600060019250925050613119565b80600092509250505b94509492505050565b50805460008255906000526020600020908101906131409190613143565b50565b5b8082111561315c576000816000905550600101613144565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061319f82613174565b9050919050565b6131af81613194565b81146131ba57600080fd5b50565b6000813590506131cc816131a6565b92915050565b6000819050919050565b6131e5816131d2565b81146131f057600080fd5b50565b600081359050613202816131dc565b92915050565b6000806040838503121561321f5761321e61316a565b5b600061322d858286016131bd565b925050602061323e858286016131f3565b9150509250929050565b613251816131d2565b82525050565b600060208201905061326c6000830184613248565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132a781613272565b81146132b257600080fd5b50565b6000813590506132c48161329e565b92915050565b6000602082840312156132e0576132df61316a565b5b60006132ee848285016132b5565b91505092915050565b60008115159050919050565b61330c816132f7565b82525050565b60006020820190506133276000830184613303565b92915050565b6000602082840312156133435761334261316a565b5b6000613351848285016131f3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613394578082015181840152602081019050613379565b60008484015250505050565b6000601f19601f8301169050919050565b60006133bc8261335a565b6133c68185613365565b93506133d6818560208601613376565b6133df816133a0565b840191505092915050565b6000602082019050818103600083015261340481846133b1565b905092915050565b6000602082840312156134225761342161316a565b5b6000613430848285016131bd565b91505092915050565b600060ff82169050919050565b61344f81613439565b82525050565b600060208201905061346a6000830184613446565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600381106134b0576134af613470565b5b50565b60008190506134c18261349f565b919050565b60006134d1826134b3565b9050919050565b6134e1816134c6565b82525050565b60006020820190506134fc60008301846134d8565b92915050565b600063ffffffff82169050919050565b61351b81613502565b82525050565b60006020820190506135366000830184613512565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613579826133a0565b810181811067ffffffffffffffff8211171561359857613597613541565b5b80604052505050565b60006135ab613160565b90506135b78282613570565b919050565b600067ffffffffffffffff8211156135d7576135d6613541565b5b602082029050602081019050919050565b600080fd5b60006136006135fb846135bc565b6135a1565b90508083825260208201905060208402830185811115613623576136226135e8565b5b835b8181101561364c578061363888826131f3565b845260208401935050602081019050613625565b5050509392505050565b600082601f83011261366b5761366a61353c565b5b813561367b8482602086016135ed565b91505092915050565b600080fd5b600067ffffffffffffffff8211156136a4576136a3613541565b5b6136ad826133a0565b9050602081019050919050565b82818337600083830152505050565b60006136dc6136d784613689565b6135a1565b9050828152602081018484840111156136f8576136f7613684565b5b6137038482856136ba565b509392505050565b600082601f8301126137205761371f61353c565b5b81356137308482602086016136c9565b91505092915050565b600080600080600060a086880312156137555761375461316a565b5b6000613763888289016131bd565b9550506020613774888289016131bd565b945050604086013567ffffffffffffffff8111156137955761379461316f565b5b6137a188828901613656565b935050606086013567ffffffffffffffff8111156137c2576137c161316f565b5b6137ce88828901613656565b925050608086013567ffffffffffffffff8111156137ef576137ee61316f565b5b6137fb8882890161370b565b9150509295509295909350565b6000819050919050565b600061382d61382861382384613174565b613808565b613174565b9050919050565b600061383f82613812565b9050919050565b600061385182613834565b9050919050565b61386181613846565b82525050565b600060208201905061387c6000830184613858565b92915050565b600067ffffffffffffffff82111561389d5761389c613541565b5b602082029050602081019050919050565b60006138c16138bc84613882565b6135a1565b905080838252602082019050602084028301858111156138e4576138e36135e8565b5b835b8181101561390d57806138f988826131bd565b8452602084019350506020810190506138e6565b5050509392505050565b600082601f83011261392c5761392b61353c565b5b813561393c8482602086016138ae565b91505092915050565b6000806040838503121561395c5761395b61316a565b5b600083013567ffffffffffffffff81111561397a5761397961316f565b5b61398685828601613917565b925050602083013567ffffffffffffffff8111156139a7576139a661316f565b5b6139b385828601613656565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6139f2816131d2565b82525050565b6000613a0483836139e9565b60208301905092915050565b6000602082019050919050565b6000613a28826139bd565b613a3281856139c8565b9350613a3d836139d9565b8060005b83811015613a6e578151613a5588826139f8565b9750613a6083613a10565b925050600181019050613a41565b5085935050505092915050565b60006020820190508181036000830152613a958184613a1d565b905092915050565b613aa681613502565b8114613ab157600080fd5b50565b600081359050613ac381613a9d565b92915050565b600060208284031215613adf57613ade61316a565b5b6000613aed84828501613ab4565b91505092915050565b600060208284031215613b0c57613b0b61316a565b5b600082013567ffffffffffffffff811115613b2a57613b2961316f565b5b613b3684828501613917565b91505092915050565b613b4881613194565b82525050565b6000602082019050613b636000830184613b3f565b92915050565b613b72816132f7565b8114613b7d57600080fd5b50565b600081359050613b8f81613b69565b92915050565b60008060408385031215613bac57613bab61316a565b5b6000613bba858286016131bd565b9250506020613bcb85828601613b80565b9150509250929050565b60008060408385031215613bec57613beb61316a565b5b600083013567ffffffffffffffff811115613c0a57613c0961316f565b5b613c1685828601613917565b9250506020613c27858286016131f3565b9150509250929050565b600061ffff82169050919050565b613c4881613c31565b82525050565b6000602082019050613c636000830184613c3f565b92915050565b60008060408385031215613c8057613c7f61316a565b5b6000613c8e858286016131bd565b9250506020613c9f858286016131bd565b9150509250929050565b600080600080600060a08688031215613cc557613cc461316a565b5b6000613cd3888289016131bd565b9550506020613ce4888289016131bd565b9450506040613cf5888289016131f3565b9350506060613d06888289016131f3565b925050608086013567ffffffffffffffff811115613d2757613d2661316f565b5b613d338882890161370b565b9150509295509295909350565b6000819050919050565b613d5381613d40565b8114613d5e57600080fd5b50565b600081359050613d7081613d4a565b92915050565b600067ffffffffffffffff82169050919050565b613d9381613d76565b8114613d9e57600080fd5b50565b600081359050613db081613d8a565b92915050565b60008060008060808587031215613dd057613dcf61316a565b5b6000613dde87828801613d61565b945050602085013567ffffffffffffffff811115613dff57613dfe61316f565b5b613e0b8782880161370b565b9350506040613e1c87828801613da1565b9250506060613e2d878288016131f3565b91505092959194509250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613e95602a83613365565b9150613ea082613e39565b604082019050919050565b60006020820190508181036000830152613ec481613e88565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f1257607f821691505b602082108103613f2557613f24613ecb565b5b50919050565b7f4d616e616761626c653a2077616c6c657420697320616c72656164792061206d60008201527f616e616765720000000000000000000000000000000000000000000000000000602082015250565b6000613f87602683613365565b9150613f9282613f2b565b604082019050919050565b60006020820190508181036000830152613fb681613f7a565b9050919050565b7f4d616e616761626c653a206e6577206d616e6167657220697320746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614019602a83613365565b915061402482613fbd565b604082019050919050565b600060208201905081810360008301526140488161400c565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006140ab602983613365565b91506140b68261404f565b604082019050919050565b600060208201905081810360008301526140da8161409e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061414a826131d2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361417c5761417b614110565b5b600182019050919050565b6000614192826131d2565b915061419d836131d2565b92508282039050818111156141b5576141b4614110565b5b92915050565b60006141c6826131d2565b91506141d1836131d2565b92508282026141df816131d2565b915082820484148315176141f6576141f5614110565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614237826131d2565b9150614242836131d2565b925082614252576142516141fd565b5b828204905092915050565b6000614268826131d2565b9150614273836131d2565b925082820190508082111561428b5761428a614110565b5b92915050565b600061429c82613d76565b915067ffffffffffffffff82036142b6576142b5614110565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061431d602683613365565b9150614328826142c1565b604082019050919050565b6000602082019050818103600083015261434c81614310565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614389602083613365565b915061439482614353565b602082019050919050565b600060208201905081810360008301526143b88161437c565b9050919050565b60006040820190506143d46000830185613b3f565b6143e16020830184613b3f565b9392505050565b6000815190506143f781613b69565b92915050565b6000602082840312156144135761441261316a565b5b6000614421848285016143e8565b91505092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614486602e83613365565b91506144918261442a565b604082019050919050565b600060208201905081810360008301526144b581614479565b9050919050565b7f4d616e616761626c653a2063616c6c6572206973206e6f742061206d616e616760008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000614518602283613365565b9150614523826144bc565b604082019050919050565b600060208201905081810360008301526145478161450b565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006145aa602183613365565b91506145b58261454e565b604082019050919050565b600060208201905081810360008301526145d98161459d565b9050919050565b60006040820190506145f56000830185613248565b6146026020830184613248565b9392505050565b60007fffffffffffffffff00000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b61465061464b82614609565b614635565b82525050565b60008160601b9050919050565b600061466e82614656565b9050919050565b600061468082614663565b9050919050565b61469861469382613194565b614675565b82525050565b60008160c01b9050919050565b60006146b68261469e565b9050919050565b6146ce6146c982613d76565b6146ab565b82525050565b60006146e0828961463f565b6008820191506146f08288614687565b60148201915061470082876146bd565b60088201915061471082866146bd565b60088201915061472082856146bd565b60088201915061473082846146bd565b600882019150819050979650505050505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006147a0602883613365565b91506147ab82614744565b604082019050919050565b600060208201905081810360008301526147cf81614793565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614832602583613365565b915061483d826147d6565b604082019050919050565b6000602082019050818103600083015261486181614825565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006148c4602a83613365565b91506148cf82614868565b604082019050919050565b600060208201905081810360008301526148f3816148b7565b9050919050565b600060408201905081810360008301526149148185613a1d565b905081810360208301526149288184613a1d565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061498d602983613365565b915061499882614931565b604082019050919050565b600060208201905081810360008301526149bc81614980565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149ea826149c3565b6149f481856149ce565b9350614a04818560208601613376565b614a0d816133a0565b840191505092915050565b600060a082019050614a2d6000830188613b3f565b614a3a6020830187613b3f565b614a476040830186613248565b614a546060830185613248565b8181036080830152614a6681846149df565b90509695505050505050565b600081519050614a818161329e565b92915050565b600060208284031215614a9d57614a9c61316a565b5b6000614aab84828501614a72565b91505092915050565b60008160e01c9050919050565b600060033d1115614ae05760046000803e614add600051614ab4565b90505b90565b600060443d10614b7057614af5613160565b60043d036004823e80513d602482011167ffffffffffffffff82111715614b1d575050614b70565b808201805167ffffffffffffffff811115614b3b5750505050614b70565b80602083010160043d038501811115614b58575050505050614b70565b614b6782602001850186613570565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614bcf603483613365565b9150614bda82614b73565b604082019050919050565b60006020820190508181036000830152614bfe81614bc2565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614c61602883613365565b9150614c6c82614c05565b604082019050919050565b60006020820190508181036000830152614c9081614c54565b9050919050565b600060a082019050614cac6000830188613b3f565b614cb96020830187613b3f565b8181036040830152614ccb8186613a1d565b90508181036060830152614cdf8185613a1d565b90508181036080830152614cf381846149df565b90509695505050505050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000614d5b602883613365565b9150614d6682614cff565b604082019050919050565b60006020820190508181036000830152614d8a81614d4e565b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614dc7601883613365565b9150614dd282614d91565b602082019050919050565b60006020820190508181036000830152614df681614dba565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614e33601f83613365565b9150614e3e82614dfd565b602082019050919050565b60006020820190508181036000830152614e6281614e26565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ec5602283613365565b9150614ed082614e69565b604082019050919050565b60006020820190508181036000830152614ef481614eb8565b9050919050565b614f0481613d40565b82525050565b6000608082019050614f1f6000830187614efb565b614f2c6020830186613446565b614f396040830185614efb565b614f466060830184614efb565b9594505050505056fe697066733a2f2f516d51585a42516d364d756a634c4464694b584e515761574643387a6b506331376d6a7071615846525169624a6fa2646970667358221220834dabd009d772b7e630a5c24ef8c0d47e9f603b02e3d0488a13c7bfb4b0845864736f6c63430008110033

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.