ETH Price: $2,454.74 (-1.01%)

Token

Talk Time - Necessary Evil (TALKTIMENE)
 

Overview

Max Total Supply

147 TALKTIMENE

Holders

134

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0xbeae36aefd7ae78ac1d59981bd2969d84eb5430c
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:
Commerce

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 24 : Commerce.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

import "./Abstract1155Factory.sol";
import "./Utils.sol";
import "hardhat/console.sol";

contract Commerce is Abstract1155Factory, ReentrancyGuard {
    using SafeMath for uint256;
    address public receivingWallet;
    uint256 bonusAlbumsGiven = 0;
    uint256 maxBonusAlbumsGiven = 100;
    mapping(uint256 => Token) public tokens;
    event Purchased(uint256[] index, address indexed account, uint256[] amount);
    event Fused(uint256[] index, address indexed account, uint256[] amount);
    struct Token {
        string ipfsMetadataHash;
        string extraDataUri;
        mapping(address => uint256) claimedTokens;
        mapping(uint256 => address) redeemableContracts;
        uint256 numRedeemableContracts;
        mapping(uint256 => Whitelist) whitelistData;
        mapping(uint256 => CurrencyConfig) availableCurrencies;
        uint256 numCurrencies;
        uint256 numTokenWhitelists;
        MintingConfig mintingConfig;
        WhiteListConfig whiteListConfig;
        bool isTokenPack;
    }
    struct MintingConfig {
        bool saleIsOpen;
        uint256 windowOpens;
        uint256 windowCloses;
        uint256 mintPrice;
        uint256 maxSupply;
        uint256 maxPerWallet;
        uint256 maxMintPerTxn;
        uint256 numMinted;
        uint256 fusionTokenID;
        uint256 fusionQuantity;
        bool fusionOpen;
    }
    struct WhiteListConfig {
        bool maxQuantityMappedByWhitelistHoldings;
        bool requireAllWhiteLists;
        bool hasMerkleRoot;
        bytes32 merkleRoot;
    }

    struct CurrencyConfig {
        address tokenAddress;
        string tokenName;
        string abiURI;
        uint256 requiredAmount;
        bool enabled;
    }

    struct Whitelist {
        string tokenType;
        address tokenAddress;
        uint256 mustOwnQuantity;
        uint256 tokenId;
        bool active;
    }

    string public _contractURI;

    constructor(
        string memory _name,
        string memory _symbol,
        address[] memory _admins,
        string memory _contract_URI,
        address _receivingWallet
    ) ERC1155("ipfs://") {
        name_ = _name;
        symbol_ = _symbol;
        receivingWallet = _receivingWallet;
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        for (uint256 i = 0; i < _admins.length; i++) {
            _setupRole(DEFAULT_ADMIN_ROLE, _admins[i]);
        }
        _contractURI = _contract_URI;
    }

    function getOpenSaleTokens() public view returns (string memory) {
        string memory open = "";
        uint256 numTokens = 0;
        while (!Utils.compareStrings(tokens[numTokens].ipfsMetadataHash, "")) {
            if (isSaleOpen(numTokens)) {
                open = string(
                    abi.encodePacked(open, Strings.toString(numTokens), ",")
                );
            }
            numTokens++;
        }
        return open;
    }

    function editToken(
        uint256 _tokenIndex,
        string memory _ipfsMetadataHash,
        string memory _extraDataUri,
        uint256 _windowOpens,
        uint256 _windowCloses,
        uint256 _mintPrice,
        uint256 _maxSupply,
        uint256 _maxMintPerTxn,
        uint256 _maxPerWallet,
        bool _maxQuantityMappedByWhitelistHoldings,
        bool _requireAllWhiteLists,
        address[] memory _redeemableContracts
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        Token storage token = tokens[_tokenIndex];
        token.mintingConfig.windowOpens = _windowOpens;
        token.mintingConfig.windowCloses = _windowCloses;
        token.mintingConfig.mintPrice = _mintPrice;
        token.mintingConfig.maxSupply = _maxSupply;
        token.mintingConfig.maxMintPerTxn = _maxMintPerTxn;
        token.mintingConfig.maxPerWallet = _maxPerWallet;
        token.ipfsMetadataHash = _ipfsMetadataHash;
        token.extraDataUri = _extraDataUri;

        for (uint256 i = 0; i < _redeemableContracts.length; i++) {
            token.redeemableContracts[i] = _redeemableContracts[i];
        }
        token.numRedeemableContracts = _redeemableContracts.length;
        token
            .whiteListConfig
            .maxQuantityMappedByWhitelistHoldings = _maxQuantityMappedByWhitelistHoldings;
        token.whiteListConfig.requireAllWhiteLists = _requireAllWhiteLists;
    }

     function addCurrency(
        uint256 _tokenIndex,
        address _tokenAddress,
        string calldata _tokenName,
        string calldata _tokenABIURI,
        uint256 _requiredAmount,
        bool enabled
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        Token storage token = tokens[_tokenIndex];
        editCurrency(_tokenIndex, token.numCurrencies, _tokenAddress,_tokenName, _tokenABIURI, _requiredAmount, enabled);
        token.numCurrencies++;
    }

    function editCurrency(
        uint256 _tokenIndex,
        uint256 _currencyIndex,
        address _tokenAddress,
        string calldata _tokenName,
        string calldata _tokenABIURI,
        uint256 _requiredAmount,
        bool enabled
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        Token storage token = tokens[_tokenIndex];
        CurrencyConfig storage currency = token.availableCurrencies[_currencyIndex];
        currency.tokenAddress = _tokenAddress;
        currency.tokenName = _tokenName;
        currency.abiURI = _tokenABIURI;
        currency.requiredAmount = _requiredAmount;
        currency.enabled = enabled;
    }


    function addWhiteList(
        uint256 _tokenIndex,
        string memory _tokenType,
        address _tokenAddress,
        uint256 _tokenId,
        uint256 _mustOwnQuantity
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        Whitelist storage whitelist = tokens[_tokenIndex].whitelistData[
            tokens[_tokenIndex].numTokenWhitelists
        ];
        whitelist.tokenType = _tokenType;
        whitelist.tokenId = _tokenId;
        whitelist.active = true;
        whitelist.tokenAddress = _tokenAddress;
        whitelist.mustOwnQuantity = _mustOwnQuantity;
        tokens[_tokenIndex].numTokenWhitelists =
            tokens[_tokenIndex].numTokenWhitelists +
            1;
    }

    function disableWhiteList(
        uint256 _tokenIndex,
        uint256 _whiteListIndexToRemove
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        tokens[_tokenIndex]
            .whitelistData[_whiteListIndexToRemove]
            .active = false;
    }

    function editTokenWhiteListMerkleRoot(
        uint256 _tokenIndex,
        bytes32 _merkleRoot,
        bool enabled
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        tokens[_tokenIndex].whiteListConfig.merkleRoot = _merkleRoot;
        tokens[_tokenIndex].whiteListConfig.hasMerkleRoot = enabled;
    }

    function editReceivingWallet(address _receivingWallet) external onlyOwner {
        receivingWallet = _receivingWallet;
    }

    function burnFromRedeem(
        address account,
        uint256 tokenIndex,
        uint256 amount
    ) external {
        Token storage token = tokens[tokenIndex];
        bool hasValidRedemptionContract = false;
        if (token.numRedeemableContracts > 0) {
            for (uint256 i = 0; i < token.numRedeemableContracts; i++) {
                if (token.redeemableContracts[i] == msg.sender) {
                    hasValidRedemptionContract = true;
                }
            }
        }
        require(hasValidRedemptionContract, "1");
        _burn(account, tokenIndex, amount);
    }



    function purchase(
        uint256[] calldata _quantities,
        uint256[] calldata _tokenIndexes,
        uint256[] calldata _merkleAmounts,
        bytes32[][] calldata _merkleProofs
    ) external payable nonReentrant {
        require(
            arrayIsUnique(_tokenIndexes),
            "Redeem: cannot contain duplicate indexes"
        );
        uint256 totalPrice = 0;
        for (uint256 i = 0; i < _tokenIndexes.length; i++) {
            require(isSaleOpen(_tokenIndexes[i]), "5");
            require(
                tokens[_tokenIndexes[i]].claimedTokens[msg.sender].add(
                    _quantities[i]
                ) <= _merkleAmounts[i],
                "8"
            );
            require(
                tokens[_tokenIndexes[i]].claimedTokens[msg.sender].add(
                    _quantities[i]
                ) <= tokens[_tokenIndexes[i]].mintingConfig.maxPerWallet,
                "9"
            );
            require(
                _quantities[i] <=
                    tokens[_tokenIndexes[i]].mintingConfig.maxMintPerTxn,
                "10"
            );
            require(
                getTokenSupply(_tokenIndexes[i]) + _quantities[i] <=
                    tokens[_tokenIndexes[i]].mintingConfig.maxSupply,
                "11"
            );
            totalPrice = totalPrice.add(
                _quantities[i].mul(
                    tokens[_tokenIndexes[i]].mintingConfig.mintPrice
                )
            );
        }
        require(!paused() && msg.value >= totalPrice, "3");

        uint256[] memory idsToMint;
        uint256[] memory quantitiesToMint;

        idsToMint = new uint256[](_tokenIndexes.length);
        quantitiesToMint = new uint256[](_quantities.length);

        for (uint256 i = 0; i < _tokenIndexes.length; i++) {

            idsToMint[i] = _tokenIndexes[i];

            if (_tokenIndexes[i] == 1) {
                uint256 r = pR();
                if (
                    r <= 2 &&
                    bonusAlbumsGiven < maxBonusAlbumsGiven
                    
                ) {
                    idsToMint[i] = 0;
                    bonusAlbumsGiven++;
                }
            }

            quantitiesToMint[i] = _quantities[i];
            tokens[_tokenIndexes[i]].claimedTokens[msg.sender] = tokens[
                _tokenIndexes[i]
            ].claimedTokens[msg.sender].add(_quantities[i]);
        }

        payable(receivingWallet).transfer(msg.value);
        _mintBatch(msg.sender, idsToMint, quantitiesToMint, "");
        emit Purchased(idsToMint, msg.sender, quantitiesToMint);
        
    }

    function pR() public view returns (uint256) {
        uint256 r = uint256(
            keccak256(abi.encodePacked(block.timestamp, msg.sender))
        ) /
            5000000000000000000000000000000000000000000000000000000000000000000000000000;
        return r;
    }

     

     function purchaseWithAlt(
        uint256[] calldata _quantities,
        uint256[] calldata _tokenIndexes,
        uint256[] calldata _merkleAmounts,
        bytes32[][] calldata _merkleProofs,
        uint256 _currencyIndex
    ) external payable nonReentrant {
        require(
            arrayIsUnique(_tokenIndexes),
            "purchaseWithAlt: cannot contain duplicate indexes"
        );
        require(!paused(), "Sale: paused");
        uint256 totalPrice = 0;
        for (uint256 i = 0; i < _tokenIndexes.length; i++) {
            
            require(isSaleOpen(_tokenIndexes[i]), "5");
            require(
                tokens[_tokenIndexes[i]].claimedTokens[msg.sender].add(
                    _quantities[i]
                ) <= _merkleAmounts[i],
                "8"
            );
            require(
                tokens[_tokenIndexes[i]].claimedTokens[msg.sender].add(
                    _quantities[i]
                ) <= tokens[_tokenIndexes[i]].mintingConfig.maxPerWallet,
                "9"
            );
            require(
                _quantities[i] <=
                    tokens[_tokenIndexes[i]].mintingConfig.maxMintPerTxn,
                "10"
            );
            require(
                getTokenSupply(_tokenIndexes[i]) + _quantities[i] <=
                    tokens[_tokenIndexes[i]].mintingConfig.maxSupply,
                "11"
            );

            require(tokens[_tokenIndexes[i]].availableCurrencies[_currencyIndex].enabled, string(abi.encodePacked(tokens[_tokenIndexes[0]].availableCurrencies[_currencyIndex].tokenName, " not enabled")));
        

            totalPrice = totalPrice.add(
                _quantities[i].mul(
                    tokens[_tokenIndexes[i]].availableCurrencies[_currencyIndex].requiredAmount
                )
            );
        }
        require(IERC20(tokens[_tokenIndexes[0]].availableCurrencies[_currencyIndex].tokenAddress).balanceOf(msg.sender) >= totalPrice, "3a");

        
        uint256[] memory idsToMint;
        uint256[] memory quantitiesToMint;

        idsToMint = new uint256[](_tokenIndexes.length);
        quantitiesToMint = new uint256[](_quantities.length);

        for (uint256 i = 0; i < _tokenIndexes.length; i++) {
            
            idsToMint[i] = _tokenIndexes[i];

            if (_tokenIndexes[i] == 1) {
                uint256 r = pR();
                if (
                    r <= 2 &&
                    bonusAlbumsGiven < maxBonusAlbumsGiven && _quantities[i] <= ((tokens[_tokenIndexes[i]].mintingConfig.maxSupply + maxBonusAlbumsGiven) -  totalSupply(_tokenIndexes[i]))
                    
                ) {
                    idsToMint[i] = 0;
                    bonusAlbumsGiven = bonusAlbumsGiven + _quantities[i];
                }
            }

            quantitiesToMint[i] = _quantities[i];
            tokens[_tokenIndexes[i]].claimedTokens[msg.sender] = tokens[
                _tokenIndexes[i]
            ].claimedTokens[msg.sender].add(_quantities[i]);
        }

        IERC20(tokens[_tokenIndexes[0]].availableCurrencies[_currencyIndex].tokenAddress).transferFrom(msg.sender, receivingWallet, totalPrice);
        _mintBatch(msg.sender, idsToMint, quantitiesToMint, "");
        emit Purchased(idsToMint, msg.sender, quantitiesToMint);
        
    }

    function numAltCurrencies(uint256 tokenIndex) public view returns (uint256) {
       return tokens[tokenIndex].numCurrencies;
    }

    function getTokenCurrencyByIndex(uint256 tokenIndex, uint256 currencyIndex) public view returns (CurrencyConfig memory) {
       return tokens[tokenIndex].availableCurrencies[currencyIndex];
    }

    function arrayIsUnique(uint256[] memory items)
        internal
        pure
        returns (bool)
    {
        // iterate over array to determine whether or not there are any duplicate items in it
        // we do this instead of using a set because it saves gas
        for (uint256 i = 0; i < items.length; i++) {
            for (uint256 k = i + 1; k < items.length; k++) {
                if (items[i] == items[k]) {
                    return false;
                }
            }
        }

        return true;
    }

    function mintBatch(
        address to,
        uint256[] calldata qty,
        uint256[] calldata _tokens
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        _mintBatch(to, _tokens, qty, "");
    }

   
 function getQualifiedAllocation(address sender, 
        uint256 tokenIndex,
        uint256 quantity,
        uint256 amount,
        bytes32[] calldata merkleProof,
        bool returnAllocationOnly) public view returns (uint256) {
           return quantity;
        }
   

    function getExternalTokenBalance(
        address sender,
        Whitelist memory balanceRequest
    ) public view returns (uint256) {
        if (Utils.compareStrings(balanceRequest.tokenType, "ERC721")) {
            WhitelistContract721 _contract = WhitelistContract721(
                balanceRequest.tokenAddress
            );
            return _contract.balanceOf(sender);
        } else if (Utils.compareStrings(balanceRequest.tokenType, "ERC1155")) {
            WhitelistContract1155 _contract = WhitelistContract1155(
                balanceRequest.tokenAddress
            );
            return _contract.balanceOf(sender, balanceRequest.tokenId);
        }
    }

    function isSaleOpen(uint256 tokenIndex) public view returns (bool) {
        Token storage token = tokens[tokenIndex];
        if (paused()) {
            return false;
        }
        if (
            block.timestamp > token.mintingConfig.windowOpens &&
            block.timestamp < token.mintingConfig.windowCloses
        ) {
            return token.mintingConfig.saleIsOpen;
        }
        return false;
    }

    function toggleSale(uint256 mpIndex, bool on)
        public
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        tokens[mpIndex].mintingConfig.saleIsOpen = on;
    }



    function uri(uint256 _id) public view override returns (string memory) {
        require(getTokenSupply(_id) > 0, "16");
        if (Utils.compareStrings(tokens[_id].ipfsMetadataHash, "")) {
            return
                string(abi.encodePacked(super.uri(_id), Strings.toString(_id)));
        } else {
            return string(abi.encodePacked(tokens[_id].ipfsMetadataHash));
        }
    }

    function getTokenSupply(uint256 tokenIndex) public view returns (uint256) {
        Token storage token = tokens[tokenIndex];
        return
            token.isTokenPack
                ? token.mintingConfig.numMinted
                : totalSupply(tokenIndex);
    }
}

contract WhitelistContract1155 {
    function balanceOf(address account, uint256 id)
        external
        view
        returns (uint256)
    {}
}

contract WhitelistContract721 {
    function balanceOf(address account) external view returns (uint256) {}
}

File 2 of 24 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 24 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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

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

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

        emit TransferSingle(operator, account, address(0), id, amount);
    }

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

        return array;
    }
}

File 4 of 24 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 5 of 24 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 24 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 7 of 24 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 8 of 24 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

File 9 of 24 : Abstract1155Factory.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/AccessControl.sol";
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol';
import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Pausable.sol';
import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol';


abstract contract Abstract1155Factory is AccessControl, ERC1155Pausable, ERC1155Supply, ERC1155Burnable, Ownable {
    
    string public name_;
    string public symbol_;

    
    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }    

    function setURI(string memory baseURI) external onlyOwner {
        _setURI(baseURI);
    }    

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

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

    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override(ERC1155, ERC1155Supply) {
        super._mint(account, id, amount, data);
    }

    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override(ERC1155, ERC1155Supply) {
        super._mintBatch(to, ids, amounts, data);
    }

    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual override(ERC1155, ERC1155Supply) {
        super._burn(account, id, amount);
    }

    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual override(ERC1155, ERC1155Supply) {
        super._burnBatch(account, ids, amounts);
    }  

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override(ERC1155Pausable, ERC1155) {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }  

    function setOwner(address _addr) public onlyOwner {
        transferOwnership(_addr);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
   function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, AccessControl) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

}

File 10 of 24 : Utils.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/// @author: @props

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";


/**
 * @title Library of utility functions.
 */
library Utils {

  /**
  * @notice isUnique iterates over all elements in an array to determine whether or 
  * not it contains repeated values. Returns false if a repeated value is found.
  * @param items the array of items to evaluate
  * @return true if the array does not contain repeated items, false if not
  * @dev We use for loops instead of storage based constructs because doing so
  * allows comparison to be run entirely in memory and therefore saves gas.
  */
  function isUnique(uint256[] memory items) internal pure returns (bool) {
      for (uint i = 0; i < items.length; i++) {
          for (uint k = i + 1; k < items.length; k++) {
              if (items[i] == items[k]) {
                  return false;
              }
          }
      }
      return true;
  }


    function compareStrings(string memory a, string memory b) internal view returns (bool) {
        return (keccak256(abi.encodePacked((a))) == keccak256(abi.encodePacked((b))));
    }

  function makeLeaf(address _addr, uint amount) internal pure returns (string memory) {
      return string(abi.encodePacked(toAsciiString(_addr), "_", Strings.toString(amount)));
  }

  function toAsciiString(address x) internal pure returns (string memory) {
      bytes memory s = new bytes(40);
      for (uint i = 0; i < 20; i++) {
          bytes1 b = bytes1(uint8(uint(uint160(x)) / (2**(8*(19 - i)))));
          bytes1 hi = bytes1(uint8(b) / 16);
          bytes1 lo = bytes1(uint8(b) - 16 * uint8(hi));
          s[2*i] = toChar(hi);
          s[2*i+1] = toChar(lo);            
      }
      return string(s);
  }

  function shuffle(uint256[] memory numberArr, bool returnRandomIndex, uint seed) internal view returns(uint256[] memory){
        if(!returnRandomIndex){
             for (uint256 i = 0; i < numberArr.length; i++) {
                uint256 n = i + uint256(keccak256(abi.encodePacked(block.timestamp, msg.sender, seed))) % (numberArr.length - i);
                uint256 temp = numberArr[n];
                numberArr[n] = numberArr[i];
                numberArr[i] = temp;
            }
        }
        else{
            uint randomHash = uint(keccak256(abi.encodePacked(block.timestamp, msg.sender, seed))) % numberArr.length;
            uint256[] memory retNumberArr = new uint256[](1);
            retNumberArr[0] = numberArr[randomHash];
            numberArr = retNumberArr;
        }
       
        return numberArr;
    }

  /**
  * @notice toChar converts a byte array to characters.
  * @param b bytes to convert characters
  * @return bytes character
  * @dev We use for loops instead of storage based constructs because doing so
  * allows comparison to be run entirely in memory and therefore saves gas.
  */
  function toChar(bytes1 b) internal pure returns (bytes1) {
      if (uint8(b) < 10) return bytes1(uint8(b) + 0x30);
      else return bytes1(uint8(b) + 0x57);
  }


}

File 11 of 24 : console.sol
// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.22 <0.9.0;

library console {
	address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);

	function _sendLogPayload(bytes memory payload) private view {
		uint256 payloadLength = payload.length;
		address consoleAddress = CONSOLE_ADDRESS;
		assembly {
			let payloadStart := add(payload, 32)
			let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)
		}
	}

	function log() internal view {
		_sendLogPayload(abi.encodeWithSignature("log()"));
	}

	function logInt(int p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(int)", p0));
	}

	function logUint(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function logString(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function logBool(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function logAddress(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function logBytes(bytes memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
	}

	function logBytes1(bytes1 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
	}

	function logBytes2(bytes2 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
	}

	function logBytes3(bytes3 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
	}

	function logBytes4(bytes4 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
	}

	function logBytes5(bytes5 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
	}

	function logBytes6(bytes6 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
	}

	function logBytes7(bytes7 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
	}

	function logBytes8(bytes8 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
	}

	function logBytes9(bytes9 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
	}

	function logBytes10(bytes10 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
	}

	function logBytes11(bytes11 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
	}

	function logBytes12(bytes12 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
	}

	function logBytes13(bytes13 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
	}

	function logBytes14(bytes14 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
	}

	function logBytes15(bytes15 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
	}

	function logBytes16(bytes16 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
	}

	function logBytes17(bytes17 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
	}

	function logBytes18(bytes18 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
	}

	function logBytes19(bytes19 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
	}

	function logBytes20(bytes20 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
	}

	function logBytes21(bytes21 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
	}

	function logBytes22(bytes22 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
	}

	function logBytes23(bytes23 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
	}

	function logBytes24(bytes24 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
	}

	function logBytes25(bytes25 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
	}

	function logBytes26(bytes26 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
	}

	function logBytes27(bytes27 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
	}

	function logBytes28(bytes28 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
	}

	function logBytes29(bytes29 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
	}

	function logBytes30(bytes30 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
	}

	function logBytes31(bytes31 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
	}

	function logBytes32(bytes32 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
	}

	function log(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function log(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function log(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function log(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function log(uint p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1));
	}

	function log(uint p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1));
	}

	function log(uint p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1));
	}

	function log(uint p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1));
	}

	function log(string memory p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1));
	}

	function log(string memory p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
	}

	function log(string memory p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
	}

	function log(string memory p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
	}

	function log(bool p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1));
	}

	function log(bool p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
	}

	function log(bool p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
	}

	function log(bool p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
	}

	function log(address p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1));
	}

	function log(address p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
	}

	function log(address p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
	}

	function log(address p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
	}

	function log(uint p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2));
	}

	function log(uint p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2));
	}

	function log(uint p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2));
	}

	function log(uint p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2));
	}

	function log(uint p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2));
	}

	function log(uint p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2));
	}

	function log(uint p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2));
	}

	function log(uint p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2));
	}

	function log(uint p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2));
	}

	function log(uint p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2));
	}

	function log(uint p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2));
	}

	function log(uint p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
	}

	function log(string memory p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2));
	}

	function log(string memory p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
	}

	function log(string memory p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
	}

	function log(string memory p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
	}

	function log(bool p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2));
	}

	function log(bool p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2));
	}

	function log(bool p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2));
	}

	function log(bool p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
	}

	function log(bool p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2));
	}

	function log(bool p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
	}

	function log(bool p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
	}

	function log(bool p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
	}

	function log(bool p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2));
	}

	function log(bool p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
	}

	function log(bool p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
	}

	function log(bool p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
	}

	function log(address p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2));
	}

	function log(address p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2));
	}

	function log(address p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2));
	}

	function log(address p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2));
	}

	function log(address p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2));
	}

	function log(address p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
	}

	function log(address p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
	}

	function log(address p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
	}

	function log(address p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2));
	}

	function log(address p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
	}

	function log(address p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
	}

	function log(address p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
	}

	function log(address p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2));
	}

	function log(address p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
	}

	function log(address p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
	}

	function log(address p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
	}

	function log(uint p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
	}

}

File 12 of 24 : IAccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 13 of 24 : Context.sol
// SPDX-License-Identifier: MIT

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 14 of 24 : ERC165.sol
// SPDX-License-Identifier: MIT

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 15 of 24 : IERC165.sol
// SPDX-License-Identifier: MIT

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 16 of 24 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 17 of 24 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

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.
        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. 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 18 of 24 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

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 19 of 24 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 20 of 24 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_msgSender());
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 21 of 24 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory values
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}

File 22 of 24 : ERC1155Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC1155 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Pausable is ERC1155, Pausable {
    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    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);

        require(!paused(), "ERC1155Pausable: token transfer while paused");
    }
}

File 23 of 24 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT

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 weither 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-_mint}.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override {
        super._mint(account, id, amount, data);
        _totalSupply[id] += amount;
    }

    /**
     * @dev See {ERC1155-_mintBatch}.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._mintBatch(to, ids, amounts, data);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] += amounts[i];
        }
    }

    /**
     * @dev See {ERC1155-_burn}.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual override {
        super._burn(account, id, amount);
        _totalSupply[id] -= amount;
    }

    /**
     * @dev See {ERC1155-_burnBatch}.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual override {
        super._burnBatch(account, ids, amounts);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] -= amounts[i];
        }
    }
}

File 24 of 24 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address[]","name":"_admins","type":"address[]"},{"internalType":"string","name":"_contract_URI","type":"string"},{"internalType":"address","name":"_receivingWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"index","type":"uint256[]"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"Fused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"index","type":"uint256[]"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"Purchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenIndex","type":"uint256"},{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenABIURI","type":"string"},{"internalType":"uint256","name":"_requiredAmount","type":"uint256"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"addCurrency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenIndex","type":"uint256"},{"internalType":"string","name":"_tokenType","type":"string"},{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_mustOwnQuantity","type":"uint256"}],"name":"addWhiteList","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":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"tokenIndex","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFromRedeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenIndex","type":"uint256"},{"internalType":"uint256","name":"_whiteListIndexToRemove","type":"uint256"}],"name":"disableWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenIndex","type":"uint256"},{"internalType":"uint256","name":"_currencyIndex","type":"uint256"},{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenABIURI","type":"string"},{"internalType":"uint256","name":"_requiredAmount","type":"uint256"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"editCurrency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receivingWallet","type":"address"}],"name":"editReceivingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenIndex","type":"uint256"},{"internalType":"string","name":"_ipfsMetadataHash","type":"string"},{"internalType":"string","name":"_extraDataUri","type":"string"},{"internalType":"uint256","name":"_windowOpens","type":"uint256"},{"internalType":"uint256","name":"_windowCloses","type":"uint256"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintPerTxn","type":"uint256"},{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"},{"internalType":"bool","name":"_maxQuantityMappedByWhitelistHoldings","type":"bool"},{"internalType":"bool","name":"_requireAllWhiteLists","type":"bool"},{"internalType":"address[]","name":"_redeemableContracts","type":"address[]"}],"name":"editToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenIndex","type":"uint256"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"editTokenWhiteListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"components":[{"internalType":"string","name":"tokenType","type":"string"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"mustOwnQuantity","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"}],"internalType":"struct Commerce.Whitelist","name":"balanceRequest","type":"tuple"}],"name":"getExternalTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOpenSaleTokens","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenIndex","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"bool","name":"returnAllocationOnly","type":"bool"}],"name":"getQualifiedAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenIndex","type":"uint256"},{"internalType":"uint256","name":"currencyIndex","type":"uint256"}],"name":"getTokenCurrencyByIndex","outputs":[{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"abiURI","type":"string"},{"internalType":"uint256","name":"requiredAmount","type":"uint256"},{"internalType":"bool","name":"enabled","type":"bool"}],"internalType":"struct Commerce.CurrencyConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenIndex","type":"uint256"}],"name":"getTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenIndex","type":"uint256"}],"name":"isSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"qty","type":"uint256[]"},{"internalType":"uint256[]","name":"_tokens","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name_","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenIndex","type":"uint256"}],"name":"numAltCurrencies","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":"pR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_quantities","type":"uint256[]"},{"internalType":"uint256[]","name":"_tokenIndexes","type":"uint256[]"},{"internalType":"uint256[]","name":"_merkleAmounts","type":"uint256[]"},{"internalType":"bytes32[][]","name":"_merkleProofs","type":"bytes32[][]"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_quantities","type":"uint256[]"},{"internalType":"uint256[]","name":"_tokenIndexes","type":"uint256[]"},{"internalType":"uint256[]","name":"_merkleAmounts","type":"uint256[]"},{"internalType":"bytes32[][]","name":"_merkleProofs","type":"bytes32[][]"},{"internalType":"uint256","name":"_currencyIndex","type":"uint256"}],"name":"purchaseWithAlt","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"receivingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol_","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mpIndex","type":"uint256"},{"internalType":"bool","name":"on","type":"bool"}],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"string","name":"ipfsMetadataHash","type":"string"},{"internalType":"string","name":"extraDataUri","type":"string"},{"internalType":"uint256","name":"numRedeemableContracts","type":"uint256"},{"internalType":"uint256","name":"numCurrencies","type":"uint256"},{"internalType":"uint256","name":"numTokenWhitelists","type":"uint256"},{"components":[{"internalType":"bool","name":"saleIsOpen","type":"bool"},{"internalType":"uint256","name":"windowOpens","type":"uint256"},{"internalType":"uint256","name":"windowCloses","type":"uint256"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxMintPerTxn","type":"uint256"},{"internalType":"uint256","name":"numMinted","type":"uint256"},{"internalType":"uint256","name":"fusionTokenID","type":"uint256"},{"internalType":"uint256","name":"fusionQuantity","type":"uint256"},{"internalType":"bool","name":"fusionOpen","type":"bool"}],"internalType":"struct Commerce.MintingConfig","name":"mintingConfig","type":"tuple"},{"components":[{"internalType":"bool","name":"maxQuantityMappedByWhitelistHoldings","type":"bool"},{"internalType":"bool","name":"requireAllWhiteLists","type":"bool"},{"internalType":"bool","name":"hasMerkleRoot","type":"bool"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"internalType":"struct Commerce.WhiteListConfig","name":"whiteListConfig","type":"tuple"},{"internalType":"bool","name":"isTokenPack","type":"bool"}],"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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040526000600b556064600c553480156200001b57600080fd5b50604051620062e3380380620062e38339810160408190526200003e91620003bf565b604080518082019091526007815266697066733a2f2f60c81b6020820152620000678162000157565b506004805460ff191690556200007d3362000170565b60016009558451620000979060079060208801906200026b565b508351620000ad9060089060208701906200026b565b50600a80546001600160a01b0319166001600160a01b038316179055620000d6600033620001c2565b60005b83518110156200013557620001206000801b8583815181106200010c57634e487b7160e01b600052603260045260246000fd5b6020026020010151620001c260201b60201c565b806200012c816200056e565b915050620000d9565b5081516200014b90600e9060208501906200026b565b505050505050620005ac565b80516200016c9060039060208401906200026b565b5050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000828152602081815260408083206001600160a01b03851684529091529020546200016c908390839060ff166200016c576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002273390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620002799062000531565b90600052602060002090601f0160209004810192826200029d5760008555620002e8565b82601f10620002b857805160ff1916838001178555620002e8565b82800160010185558215620002e8579182015b82811115620002e8578251825591602001919060010190620002cb565b50620002f6929150620002fa565b5090565b5b80821115620002f65760008155600101620002fb565b80516001600160a01b03811681146200032957600080fd5b919050565b600082601f8301126200033f578081fd5b81516001600160401b038111156200035b576200035b62000596565b602062000371601f8301601f19168201620004fe565b828152858284870101111562000385578384fd5b835b83811015620003a457858101830151828201840152820162000387565b83811115620003b557848385840101525b5095945050505050565b600080600080600060a08688031215620003d7578081fd5b85516001600160401b0380821115620003ee578283fd5b620003fc89838a016200032e565b965060209150818801518181111562000413578384fd5b620004218a828b016200032e565b96505060408801518181111562000436578384fd5b8801601f81018a1362000447578384fd5b8051828111156200045c576200045c62000596565b8060051b6200046d858201620004fe565b8281528581019084870183860188018f101562000488578889fd5b8895505b84861015620004b557620004a08162000311565b8352600195909501949187019187016200048c565b5080995050505050506060880151915080821115620004d2578283fd5b50620004e1888289016200032e565b925050620004f26080870162000311565b90509295509295909350565b604051601f8201601f191681016001600160401b038111828210171562000529576200052962000596565b604052919050565b600181811c908216806200054657607f821691505b602082108114156200056857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200058f57634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b615d2780620005bc6000396000f3fe6080604052600436106103195760003560e01c8063738170a4116101ab578063b0df2abf116100f7578063d85d1b8911610095578063e985e9c51161006f578063e985e9c51461095b578063f242432a146109a4578063f2fde38b146109c4578063f5298aca146109e457600080fd5b8063d85d1b8914610913578063dd66489e14610926578063e2b9e1861461094657600080fd5b8063d547741f116100d1578063d547741f1461088d578063d5ebd788146108ad578063d6b15c4c146108cd578063d81d0a15146108f357600080fd5b8063b0df2abf1461081e578063bd85b0391461084b578063c0e727401461087857600080fd5b8063a16878f911610164578063a5b076801161013e578063a5b0768014610799578063a8afbca1146107b9578063abb9884e146107d9578063af17dea61461080957600080fd5b8063a16878f914610744578063a217fddf14610764578063a22cb4651461077957600080fd5b8063738170a4146106845780637d737203146106bc5780638456cb59146106dc5780638da5cb5b146106f157806391d148541461070f57806395d89b411461072f57600080fd5b80633aeca2101161026a57806357b4d092116102235780636b20c454116101fd5780636b20c454146106275780636d6c4c4114610647578063707657461461065c578063715018a61461066f57600080fd5b806357b4d092146105da578063589b2162146105fa5780635c975abb1461060f57600080fd5b80633aeca210146104f55780633f4ba83a146105155780634044556d1461052a5780634e1273f41461054a5780634f558e79146105775780634f64b2be146105a657600080fd5b806313af4035116102d7578063248a9ca3116102b1578063248a9ca3146104655780632eb2c2d6146104955780632f2ff15d146104b557806336568abe146104d557600080fd5b806313af40351461040557806319b88edb14610425578063227f951c1461044557600080fd5b8062fdd58e1461031e57806301ffc9a71461035157806302fe530514610381578063065eb117146103a357806306fdde03146103c35780630e89341c146103e5575b600080fd5b34801561032a57600080fd5b5061033e610339366004614cde565b610a04565b6040519081526020015b60405180910390f35b34801561035d57600080fd5b5061037161036c366004614ff5565b610aa0565b6040519015158152602001610348565b34801561038d57600080fd5b506103a161039c36600461502d565b610aab565b005b3480156103af57600080fd5b506103a16103be36600461511a565b610ae1565b3480156103cf57600080fd5b506103d8610b11565b60405161034891906156b6565b3480156103f157600080fd5b506103d8610400366004614fbb565b610ba3565b34801561041157600080fd5b506103a16104203660046149ae565b610cf5565b34801561043157600080fd5b5061033e610440366004614fbb565b610d28565b34801561045157600080fd5b5061033e610460366004614c24565b610d63565b34801561047157600080fd5b5061033e610480366004614fbb565b60009081526020819052604090206001015490565b3480156104a157600080fd5b506103a16104b03660046149fa565b610e8e565b3480156104c157600080fd5b506103a16104d0366004614fd3565b610f25565b3480156104e157600080fd5b506103a16104f0366004614fd3565b610f50565b34801561050157600080fd5b506103a1610510366004614d07565b610fce565b34801561052157600080fd5b506103a161106e565b34801561053657600080fd5b50610371610545366004614fbb565b6110a2565b34801561055657600080fd5b5061056a610565366004614dbb565b6110f5565b6040516103489190615675565b34801561058357600080fd5b50610371610592366004614fbb565b600090815260056020526040902054151590565b3480156105b257600080fd5b506105c66105c1366004614fbb565b611256565b6040516103489897969594939291906156c9565b3480156105e657600080fd5b506103a16105f53660046149ae565b611474565b34801561060657600080fd5b506103d86114c0565b34801561061b57600080fd5b5060045460ff16610371565b34801561063357600080fd5b506103a1610642366004614b7e565b61154a565b34801561065357600080fd5b5061033e61158d565b6103a161066a366004614e1b565b611602565b34801561067b57600080fd5b506103a1611e58565b34801561069057600080fd5b50600a546106a4906001600160a01b031681565b6040516001600160a01b039091168152602001610348565b3480156106c857600080fd5b506103a16106d73660046152d8565b611e8c565b3480156106e857600080fd5b506103a1611ec3565b3480156106fd57600080fd5b506006546001600160a01b03166106a4565b34801561071b57600080fd5b5061037161072a366004614fd3565b611ef5565b34801561073b57600080fd5b506103d8611f1e565b34801561075057600080fd5b506103a161075f366004615077565b611f2d565b34801561077057600080fd5b5061033e600081565b34801561078557600080fd5b506103a1610794366004614bee565b611f81565b3480156107a557600080fd5b506103a16107b43660046152f9565b612058565b3480156107c557600080fd5b506103a16107d43660046151dc565b6120e0565b3480156107e557600080fd5b5061033e6107f4366004614fbb565b6000908152600d602052604090206007015490565b34801561081557600080fd5b506103d8612229565b34801561082a57600080fd5b5061083e6108393660046152d8565b6122b7565b60405161034891906159ff565b34801561085757600080fd5b5061033e610866366004614fbb565b60009081526005602052604090205490565b34801561088457600080fd5b506103d8612470565b34801561089957600080fd5b506103a16108a8366004614fd3565b61247d565b3480156108b957600080fd5b506103a16108c836600461513e565b6124a3565b3480156108d957600080fd5b5061033e6108e8366004614d39565b509295945050505050565b3480156108ff57600080fd5b506103a161090e366004614b01565b6124e4565b6103a1610921366004614ed9565b612574565b34801561093257600080fd5b506103a1610941366004615176565b6130e5565b34801561095257600080fd5b506103d861319a565b34801561096757600080fd5b506103716109763660046149c8565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b3480156109b057600080fd5b506103a16109bf366004614a9f565b6131a7565b3480156109d057600080fd5b506103a16109df3660046149ae565b6131ec565b3480156109f057600080fd5b506103a16109ff366004614d07565b613284565b60006001600160a01b038316610a755760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b6000610a9a826132c7565b6006546001600160a01b03163314610ad55760405162461bcd60e51b8152600401610a6c90615982565b610ade81613307565b50565b6000610aed813361331a565b506000918252600d6020526040909120600901805460ff1916911515919091179055565b606060078054610b2090615b35565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4c90615b35565b8015610b995780601f10610b6e57610100808354040283529160200191610b99565b820191906000526020600020905b815481529060010190602001808311610b7c57829003601f168201915b5050505050905090565b60606000610bb083610d28565b11610be25760405162461bcd60e51b8152602060048201526002602482015261189b60f11b6044820152606401610a6c565b6000828152600d602052604090208054610c939190610c0090615b35565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2c90615b35565b8015610c795780601f10610c4e57610100808354040283529160200191610c79565b820191906000526020600020905b815481529060010190602001808311610c5c57829003601f168201915b50505050506040518060200160405280600081525061337e565b15610cd157610ca1826133d7565b610caa8361346b565b604051602001610cbb9291906154bf565b6040516020818303038152906040529050919050565b6000828152600d60209081526040918290209151610cbb929101615529565b919050565b6006546001600160a01b03163314610d1f5760405162461bcd60e51b8152600401610a6c90615982565b610ade816131ec565b6000818152600d60205260408120601681015460ff16610d5657600083815260056020526040902054610d5c565b60108101545b9392505050565b6000610d9182600001516040518060400160405280600681526020016545524337323160d01b81525061337e565b15610e1d5760208201516040516370a0823160e01b81526001600160a01b0385811660048301528216906370a08231906024015b60206040518083038186803b158015610ddd57600080fd5b505afa158015610df1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e15919061505f565b915050610a9a565b610e4a8260000151604051806040016040528060078152602001664552433131353560c81b81525061337e565b15610a9a5760208201516060830151604051627eeac760e11b81526001600160a01b03868116600483015260248201929092529082169062fdd58e90604401610dc5565b6001600160a01b038516331480610eaa5750610eaa8533610976565b610f115760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610a6c565b610f1e858585858561358c565b5050505050565b600082815260208190526040902060010154610f41813361331a565b610f4b838361374d565b505050565b6001600160a01b0381163314610fc05760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a6c565b610fca82826137d1565b5050565b6000828152600d602052604081206004810154909190156110325760005b82600401548110156110305760008181526003840160205260409020546001600160a01b031633141561101e57600191505b8061102881615bbb565b915050610fec565b505b806110635760405162461bcd60e51b81526020600482015260016024820152603160f81b6044820152606401610a6c565b610f1e858585613836565b6006546001600160a01b031633146110985760405162461bcd60e51b8152600401610a6c90615982565b6110a0613841565b565b6000818152600d6020526040812060045460ff16156110c45750600092915050565b600a810154421180156110da5750600b81015442105b156110ec576009015460ff1692915050565b50600092915050565b6060815183511461115a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610a6c565b600083516001600160401b0381111561118357634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156111ac578160200160208202803683370190505b50905060005b845181101561124e576112138582815181106111de57634e487b7160e01b600052603260045260246000fd5b602002602001015185838151811061120657634e487b7160e01b600052603260045260246000fd5b6020026020010151610a04565b82828151811061123357634e487b7160e01b600052603260045260246000fd5b602090810291909101015261124781615bbb565b90506111b2565b509392505050565b600d6020526000908152604090208054819061127190615b35565b80601f016020809104026020016040519081016040528092919081815260200182805461129d90615b35565b80156112ea5780601f106112bf576101008083540402835291602001916112ea565b820191906000526020600020905b8154815290600101906020018083116112cd57829003601f168201915b5050505050908060010180546112ff90615b35565b80601f016020809104026020016040519081016040528092919081815260200182805461132b90615b35565b80156113785780601f1061134d57610100808354040283529160200191611378565b820191906000526020600020905b81548152906001019060200180831161135b57829003601f168201915b5050506004840154600785015460088601546040805161016081018252600989015460ff90811615158252600a8a0154602080840191909152600b8b015483850152600c8b0154606080850191909152600d8c0154608080860191909152600e8d015460a0860152600f8d015460c086015260108d015460e086015260118d01546101008087019190915260128e015461012087015260138e0154851615156101408701528651918201875260148e015480861615158352908104851615159382019390935262010000909204831615159482019490945260158b01549381019390935260169099015497989497939650919450909290911688565b6006546001600160a01b0316331461149e5760405162461bcd60e51b8152600401610a6c90615982565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60408051602081019091526000808252606091905b6000818152600d6020526040902080546114f39190610c0090615b35565b61154457611500816110a2565b15611532578161150f8261346b565b6040516020016115209291906154ee565b60405160208183030381529060405291505b8061153c81615bbb565b9150506114d5565b50919050565b6001600160a01b03831633148061156657506115668333610976565b6115825760405162461bcd60e51b8152600401610a6c90615867565b610f4b8383836138d4565b6000807f0b0de65388cc8ada83b25a55f43294bcbbbad2f8b8ca8800000000000000000042336040516020016115df92919091825260601b6bffffffffffffffffffffffff1916602082015260340190565b6040516020818303038152906040528051906020012060001c610a9a9190615aa8565b600260095414156116555760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a6c565b60026009556040805160208088028281018201909352878252611693928991899182918501908490808284376000920191909152506138df92505050565b6116f05760405162461bcd60e51b815260206004820152602860248201527f52656465656d3a2063616e6e6f7420636f6e7461696e206475706c696361746560448201526720696e646578657360c01b6064820152608401610a6c565b6000805b86811015611aca5761172b88888381811061171f57634e487b7160e01b600052603260045260246000fd5b905060200201356110a2565b61175b5760405162461bcd60e51b81526020600482015260016024820152603560f81b6044820152606401610a6c565b85858281811061177b57634e487b7160e01b600052603260045260246000fd5b905060200201356118008b8b848181106117a557634e487b7160e01b600052603260045260246000fd5b90506020020135600d60008c8c878181106117d057634e487b7160e01b600052603260045260246000fd5b60209081029290920135835250818101929092526040908101600090812033825260020190925290205490613993565b11156118325760405162461bcd60e51b81526020600482015260016024820152600760fb1b6044820152606401610a6c565b600d600089898481811061185657634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600501546118958b8b848181106117a557634e487b7160e01b600052603260045260246000fd5b11156118c75760405162461bcd60e51b81526020600482015260016024820152603960f81b6044820152606401610a6c565b600d60008989848181106118eb57634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600601548a8a8381811061192757634e487b7160e01b600052603260045260246000fd5b9050602002013511156119615760405162461bcd60e51b8152602060048201526002602482015261031360f41b6044820152606401610a6c565b600d600089898481811061198557634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600401548a8a838181106119c157634e487b7160e01b600052603260045260246000fd5b905060200201356119f78a8a858181106119eb57634e487b7160e01b600052603260045260246000fd5b90506020020135610d28565b611a019190615a90565b1115611a345760405162461bcd60e51b8152602060048201526002602482015261313160f01b6044820152606401610a6c565b611ab6611aaf600d60008b8b86818110611a5e57634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600301548c8c85818110611a9a57634e487b7160e01b600052603260045260246000fd5b9050602002013561399f90919063ffffffff16565b8390613993565b915080611ac281615bbb565b9150506116f4565b5060045460ff16158015611ade5750803410155b611b0e5760405162461bcd60e51b81526020600482015260016024820152603360f81b6044820152606401610a6c565b606080876001600160401b03811115611b3757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611b60578160200160208202803683370190505b509150896001600160401b03811115611b8957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611bb2578160200160208202803683370190505b50905060005b88811015611dad57898982818110611be057634e487b7160e01b600052603260045260246000fd5b90506020020135838281518110611c0757634e487b7160e01b600052603260045260246000fd5b602002602001018181525050898982818110611c3357634e487b7160e01b600052603260045260246000fd5b9050602002013560011415611cac576000611c4c61158d565b905060028111158015611c625750600c54600b54105b15611caa576000848381518110611c8957634e487b7160e01b600052603260045260246000fd5b6020908102919091010152600b8054906000611ca483615bbb565b91905055505b505b8b8b82818110611ccc57634e487b7160e01b600052603260045260246000fd5b90506020020135828281518110611cf357634e487b7160e01b600052603260045260246000fd5b602002602001018181525050611d4d8c8c83818110611d2257634e487b7160e01b600052603260045260246000fd5b90506020020135600d60008d8d868181106117d057634e487b7160e01b600052603260045260246000fd5b600d60008c8c85818110611d7157634e487b7160e01b600052603260045260246000fd5b60209081029290920135835250818101929092526040908101600090812033825260020190925290205580611da581615bbb565b915050611bb8565b50600a546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611de7573d6000803e3d6000fd5b50611e03338383604051806020016040528060008152506139ab565b336001600160a01b03167fb19a0e54a0d12c649f962287d12e0573df3d188f5fcad44083dd0a11e759bcc58383604051611e3e929190615688565b60405180910390a250506001600955505050505050505050565b6006546001600160a01b03163314611e825760405162461bcd60e51b8152600401610a6c90615982565b6110a060006139bd565b6000611e98813361331a565b506000918252600d60209081526040808420928452600590920190529020600401805460ff19169055565b6006546001600160a01b03163314611eed5760405162461bcd60e51b8152600401610a6c90615982565b6110a0613a0f565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060088054610b2090615b35565b6000611f39813361331a565b6000898152600d602052604090206007810154611f5e908b908b8b8b8b8b8b8b612058565b600781018054906000611f7083615bbb565b919050555050505050505050505050565b336001600160a01b0383161415611fec5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610a6c565b3360008181526002602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000612064813361331a565b60008a8152600d602090815260408083208c84526006810190925290912080546001600160a01b0319166001600160a01b038b161781556120a9600182018a8a6146a7565b506120b86002820188886146a7565b50600381019490945550506004909101805460ff191691151591909117905550505050505050565b60006120ec813361331a565b6000600d60008f815260200190815260200160002090508a81600901600101819055508981600901600201819055508881600901600301819055508781600901600401819055508681600901600601819055508581600901600501819055508c81600001908051906020019061216392919061472b565b508b5161217990600183019060208f019061472b565b5060005b83518110156121f2578381815181106121a657634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600083815260038501909252604090912080546001600160a01b0319166001600160a01b03909216919091179055806121ea81615bbb565b91505061217d565b509151600483015550601401805461ffff191692151561ff0019169290921761010091151591909102179055505050505050505050565b6008805461223690615b35565b80601f016020809104026020016040519081016040528092919081815260200182805461226290615b35565b80156122af5780601f10612284576101008083540402835291602001916122af565b820191906000526020600020905b81548152906001019060200180831161229257829003601f168201915b505050505081565b6122f46040518060a0016040528060006001600160a01b031681526020016060815260200160608152602001600081526020016000151581525090565b6000838152600d60209081526040808320858452600601825291829020825160a0810190935280546001600160a01b03168352600181018054919284019161233b90615b35565b80601f016020809104026020016040519081016040528092919081815260200182805461236790615b35565b80156123b45780601f10612389576101008083540402835291602001916123b4565b820191906000526020600020905b81548152906001019060200180831161239757829003601f168201915b505050505081526020016002820180546123cd90615b35565b80601f01602080910402602001604051908101604052809291908181526020018280546123f990615b35565b80156124465780601f1061241b57610100808354040283529160200191612446565b820191906000526020600020905b81548152906001019060200180831161242957829003601f168201915b50505091835250506003820154602082015260049091015460ff1615156040909101529392505050565b600e805461223690615b35565b600082815260208190526040902060010154612499813361331a565b610f4b83836137d1565b60006124af813361331a565b506000928352600d602052604090922060158101919091556014018054911515620100000262ff000019909216919091179055565b60006124f0813361331a565b61256c8684848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808c0282810182019093528b82529093508b92508a9182918501908490808284376000920182905250604080516020810190915290815292506139ab915050565b505050505050565b600260095414156125c75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a6c565b60026009556040805160208089028281018201909352888252612605928a918a9182918501908490808284376000920191909152506138df92505050565b61266b5760405162461bcd60e51b815260206004820152603160248201527f707572636861736557697468416c743a2063616e6e6f7420636f6e7461696e206044820152706475706c696361746520696e646578657360781b6064820152608401610a6c565b60045460ff16156126ad5760405162461bcd60e51b815260206004820152600c60248201526b14d85b194e881c185d5cd95960a21b6044820152606401610a6c565b6000805b87811015612b14576126dc89898381811061171f57634e487b7160e01b600052603260045260246000fd5b61270c5760405162461bcd60e51b81526020600482015260016024820152603560f81b6044820152606401610a6c565b86868281811061272c57634e487b7160e01b600052603260045260246000fd5b905060200201356127818c8c8481811061275657634e487b7160e01b600052603260045260246000fd5b90506020020135600d60008d8d878181106117d057634e487b7160e01b600052603260045260246000fd5b11156127b35760405162461bcd60e51b81526020600482015260016024820152600760fb1b6044820152606401610a6c565b600d60008a8a848181106127d757634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600501546128168c8c8481811061275657634e487b7160e01b600052603260045260246000fd5b11156128485760405162461bcd60e51b81526020600482015260016024820152603960f81b6044820152606401610a6c565b600d60008a8a8481811061286c57634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600601548b8b838181106128a857634e487b7160e01b600052603260045260246000fd5b9050602002013511156128e25760405162461bcd60e51b8152602060048201526002602482015261031360f41b6044820152606401610a6c565b600d60008a8a8481811061290657634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600401548b8b8381811061294257634e487b7160e01b600052603260045260246000fd5b9050602002013561296c8b8b858181106119eb57634e487b7160e01b600052603260045260246000fd5b6129769190615a90565b11156129a95760405162461bcd60e51b8152602060048201526002602482015261313160f01b6044820152606401610a6c565b600d60008a8a848181106129cd57634e487b7160e01b600052603260045260246000fd5b60209081029290920135835250818101929092526040908101600090812086825260060190925281206004015460ff1690600d908b8b8281612a1f57634e487b7160e01b600052603260045260246000fd5b9050602002013581526020019081526020016000206006016000858152602001908152602001600020600101604051602001612a5b9190615535565b60405160208183030381529060405290612a885760405162461bcd60e51b8152600401610a6c91906156b6565b50612b00611aaf600d60008c8c86818110612ab357634e487b7160e01b600052603260045260246000fd5b9050602002013581526020019081526020016000206006016000868152602001908152602001600020600301548d8d85818110611a9a57634e487b7160e01b600052603260045260246000fd5b915080612b0c81615bbb565b9150506126b1565b5080600d60008a8a6000818110612b3b57634e487b7160e01b600052603260045260246000fd5b602090810292909201358352508181019290925260409081016000908120868252600601909252908190205490516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015612ba657600080fd5b505afa158015612bba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bde919061505f565b1015612c115760405162461bcd60e51b8152602060048201526002602482015261336160f01b6044820152606401610a6c565b606080886001600160401b03811115612c3a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612c63578160200160208202803683370190505b5091508a6001600160401b03811115612c8c57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612cb5578160200160208202803683370190505b50905060005b89811015612f97578a8a82818110612ce357634e487b7160e01b600052603260045260246000fd5b90506020020135838281518110612d0a57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250508a8a82818110612d3657634e487b7160e01b600052603260045260246000fd5b9050602002013560011415612e96576000612d4f61158d565b905060028111158015612d655750600c54600b54105b8015612e295750612da88c8c84818110612d8f57634e487b7160e01b600052603260045260246000fd5b9050602002013560009081526005602052604090205490565b600c54600d60008f8f87818110612dcf57634e487b7160e01b600052603260045260246000fd5b90506020020135815260200190815260200160002060090160040154612df59190615a90565b612dff9190615adb565b8e8e84818110612e1f57634e487b7160e01b600052603260045260246000fd5b9050602002013511155b15612e94576000848381518110612e5057634e487b7160e01b600052603260045260246000fd5b6020026020010181815250508d8d83818110612e7c57634e487b7160e01b600052603260045260246000fd5b90506020020135600b54612e909190615a90565b600b555b505b8c8c82818110612eb657634e487b7160e01b600052603260045260246000fd5b90506020020135828281518110612edd57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050612f378d8d83818110612f0c57634e487b7160e01b600052603260045260246000fd5b90506020020135600d60008e8e868181106117d057634e487b7160e01b600052603260045260246000fd5b600d60008d8d85818110612f5b57634e487b7160e01b600052603260045260246000fd5b60209081029290920135835250818101929092526040908101600090812033825260020190925290205580612f8f81615bbb565b915050612cbb565b50600d60008b8b6000818110612fbd57634e487b7160e01b600052603260045260246000fd5b6020908102929092013583525081810192909252604090810160009081208782526006019092529081902054600a5491516323b872dd60e01b81523360048201526001600160a01b039283166024820152604481018690529116906323b872dd90606401602060405180830381600087803b15801561303b57600080fd5b505af115801561304f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130739190614f9f565b5061308f338383604051806020016040528060008152506139ab565b336001600160a01b03167fb19a0e54a0d12c649f962287d12e0573df3d188f5fcad44083dd0a11e759bcc583836040516130ca929190615688565b60405180910390a25050600160095550505050505050505050565b60006130f1813361331a565b6000868152600d602090815260408083206008810154845260050182529091208651909161312391839189019061472b565b5060038101849055600481018054600160ff19909116811790915580820180546001600160a01b0319166001600160a01b038816179055600282018490556000888152600d602052604090206008015461317c91615a90565b6000978852600d602052604090972060080196909655505050505050565b6007805461223690615b35565b6001600160a01b0385163314806131c357506131c38533610976565b6131df5760405162461bcd60e51b8152600401610a6c90615867565b610f1e8585858585613a8a565b6006546001600160a01b031633146132165760405162461bcd60e51b8152600401610a6c90615982565b6001600160a01b03811661327b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a6c565b610ade816139bd565b6001600160a01b0383163314806132a057506132a08333610976565b6132bc5760405162461bcd60e51b8152600401610a6c90615867565b610f4b838383613836565b60006001600160e01b03198216636cdb3d1360e11b14806132f857506001600160e01b031982166303a24d0760e21b145b80610a9a5750610a9a82613bba565b8051610fca90600390602084019061472b565b6133248282611ef5565b610fca5761333c816001600160a01b03166014613bef565b613347836020613bef565b60405160200161335892919061555d565b60408051601f198184030181529082905262461bcd60e51b8252610a6c916004016156b6565b60008160405160200161339191906154a3565b60405160208183030381529060405280519060200120836040516020016133b891906154a3565b6040516020818303038152906040528051906020012014905092915050565b6060600380546133e690615b35565b80601f016020809104026020016040519081016040528092919081815260200182805461341290615b35565b801561345f5780601f106134345761010080835404028352916020019161345f565b820191906000526020600020905b81548152906001019060200180831161344257829003601f168201915b50505050509050919050565b60608161348f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156134b957806134a381615bbb565b91506134b29050600a83615aa8565b9150613493565b6000816001600160401b038111156134e157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561350b576020820181803683370190505b5090505b841561358457613520600183615adb565b915061352d600a86615bd6565b613538906030615a90565b60f81b81838151811061355b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061357d600a86615aa8565b945061350f565b949350505050565b81518351146135ad5760405162461bcd60e51b8152600401610a6c906159b7565b6001600160a01b0384166135d35760405162461bcd60e51b8152600401610a6c906158b0565b336135e2818787878787613dd0565b60005b84518110156136e757600085828151811061361057634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061363c57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526001835260408082206001600160a01b038e16835290935291909120549091508181101561368d5760405162461bcd60e51b8152600401610a6c90615938565b60008381526001602090815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906136cc908490615a90565b92505081905550505050806136e090615bbb565b90506135e5565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051613737929190615688565b60405180910390a461256c818787878787613dde565b6137578282611ef5565b610fca576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561378d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6137db8282611ef5565b15610fca576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610f4b838383613f49565b60045460ff1661388a5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a6c565b6004805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610f4b838383613f7c565b6000805b825181101561398a5760006138f9826001615a90565b90505b83518110156139775783818151811061392557634e487b7160e01b600052603260045260246000fd5b602002602001015184838151811061394d57634e487b7160e01b600052603260045260246000fd5b60200260200101511415613965575060009392505050565b8061396f81615bbb565b9150506138fc565b508061398281615bbb565b9150506138e3565b50600192915050565b6000610d5c8284615a90565b6000610d5c8284615abc565b6139b78484848461401a565b50505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60045460ff1615613a555760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a6c565b6004805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586138b73390565b6001600160a01b038416613ab05760405162461bcd60e51b8152600401610a6c906158b0565b33613acf818787613ac0886140b9565b613ac9886140b9565b87613dd0565b60008481526001602090815260408083206001600160a01b038a16845290915290205483811015613b125760405162461bcd60e51b8152600401610a6c90615938565b60008581526001602090815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290613b51908490615a90565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4613bb1828888888888614112565b50505050505050565b60006001600160e01b03198216637965db0b60e01b1480610a9a57506301ffc9a760e01b6001600160e01b0319831614610a9a565b60606000613bfe836002615abc565b613c09906002615a90565b6001600160401b03811115613c2e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613c58576020820181803683370190505b509050600360fc1b81600081518110613c8157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110613cbe57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000613ce2846002615abc565b613ced906001615a90565b90505b6001811115613d81576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613d2f57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110613d5357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93613d7a81615b1e565b9050613cf0565b508315610d5c5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a6c565b61256c8686868686866141dc565b6001600160a01b0384163b1561256c5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190613e2290899089908890889088906004016155d2565b602060405180830381600087803b158015613e3c57600080fd5b505af1925050508015613e6c575060408051601f3d908101601f19168201909252613e6991810190615011565b60015b613f1957613e78615c2c565b806308c379a01415613eb25750613e8d615c44565b80613e985750613eb4565b8060405162461bcd60e51b8152600401610a6c91906156b6565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610a6c565b6001600160e01b0319811663bc197c8160e01b14613bb15760405162461bcd60e51b8152600401610a6c906157db565b613f54838383614244565b60008281526005602052604081208054839290613f72908490615adb565b9091555050505050565b613f87838383614349565b60005b82518110156139b757818181518110613fb357634e487b7160e01b600052603260045260246000fd5b602002602001015160056000858481518110613fdf57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546140049190615adb565b90915550614013905081615bbb565b9050613f8a565b614026848484846144f6565b60005b8351811015610f1e5782818151811061405257634e487b7160e01b600052603260045260246000fd5b60200260200101516005600086848151811061407e57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546140a39190615a90565b909155506140b2905081615bbb565b9050614029565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061410157634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b1561256c5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906141569089908990889088908890600401615630565b602060405180830381600087803b15801561417057600080fd5b505af19250505080156141a0575060408051601f3d908101601f1916820190925261419d91810190615011565b60015b6141ac57613e78615c2c565b6001600160e01b0319811663f23a6e6160e01b14613bb15760405162461bcd60e51b8152600401610a6c906157db565b60045460ff161561256c5760405162461bcd60e51b815260206004820152602c60248201527f455243313135355061757361626c653a20746f6b656e207472616e736665722060448201526b1dda1a5b19481c185d5cd95960a21b6064820152608401610a6c565b6001600160a01b03831661426a5760405162461bcd60e51b8152600401610a6c906158f5565b336142998185600061427b876140b9565b614284876140b9565b60405180602001604052806000815250613dd0565b60008381526001602090815260408083206001600160a01b0388168452909152902054828110156142dc5760405162461bcd60e51b8152600401610a6c90615823565b60008481526001602090815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6001600160a01b03831661436f5760405162461bcd60e51b8152600401610a6c906158f5565b80518251146143905760405162461bcd60e51b8152600401610a6c906159b7565b60003390506143b381856000868660405180602001604052806000815250613dd0565b60005b83518110156144975760008482815181106143e157634e487b7160e01b600052603260045260246000fd5b60200260200101519050600084838151811061440d57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526001835260408082206001600160a01b038c16835290935291909120549091508181101561445e5760405162461bcd60e51b8152600401610a6c90615823565b60009283526001602090815260408085206001600160a01b038b168652909152909220910390558061448f81615bbb565b9150506143b6565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516144e8929190615688565b60405180910390a450505050565b6001600160a01b0384166145565760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610a6c565b81518351146145775760405162461bcd60e51b8152600401610a6c906159b7565b3361458781600087878787613dd0565b60005b845181101561463f578381815181106145b357634e487b7160e01b600052603260045260246000fd5b6020026020010151600160008784815181106145df57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546146279190615a90565b9091555081905061463781615bbb565b91505061458a565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051614690929190615688565b60405180910390a4610f1e81600087878787613dde565b8280546146b390615b35565b90600052602060002090601f0160209004810192826146d5576000855561471b565b82601f106146ee5782800160ff1982351617855561471b565b8280016001018555821561471b579182015b8281111561471b578235825591602001919060010190614700565b5061472792915061479f565b5090565b82805461473790615b35565b90600052602060002090601f016020900481019282614759576000855561471b565b82601f1061477257805160ff191683800117855561471b565b8280016001018555821561471b579182015b8281111561471b578251825591602001919060010190614784565b5b8082111561472757600081556001016147a0565b80356001600160a01b0381168114610cf057600080fd5b600082601f8301126147db578081fd5b813560206147e882615a6d565b6040516147f58282615b8f565b8381528281019150858301600585901b87018401881015614814578586fd5b855b8581101561483957614827826147b4565b84529284019290840190600101614816565b5090979650505050505050565b60008083601f840112614857578182fd5b5081356001600160401b0381111561486d578182fd5b6020830191508360208260051b850101111561488857600080fd5b9250929050565b600082601f83011261489f578081fd5b813560206148ac82615a6d565b6040516148b98282615b8f565b8381528281019150858301600585901b870184018810156148d8578586fd5b855b85811015614839578135845292840192908401906001016148da565b8035610cf081615ccd565b600082601f830112614911578081fd5b81356001600160401b0381111561492a5761492a615c16565b604051614941601f8301601f191660200182615b8f565b818152846020838601011115614955578283fd5b816020850160208301379081016020019190915292915050565b60008083601f840112614980578182fd5b5081356001600160401b03811115614996578182fd5b60208301915083602082850101111561488857600080fd5b6000602082840312156149bf578081fd5b610d5c826147b4565b600080604083850312156149da578081fd5b6149e3836147b4565b91506149f1602084016147b4565b90509250929050565b600080600080600060a08688031215614a11578081fd5b614a1a866147b4565b9450614a28602087016147b4565b935060408601356001600160401b0380821115614a43578283fd5b614a4f89838a0161488f565b94506060880135915080821115614a64578283fd5b614a7089838a0161488f565b93506080880135915080821115614a85578283fd5b50614a9288828901614901565b9150509295509295909350565b600080600080600060a08688031215614ab6578283fd5b614abf866147b4565b9450614acd602087016147b4565b9350604086013592506060860135915060808601356001600160401b03811115614af5578182fd5b614a9288828901614901565b600080600080600060608688031215614b18578283fd5b614b21866147b4565b945060208601356001600160401b0380821115614b3c578485fd5b614b4889838a01614846565b90965094506040880135915080821115614b60578283fd5b50614b6d88828901614846565b969995985093965092949392505050565b600080600060608486031215614b92578081fd5b614b9b846147b4565b925060208401356001600160401b0380821115614bb6578283fd5b614bc28783880161488f565b93506040860135915080821115614bd7578283fd5b50614be48682870161488f565b9150509250925092565b60008060408385031215614c00578182fd5b614c09836147b4565b91506020830135614c1981615ccd565b809150509250929050565b60008060408385031215614c36578182fd5b614c3f836147b4565b915060208301356001600160401b0380821115614c5a578283fd5b9084019060a08287031215614c6d578283fd5b604051614c7981615b6a565b823582811115614c87578485fd5b614c9388828601614901565b825250614ca2602084016147b4565b6020820152604083013560408201526060830135606082015260808301359250614ccb83615ccd565b8260808201528093505050509250929050565b60008060408385031215614cf0578182fd5b614cf9836147b4565b946020939093013593505050565b600080600060608486031215614d1b578081fd5b614d24846147b4565b95602085013595506040909401359392505050565b600080600080600080600060c0888a031215614d53578485fd5b614d5c886147b4565b965060208801359550604088013594506060880135935060808801356001600160401b03811115614d8b578283fd5b614d978a828b01614846565b90945092505060a0880135614dab81615ccd565b8091505092959891949750929550565b60008060408385031215614dcd578182fd5b82356001600160401b0380821115614de3578384fd5b614def868387016147cb565b93506020850135915080821115614e04578283fd5b50614e118582860161488f565b9150509250929050565b6000806000806000806000806080898b031215614e36578182fd5b88356001600160401b0380821115614e4c578384fd5b614e588c838d01614846565b909a50985060208b0135915080821115614e70578384fd5b614e7c8c838d01614846565b909850965060408b0135915080821115614e94578384fd5b614ea08c838d01614846565b909650945060608b0135915080821115614eb8578384fd5b50614ec58b828c01614846565b999c989b5096995094979396929594505050565b600080600080600080600080600060a08a8c031215614ef6578283fd5b89356001600160401b0380821115614f0c578485fd5b614f188d838e01614846565b909b50995060208c0135915080821115614f30578485fd5b614f3c8d838e01614846565b909950975060408c0135915080821115614f54578485fd5b614f608d838e01614846565b909750955060608c0135915080821115614f78578485fd5b50614f858c828d01614846565b9a9d999c50979a9699959894979660800135949350505050565b600060208284031215614fb0578081fd5b8151610d5c81615ccd565b600060208284031215614fcc578081fd5b5035919050565b60008060408385031215614fe5578182fd5b823591506149f1602084016147b4565b600060208284031215615006578081fd5b8135610d5c81615cdb565b600060208284031215615022578081fd5b8151610d5c81615cdb565b60006020828403121561503e578081fd5b81356001600160401b03811115615053578182fd5b61358484828501614901565b600060208284031215615070578081fd5b5051919050565b60008060008060008060008060c0898b031215615092578182fd5b883597506150a260208a016147b4565b965060408901356001600160401b03808211156150bd578384fd5b6150c98c838d0161496f565b909850965060608b01359150808211156150e1578384fd5b506150ee8b828c0161496f565b9095509350506080890135915060a089013561510981615ccd565b809150509295985092959890939650565b6000806040838503121561512c578182fd5b823591506020830135614c1981615ccd565b600080600060608486031215615152578081fd5b8335925060208401359150604084013561516b81615ccd565b809150509250925092565b600080600080600060a0868803121561518d578283fd5b8535945060208601356001600160401b038111156151a9578384fd5b6151b588828901614901565b9450506151c4604087016147b4565b94979396509394606081013594506080013592915050565b6000806000806000806000806000806000806101808d8f0312156151fe578586fd5b8c359b506001600160401b0360208e01351115615219578586fd5b6152298e60208f01358f01614901565b9a506001600160401b0360408e01351115615242578586fd5b6152528e60408f01358f01614901565b995060608d0135985060808d0135975060a08d0135965060c08d0135955060e08d013594506101008d0135935061528c6101208e016148f6565b925061529b6101408e016148f6565b91506001600160401b036101608e013511156152b5578081fd5b6152c68e6101608f01358f016147cb565b90509295989b509295989b509295989b565b600080604083850312156152ea578182fd5b50508035926020909101359150565b600080600080600080600080600060e08a8c031215615316578283fd5b8935985060208a0135975061532d60408b016147b4565b965060608a01356001600160401b0380821115615348578485fd5b6153548d838e0161496f565b909850965060808c013591508082111561536c578485fd5b506153798c828d0161496f565b90955093505060a08a0135915060c08a013561539481615ccd565b809150509295985092959850929598565b6000815180845260208085019450808401835b838110156153d4578151875295820195908201906001016153b8565b509495945050505050565b600081518084526153f7816020860160208601615af2565b601f01601f19169290920160200192915050565b8054600090600181811c908083168061542557607f831692505b602080841082141561544557634e487b7160e01b86526022600452602486fd5b818015615459576001811461546a57615497565b60ff19861689528489019650615497565b60008881526020902060005b8681101561548f5781548b820152908501908301615476565b505084890196505b50505050505092915050565b600082516154b5818460208701615af2565b9190910192915050565b600083516154d1818460208801615af2565b8351908301906154e5818360208801615af2565b01949350505050565b60008351615500818460208801615af2565b835190830190615514818360208801615af2565b600b60fa1b9101908152600101949350505050565b6000610d5c828461540b565b6000615541828461540b565b6b081b9bdd08195b98589b195960a21b8152600c019392505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351615595816017850160208801615af2565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516155c6816028840160208801615af2565b01602801949350505050565b6001600160a01b0386811682528516602082015260a0604082018190526000906155fe908301866153a5565b828103606084015261561081866153a5565b9050828103608084015261562481856153df565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061566a908301846153df565b979650505050505050565b602081526000610d5c60208301846153a5565b60408152600061569b60408301856153a5565b82810360208401526156ad81856153a5565b95945050505050565b602081526000610d5c60208301846153df565b60006102a08083526156dd8184018c6153df565b905082810360208401526156f1818b6153df565b91505087604083015286606083015285608083015261571560a08301865115159052565b602085015160c0830152604085015160e08301526060850151610100818185015260808701519150610120828186015260a08801519250610140838187015260c089015161016087015260e0890151610180870152828901516101a0870152818901516101c08701528089015193505050506157966101e084018215159052565b50835115156102008301526020840151151561022083015260408401511515610240830152606090930151610260820152901515610280909101529695505050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b602080825282516001600160a01b03168282015282015160a06040830152600090615a2d60c08401826153df565b90506040840151601f19848303016060850152615a4a82826153df565b915050606084015160808401526080840151151560a08401528091505092915050565b60006001600160401b03821115615a8657615a86615c16565b5060051b60200190565b60008219821115615aa357615aa3615bea565b500190565b600082615ab757615ab7615c00565b500490565b6000816000190483118215151615615ad657615ad6615bea565b500290565b600082821015615aed57615aed615bea565b500390565b60005b83811015615b0d578181015183820152602001615af5565b838111156139b75750506000910152565b600081615b2d57615b2d615bea565b506000190190565b600181811c90821680615b4957607f821691505b6020821081141561154457634e487b7160e01b600052602260045260246000fd5b60a081018181106001600160401b0382111715615b8957615b89615c16565b60405250565b601f8201601f191681016001600160401b0381118282101715615bb457615bb4615c16565b6040525050565b6000600019821415615bcf57615bcf615bea565b5060010190565b600082615be557615be5615c00565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115615c4157600481823e5160e01c5b90565b600060443d1015615c525790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715615c8157505050505090565b8285019150815181811115615c995750505050505090565b843d8701016020828501011115615cb35750505050505090565b615cc260208286010187615b8f565b509095945050505050565b8015158114610ade57600080fd5b6001600160e01b031981168114610ade57600080fdfea264697066735822122018caca4e026a3bed3bb6474b43b1144d280a72442c949839b35ec3063e91b11d64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000b12a8499c8aca88fe2270ba5552d0a2a1fd8b7fe000000000000000000000000000000000000000000000000000000000000001a54616c6b2054696d65202d204e6563657373617279204576696c000000000000000000000000000000000000000000000000000000000000000000000000000a54414c4b54494d454e4500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000081745b7339d5067e82b93ca6bbad125f214525d3000000000000000000000000110d0c8b5a06c0367053938eedf10131ac9725930000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d566b5a476f75566d4b4537444432764b3536666f5470416a4168747256616636394d6b6d525243797a6756660000000000000000000000

Deployed Bytecode

0x6080604052600436106103195760003560e01c8063738170a4116101ab578063b0df2abf116100f7578063d85d1b8911610095578063e985e9c51161006f578063e985e9c51461095b578063f242432a146109a4578063f2fde38b146109c4578063f5298aca146109e457600080fd5b8063d85d1b8914610913578063dd66489e14610926578063e2b9e1861461094657600080fd5b8063d547741f116100d1578063d547741f1461088d578063d5ebd788146108ad578063d6b15c4c146108cd578063d81d0a15146108f357600080fd5b8063b0df2abf1461081e578063bd85b0391461084b578063c0e727401461087857600080fd5b8063a16878f911610164578063a5b076801161013e578063a5b0768014610799578063a8afbca1146107b9578063abb9884e146107d9578063af17dea61461080957600080fd5b8063a16878f914610744578063a217fddf14610764578063a22cb4651461077957600080fd5b8063738170a4146106845780637d737203146106bc5780638456cb59146106dc5780638da5cb5b146106f157806391d148541461070f57806395d89b411461072f57600080fd5b80633aeca2101161026a57806357b4d092116102235780636b20c454116101fd5780636b20c454146106275780636d6c4c4114610647578063707657461461065c578063715018a61461066f57600080fd5b806357b4d092146105da578063589b2162146105fa5780635c975abb1461060f57600080fd5b80633aeca210146104f55780633f4ba83a146105155780634044556d1461052a5780634e1273f41461054a5780634f558e79146105775780634f64b2be146105a657600080fd5b806313af4035116102d7578063248a9ca3116102b1578063248a9ca3146104655780632eb2c2d6146104955780632f2ff15d146104b557806336568abe146104d557600080fd5b806313af40351461040557806319b88edb14610425578063227f951c1461044557600080fd5b8062fdd58e1461031e57806301ffc9a71461035157806302fe530514610381578063065eb117146103a357806306fdde03146103c35780630e89341c146103e5575b600080fd5b34801561032a57600080fd5b5061033e610339366004614cde565b610a04565b6040519081526020015b60405180910390f35b34801561035d57600080fd5b5061037161036c366004614ff5565b610aa0565b6040519015158152602001610348565b34801561038d57600080fd5b506103a161039c36600461502d565b610aab565b005b3480156103af57600080fd5b506103a16103be36600461511a565b610ae1565b3480156103cf57600080fd5b506103d8610b11565b60405161034891906156b6565b3480156103f157600080fd5b506103d8610400366004614fbb565b610ba3565b34801561041157600080fd5b506103a16104203660046149ae565b610cf5565b34801561043157600080fd5b5061033e610440366004614fbb565b610d28565b34801561045157600080fd5b5061033e610460366004614c24565b610d63565b34801561047157600080fd5b5061033e610480366004614fbb565b60009081526020819052604090206001015490565b3480156104a157600080fd5b506103a16104b03660046149fa565b610e8e565b3480156104c157600080fd5b506103a16104d0366004614fd3565b610f25565b3480156104e157600080fd5b506103a16104f0366004614fd3565b610f50565b34801561050157600080fd5b506103a1610510366004614d07565b610fce565b34801561052157600080fd5b506103a161106e565b34801561053657600080fd5b50610371610545366004614fbb565b6110a2565b34801561055657600080fd5b5061056a610565366004614dbb565b6110f5565b6040516103489190615675565b34801561058357600080fd5b50610371610592366004614fbb565b600090815260056020526040902054151590565b3480156105b257600080fd5b506105c66105c1366004614fbb565b611256565b6040516103489897969594939291906156c9565b3480156105e657600080fd5b506103a16105f53660046149ae565b611474565b34801561060657600080fd5b506103d86114c0565b34801561061b57600080fd5b5060045460ff16610371565b34801561063357600080fd5b506103a1610642366004614b7e565b61154a565b34801561065357600080fd5b5061033e61158d565b6103a161066a366004614e1b565b611602565b34801561067b57600080fd5b506103a1611e58565b34801561069057600080fd5b50600a546106a4906001600160a01b031681565b6040516001600160a01b039091168152602001610348565b3480156106c857600080fd5b506103a16106d73660046152d8565b611e8c565b3480156106e857600080fd5b506103a1611ec3565b3480156106fd57600080fd5b506006546001600160a01b03166106a4565b34801561071b57600080fd5b5061037161072a366004614fd3565b611ef5565b34801561073b57600080fd5b506103d8611f1e565b34801561075057600080fd5b506103a161075f366004615077565b611f2d565b34801561077057600080fd5b5061033e600081565b34801561078557600080fd5b506103a1610794366004614bee565b611f81565b3480156107a557600080fd5b506103a16107b43660046152f9565b612058565b3480156107c557600080fd5b506103a16107d43660046151dc565b6120e0565b3480156107e557600080fd5b5061033e6107f4366004614fbb565b6000908152600d602052604090206007015490565b34801561081557600080fd5b506103d8612229565b34801561082a57600080fd5b5061083e6108393660046152d8565b6122b7565b60405161034891906159ff565b34801561085757600080fd5b5061033e610866366004614fbb565b60009081526005602052604090205490565b34801561088457600080fd5b506103d8612470565b34801561089957600080fd5b506103a16108a8366004614fd3565b61247d565b3480156108b957600080fd5b506103a16108c836600461513e565b6124a3565b3480156108d957600080fd5b5061033e6108e8366004614d39565b509295945050505050565b3480156108ff57600080fd5b506103a161090e366004614b01565b6124e4565b6103a1610921366004614ed9565b612574565b34801561093257600080fd5b506103a1610941366004615176565b6130e5565b34801561095257600080fd5b506103d861319a565b34801561096757600080fd5b506103716109763660046149c8565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b3480156109b057600080fd5b506103a16109bf366004614a9f565b6131a7565b3480156109d057600080fd5b506103a16109df3660046149ae565b6131ec565b3480156109f057600080fd5b506103a16109ff366004614d07565b613284565b60006001600160a01b038316610a755760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b6000610a9a826132c7565b6006546001600160a01b03163314610ad55760405162461bcd60e51b8152600401610a6c90615982565b610ade81613307565b50565b6000610aed813361331a565b506000918252600d6020526040909120600901805460ff1916911515919091179055565b606060078054610b2090615b35565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4c90615b35565b8015610b995780601f10610b6e57610100808354040283529160200191610b99565b820191906000526020600020905b815481529060010190602001808311610b7c57829003601f168201915b5050505050905090565b60606000610bb083610d28565b11610be25760405162461bcd60e51b8152602060048201526002602482015261189b60f11b6044820152606401610a6c565b6000828152600d602052604090208054610c939190610c0090615b35565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2c90615b35565b8015610c795780601f10610c4e57610100808354040283529160200191610c79565b820191906000526020600020905b815481529060010190602001808311610c5c57829003601f168201915b50505050506040518060200160405280600081525061337e565b15610cd157610ca1826133d7565b610caa8361346b565b604051602001610cbb9291906154bf565b6040516020818303038152906040529050919050565b6000828152600d60209081526040918290209151610cbb929101615529565b919050565b6006546001600160a01b03163314610d1f5760405162461bcd60e51b8152600401610a6c90615982565b610ade816131ec565b6000818152600d60205260408120601681015460ff16610d5657600083815260056020526040902054610d5c565b60108101545b9392505050565b6000610d9182600001516040518060400160405280600681526020016545524337323160d01b81525061337e565b15610e1d5760208201516040516370a0823160e01b81526001600160a01b0385811660048301528216906370a08231906024015b60206040518083038186803b158015610ddd57600080fd5b505afa158015610df1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e15919061505f565b915050610a9a565b610e4a8260000151604051806040016040528060078152602001664552433131353560c81b81525061337e565b15610a9a5760208201516060830151604051627eeac760e11b81526001600160a01b03868116600483015260248201929092529082169062fdd58e90604401610dc5565b6001600160a01b038516331480610eaa5750610eaa8533610976565b610f115760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610a6c565b610f1e858585858561358c565b5050505050565b600082815260208190526040902060010154610f41813361331a565b610f4b838361374d565b505050565b6001600160a01b0381163314610fc05760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a6c565b610fca82826137d1565b5050565b6000828152600d602052604081206004810154909190156110325760005b82600401548110156110305760008181526003840160205260409020546001600160a01b031633141561101e57600191505b8061102881615bbb565b915050610fec565b505b806110635760405162461bcd60e51b81526020600482015260016024820152603160f81b6044820152606401610a6c565b610f1e858585613836565b6006546001600160a01b031633146110985760405162461bcd60e51b8152600401610a6c90615982565b6110a0613841565b565b6000818152600d6020526040812060045460ff16156110c45750600092915050565b600a810154421180156110da5750600b81015442105b156110ec576009015460ff1692915050565b50600092915050565b6060815183511461115a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610a6c565b600083516001600160401b0381111561118357634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156111ac578160200160208202803683370190505b50905060005b845181101561124e576112138582815181106111de57634e487b7160e01b600052603260045260246000fd5b602002602001015185838151811061120657634e487b7160e01b600052603260045260246000fd5b6020026020010151610a04565b82828151811061123357634e487b7160e01b600052603260045260246000fd5b602090810291909101015261124781615bbb565b90506111b2565b509392505050565b600d6020526000908152604090208054819061127190615b35565b80601f016020809104026020016040519081016040528092919081815260200182805461129d90615b35565b80156112ea5780601f106112bf576101008083540402835291602001916112ea565b820191906000526020600020905b8154815290600101906020018083116112cd57829003601f168201915b5050505050908060010180546112ff90615b35565b80601f016020809104026020016040519081016040528092919081815260200182805461132b90615b35565b80156113785780601f1061134d57610100808354040283529160200191611378565b820191906000526020600020905b81548152906001019060200180831161135b57829003601f168201915b5050506004840154600785015460088601546040805161016081018252600989015460ff90811615158252600a8a0154602080840191909152600b8b015483850152600c8b0154606080850191909152600d8c0154608080860191909152600e8d015460a0860152600f8d015460c086015260108d015460e086015260118d01546101008087019190915260128e015461012087015260138e0154851615156101408701528651918201875260148e015480861615158352908104851615159382019390935262010000909204831615159482019490945260158b01549381019390935260169099015497989497939650919450909290911688565b6006546001600160a01b0316331461149e5760405162461bcd60e51b8152600401610a6c90615982565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60408051602081019091526000808252606091905b6000818152600d6020526040902080546114f39190610c0090615b35565b61154457611500816110a2565b15611532578161150f8261346b565b6040516020016115209291906154ee565b60405160208183030381529060405291505b8061153c81615bbb565b9150506114d5565b50919050565b6001600160a01b03831633148061156657506115668333610976565b6115825760405162461bcd60e51b8152600401610a6c90615867565b610f4b8383836138d4565b6000807f0b0de65388cc8ada83b25a55f43294bcbbbad2f8b8ca8800000000000000000042336040516020016115df92919091825260601b6bffffffffffffffffffffffff1916602082015260340190565b6040516020818303038152906040528051906020012060001c610a9a9190615aa8565b600260095414156116555760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a6c565b60026009556040805160208088028281018201909352878252611693928991899182918501908490808284376000920191909152506138df92505050565b6116f05760405162461bcd60e51b815260206004820152602860248201527f52656465656d3a2063616e6e6f7420636f6e7461696e206475706c696361746560448201526720696e646578657360c01b6064820152608401610a6c565b6000805b86811015611aca5761172b88888381811061171f57634e487b7160e01b600052603260045260246000fd5b905060200201356110a2565b61175b5760405162461bcd60e51b81526020600482015260016024820152603560f81b6044820152606401610a6c565b85858281811061177b57634e487b7160e01b600052603260045260246000fd5b905060200201356118008b8b848181106117a557634e487b7160e01b600052603260045260246000fd5b90506020020135600d60008c8c878181106117d057634e487b7160e01b600052603260045260246000fd5b60209081029290920135835250818101929092526040908101600090812033825260020190925290205490613993565b11156118325760405162461bcd60e51b81526020600482015260016024820152600760fb1b6044820152606401610a6c565b600d600089898481811061185657634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600501546118958b8b848181106117a557634e487b7160e01b600052603260045260246000fd5b11156118c75760405162461bcd60e51b81526020600482015260016024820152603960f81b6044820152606401610a6c565b600d60008989848181106118eb57634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600601548a8a8381811061192757634e487b7160e01b600052603260045260246000fd5b9050602002013511156119615760405162461bcd60e51b8152602060048201526002602482015261031360f41b6044820152606401610a6c565b600d600089898481811061198557634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600401548a8a838181106119c157634e487b7160e01b600052603260045260246000fd5b905060200201356119f78a8a858181106119eb57634e487b7160e01b600052603260045260246000fd5b90506020020135610d28565b611a019190615a90565b1115611a345760405162461bcd60e51b8152602060048201526002602482015261313160f01b6044820152606401610a6c565b611ab6611aaf600d60008b8b86818110611a5e57634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600301548c8c85818110611a9a57634e487b7160e01b600052603260045260246000fd5b9050602002013561399f90919063ffffffff16565b8390613993565b915080611ac281615bbb565b9150506116f4565b5060045460ff16158015611ade5750803410155b611b0e5760405162461bcd60e51b81526020600482015260016024820152603360f81b6044820152606401610a6c565b606080876001600160401b03811115611b3757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611b60578160200160208202803683370190505b509150896001600160401b03811115611b8957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611bb2578160200160208202803683370190505b50905060005b88811015611dad57898982818110611be057634e487b7160e01b600052603260045260246000fd5b90506020020135838281518110611c0757634e487b7160e01b600052603260045260246000fd5b602002602001018181525050898982818110611c3357634e487b7160e01b600052603260045260246000fd5b9050602002013560011415611cac576000611c4c61158d565b905060028111158015611c625750600c54600b54105b15611caa576000848381518110611c8957634e487b7160e01b600052603260045260246000fd5b6020908102919091010152600b8054906000611ca483615bbb565b91905055505b505b8b8b82818110611ccc57634e487b7160e01b600052603260045260246000fd5b90506020020135828281518110611cf357634e487b7160e01b600052603260045260246000fd5b602002602001018181525050611d4d8c8c83818110611d2257634e487b7160e01b600052603260045260246000fd5b90506020020135600d60008d8d868181106117d057634e487b7160e01b600052603260045260246000fd5b600d60008c8c85818110611d7157634e487b7160e01b600052603260045260246000fd5b60209081029290920135835250818101929092526040908101600090812033825260020190925290205580611da581615bbb565b915050611bb8565b50600a546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611de7573d6000803e3d6000fd5b50611e03338383604051806020016040528060008152506139ab565b336001600160a01b03167fb19a0e54a0d12c649f962287d12e0573df3d188f5fcad44083dd0a11e759bcc58383604051611e3e929190615688565b60405180910390a250506001600955505050505050505050565b6006546001600160a01b03163314611e825760405162461bcd60e51b8152600401610a6c90615982565b6110a060006139bd565b6000611e98813361331a565b506000918252600d60209081526040808420928452600590920190529020600401805460ff19169055565b6006546001600160a01b03163314611eed5760405162461bcd60e51b8152600401610a6c90615982565b6110a0613a0f565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060088054610b2090615b35565b6000611f39813361331a565b6000898152600d602052604090206007810154611f5e908b908b8b8b8b8b8b8b612058565b600781018054906000611f7083615bbb565b919050555050505050505050505050565b336001600160a01b0383161415611fec5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610a6c565b3360008181526002602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000612064813361331a565b60008a8152600d602090815260408083208c84526006810190925290912080546001600160a01b0319166001600160a01b038b161781556120a9600182018a8a6146a7565b506120b86002820188886146a7565b50600381019490945550506004909101805460ff191691151591909117905550505050505050565b60006120ec813361331a565b6000600d60008f815260200190815260200160002090508a81600901600101819055508981600901600201819055508881600901600301819055508781600901600401819055508681600901600601819055508581600901600501819055508c81600001908051906020019061216392919061472b565b508b5161217990600183019060208f019061472b565b5060005b83518110156121f2578381815181106121a657634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600083815260038501909252604090912080546001600160a01b0319166001600160a01b03909216919091179055806121ea81615bbb565b91505061217d565b509151600483015550601401805461ffff191692151561ff0019169290921761010091151591909102179055505050505050505050565b6008805461223690615b35565b80601f016020809104026020016040519081016040528092919081815260200182805461226290615b35565b80156122af5780601f10612284576101008083540402835291602001916122af565b820191906000526020600020905b81548152906001019060200180831161229257829003601f168201915b505050505081565b6122f46040518060a0016040528060006001600160a01b031681526020016060815260200160608152602001600081526020016000151581525090565b6000838152600d60209081526040808320858452600601825291829020825160a0810190935280546001600160a01b03168352600181018054919284019161233b90615b35565b80601f016020809104026020016040519081016040528092919081815260200182805461236790615b35565b80156123b45780601f10612389576101008083540402835291602001916123b4565b820191906000526020600020905b81548152906001019060200180831161239757829003601f168201915b505050505081526020016002820180546123cd90615b35565b80601f01602080910402602001604051908101604052809291908181526020018280546123f990615b35565b80156124465780601f1061241b57610100808354040283529160200191612446565b820191906000526020600020905b81548152906001019060200180831161242957829003601f168201915b50505091835250506003820154602082015260049091015460ff1615156040909101529392505050565b600e805461223690615b35565b600082815260208190526040902060010154612499813361331a565b610f4b83836137d1565b60006124af813361331a565b506000928352600d602052604090922060158101919091556014018054911515620100000262ff000019909216919091179055565b60006124f0813361331a565b61256c8684848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808c0282810182019093528b82529093508b92508a9182918501908490808284376000920182905250604080516020810190915290815292506139ab915050565b505050505050565b600260095414156125c75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a6c565b60026009556040805160208089028281018201909352888252612605928a918a9182918501908490808284376000920191909152506138df92505050565b61266b5760405162461bcd60e51b815260206004820152603160248201527f707572636861736557697468416c743a2063616e6e6f7420636f6e7461696e206044820152706475706c696361746520696e646578657360781b6064820152608401610a6c565b60045460ff16156126ad5760405162461bcd60e51b815260206004820152600c60248201526b14d85b194e881c185d5cd95960a21b6044820152606401610a6c565b6000805b87811015612b14576126dc89898381811061171f57634e487b7160e01b600052603260045260246000fd5b61270c5760405162461bcd60e51b81526020600482015260016024820152603560f81b6044820152606401610a6c565b86868281811061272c57634e487b7160e01b600052603260045260246000fd5b905060200201356127818c8c8481811061275657634e487b7160e01b600052603260045260246000fd5b90506020020135600d60008d8d878181106117d057634e487b7160e01b600052603260045260246000fd5b11156127b35760405162461bcd60e51b81526020600482015260016024820152600760fb1b6044820152606401610a6c565b600d60008a8a848181106127d757634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600501546128168c8c8481811061275657634e487b7160e01b600052603260045260246000fd5b11156128485760405162461bcd60e51b81526020600482015260016024820152603960f81b6044820152606401610a6c565b600d60008a8a8481811061286c57634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600601548b8b838181106128a857634e487b7160e01b600052603260045260246000fd5b9050602002013511156128e25760405162461bcd60e51b8152602060048201526002602482015261031360f41b6044820152606401610a6c565b600d60008a8a8481811061290657634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020600901600401548b8b8381811061294257634e487b7160e01b600052603260045260246000fd5b9050602002013561296c8b8b858181106119eb57634e487b7160e01b600052603260045260246000fd5b6129769190615a90565b11156129a95760405162461bcd60e51b8152602060048201526002602482015261313160f01b6044820152606401610a6c565b600d60008a8a848181106129cd57634e487b7160e01b600052603260045260246000fd5b60209081029290920135835250818101929092526040908101600090812086825260060190925281206004015460ff1690600d908b8b8281612a1f57634e487b7160e01b600052603260045260246000fd5b9050602002013581526020019081526020016000206006016000858152602001908152602001600020600101604051602001612a5b9190615535565b60405160208183030381529060405290612a885760405162461bcd60e51b8152600401610a6c91906156b6565b50612b00611aaf600d60008c8c86818110612ab357634e487b7160e01b600052603260045260246000fd5b9050602002013581526020019081526020016000206006016000868152602001908152602001600020600301548d8d85818110611a9a57634e487b7160e01b600052603260045260246000fd5b915080612b0c81615bbb565b9150506126b1565b5080600d60008a8a6000818110612b3b57634e487b7160e01b600052603260045260246000fd5b602090810292909201358352508181019290925260409081016000908120868252600601909252908190205490516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015612ba657600080fd5b505afa158015612bba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bde919061505f565b1015612c115760405162461bcd60e51b8152602060048201526002602482015261336160f01b6044820152606401610a6c565b606080886001600160401b03811115612c3a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612c63578160200160208202803683370190505b5091508a6001600160401b03811115612c8c57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015612cb5578160200160208202803683370190505b50905060005b89811015612f97578a8a82818110612ce357634e487b7160e01b600052603260045260246000fd5b90506020020135838281518110612d0a57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250508a8a82818110612d3657634e487b7160e01b600052603260045260246000fd5b9050602002013560011415612e96576000612d4f61158d565b905060028111158015612d655750600c54600b54105b8015612e295750612da88c8c84818110612d8f57634e487b7160e01b600052603260045260246000fd5b9050602002013560009081526005602052604090205490565b600c54600d60008f8f87818110612dcf57634e487b7160e01b600052603260045260246000fd5b90506020020135815260200190815260200160002060090160040154612df59190615a90565b612dff9190615adb565b8e8e84818110612e1f57634e487b7160e01b600052603260045260246000fd5b9050602002013511155b15612e94576000848381518110612e5057634e487b7160e01b600052603260045260246000fd5b6020026020010181815250508d8d83818110612e7c57634e487b7160e01b600052603260045260246000fd5b90506020020135600b54612e909190615a90565b600b555b505b8c8c82818110612eb657634e487b7160e01b600052603260045260246000fd5b90506020020135828281518110612edd57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050612f378d8d83818110612f0c57634e487b7160e01b600052603260045260246000fd5b90506020020135600d60008e8e868181106117d057634e487b7160e01b600052603260045260246000fd5b600d60008d8d85818110612f5b57634e487b7160e01b600052603260045260246000fd5b60209081029290920135835250818101929092526040908101600090812033825260020190925290205580612f8f81615bbb565b915050612cbb565b50600d60008b8b6000818110612fbd57634e487b7160e01b600052603260045260246000fd5b6020908102929092013583525081810192909252604090810160009081208782526006019092529081902054600a5491516323b872dd60e01b81523360048201526001600160a01b039283166024820152604481018690529116906323b872dd90606401602060405180830381600087803b15801561303b57600080fd5b505af115801561304f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130739190614f9f565b5061308f338383604051806020016040528060008152506139ab565b336001600160a01b03167fb19a0e54a0d12c649f962287d12e0573df3d188f5fcad44083dd0a11e759bcc583836040516130ca929190615688565b60405180910390a25050600160095550505050505050505050565b60006130f1813361331a565b6000868152600d602090815260408083206008810154845260050182529091208651909161312391839189019061472b565b5060038101849055600481018054600160ff19909116811790915580820180546001600160a01b0319166001600160a01b038816179055600282018490556000888152600d602052604090206008015461317c91615a90565b6000978852600d602052604090972060080196909655505050505050565b6007805461223690615b35565b6001600160a01b0385163314806131c357506131c38533610976565b6131df5760405162461bcd60e51b8152600401610a6c90615867565b610f1e8585858585613a8a565b6006546001600160a01b031633146132165760405162461bcd60e51b8152600401610a6c90615982565b6001600160a01b03811661327b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a6c565b610ade816139bd565b6001600160a01b0383163314806132a057506132a08333610976565b6132bc5760405162461bcd60e51b8152600401610a6c90615867565b610f4b838383613836565b60006001600160e01b03198216636cdb3d1360e11b14806132f857506001600160e01b031982166303a24d0760e21b145b80610a9a5750610a9a82613bba565b8051610fca90600390602084019061472b565b6133248282611ef5565b610fca5761333c816001600160a01b03166014613bef565b613347836020613bef565b60405160200161335892919061555d565b60408051601f198184030181529082905262461bcd60e51b8252610a6c916004016156b6565b60008160405160200161339191906154a3565b60405160208183030381529060405280519060200120836040516020016133b891906154a3565b6040516020818303038152906040528051906020012014905092915050565b6060600380546133e690615b35565b80601f016020809104026020016040519081016040528092919081815260200182805461341290615b35565b801561345f5780601f106134345761010080835404028352916020019161345f565b820191906000526020600020905b81548152906001019060200180831161344257829003601f168201915b50505050509050919050565b60608161348f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156134b957806134a381615bbb565b91506134b29050600a83615aa8565b9150613493565b6000816001600160401b038111156134e157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561350b576020820181803683370190505b5090505b841561358457613520600183615adb565b915061352d600a86615bd6565b613538906030615a90565b60f81b81838151811061355b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061357d600a86615aa8565b945061350f565b949350505050565b81518351146135ad5760405162461bcd60e51b8152600401610a6c906159b7565b6001600160a01b0384166135d35760405162461bcd60e51b8152600401610a6c906158b0565b336135e2818787878787613dd0565b60005b84518110156136e757600085828151811061361057634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061363c57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526001835260408082206001600160a01b038e16835290935291909120549091508181101561368d5760405162461bcd60e51b8152600401610a6c90615938565b60008381526001602090815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906136cc908490615a90565b92505081905550505050806136e090615bbb565b90506135e5565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051613737929190615688565b60405180910390a461256c818787878787613dde565b6137578282611ef5565b610fca576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561378d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6137db8282611ef5565b15610fca576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610f4b838383613f49565b60045460ff1661388a5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a6c565b6004805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610f4b838383613f7c565b6000805b825181101561398a5760006138f9826001615a90565b90505b83518110156139775783818151811061392557634e487b7160e01b600052603260045260246000fd5b602002602001015184838151811061394d57634e487b7160e01b600052603260045260246000fd5b60200260200101511415613965575060009392505050565b8061396f81615bbb565b9150506138fc565b508061398281615bbb565b9150506138e3565b50600192915050565b6000610d5c8284615a90565b6000610d5c8284615abc565b6139b78484848461401a565b50505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60045460ff1615613a555760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a6c565b6004805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586138b73390565b6001600160a01b038416613ab05760405162461bcd60e51b8152600401610a6c906158b0565b33613acf818787613ac0886140b9565b613ac9886140b9565b87613dd0565b60008481526001602090815260408083206001600160a01b038a16845290915290205483811015613b125760405162461bcd60e51b8152600401610a6c90615938565b60008581526001602090815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290613b51908490615a90565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4613bb1828888888888614112565b50505050505050565b60006001600160e01b03198216637965db0b60e01b1480610a9a57506301ffc9a760e01b6001600160e01b0319831614610a9a565b60606000613bfe836002615abc565b613c09906002615a90565b6001600160401b03811115613c2e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613c58576020820181803683370190505b509050600360fc1b81600081518110613c8157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110613cbe57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000613ce2846002615abc565b613ced906001615a90565b90505b6001811115613d81576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613d2f57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110613d5357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93613d7a81615b1e565b9050613cf0565b508315610d5c5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a6c565b61256c8686868686866141dc565b6001600160a01b0384163b1561256c5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190613e2290899089908890889088906004016155d2565b602060405180830381600087803b158015613e3c57600080fd5b505af1925050508015613e6c575060408051601f3d908101601f19168201909252613e6991810190615011565b60015b613f1957613e78615c2c565b806308c379a01415613eb25750613e8d615c44565b80613e985750613eb4565b8060405162461bcd60e51b8152600401610a6c91906156b6565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610a6c565b6001600160e01b0319811663bc197c8160e01b14613bb15760405162461bcd60e51b8152600401610a6c906157db565b613f54838383614244565b60008281526005602052604081208054839290613f72908490615adb565b9091555050505050565b613f87838383614349565b60005b82518110156139b757818181518110613fb357634e487b7160e01b600052603260045260246000fd5b602002602001015160056000858481518110613fdf57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546140049190615adb565b90915550614013905081615bbb565b9050613f8a565b614026848484846144f6565b60005b8351811015610f1e5782818151811061405257634e487b7160e01b600052603260045260246000fd5b60200260200101516005600086848151811061407e57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546140a39190615a90565b909155506140b2905081615bbb565b9050614029565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061410157634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b1561256c5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906141569089908990889088908890600401615630565b602060405180830381600087803b15801561417057600080fd5b505af19250505080156141a0575060408051601f3d908101601f1916820190925261419d91810190615011565b60015b6141ac57613e78615c2c565b6001600160e01b0319811663f23a6e6160e01b14613bb15760405162461bcd60e51b8152600401610a6c906157db565b60045460ff161561256c5760405162461bcd60e51b815260206004820152602c60248201527f455243313135355061757361626c653a20746f6b656e207472616e736665722060448201526b1dda1a5b19481c185d5cd95960a21b6064820152608401610a6c565b6001600160a01b03831661426a5760405162461bcd60e51b8152600401610a6c906158f5565b336142998185600061427b876140b9565b614284876140b9565b60405180602001604052806000815250613dd0565b60008381526001602090815260408083206001600160a01b0388168452909152902054828110156142dc5760405162461bcd60e51b8152600401610a6c90615823565b60008481526001602090815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6001600160a01b03831661436f5760405162461bcd60e51b8152600401610a6c906158f5565b80518251146143905760405162461bcd60e51b8152600401610a6c906159b7565b60003390506143b381856000868660405180602001604052806000815250613dd0565b60005b83518110156144975760008482815181106143e157634e487b7160e01b600052603260045260246000fd5b60200260200101519050600084838151811061440d57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526001835260408082206001600160a01b038c16835290935291909120549091508181101561445e5760405162461bcd60e51b8152600401610a6c90615823565b60009283526001602090815260408085206001600160a01b038b168652909152909220910390558061448f81615bbb565b9150506143b6565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516144e8929190615688565b60405180910390a450505050565b6001600160a01b0384166145565760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610a6c565b81518351146145775760405162461bcd60e51b8152600401610a6c906159b7565b3361458781600087878787613dd0565b60005b845181101561463f578381815181106145b357634e487b7160e01b600052603260045260246000fd5b6020026020010151600160008784815181106145df57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546146279190615a90565b9091555081905061463781615bbb565b91505061458a565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051614690929190615688565b60405180910390a4610f1e81600087878787613dde565b8280546146b390615b35565b90600052602060002090601f0160209004810192826146d5576000855561471b565b82601f106146ee5782800160ff1982351617855561471b565b8280016001018555821561471b579182015b8281111561471b578235825591602001919060010190614700565b5061472792915061479f565b5090565b82805461473790615b35565b90600052602060002090601f016020900481019282614759576000855561471b565b82601f1061477257805160ff191683800117855561471b565b8280016001018555821561471b579182015b8281111561471b578251825591602001919060010190614784565b5b8082111561472757600081556001016147a0565b80356001600160a01b0381168114610cf057600080fd5b600082601f8301126147db578081fd5b813560206147e882615a6d565b6040516147f58282615b8f565b8381528281019150858301600585901b87018401881015614814578586fd5b855b8581101561483957614827826147b4565b84529284019290840190600101614816565b5090979650505050505050565b60008083601f840112614857578182fd5b5081356001600160401b0381111561486d578182fd5b6020830191508360208260051b850101111561488857600080fd5b9250929050565b600082601f83011261489f578081fd5b813560206148ac82615a6d565b6040516148b98282615b8f565b8381528281019150858301600585901b870184018810156148d8578586fd5b855b85811015614839578135845292840192908401906001016148da565b8035610cf081615ccd565b600082601f830112614911578081fd5b81356001600160401b0381111561492a5761492a615c16565b604051614941601f8301601f191660200182615b8f565b818152846020838601011115614955578283fd5b816020850160208301379081016020019190915292915050565b60008083601f840112614980578182fd5b5081356001600160401b03811115614996578182fd5b60208301915083602082850101111561488857600080fd5b6000602082840312156149bf578081fd5b610d5c826147b4565b600080604083850312156149da578081fd5b6149e3836147b4565b91506149f1602084016147b4565b90509250929050565b600080600080600060a08688031215614a11578081fd5b614a1a866147b4565b9450614a28602087016147b4565b935060408601356001600160401b0380821115614a43578283fd5b614a4f89838a0161488f565b94506060880135915080821115614a64578283fd5b614a7089838a0161488f565b93506080880135915080821115614a85578283fd5b50614a9288828901614901565b9150509295509295909350565b600080600080600060a08688031215614ab6578283fd5b614abf866147b4565b9450614acd602087016147b4565b9350604086013592506060860135915060808601356001600160401b03811115614af5578182fd5b614a9288828901614901565b600080600080600060608688031215614b18578283fd5b614b21866147b4565b945060208601356001600160401b0380821115614b3c578485fd5b614b4889838a01614846565b90965094506040880135915080821115614b60578283fd5b50614b6d88828901614846565b969995985093965092949392505050565b600080600060608486031215614b92578081fd5b614b9b846147b4565b925060208401356001600160401b0380821115614bb6578283fd5b614bc28783880161488f565b93506040860135915080821115614bd7578283fd5b50614be48682870161488f565b9150509250925092565b60008060408385031215614c00578182fd5b614c09836147b4565b91506020830135614c1981615ccd565b809150509250929050565b60008060408385031215614c36578182fd5b614c3f836147b4565b915060208301356001600160401b0380821115614c5a578283fd5b9084019060a08287031215614c6d578283fd5b604051614c7981615b6a565b823582811115614c87578485fd5b614c9388828601614901565b825250614ca2602084016147b4565b6020820152604083013560408201526060830135606082015260808301359250614ccb83615ccd565b8260808201528093505050509250929050565b60008060408385031215614cf0578182fd5b614cf9836147b4565b946020939093013593505050565b600080600060608486031215614d1b578081fd5b614d24846147b4565b95602085013595506040909401359392505050565b600080600080600080600060c0888a031215614d53578485fd5b614d5c886147b4565b965060208801359550604088013594506060880135935060808801356001600160401b03811115614d8b578283fd5b614d978a828b01614846565b90945092505060a0880135614dab81615ccd565b8091505092959891949750929550565b60008060408385031215614dcd578182fd5b82356001600160401b0380821115614de3578384fd5b614def868387016147cb565b93506020850135915080821115614e04578283fd5b50614e118582860161488f565b9150509250929050565b6000806000806000806000806080898b031215614e36578182fd5b88356001600160401b0380821115614e4c578384fd5b614e588c838d01614846565b909a50985060208b0135915080821115614e70578384fd5b614e7c8c838d01614846565b909850965060408b0135915080821115614e94578384fd5b614ea08c838d01614846565b909650945060608b0135915080821115614eb8578384fd5b50614ec58b828c01614846565b999c989b5096995094979396929594505050565b600080600080600080600080600060a08a8c031215614ef6578283fd5b89356001600160401b0380821115614f0c578485fd5b614f188d838e01614846565b909b50995060208c0135915080821115614f30578485fd5b614f3c8d838e01614846565b909950975060408c0135915080821115614f54578485fd5b614f608d838e01614846565b909750955060608c0135915080821115614f78578485fd5b50614f858c828d01614846565b9a9d999c50979a9699959894979660800135949350505050565b600060208284031215614fb0578081fd5b8151610d5c81615ccd565b600060208284031215614fcc578081fd5b5035919050565b60008060408385031215614fe5578182fd5b823591506149f1602084016147b4565b600060208284031215615006578081fd5b8135610d5c81615cdb565b600060208284031215615022578081fd5b8151610d5c81615cdb565b60006020828403121561503e578081fd5b81356001600160401b03811115615053578182fd5b61358484828501614901565b600060208284031215615070578081fd5b5051919050565b60008060008060008060008060c0898b031215615092578182fd5b883597506150a260208a016147b4565b965060408901356001600160401b03808211156150bd578384fd5b6150c98c838d0161496f565b909850965060608b01359150808211156150e1578384fd5b506150ee8b828c0161496f565b9095509350506080890135915060a089013561510981615ccd565b809150509295985092959890939650565b6000806040838503121561512c578182fd5b823591506020830135614c1981615ccd565b600080600060608486031215615152578081fd5b8335925060208401359150604084013561516b81615ccd565b809150509250925092565b600080600080600060a0868803121561518d578283fd5b8535945060208601356001600160401b038111156151a9578384fd5b6151b588828901614901565b9450506151c4604087016147b4565b94979396509394606081013594506080013592915050565b6000806000806000806000806000806000806101808d8f0312156151fe578586fd5b8c359b506001600160401b0360208e01351115615219578586fd5b6152298e60208f01358f01614901565b9a506001600160401b0360408e01351115615242578586fd5b6152528e60408f01358f01614901565b995060608d0135985060808d0135975060a08d0135965060c08d0135955060e08d013594506101008d0135935061528c6101208e016148f6565b925061529b6101408e016148f6565b91506001600160401b036101608e013511156152b5578081fd5b6152c68e6101608f01358f016147cb565b90509295989b509295989b509295989b565b600080604083850312156152ea578182fd5b50508035926020909101359150565b600080600080600080600080600060e08a8c031215615316578283fd5b8935985060208a0135975061532d60408b016147b4565b965060608a01356001600160401b0380821115615348578485fd5b6153548d838e0161496f565b909850965060808c013591508082111561536c578485fd5b506153798c828d0161496f565b90955093505060a08a0135915060c08a013561539481615ccd565b809150509295985092959850929598565b6000815180845260208085019450808401835b838110156153d4578151875295820195908201906001016153b8565b509495945050505050565b600081518084526153f7816020860160208601615af2565b601f01601f19169290920160200192915050565b8054600090600181811c908083168061542557607f831692505b602080841082141561544557634e487b7160e01b86526022600452602486fd5b818015615459576001811461546a57615497565b60ff19861689528489019650615497565b60008881526020902060005b8681101561548f5781548b820152908501908301615476565b505084890196505b50505050505092915050565b600082516154b5818460208701615af2565b9190910192915050565b600083516154d1818460208801615af2565b8351908301906154e5818360208801615af2565b01949350505050565b60008351615500818460208801615af2565b835190830190615514818360208801615af2565b600b60fa1b9101908152600101949350505050565b6000610d5c828461540b565b6000615541828461540b565b6b081b9bdd08195b98589b195960a21b8152600c019392505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351615595816017850160208801615af2565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516155c6816028840160208801615af2565b01602801949350505050565b6001600160a01b0386811682528516602082015260a0604082018190526000906155fe908301866153a5565b828103606084015261561081866153a5565b9050828103608084015261562481856153df565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061566a908301846153df565b979650505050505050565b602081526000610d5c60208301846153a5565b60408152600061569b60408301856153a5565b82810360208401526156ad81856153a5565b95945050505050565b602081526000610d5c60208301846153df565b60006102a08083526156dd8184018c6153df565b905082810360208401526156f1818b6153df565b91505087604083015286606083015285608083015261571560a08301865115159052565b602085015160c0830152604085015160e08301526060850151610100818185015260808701519150610120828186015260a08801519250610140838187015260c089015161016087015260e0890151610180870152828901516101a0870152818901516101c08701528089015193505050506157966101e084018215159052565b50835115156102008301526020840151151561022083015260408401511515610240830152606090930151610260820152901515610280909101529695505050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b602080825282516001600160a01b03168282015282015160a06040830152600090615a2d60c08401826153df565b90506040840151601f19848303016060850152615a4a82826153df565b915050606084015160808401526080840151151560a08401528091505092915050565b60006001600160401b03821115615a8657615a86615c16565b5060051b60200190565b60008219821115615aa357615aa3615bea565b500190565b600082615ab757615ab7615c00565b500490565b6000816000190483118215151615615ad657615ad6615bea565b500290565b600082821015615aed57615aed615bea565b500390565b60005b83811015615b0d578181015183820152602001615af5565b838111156139b75750506000910152565b600081615b2d57615b2d615bea565b506000190190565b600181811c90821680615b4957607f821691505b6020821081141561154457634e487b7160e01b600052602260045260246000fd5b60a081018181106001600160401b0382111715615b8957615b89615c16565b60405250565b601f8201601f191681016001600160401b0381118282101715615bb457615bb4615c16565b6040525050565b6000600019821415615bcf57615bcf615bea565b5060010190565b600082615be557615be5615c00565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115615c4157600481823e5160e01c5b90565b600060443d1015615c525790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715615c8157505050505090565b8285019150815181811115615c995750505050505090565b843d8701016020828501011115615cb35750505050505090565b615cc260208286010187615b8f565b509095945050505050565b8015158114610ade57600080fd5b6001600160e01b031981168114610ade57600080fdfea264697066735822122018caca4e026a3bed3bb6474b43b1144d280a72442c949839b35ec3063e91b11d64736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000b12a8499c8aca88fe2270ba5552d0a2a1fd8b7fe000000000000000000000000000000000000000000000000000000000000001a54616c6b2054696d65202d204e6563657373617279204576696c000000000000000000000000000000000000000000000000000000000000000000000000000a54414c4b54494d454e4500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000081745b7339d5067e82b93ca6bbad125f214525d3000000000000000000000000110d0c8b5a06c0367053938eedf10131ac9725930000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d566b5a476f75566d4b4537444432764b3536666f5470416a4168747256616636394d6b6d525243797a6756660000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Talk Time - Necessary Evil
Arg [1] : _symbol (string): TALKTIMENE
Arg [2] : _admins (address[]): 0x81745b7339D5067E82B93ca6BBAd125F214525d3,0x110d0C8b5A06c0367053938eeDF10131ac972593
Arg [3] : _contract_URI (string): ipfs://QmVkZGouVmKE7DD2vK56foTpAjAhtrVaf69MkmRRCyzgVf
Arg [4] : _receivingWallet (address): 0xb12A8499c8ACA88FE2270BA5552D0A2a1Fd8B7FE

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 000000000000000000000000b12a8499c8aca88fe2270ba5552d0a2a1fd8b7fe
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001a
Arg [6] : 54616c6b2054696d65202d204e6563657373617279204576696c000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [8] : 54414c4b54494d454e4500000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [10] : 00000000000000000000000081745b7339d5067e82b93ca6bbad125f214525d3
Arg [11] : 000000000000000000000000110d0c8b5a06c0367053938eedf10131ac972593
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [13] : 697066733a2f2f516d566b5a476f75566d4b4537444432764b3536666f547041
Arg [14] : 6a4168747256616636394d6b6d525243797a6756660000000000000000000000


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.