ETH Price: $3,166.92 (+2.23%)

Token

 

Overview

Max Total Supply

376

Holders

368

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
night-scholar.eth
0xffbb77aa7dfabcb84958be488b72adde1b797cb1
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:
Artifacts

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 14 : contract.sol
// SPDX-License-Identifier: MIT
// 1. Set the staking contract Address
// 2. For each Artifact:
//     - a. Set the total staked HT treshold for the reward
//     - b. Set the token URI
//     - c. Enable the mint when required

pragma solidity 0.8.17;

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

interface StakingContract {
    function calculateTotalAndPendingRewards(address _user) external view returns(uint);
}

contract Artifacts is ERC1155, ERC1155Burnable, ERC1155Supply, Ownable {
    using ECDSA for bytes32;
    struct TokenInfo {
        uint tokensRequired;
        bool mintEnabled;
        mapping(address => bool) hasClaimedReward;
        string tokenURI;
    }
    constructor(address _initialSigner, address _stakingContract) ERC1155("") {
        _signer = _initialSigner;
        stakingContract = StakingContract(_stakingContract);
    }

    ////////////////////////////////////////////
    /// Contract variables
    ////////////////////////////////////////////
    StakingContract private stakingContract;
    mapping(uint => TokenInfo) public tokenInfo;
    address private _signer;
    
    ////////////////////////////////////////////
    /// Global functions
    ////////////////////////////////////////////
    /// @notice                 Artifact minting function
    /// @param _id              Artifact ID
    /// @param _salt            Salt parameter
    /// @param _signature       Signature
    function mint(uint _id, bytes32 _salt, bytes calldata _signature) public {
        require(tokenInfo[_id].mintEnabled, "Mint: Mint paused");
        require(stakingContract.calculateTotalAndPendingRewards(msg.sender) >= tokenInfo[_id].tokensRequired * 1e18, "Mint: Staking requirement not reached");
        require(verifySignatureForAddress(msg.sender, _id, _salt, _signature), "Mint: Signature invalid");
        require(!tokenInfo[_id].hasClaimedReward[msg.sender], "Mint: Already claimed");
        
        tokenInfo[_id].hasClaimedReward[msg.sender] = true;
        _mint(msg.sender, _id, 1, "");
    }

    /// @notice                 Signature verification function
    /// @param _address         User address
    /// @param _id              Artifact ID
    /// @param _salt            Salt parameter
    /// @param _signature       Signature
    function verifySignatureForAddress(address _address, uint _id, bytes32 _salt, bytes calldata _signature) public view returns (bool) {
        return _verify(_hash(_address, _id, _salt), _signature);
    }

    /// @notice                 Retreives the URI for an Artifact
    /// @param _id              Artifact ID
    function uri(uint256 _id) public view virtual override returns (string memory) {
        return tokenInfo[_id].tokenURI;
    }

    ///////////////////////////////////////////
    /// Internal functions
    ///////////////////////////////////////////
    function _hash(address _address, uint _id, bytes32 _salt) internal view returns (bytes32) {
        return keccak256(abi.encode(_address, address(this), _id, _salt));
    }

    function _verify(bytes32 hash, bytes memory token) internal view returns (bool) {
        return (_recover(hash, token) == _signer);
    }

    function _recover(bytes32 hash, bytes memory token) internal pure returns (address) {
        return hash.toEthSignedMessageHash().recover(token);
    }

    ///////////////////////////////////////////
    /// Getter functions
    ///////////////////////////////////////////
    /// @notice                 Check if an address has already claimed a reward item
    /// @param _user            A wallet address
    /// @param _id              ID of the token
    function hasUserClaimed(address _user, uint _id) public view returns (bool) {
        return tokenInfo[_id].hasClaimedReward[_user];
    }

    ///////////////////////////////////////////
    /// Owner functions
    ///////////////////////////////////////////
    /// @notice                 Set the public key of the signature signer
    /// @param _newSigner       New signer public key
    function setSigner(address _newSigner) external onlyOwner {
        _signer = _newSigner;
    }

    /// @notice                 Set a new staking contract address
    /// @param _contract        New staking contract address
    function setStakingContract(address _contract) external onlyOwner {
        stakingContract = StakingContract(_contract);
    }

    /// @notice                 Set the token amount earned from staking needed to claim an Artifact
    /// @param _id              Artifact ID
    /// @param _tokenAmount     Amount of tokens (whole)
    function setTokensRequired(uint _id, uint _tokenAmount) external onlyOwner {
        tokenInfo[_id].tokensRequired = _tokenAmount;
    }

    /// @notice                 Set the tokenURI for an Artifact
    /// @param _id              Artifact ID
    /// @param _newUri          New tokenURI
    function setTokenUri(uint _id, string calldata _newUri) external onlyOwner {
        tokenInfo[_id].tokenURI = _newUri;
    }

    /// @notice                 Toggle minting status for an Artifact
    /// @param _id              Artifact ID
    /// @param _status          true/false
    function setMintEnabled(uint _id, bool _status) external onlyOwner {
        tokenInfo[_id].mintEnabled = _status;
    }

    /// @notice                 Mint an Artifact to the owner
    /// @param _id              ID of the Artifact
    function mintAdmin(uint _id) external onlyOwner {
        _mint(msg.sender, _id, 1, "");
    }

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

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

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

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

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

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

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

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

File 3 of 14 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/extensions/ERC1155Burnable.sol)

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 token 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 token owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

        return array;
    }
}

File 5 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 7 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // 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);
    }

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_initialSigner","type":"address"},{"internalType":"address","name":"_stakingContract","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"hasUserClaimed","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":"_id","type":"uint256"},{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newSigner","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"string","name":"_newUri","type":"string"}],"name":"setTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"setTokensRequired","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenInfo","outputs":[{"internalType":"uint256","name":"tokensRequired","type":"uint256"},{"internalType":"bool","name":"mintEnabled","type":"bool"},{"internalType":"string","name":"tokenURI","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"verifySignatureForAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162002c3838038062002c3883398101604081905262000034916200010d565b6040805160208101909152600081526200004e816200008c565b506200005a336200009e565b600780546001600160a01b039384166001600160a01b03199182161790915560058054929093169116179055620002b6565b60026200009a8282620001ea565b5050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80516001600160a01b03811681146200010857600080fd5b919050565b600080604083850312156200012157600080fd5b6200012c83620000f0565b91506200013c60208401620000f0565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200017057607f821691505b6020821081036200019157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e557600081815260208120601f850160051c81016020861015620001c05750805b601f850160051c820191505b81811015620001e157828155600101620001cc565b5050505b505050565b81516001600160401b0381111562000206576200020662000145565b6200021e816200021784546200015b565b8462000197565b602080601f8311600181146200025657600084156200023d5750858301515b600019600386901b1c1916600185901b178555620001e1565b600085815260208120601f198616915b82811015620002875788860151825594840194600190910190840162000266565b5085821015620002a65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61297280620002c66000396000f3fe608060405234801561001057600080fd5b50600436106101725760003560e01c8063715018a6116100de578063ca76394711610097578063efe1a3ca11610071578063efe1a3ca146103bf578063f242432a146103d2578063f2fde38b146103e5578063f5298aca146103f857600080fd5b8063ca7639471461034e578063cc33c87514610361578063e985e9c51461038357600080fd5b8063715018a6146102d25780638da5cb5b146102da5780639ab475b5146102f55780639dd373b914610308578063a22cb4651461031b578063bd85b0391461032e57600080fd5b80634e1273f4116101305780634e1273f4146102445780634f558e791461026457806357f7789e14610286578063677ab70b146102995780636b20c454146102ac5780636c19e783146102bf57600080fd5b8062fdd58e1461017757806301ffc9a71461019d5780630e89341c146101c05780632eb2c2d6146101e0578063351c1709146101f557806349a9493c14610231575b600080fd5b61018a610185366004611cc1565b61040b565b6040519081526020015b60405180910390f35b6101b06101ab366004611d01565b6104a4565b6040519015158152602001610194565b6101d36101ce366004611d1e565b6104f4565b6040516101949190611d7d565b6101f36101ee366004611ed9565b610599565b005b6101b0610203366004611cc1565b60009081526006602090815260408083206001600160a01b0394909416835260029093019052205460ff1690565b6101f361023f366004611f92565b6105e5565b610257610252366004611fbe565b610610565b60405161019491906120c3565b6101b0610272366004611d1e565b600090815260036020526040902054151590565b6101f3610294366004612117565b610739565b6101f36102a7366004611d1e565b610763565b6101f36102ba366004612162565b61078a565b6101f36102cd3660046121d5565b6107d2565b6101f36107fc565b6004546040516001600160a01b039091168152602001610194565b6101f36103033660046121f0565b610810565b6101f36103163660046121d5565b610a51565b6101f3610329366004612242565b610a7b565b61018a61033c366004611d1e565b60009081526003602052604090205490565b6101b061035c36600461226c565b610a8a565b61037461036f366004611d1e565b610b19565b604051610194939291906122d3565b6101b06103913660046122fd565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6101f36103cd366004612327565b610bc8565b6101f36103e0366004612349565b610be2565b6101f36103f33660046121d5565b610c27565b6101f36104063660046123ad565b610c9d565b60006001600160a01b03831661047b5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b14806104d557506001600160e01b031982166303a24d0760e21b145b8061049e57506301ffc9a760e01b6001600160e01b031983161461049e565b6000818152600660205260409020600301805460609190610514906123e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610540906123e0565b801561058d5780601f106105625761010080835404028352916020019161058d565b820191906000526020600020905b81548152906001019060200180831161057057829003601f168201915b50505050509050919050565b6001600160a01b0385163314806105b557506105b58533610391565b6105d15760405162461bcd60e51b81526004016104729061241a565b6105de8585858585610ce0565b5050505050565b6105ed610e8a565b600091825260066020526040909120600101805460ff1916911515919091179055565b606081518351146106755760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610472565b600083516001600160401b0381111561069057610690611d90565b6040519080825280602002602001820160405280156106b9578160200160208202803683370190505b50905060005b8451811015610731576107048582815181106106dd576106dd612469565b60200260200101518583815181106106f7576106f7612469565b602002602001015161040b565b82828151811061071657610716612469565b602090810291909101015261072a81612495565b90506106bf565b509392505050565b610741610e8a565b600083815260066020526040902060030161075d8284836124f4565b50505050565b61076b610e8a565b6107873382600160405180602001604052806000815250610ee4565b50565b6001600160a01b0383163314806107a657506107a68333610391565b6107c25760405162461bcd60e51b81526004016104729061241a565b6107cd838383611007565b505050565b6107da610e8a565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610804610e8a565b61080e60006111a3565b565b60008481526006602052604090206001015460ff166108655760405162461bcd60e51b8152602060048201526011602482015270135a5b9d0e88135a5b9d081c185d5cd959607a1b6044820152606401610472565b60008481526006602052604090205461088690670de0b6b3a76400006125b3565b600554604051631ba23e4760e21b81523360048201526001600160a01b0390911690636e88f91c90602401602060405180830381865afa1580156108ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f291906125ca565b101561094e5760405162461bcd60e51b815260206004820152602560248201527f4d696e743a205374616b696e6720726571756972656d656e74206e6f742072656044820152641858da195960da1b6064820152608401610472565b61095b3385858585610a8a565b6109a75760405162461bcd60e51b815260206004820152601760248201527f4d696e743a205369676e617475726520696e76616c69640000000000000000006044820152606401610472565b600084815260066020908152604080832033845260020190915290205460ff1615610a0c5760405162461bcd60e51b8152602060048201526015602482015274135a5b9d0e88105b1c9958591e4818db185a5b5959605a1b6044820152606401610472565b60008481526006602090815260408083203380855260029091018352818420805460ff19166001908117909155825193840190925292825261075d9291879190610ee4565b610a59610e8a565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610a863383836111f5565b5050565b604080516001600160a01b03871660208083019190915230828401526060820187905260808083018790528351808403909101815260a09092019092528051910120600090610b0f9084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112d592505050565b9695505050505050565b600660205260009081526040902080546001820154600383018054929360ff90921692610b45906123e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610b71906123e0565b8015610bbe5780601f10610b9357610100808354040283529160200191610bbe565b820191906000526020600020905b815481529060010190602001808311610ba157829003601f168201915b5050505050905083565b610bd0610e8a565b60009182526006602052604090912055565b6001600160a01b038516331480610bfe5750610bfe8533610391565b610c1a5760405162461bcd60e51b81526004016104729061241a565b6105de85858585856112ff565b610c2f610e8a565b6001600160a01b038116610c945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610472565b610787816111a3565b6001600160a01b038316331480610cb95750610cb98333610391565b610cd55760405162461bcd60e51b81526004016104729061241a565b6107cd838383611437565b8151835114610d015760405162461bcd60e51b8152600401610472906125e3565b6001600160a01b038416610d275760405162461bcd60e51b81526004016104729061262b565b33610d3681878787878761154f565b60005b8451811015610e1c576000858281518110610d5657610d56612469565b602002602001015190506000858381518110610d7457610d74612469565b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015610dc45760405162461bcd60e51b815260040161047290612670565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610e019084906126ba565b9250508190555050505080610e1590612495565b9050610d39565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610e6c9291906126cd565b60405180910390a4610e8281878787878761155d565b505050505050565b6004546001600160a01b0316331461080e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610472565b6001600160a01b038416610f445760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610472565b336000610f50856116b8565b90506000610f5d856116b8565b9050610f6e8360008985858961154f565b6000868152602081815260408083206001600160a01b038b16845290915281208054879290610f9e9084906126ba565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610ffe83600089898989611703565b50505050505050565b6001600160a01b03831661102d5760405162461bcd60e51b8152600401610472906126f2565b805182511461104e5760405162461bcd60e51b8152600401610472906125e3565b60003390506110718185600086866040518060200160405280600081525061154f565b60005b835181101561113657600084828151811061109157611091612469565b6020026020010151905060008483815181106110af576110af612469565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156110ff5760405162461bcd60e51b815260040161047290612735565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061112e81612495565b915050611074565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516111879291906126cd565b60405180910390a460408051602081019091526000905261075d565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036112685760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610472565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6007546000906001600160a01b03166112ee84846117be565b6001600160a01b0316149392505050565b6001600160a01b0384166113255760405162461bcd60e51b81526004016104729061262b565b336000611331856116b8565b9050600061133e856116b8565b905061134e83898985858961154f565b6000868152602081815260408083206001600160a01b038c1684529091529020548581101561138f5760405162461bcd60e51b815260040161047290612670565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906113cc9084906126ba565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461142c848a8a8a8a8a611703565b505050505050505050565b6001600160a01b03831661145d5760405162461bcd60e51b8152600401610472906126f2565b336000611469846116b8565b90506000611476846116b8565b90506114968387600085856040518060200160405280600081525061154f565b6000858152602081815260408083206001600160a01b038a168452909152902054848110156114d75760405162461bcd60e51b815260040161047290612735565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4604080516020810190915260009052610ffe565b610e82868686868686611828565b6001600160a01b0384163b15610e825760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906115a19089908990889088908890600401612779565b6020604051808303816000875af19250505080156115dc575060408051601f3d908101601f191682019092526115d9918101906127d7565b60015b611688576115e86127f4565b806308c379a00361162157506115fc612810565b806116075750611623565b8060405162461bcd60e51b81526004016104729190611d7d565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610472565b6001600160e01b0319811663bc197c8160e01b14610ffe5760405162461bcd60e51b815260040161047290612899565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106116f2576116f2612469565b602090810291909101015292915050565b6001600160a01b0384163b15610e825760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061174790899089908890889088906004016128e1565b6020604051808303816000875af1925050508015611782575060408051601f3d908101601f1916820190925261177f918101906127d7565b60015b61178e576115e86127f4565b6001600160e01b0319811663f23a6e6160e01b14610ffe5760405162461bcd60e51b815260040161047290612899565b60006118218261181b856040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b906119a1565b9392505050565b6001600160a01b0385166118af5760005b83518110156118ad5782818151811061185457611854612469565b60200260200101516003600086848151811061187257611872612469565b60200260200101518152602001908152602001600020600082825461189791906126ba565b909155506118a6905081612495565b9050611839565b505b6001600160a01b038416610e825760005b8351811015610ffe5760008482815181106118dd576118dd612469565b6020026020010151905060008483815181106118fb576118fb612469565b602002602001015190506000600360008481526020019081526020016000205490508181101561197e5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b6064820152608401610472565b6000928352600360205260409092209103905561199a81612495565b90506118c0565b60008060006119b085856119bd565b9150915061073181611a02565b60008082516041036119f35760208301516040840151606085015160001a6119e787828585611bb8565b945094505050506119fb565b506000905060025b9250929050565b6000816004811115611a1657611a16612926565b03611a1e5750565b6001816004811115611a3257611a32612926565b03611a7f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610472565b6002816004811115611a9357611a93612926565b03611ae05760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610472565b6003816004811115611af457611af4612926565b03611b4c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610472565b6004816004811115611b6057611b60612926565b036107875760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610472565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611bef5750600090506003611c9c565b8460ff16601b14158015611c0757508460ff16601c14155b15611c185750600090506004611c9c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611c6c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611c9557600060019250925050611c9c565b9150600090505b94509492505050565b80356001600160a01b0381168114611cbc57600080fd5b919050565b60008060408385031215611cd457600080fd5b611cdd83611ca5565b946020939093013593505050565b6001600160e01b03198116811461078757600080fd5b600060208284031215611d1357600080fd5b813561182181611ceb565b600060208284031215611d3057600080fd5b5035919050565b6000815180845260005b81811015611d5d57602081850181015186830182015201611d41565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006118216020830184611d37565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611dcb57611dcb611d90565b6040525050565b60006001600160401b03821115611deb57611deb611d90565b5060051b60200190565b600082601f830112611e0657600080fd5b81356020611e1382611dd2565b604051611e208282611da6565b83815260059390931b8501820192828101915086841115611e4057600080fd5b8286015b84811015611e5b5780358352918301918301611e44565b509695505050505050565b600082601f830112611e7757600080fd5b81356001600160401b03811115611e9057611e90611d90565b604051611ea7601f8301601f191660200182611da6565b818152846020838601011115611ebc57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215611ef157600080fd5b611efa86611ca5565b9450611f0860208701611ca5565b935060408601356001600160401b0380821115611f2457600080fd5b611f3089838a01611df5565b94506060880135915080821115611f4657600080fd5b611f5289838a01611df5565b93506080880135915080821115611f6857600080fd5b50611f7588828901611e66565b9150509295509295909350565b80358015158114611cbc57600080fd5b60008060408385031215611fa557600080fd5b82359150611fb560208401611f82565b90509250929050565b60008060408385031215611fd157600080fd5b82356001600160401b0380821115611fe857600080fd5b818501915085601f830112611ffc57600080fd5b8135602061200982611dd2565b6040516120168282611da6565b83815260059390931b850182019282810191508984111561203657600080fd5b948201945b8386101561205b5761204c86611ca5565b8252948201949082019061203b565b9650508601359250508082111561207157600080fd5b5061207e85828601611df5565b9150509250929050565b600081518084526020808501945080840160005b838110156120b85781518752958201959082019060010161209c565b509495945050505050565b6020815260006118216020830184612088565b60008083601f8401126120e857600080fd5b5081356001600160401b038111156120ff57600080fd5b6020830191508360208285010111156119fb57600080fd5b60008060006040848603121561212c57600080fd5b8335925060208401356001600160401b0381111561214957600080fd5b612155868287016120d6565b9497909650939450505050565b60008060006060848603121561217757600080fd5b61218084611ca5565b925060208401356001600160401b038082111561219c57600080fd5b6121a887838801611df5565b935060408601359150808211156121be57600080fd5b506121cb86828701611df5565b9150509250925092565b6000602082840312156121e757600080fd5b61182182611ca5565b6000806000806060858703121561220657600080fd5b843593506020850135925060408501356001600160401b0381111561222a57600080fd5b612236878288016120d6565b95989497509550505050565b6000806040838503121561225557600080fd5b61225e83611ca5565b9150611fb560208401611f82565b60008060008060006080868803121561228457600080fd5b61228d86611ca5565b9450602086013593506040860135925060608601356001600160401b038111156122b657600080fd5b6122c2888289016120d6565b969995985093965092949392505050565b83815282151560208201526060604082015260006122f46060830184611d37565b95945050505050565b6000806040838503121561231057600080fd5b61231983611ca5565b9150611fb560208401611ca5565b6000806040838503121561233a57600080fd5b50508035926020909101359150565b600080600080600060a0868803121561236157600080fd5b61236a86611ca5565b945061237860208701611ca5565b9350604086013592506060860135915060808601356001600160401b038111156123a157600080fd5b611f7588828901611e66565b6000806000606084860312156123c257600080fd5b6123cb84611ca5565b95602085013595506040909401359392505050565b600181811c908216806123f457607f821691505b60208210810361241457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016124a7576124a761247f565b5060010190565b601f8211156107cd57600081815260208120601f850160051c810160208610156124d55750805b601f850160051c820191505b81811015610e82578281556001016124e1565b6001600160401b0383111561250b5761250b611d90565b61251f8361251983546123e0565b836124ae565b6000601f841160018114612553576000851561253b5750838201355b600019600387901b1c1916600186901b1783556105de565b600083815260209020601f19861690835b828110156125845786850135825560209485019460019092019101612564565b50868210156125a15760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b808202811582820484141761049e5761049e61247f565b6000602082840312156125dc57600080fd5b5051919050565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b8082018082111561049e5761049e61247f565b6040815260006126e06040830185612088565b82810360208401526122f48185612088565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6001600160a01b0386811682528516602082015260a0604082018190526000906127a590830186612088565b82810360608401526127b78186612088565b905082810360808401526127cb8185611d37565b98975050505050505050565b6000602082840312156127e957600080fd5b815161182181611ceb565b600060033d111561280d5760046000803e5060005160e01c5b90565b600060443d101561281e5790565b6040516003193d81016004833e81513d6001600160401b03816024840111818411171561284d57505050505090565b82850191508151818111156128655750505050505090565b843d870101602082850101111561287f5750505050505090565b61288e60208286010187611da6565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061291b90830184611d37565b979650505050505050565b634e487b7160e01b600052602160045260246000fdfea264697066735822122009d151d9bb8552f71d00ceabf0e371a750b9da7bf117cc2a0c479f23808b82fe64736f6c634300081100330000000000000000000000006c5f7d9278f14277f472d3b6c0bcf88dac0c34b70000000000000000000000001aaa17934511e49b33f6feeca3f334e8eeba8e32

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101725760003560e01c8063715018a6116100de578063ca76394711610097578063efe1a3ca11610071578063efe1a3ca146103bf578063f242432a146103d2578063f2fde38b146103e5578063f5298aca146103f857600080fd5b8063ca7639471461034e578063cc33c87514610361578063e985e9c51461038357600080fd5b8063715018a6146102d25780638da5cb5b146102da5780639ab475b5146102f55780639dd373b914610308578063a22cb4651461031b578063bd85b0391461032e57600080fd5b80634e1273f4116101305780634e1273f4146102445780634f558e791461026457806357f7789e14610286578063677ab70b146102995780636b20c454146102ac5780636c19e783146102bf57600080fd5b8062fdd58e1461017757806301ffc9a71461019d5780630e89341c146101c05780632eb2c2d6146101e0578063351c1709146101f557806349a9493c14610231575b600080fd5b61018a610185366004611cc1565b61040b565b6040519081526020015b60405180910390f35b6101b06101ab366004611d01565b6104a4565b6040519015158152602001610194565b6101d36101ce366004611d1e565b6104f4565b6040516101949190611d7d565b6101f36101ee366004611ed9565b610599565b005b6101b0610203366004611cc1565b60009081526006602090815260408083206001600160a01b0394909416835260029093019052205460ff1690565b6101f361023f366004611f92565b6105e5565b610257610252366004611fbe565b610610565b60405161019491906120c3565b6101b0610272366004611d1e565b600090815260036020526040902054151590565b6101f3610294366004612117565b610739565b6101f36102a7366004611d1e565b610763565b6101f36102ba366004612162565b61078a565b6101f36102cd3660046121d5565b6107d2565b6101f36107fc565b6004546040516001600160a01b039091168152602001610194565b6101f36103033660046121f0565b610810565b6101f36103163660046121d5565b610a51565b6101f3610329366004612242565b610a7b565b61018a61033c366004611d1e565b60009081526003602052604090205490565b6101b061035c36600461226c565b610a8a565b61037461036f366004611d1e565b610b19565b604051610194939291906122d3565b6101b06103913660046122fd565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6101f36103cd366004612327565b610bc8565b6101f36103e0366004612349565b610be2565b6101f36103f33660046121d5565b610c27565b6101f36104063660046123ad565b610c9d565b60006001600160a01b03831661047b5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b14806104d557506001600160e01b031982166303a24d0760e21b145b8061049e57506301ffc9a760e01b6001600160e01b031983161461049e565b6000818152600660205260409020600301805460609190610514906123e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610540906123e0565b801561058d5780601f106105625761010080835404028352916020019161058d565b820191906000526020600020905b81548152906001019060200180831161057057829003601f168201915b50505050509050919050565b6001600160a01b0385163314806105b557506105b58533610391565b6105d15760405162461bcd60e51b81526004016104729061241a565b6105de8585858585610ce0565b5050505050565b6105ed610e8a565b600091825260066020526040909120600101805460ff1916911515919091179055565b606081518351146106755760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610472565b600083516001600160401b0381111561069057610690611d90565b6040519080825280602002602001820160405280156106b9578160200160208202803683370190505b50905060005b8451811015610731576107048582815181106106dd576106dd612469565b60200260200101518583815181106106f7576106f7612469565b602002602001015161040b565b82828151811061071657610716612469565b602090810291909101015261072a81612495565b90506106bf565b509392505050565b610741610e8a565b600083815260066020526040902060030161075d8284836124f4565b50505050565b61076b610e8a565b6107873382600160405180602001604052806000815250610ee4565b50565b6001600160a01b0383163314806107a657506107a68333610391565b6107c25760405162461bcd60e51b81526004016104729061241a565b6107cd838383611007565b505050565b6107da610e8a565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610804610e8a565b61080e60006111a3565b565b60008481526006602052604090206001015460ff166108655760405162461bcd60e51b8152602060048201526011602482015270135a5b9d0e88135a5b9d081c185d5cd959607a1b6044820152606401610472565b60008481526006602052604090205461088690670de0b6b3a76400006125b3565b600554604051631ba23e4760e21b81523360048201526001600160a01b0390911690636e88f91c90602401602060405180830381865afa1580156108ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f291906125ca565b101561094e5760405162461bcd60e51b815260206004820152602560248201527f4d696e743a205374616b696e6720726571756972656d656e74206e6f742072656044820152641858da195960da1b6064820152608401610472565b61095b3385858585610a8a565b6109a75760405162461bcd60e51b815260206004820152601760248201527f4d696e743a205369676e617475726520696e76616c69640000000000000000006044820152606401610472565b600084815260066020908152604080832033845260020190915290205460ff1615610a0c5760405162461bcd60e51b8152602060048201526015602482015274135a5b9d0e88105b1c9958591e4818db185a5b5959605a1b6044820152606401610472565b60008481526006602090815260408083203380855260029091018352818420805460ff19166001908117909155825193840190925292825261075d9291879190610ee4565b610a59610e8a565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610a863383836111f5565b5050565b604080516001600160a01b03871660208083019190915230828401526060820187905260808083018790528351808403909101815260a09092019092528051910120600090610b0f9084848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112d592505050565b9695505050505050565b600660205260009081526040902080546001820154600383018054929360ff90921692610b45906123e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610b71906123e0565b8015610bbe5780601f10610b9357610100808354040283529160200191610bbe565b820191906000526020600020905b815481529060010190602001808311610ba157829003601f168201915b5050505050905083565b610bd0610e8a565b60009182526006602052604090912055565b6001600160a01b038516331480610bfe5750610bfe8533610391565b610c1a5760405162461bcd60e51b81526004016104729061241a565b6105de85858585856112ff565b610c2f610e8a565b6001600160a01b038116610c945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610472565b610787816111a3565b6001600160a01b038316331480610cb95750610cb98333610391565b610cd55760405162461bcd60e51b81526004016104729061241a565b6107cd838383611437565b8151835114610d015760405162461bcd60e51b8152600401610472906125e3565b6001600160a01b038416610d275760405162461bcd60e51b81526004016104729061262b565b33610d3681878787878761154f565b60005b8451811015610e1c576000858281518110610d5657610d56612469565b602002602001015190506000858381518110610d7457610d74612469565b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015610dc45760405162461bcd60e51b815260040161047290612670565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610e019084906126ba565b9250508190555050505080610e1590612495565b9050610d39565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610e6c9291906126cd565b60405180910390a4610e8281878787878761155d565b505050505050565b6004546001600160a01b0316331461080e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610472565b6001600160a01b038416610f445760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610472565b336000610f50856116b8565b90506000610f5d856116b8565b9050610f6e8360008985858961154f565b6000868152602081815260408083206001600160a01b038b16845290915281208054879290610f9e9084906126ba565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610ffe83600089898989611703565b50505050505050565b6001600160a01b03831661102d5760405162461bcd60e51b8152600401610472906126f2565b805182511461104e5760405162461bcd60e51b8152600401610472906125e3565b60003390506110718185600086866040518060200160405280600081525061154f565b60005b835181101561113657600084828151811061109157611091612469565b6020026020010151905060008483815181106110af576110af612469565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156110ff5760405162461bcd60e51b815260040161047290612735565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061112e81612495565b915050611074565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516111879291906126cd565b60405180910390a460408051602081019091526000905261075d565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036112685760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610472565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6007546000906001600160a01b03166112ee84846117be565b6001600160a01b0316149392505050565b6001600160a01b0384166113255760405162461bcd60e51b81526004016104729061262b565b336000611331856116b8565b9050600061133e856116b8565b905061134e83898985858961154f565b6000868152602081815260408083206001600160a01b038c1684529091529020548581101561138f5760405162461bcd60e51b815260040161047290612670565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906113cc9084906126ba565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461142c848a8a8a8a8a611703565b505050505050505050565b6001600160a01b03831661145d5760405162461bcd60e51b8152600401610472906126f2565b336000611469846116b8565b90506000611476846116b8565b90506114968387600085856040518060200160405280600081525061154f565b6000858152602081815260408083206001600160a01b038a168452909152902054848110156114d75760405162461bcd60e51b815260040161047290612735565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4604080516020810190915260009052610ffe565b610e82868686868686611828565b6001600160a01b0384163b15610e825760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906115a19089908990889088908890600401612779565b6020604051808303816000875af19250505080156115dc575060408051601f3d908101601f191682019092526115d9918101906127d7565b60015b611688576115e86127f4565b806308c379a00361162157506115fc612810565b806116075750611623565b8060405162461bcd60e51b81526004016104729190611d7d565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610472565b6001600160e01b0319811663bc197c8160e01b14610ffe5760405162461bcd60e51b815260040161047290612899565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106116f2576116f2612469565b602090810291909101015292915050565b6001600160a01b0384163b15610e825760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061174790899089908890889088906004016128e1565b6020604051808303816000875af1925050508015611782575060408051601f3d908101601f1916820190925261177f918101906127d7565b60015b61178e576115e86127f4565b6001600160e01b0319811663f23a6e6160e01b14610ffe5760405162461bcd60e51b815260040161047290612899565b60006118218261181b856040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b906119a1565b9392505050565b6001600160a01b0385166118af5760005b83518110156118ad5782818151811061185457611854612469565b60200260200101516003600086848151811061187257611872612469565b60200260200101518152602001908152602001600020600082825461189791906126ba565b909155506118a6905081612495565b9050611839565b505b6001600160a01b038416610e825760005b8351811015610ffe5760008482815181106118dd576118dd612469565b6020026020010151905060008483815181106118fb576118fb612469565b602002602001015190506000600360008481526020019081526020016000205490508181101561197e5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b6064820152608401610472565b6000928352600360205260409092209103905561199a81612495565b90506118c0565b60008060006119b085856119bd565b9150915061073181611a02565b60008082516041036119f35760208301516040840151606085015160001a6119e787828585611bb8565b945094505050506119fb565b506000905060025b9250929050565b6000816004811115611a1657611a16612926565b03611a1e5750565b6001816004811115611a3257611a32612926565b03611a7f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610472565b6002816004811115611a9357611a93612926565b03611ae05760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610472565b6003816004811115611af457611af4612926565b03611b4c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610472565b6004816004811115611b6057611b60612926565b036107875760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610472565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611bef5750600090506003611c9c565b8460ff16601b14158015611c0757508460ff16601c14155b15611c185750600090506004611c9c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611c6c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611c9557600060019250925050611c9c565b9150600090505b94509492505050565b80356001600160a01b0381168114611cbc57600080fd5b919050565b60008060408385031215611cd457600080fd5b611cdd83611ca5565b946020939093013593505050565b6001600160e01b03198116811461078757600080fd5b600060208284031215611d1357600080fd5b813561182181611ceb565b600060208284031215611d3057600080fd5b5035919050565b6000815180845260005b81811015611d5d57602081850181015186830182015201611d41565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006118216020830184611d37565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611dcb57611dcb611d90565b6040525050565b60006001600160401b03821115611deb57611deb611d90565b5060051b60200190565b600082601f830112611e0657600080fd5b81356020611e1382611dd2565b604051611e208282611da6565b83815260059390931b8501820192828101915086841115611e4057600080fd5b8286015b84811015611e5b5780358352918301918301611e44565b509695505050505050565b600082601f830112611e7757600080fd5b81356001600160401b03811115611e9057611e90611d90565b604051611ea7601f8301601f191660200182611da6565b818152846020838601011115611ebc57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215611ef157600080fd5b611efa86611ca5565b9450611f0860208701611ca5565b935060408601356001600160401b0380821115611f2457600080fd5b611f3089838a01611df5565b94506060880135915080821115611f4657600080fd5b611f5289838a01611df5565b93506080880135915080821115611f6857600080fd5b50611f7588828901611e66565b9150509295509295909350565b80358015158114611cbc57600080fd5b60008060408385031215611fa557600080fd5b82359150611fb560208401611f82565b90509250929050565b60008060408385031215611fd157600080fd5b82356001600160401b0380821115611fe857600080fd5b818501915085601f830112611ffc57600080fd5b8135602061200982611dd2565b6040516120168282611da6565b83815260059390931b850182019282810191508984111561203657600080fd5b948201945b8386101561205b5761204c86611ca5565b8252948201949082019061203b565b9650508601359250508082111561207157600080fd5b5061207e85828601611df5565b9150509250929050565b600081518084526020808501945080840160005b838110156120b85781518752958201959082019060010161209c565b509495945050505050565b6020815260006118216020830184612088565b60008083601f8401126120e857600080fd5b5081356001600160401b038111156120ff57600080fd5b6020830191508360208285010111156119fb57600080fd5b60008060006040848603121561212c57600080fd5b8335925060208401356001600160401b0381111561214957600080fd5b612155868287016120d6565b9497909650939450505050565b60008060006060848603121561217757600080fd5b61218084611ca5565b925060208401356001600160401b038082111561219c57600080fd5b6121a887838801611df5565b935060408601359150808211156121be57600080fd5b506121cb86828701611df5565b9150509250925092565b6000602082840312156121e757600080fd5b61182182611ca5565b6000806000806060858703121561220657600080fd5b843593506020850135925060408501356001600160401b0381111561222a57600080fd5b612236878288016120d6565b95989497509550505050565b6000806040838503121561225557600080fd5b61225e83611ca5565b9150611fb560208401611f82565b60008060008060006080868803121561228457600080fd5b61228d86611ca5565b9450602086013593506040860135925060608601356001600160401b038111156122b657600080fd5b6122c2888289016120d6565b969995985093965092949392505050565b83815282151560208201526060604082015260006122f46060830184611d37565b95945050505050565b6000806040838503121561231057600080fd5b61231983611ca5565b9150611fb560208401611ca5565b6000806040838503121561233a57600080fd5b50508035926020909101359150565b600080600080600060a0868803121561236157600080fd5b61236a86611ca5565b945061237860208701611ca5565b9350604086013592506060860135915060808601356001600160401b038111156123a157600080fd5b611f7588828901611e66565b6000806000606084860312156123c257600080fd5b6123cb84611ca5565b95602085013595506040909401359392505050565b600181811c908216806123f457607f821691505b60208210810361241457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016124a7576124a761247f565b5060010190565b601f8211156107cd57600081815260208120601f850160051c810160208610156124d55750805b601f850160051c820191505b81811015610e82578281556001016124e1565b6001600160401b0383111561250b5761250b611d90565b61251f8361251983546123e0565b836124ae565b6000601f841160018114612553576000851561253b5750838201355b600019600387901b1c1916600186901b1783556105de565b600083815260209020601f19861690835b828110156125845786850135825560209485019460019092019101612564565b50868210156125a15760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b808202811582820484141761049e5761049e61247f565b6000602082840312156125dc57600080fd5b5051919050565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b8082018082111561049e5761049e61247f565b6040815260006126e06040830185612088565b82810360208401526122f48185612088565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6001600160a01b0386811682528516602082015260a0604082018190526000906127a590830186612088565b82810360608401526127b78186612088565b905082810360808401526127cb8185611d37565b98975050505050505050565b6000602082840312156127e957600080fd5b815161182181611ceb565b600060033d111561280d5760046000803e5060005160e01c5b90565b600060443d101561281e5790565b6040516003193d81016004833e81513d6001600160401b03816024840111818411171561284d57505050505090565b82850191508151818111156128655750505050505090565b843d870101602082850101111561287f5750505050505090565b61288e60208286010187611da6565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061291b90830184611d37565b979650505050505050565b634e487b7160e01b600052602160045260246000fdfea264697066735822122009d151d9bb8552f71d00ceabf0e371a750b9da7bf117cc2a0c479f23808b82fe64736f6c63430008110033

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

0000000000000000000000006c5f7d9278f14277f472d3b6c0bcf88dac0c34b70000000000000000000000001aaa17934511e49b33f6feeca3f334e8eeba8e32

-----Decoded View---------------
Arg [0] : _initialSigner (address): 0x6c5f7D9278f14277f472D3b6c0BCf88DAC0c34B7
Arg [1] : _stakingContract (address): 0x1AAA17934511e49b33F6FeECA3F334E8eeba8E32

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000006c5f7d9278f14277f472d3b6c0bcf88dac0c34b7
Arg [1] : 0000000000000000000000001aaa17934511e49b33f6feeca3f334e8eeba8e32


Deployed Bytecode Sourcemap

707:5560:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2185:227:1;;;;;;:::i;:::-;;:::i;:::-;;;597:25:14;;;585:2;570:18;2185:227:1;;;;;;;;1236:305;;;;;;:::i;:::-;;:::i;:::-;;;1184:14:14;;1177:22;1159:41;;1147:2;1132:18;1236:305:1;1019:187:14;2898:126:13;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4065:427:1:-;;;;;;:::i;:::-;;:::i;:::-;;3937:138:13;;;;;;:::i;:::-;4007:4;4030:14;;;:9;:14;;;;;;;;-1:-1:-1;;;;;4030:38:13;;;;;;:31;;;;:38;;;;;;;3937:138;5478:120;;;;;;:::i;:::-;;:::i;2569:508:1:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;901:120:5:-;;;;;;:::i;:::-;958:4;785:16;;;:12;:16;;;;;;-1:-1:-1;;;901:120:5;5190:125:13;;;;;;:::i;:::-;;:::i;5717:94::-;;;;;;:::i;:::-;;:::i;730:348:4:-;;;;;;:::i;:::-;;:::i;4330:95:13:-;;;;;;:::i;:::-;;:::i;1831:101:0:-;;;:::i;1201:85::-;1273:6;;1201:85;;-1:-1:-1;;;;;1273:6:0;;;9045:51:14;;9033:2;9018:18;1201:85:0;8899:203:14;1722:608:13;;;;;;:::i;:::-;;:::i;4559:127::-;;;;;;:::i;:::-;;:::i;3145:153:1:-;;;;;;:::i;:::-;;:::i;697:111:5:-;;;;;;:::i;:::-;759:7;785:16;;;:12;:16;;;;;;;697:111;2578:204:13;;;;;;:::i;:::-;;:::i;1325:43::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;3365:166:1:-;;;;;;:::i;:::-;-1:-1:-1;;;;;3487:27:1;;;3464:4;3487:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;3365:166;4894:136:13;;;;;;:::i;:::-;;:::i;3598:395:1:-;;;;;;:::i;:::-;;:::i;2081:198:0:-;;;;;;:::i;:::-;;:::i;408:316:4:-;;;;;;:::i;:::-;;:::i;2185:227:1:-;2271:7;-1:-1:-1;;;;;2298:21:1;;2290:76;;;;-1:-1:-1;;;2290:76:1;;12578:2:14;2290:76:1;;;12560:21:14;12617:2;12597:18;;;12590:30;12656:34;12636:18;;;12629:62;-1:-1:-1;;;12707:18:14;;;12700:40;12757:19;;2290:76:1;;;;;;;;;-1:-1:-1;2383:9:1;:13;;;;;;;;;;;-1:-1:-1;;;;;2383:22:1;;;;;;;;;;2185:227;;;;;:::o;1236:305::-;1338:4;-1:-1:-1;;;;;;1373:41:1;;-1:-1:-1;;;1373:41:1;;:109;;-1:-1:-1;;;;;;;1430:52:1;;-1:-1:-1;;;1430:52:1;1373:109;:161;;;-1:-1:-1;;;;;;;;;;937:40:11;;;1498:36:1;829:155:11;2898:126:13;2994:14;;;;:9;:14;;;;;:23;;2987:30;;2962:13;;2994:23;2987:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2898:126;;;:::o;4065:427:1:-;-1:-1:-1;;;;;4290:20:1;;719:10:8;4290:20:1;;:60;;-1:-1:-1;4314:36:1;4331:4;719:10:8;3365:166:1;:::i;4314:36::-;4269:154;;;;-1:-1:-1;;;4269:154:1;;;;;;;:::i;:::-;4433:52;4456:4;4462:2;4466:3;4471:7;4480:4;4433:22;:52::i;:::-;4065:427;;;;;:::o;5478:120:13:-;1094:13:0;:11;:13::i;:::-;5555:14:13::1;::::0;;;:9:::1;:14;::::0;;;;;:26:::1;;:36:::0;;-1:-1:-1;;5555:36:13::1;::::0;::::1;;::::0;;;::::1;::::0;;5478:120::o;2569:508:1:-;2720:16;2779:3;:10;2760:8;:15;:29;2752:83;;;;-1:-1:-1;;;2752:83:1;;13790:2:14;2752:83:1;;;13772:21:14;13829:2;13809:18;;;13802:30;13868:34;13848:18;;;13841:62;-1:-1:-1;;;13919:18:14;;;13912:39;13968:19;;2752:83:1;13588:405:14;2752:83:1;2846:30;2893:8;:15;-1:-1:-1;;;;;2879:30:1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2879:30:1;;2846:63;;2925:9;2920:120;2944:8;:15;2940:1;:19;2920:120;;;2999:30;3009:8;3018:1;3009:11;;;;;;;;:::i;:::-;;;;;;;3022:3;3026:1;3022:6;;;;;;;;:::i;:::-;;;;;;;2999:9;:30::i;:::-;2980:13;2994:1;2980:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;2961:3;;;:::i;:::-;;;2920:120;;;-1:-1:-1;3057:13:1;2569:508;-1:-1:-1;;;2569:508:1:o;5190:125:13:-;1094:13:0;:11;:13::i;:::-;5275:14:13::1;::::0;;;:9:::1;:14;::::0;;;;:23:::1;;:33;5301:7:::0;;5275:23;:33:::1;:::i;:::-;;5190:125:::0;;;:::o;5717:94::-;1094:13:0;:11;:13::i;:::-;5775:29:13::1;5781:10;5793:3;5798:1;5775:29;;;;;;;;;;;::::0;:5:::1;:29::i;:::-;5717:94:::0;:::o;730:348:4:-;-1:-1:-1;;;;;889:23:4;;719:10:8;889:23:4;;:66;;-1:-1:-1;916:39:4;933:7;719:10:8;3365:166:1;:::i;916:39:4:-;868:160;;;;-1:-1:-1;;;868:160:4;;;;;;;:::i;:::-;1039:32;1050:7;1059:3;1064:6;1039:10;:32::i;:::-;730:348;;;:::o;4330:95:13:-;1094:13:0;:11;:13::i;:::-;4398:7:13::1;:20:::0;;-1:-1:-1;;;;;;4398:20:13::1;-1:-1:-1::0;;;;;4398:20:13;;;::::1;::::0;;;::::1;::::0;;4330:95::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;1722:608:13:-;1813:14;;;;:9;:14;;;;;:26;;;;;1805:56;;;;-1:-1:-1;;;1805:56:13;;16662:2:14;1805:56:13;;;16644:21:14;16701:2;16681:18;;;16674:30;-1:-1:-1;;;16720:18:14;;;16713:47;16777:18;;1805:56:13;16460:341:14;1805:56:13;1942:14;;;;:9;:14;;;;;:29;:36;;1974:4;1942:36;:::i;:::-;1879:15;;:59;;-1:-1:-1;;;1879:59:13;;1927:10;1879:59;;;9045:51:14;-1:-1:-1;;;;;1879:15:13;;;;:47;;9018:18:14;;1879:59:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:99;;1871:149;;;;-1:-1:-1;;;1871:149:13;;17370:2:14;1871:149:13;;;17352:21:14;17409:2;17389:18;;;17382:30;17448:34;17428:18;;;17421:62;-1:-1:-1;;;17499:18:14;;;17492:35;17544:19;;1871:149:13;17168:401:14;1871:149:13;2038:61;2064:10;2076:3;2081:5;2088:10;;2038:25;:61::i;:::-;2030:97;;;;-1:-1:-1;;;2030:97:13;;17776:2:14;2030:97:13;;;17758:21:14;17815:2;17795:18;;;17788:30;17854:25;17834:18;;;17827:53;17897:18;;2030:97:13;17574:347:14;2030:97:13;2146:14;;;;:9;:14;;;;;;;;2178:10;2146:43;;:31;;:43;;;;;;;;2145:44;2137:78;;;;-1:-1:-1;;;2137:78:13;;18128:2:14;2137:78:13;;;18110:21:14;18167:2;18147:18;;;18140:30;-1:-1:-1;;;18186:18:14;;;18179:51;18247:18;;2137:78:13;17926:345:14;2137:78:13;2234:14;;;;:9;:14;;;;;;;;2266:10;2234:43;;;:31;;;;:43;;;;;:50;;-1:-1:-1;;2234:50:13;2280:4;2234:50;;;;;;2294:29;;;;;;;;;;;;;2266:10;2244:3;;2280:4;2294:5;:29::i;4559:127::-;1094:13:0;:11;:13::i;:::-;4635:15:13::1;:44:::0;;-1:-1:-1;;;;;;4635:44:13::1;-1:-1:-1::0;;;;;4635:44:13;;;::::1;::::0;;;::::1;::::0;;4559:127::o;3145:153:1:-;3239:52;719:10:8;3272:8:1;3282;3239:18;:52::i;:::-;3145:153;;:::o;2578:204:13:-;3270:47;;;-1:-1:-1;;;;;23031:15:14;;3270:47:13;;;;23013:34:14;;;;3299:4:13;23063:18:14;;;23056:43;23115:18;;;23108:34;;;23158:18;;;;23151:34;;;3270:47:13;;;;;;;;;;22947:19:14;;;;3270:47:13;;;3260:58;;;;;2704:4;;2727:48;;2764:10;;2727:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2727:7:13;;-1:-1:-1;;;2727:48:13:i;:::-;2720:55;2578:204;-1:-1:-1;;;;;;2578:204:13:o;1325:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4894:136::-;1094:13:0;:11;:13::i;:::-;4979:14:13::1;::::0;;;:9:::1;:14;::::0;;;;;:44;4894:136::o;3598:395:1:-;-1:-1:-1;;;;;3798:20:1;;719:10:8;3798:20:1;;:60;;-1:-1:-1;3822:36:1;3839:4;719:10:8;3365:166:1;:::i;3822:36::-;3777:154;;;;-1:-1:-1;;;3777:154:1;;;;;;;:::i;:::-;3941:45;3959:4;3965:2;3969;3973:6;3981:4;3941:17;:45::i;2081:198:0:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;18478:2:14;2161:73:0::1;::::0;::::1;18460:21:14::0;18517:2;18497:18;;;18490:30;18556:34;18536:18;;;18529:62;-1:-1:-1;;;18607:18:14;;;18600:36;18653:19;;2161:73:0::1;18276:402:14::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;408:316:4:-:0;-1:-1:-1;;;;;542:23:4;;719:10:8;542:23:4;;:66;;-1:-1:-1;569:39:4;586:7;719:10:8;3365:166:1;:::i;569:39:4:-;521:160;;;;-1:-1:-1;;;521:160:4;;;;;;;:::i;:::-;692:25;698:7;707:2;711:5;692;:25::i;6235:1115:1:-;6455:7;:14;6441:3;:10;:28;6433:81;;;;-1:-1:-1;;;6433:81:1;;;;;;;:::i;:::-;-1:-1:-1;;;;;6532:16:1;;6524:66;;;;-1:-1:-1;;;6524:66:1;;;;;;;:::i;:::-;719:10:8;6643:60:1;719:10:8;6674:4:1;6680:2;6684:3;6689:7;6698:4;6643:20;:60::i;:::-;6719:9;6714:411;6738:3;:10;6734:1;:14;6714:411;;;6769:10;6782:3;6786:1;6782:6;;;;;;;;:::i;:::-;;;;;;;6769:19;;6802:14;6819:7;6827:1;6819:10;;;;;;;;:::i;:::-;;;;;;;;;;;;6844:19;6866:13;;;;;;;;;;-1:-1:-1;;;;;6866:19:1;;;;;;;;;;;;6819:10;;-1:-1:-1;6907:21:1;;;;6899:76;;;;-1:-1:-1;;;6899:76:1;;;;;;;:::i;:::-;7017:9;:13;;;;;;;;;;;-1:-1:-1;;;;;7017:19:1;;;;;;;;;;7039:20;;;7017:42;;7087:17;;;;;;;:27;;7039:20;;7017:9;7087:27;;7039:20;;7087:27;:::i;:::-;;;;;;;;6755:370;;;6750:3;;;;:::i;:::-;;;6714:411;;;;7170:2;-1:-1:-1;;;;;7140:47:1;7164:4;-1:-1:-1;;;;;7140:47:1;7154:8;-1:-1:-1;;;;;7140:47:1;;7174:3;7179:7;7140:47;;;;;;;:::i;:::-;;;;;;;;7268:75;7304:8;7314:4;7320:2;7324:3;7329:7;7338:4;7268:35;:75::i;:::-;6423:927;6235:1115;;;;;:::o;1359:130:0:-;1273:6;;-1:-1:-1;;;;;1273:6:0;719:10:8;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;20711:2:14;1414:68:0;;;20693:21:14;;;20730:18;;;20723:30;20789:34;20769:18;;;20762:62;20841:18;;1414:68:0;20509:356:14;8632:709:1;-1:-1:-1;;;;;8779:16:1;;8771:62;;;;-1:-1:-1;;;8771:62:1;;21072:2:14;8771:62:1;;;21054:21:14;21111:2;21091:18;;;21084:30;21150:34;21130:18;;;21123:62;-1:-1:-1;;;21201:18:14;;;21194:31;21242:19;;8771:62:1;20870:397:14;8771:62:1;719:10:8;8844:16:1;8908:21;8926:2;8908:17;:21::i;:::-;8885:44;;8939:24;8966:25;8984:6;8966:17;:25::i;:::-;8939:52;;9002:66;9023:8;9041:1;9045:2;9049:3;9054:7;9063:4;9002:20;:66::i;:::-;9079:9;:13;;;;;;;;;;;-1:-1:-1;;;;;9079:17:1;;;;;;;;;:27;;9100:6;;9079:9;:27;;9100:6;;9079:27;:::i;:::-;;;;-1:-1:-1;;9121:52:1;;;21446:25:14;;;21502:2;21487:18;;21480:34;;;-1:-1:-1;;;;;9121:52:1;;;;9154:1;;9121:52;;;;;;21419:18:14;9121:52:1;;;;;;;9260:74;9291:8;9309:1;9313:2;9317;9321:6;9329:4;9260:30;:74::i;:::-;8761:580;;;8632:709;;;;:::o;11833:943::-;-1:-1:-1;;;;;11980:18:1;;11972:66;;;;-1:-1:-1;;;11972:66:1;;;;;;;:::i;:::-;12070:7;:14;12056:3;:10;:28;12048:81;;;;-1:-1:-1;;;12048:81:1;;;;;;;:::i;:::-;12140:16;719:10:8;12140:31:1;;12182:66;12203:8;12213:4;12227:1;12231:3;12236:7;12182:66;;;;;;;;;;;;:20;:66::i;:::-;12264:9;12259:364;12283:3;:10;12279:1;:14;12259:364;;;12314:10;12327:3;12331:1;12327:6;;;;;;;;:::i;:::-;;;;;;;12314:19;;12347:14;12364:7;12372:1;12364:10;;;;;;;;:::i;:::-;;;;;;;;;;;;12389:19;12411:13;;;;;;;;;;-1:-1:-1;;;;;12411:19:1;;;;;;;;;;;;12364:10;;-1:-1:-1;12452:21:1;;;;12444:70;;;;-1:-1:-1;;;12444:70:1;;;;;;;:::i;:::-;12556:9;:13;;;;;;;;;;;-1:-1:-1;;;;;12556:19:1;;;;;;;;;;12578:20;;12556:42;;12295:3;;;;:::i;:::-;;;;12259:364;;;;12676:1;-1:-1:-1;;;;;12638:55:1;12662:4;-1:-1:-1;;;;;12638:55:1;12652:8;-1:-1:-1;;;;;12638:55:1;;12680:3;12685:7;12638:55;;;;;;;:::i;:::-;;;;;;;;12704:65;;;;;;;;;12748:1;12704:65;;;6235:1115;2433:187:0;2525:6;;;-1:-1:-1;;;;;2541:17:0;;;-1:-1:-1;;;;;;2541:17:0;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;12912:323:1:-;13062:8;-1:-1:-1;;;;;13053:17:1;:5;-1:-1:-1;;;;;13053:17:1;;13045:71;;;;-1:-1:-1;;;13045:71:1;;22536:2:14;13045:71:1;;;22518:21:14;22575:2;22555:18;;;22548:30;22614:34;22594:18;;;22587:62;-1:-1:-1;;;22665:18:14;;;22658:39;22714:19;;13045:71:1;22334:405:14;13045:71:1;-1:-1:-1;;;;;13126:25:1;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;13126:46:1;;;;;;;;;;13187:41;;1159::14;;;13187::1;;1132:18:14;13187:41:1;;;;;;;12912:323;;;:::o;3331:138:13:-;3454:7;;3405:4;;-1:-1:-1;;;;;3454:7:13;3429:21;3438:4;3444:5;3429:8;:21::i;:::-;-1:-1:-1;;;;;3429:32:13;;;3331:138;-1:-1:-1;;;3331:138:13:o;4942:947:1:-;-1:-1:-1;;;;;5123:16:1;;5115:66;;;;-1:-1:-1;;;5115:66:1;;;;;;;:::i;:::-;719:10:8;5192:16:1;5256:21;5274:2;5256:17;:21::i;:::-;5233:44;;5287:24;5314:25;5332:6;5314:17;:25::i;:::-;5287:52;;5350:60;5371:8;5381:4;5387:2;5391:3;5396:7;5405:4;5350:20;:60::i;:::-;5421:19;5443:13;;;;;;;;;;;-1:-1:-1;;;;;5443:19:1;;;;;;;;;;5480:21;;;;5472:76;;;;-1:-1:-1;;;5472:76:1;;;;;;;:::i;:::-;5582:9;:13;;;;;;;;;;;-1:-1:-1;;;;;5582:19:1;;;;;;;;;;5604:20;;;5582:42;;5644:17;;;;;;;:27;;5604:20;;5582:9;5644:27;;5604:20;;5644:27;:::i;:::-;;;;-1:-1:-1;;5687:46:1;;;21446:25:14;;;21502:2;21487:18;;21480:34;;;-1:-1:-1;;;;;5687:46:1;;;;;;;;;;;;;;21419:18:14;5687:46:1;;;;;;;5814:68;5845:8;5855:4;5861:2;5865;5869:6;5877:4;5814:30;:68::i;:::-;5105:784;;;;4942:947;;;;;:::o;10808:786::-;-1:-1:-1;;;;;10930:18:1;;10922:66;;;;-1:-1:-1;;;10922:66:1;;;;;;;:::i;:::-;719:10:8;10999:16:1;11063:21;11081:2;11063:17;:21::i;:::-;11040:44;;11094:24;11121:25;11139:6;11121:17;:25::i;:::-;11094:52;;11157:66;11178:8;11188:4;11202:1;11206:3;11211:7;11157:66;;;;;;;;;;;;:20;:66::i;:::-;11234:19;11256:13;;;;;;;;;;;-1:-1:-1;;;;;11256:19:1;;;;;;;;;;11293:21;;;;11285:70;;;;-1:-1:-1;;;11285:70:1;;;;;;;:::i;:::-;11389:9;:13;;;;;;;;;;;-1:-1:-1;;;;;11389:19:1;;;;;;;;;;;;11411:20;;;11389:42;;11457:54;;21446:25:14;;;21487:18;;;21480:34;;;11389:19:1;;11457:54;;;;;;21419:18:14;11457:54:1;;;;;;;11522:65;;;;;;;;;11566:1;11522:65;;;6235:1115;5940:325:13;6192:66;6219:8;6229:4;6235:2;6239:3;6244:7;6253:4;6192:26;:66::i;16268:792:1:-;-1:-1:-1;;;;;16500:13:1;;1465:19:7;:23;16496:558:1;;16535:79;;-1:-1:-1;;;16535:79:1;;-1:-1:-1;;;;;16535:43:1;;;;;:79;;16579:8;;16589:4;;16595:3;;16600:7;;16609:4;;16535:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16535:79:1;;;;;;;;-1:-1:-1;;16535:79:1;;;;;;;;;;;;:::i;:::-;;;16531:513;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;16920:6;16913:14;;-1:-1:-1;;;16913:14:1;;;;;;;;:::i;16531:513::-;;;16967:62;;-1:-1:-1;;;16967:62:1;;25344:2:14;16967:62:1;;;25326:21:14;25383:2;25363:18;;;25356:30;25422:34;25402:18;;;25395:62;-1:-1:-1;;;25473:18:14;;;25466:50;25533:19;;16967:62:1;25142:416:14;16531:513:1;-1:-1:-1;;;;;;16693:60:1;;-1:-1:-1;;;16693:60:1;16689:157;;16777:50;;-1:-1:-1;;;16777:50:1;;;;;;;:::i;17066:193::-;17185:16;;;17199:1;17185:16;;;;;;;;;17132;;17160:22;;17185:16;;;;;;;;;;;;-1:-1:-1;17185:16:1;17160:41;;17222:7;17211:5;17217:1;17211:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;17247:5;17066:193;-1:-1:-1;;17066:193:1:o;15537:725::-;-1:-1:-1;;;;;15744:13:1;;1465:19:7;:23;15740:516:1;;15779:72;;-1:-1:-1;;;15779:72:1;;-1:-1:-1;;;;;15779:38:1;;;;;:72;;15818:8;;15828:4;;15834:2;;15838:6;;15846:4;;15779:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15779:72:1;;;;;;;;-1:-1:-1;;15779:72:1;;;;;;;;;;;;:::i;:::-;;;15775:471;;;;:::i;:::-;-1:-1:-1;;;;;;15900:55:1;;-1:-1:-1;;;15900:55:1;15896:152;;15979:50;;-1:-1:-1;;;15979:50:1;;;;;;;:::i;3475:152:13:-;3550:7;3576:44;3614:5;3576:29;:4;7662:58:10;;27189:66:14;7662:58:10;;;27177:79:14;27272:12;;;27265:28;;;7532:7:10;;27309:12:14;;7662:58:10;;;;;;;;;;;;7652:69;;;;;;7645:76;;7463:265;;;;3576:29:13;:37;;:44::i;:::-;3569:51;3475:152;-1:-1:-1;;;3475:152:13:o;1091:904:5:-;-1:-1:-1;;;;;1403:18:5;;1399:156;;1442:9;1437:108;1461:3;:10;1457:1;:14;1437:108;;;1520:7;1528:1;1520:10;;;;;;;;:::i;:::-;;;;;;;1496:12;:20;1509:3;1513:1;1509:6;;;;;;;;:::i;:::-;;;;;;;1496:20;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;-1:-1:-1;1473:3:5;;-1:-1:-1;1473:3:5;;:::i;:::-;;;1437:108;;;;1399:156;-1:-1:-1;;;;;1569:16:5;;1565:424;;1606:9;1601:378;1625:3;:10;1621:1;:14;1601:378;;;1660:10;1673:3;1677:1;1673:6;;;;;;;;:::i;:::-;;;;;;;1660:19;;1697:14;1714:7;1722:1;1714:10;;;;;;;;:::i;:::-;;;;;;;1697:27;;1742:14;1759:12;:16;1772:2;1759:16;;;;;;;;;;;;1742:33;;1811:6;1801;:16;;1793:69;;;;-1:-1:-1;;;1793:69:5;;26740:2:14;1793:69:5;;;26722:21:14;26779:2;26759:18;;;26752:30;26818:34;26798:18;;;26791:62;-1:-1:-1;;;26869:18:14;;;26862:38;26917:19;;1793:69:5;26538:404:14;1793:69:5;1912:16;;;;:12;:16;;;;;;1931:15;;1912:34;;1637:3;;;:::i;:::-;;;1601:378;;3759:227:10;3837:7;3857:17;3876:18;3898:27;3909:4;3915:9;3898:10;:27::i;:::-;3856:69;;;;3935:18;3947:5;3935:11;:18::i;2243:730::-;2324:7;2333:12;2361:9;:16;2381:2;2361:22;2357:610;;2697:4;2682:20;;2676:27;2746:4;2731:20;;2725:27;2803:4;2788:20;;2782:27;2399:9;2774:36;2844:25;2855:4;2774:36;2676:27;2725;2844:10;:25::i;:::-;2837:32;;;;;;;;;2357:610;-1:-1:-1;2916:1:10;;-1:-1:-1;2920:35:10;2357:610;2243:730;;;;;:::o;548:631::-;625:20;616:5;:29;;;;;;;;:::i;:::-;;612:561;;548:631;:::o;612:561::-;721:29;712:5;:38;;;;;;;;:::i;:::-;;708:465;;766:34;;-1:-1:-1;;;766:34:10;;27666:2:14;766:34:10;;;27648:21:14;27705:2;27685:18;;;27678:30;27744:26;27724:18;;;27717:54;27788:18;;766:34:10;27464:348:14;708:465:10;830:35;821:5;:44;;;;;;;;:::i;:::-;;817:356;;881:41;;-1:-1:-1;;;881:41:10;;28019:2:14;881:41:10;;;28001:21:14;28058:2;28038:18;;;28031:30;28097:33;28077:18;;;28070:61;28148:18;;881:41:10;27817:355:14;817:356:10;952:30;943:5;:39;;;;;;;;:::i;:::-;;939:234;;998:44;;-1:-1:-1;;;998:44:10;;28379:2:14;998:44:10;;;28361:21:14;28418:2;28398:18;;;28391:30;28457:34;28437:18;;;28430:62;-1:-1:-1;;;28508:18:14;;;28501:32;28550:19;;998:44:10;28177:398:14;939:234:10;1072:30;1063:5;:39;;;;;;;;:::i;:::-;;1059:114;;1118:44;;-1:-1:-1;;;1118:44:10;;28782:2:14;1118:44:10;;;28764:21:14;28821:2;28801:18;;;28794:30;28860:34;28840:18;;;28833:62;-1:-1:-1;;;28911:18:14;;;28904:32;28953:19;;1118:44:10;28580:398:14;5167:1603:10;5293:7;;6217:66;6204:79;;6200:161;;;-1:-1:-1;6315:1:10;;-1:-1:-1;6319:30:10;6299:51;;6200:161;6374:1;:7;;6379:2;6374:7;;:18;;;;;6385:1;:7;;6390:2;6385:7;;6374:18;6370:100;;;-1:-1:-1;6424:1:10;;-1:-1:-1;6428:30:10;6408:51;;6370:100;6581:24;;;6564:14;6581:24;;;;;;;;;29210:25:14;;;29283:4;29271:17;;29251:18;;;29244:45;;;;29305:18;;;29298:34;;;29348:18;;;29341:34;;;6581:24:10;;29182:19:14;;6581:24:10;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6581:24:10;;-1:-1:-1;;6581:24:10;;;-1:-1:-1;;;;;;;6619:20:10;;6615:101;;6671:1;6675:29;6655:50;;;;;;;6615:101;6734:6;-1:-1:-1;6742:20:10;;-1:-1:-1;5167:1603:10;;;;;;;;:::o;14:173:14:-;82:20;;-1:-1:-1;;;;;131:31:14;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:254::-;260:6;268;321:2;309:9;300:7;296:23;292:32;289:52;;;337:1;334;327:12;289:52;360:29;379:9;360:29;:::i;:::-;350:39;436:2;421:18;;;;408:32;;-1:-1:-1;;;192:254:14:o;633:131::-;-1:-1:-1;;;;;;707:32:14;;697:43;;687:71;;754:1;751;744:12;769:245;827:6;880:2;868:9;859:7;855:23;851:32;848:52;;;896:1;893;886:12;848:52;935:9;922:23;954:30;978:5;954:30;:::i;1211:180::-;1270:6;1323:2;1311:9;1302:7;1298:23;1294:32;1291:52;;;1339:1;1336;1329:12;1291:52;-1:-1:-1;1362:23:14;;1211:180;-1:-1:-1;1211:180:14:o;1396:423::-;1438:3;1476:5;1470:12;1503:6;1498:3;1491:19;1528:1;1538:162;1552:6;1549:1;1546:13;1538:162;;;1614:4;1670:13;;;1666:22;;1660:29;1642:11;;;1638:20;;1631:59;1567:12;1538:162;;;1542:3;1745:1;1738:4;1729:6;1724:3;1720:16;1716:27;1709:38;1808:4;1801:2;1797:7;1792:2;1784:6;1780:15;1776:29;1771:3;1767:39;1763:50;1756:57;;;1396:423;;;;:::o;1824:220::-;1973:2;1962:9;1955:21;1936:4;1993:45;2034:2;2023:9;2019:18;2011:6;1993:45;:::i;2049:127::-;2110:10;2105:3;2101:20;2098:1;2091:31;2141:4;2138:1;2131:15;2165:4;2162:1;2155:15;2181:249;2291:2;2272:13;;-1:-1:-1;;2268:27:14;2256:40;;-1:-1:-1;;;;;2311:34:14;;2347:22;;;2308:62;2305:88;;;2373:18;;:::i;:::-;2409:2;2402:22;-1:-1:-1;;2181:249:14:o;2435:183::-;2495:4;-1:-1:-1;;;;;2520:6:14;2517:30;2514:56;;;2550:18;;:::i;:::-;-1:-1:-1;2595:1:14;2591:14;2607:4;2587:25;;2435:183::o;2623:724::-;2677:5;2730:3;2723:4;2715:6;2711:17;2707:27;2697:55;;2748:1;2745;2738:12;2697:55;2784:6;2771:20;2810:4;2833:43;2873:2;2833:43;:::i;:::-;2905:2;2899:9;2917:31;2945:2;2937:6;2917:31;:::i;:::-;2983:18;;;3075:1;3071:10;;;;3059:23;;3055:32;;;3017:15;;;;-1:-1:-1;3099:15:14;;;3096:35;;;3127:1;3124;3117:12;3096:35;3163:2;3155:6;3151:15;3175:142;3191:6;3186:3;3183:15;3175:142;;;3257:17;;3245:30;;3295:12;;;;3208;;3175:142;;;-1:-1:-1;3335:6:14;2623:724;-1:-1:-1;;;;;;2623:724:14:o;3352:555::-;3394:5;3447:3;3440:4;3432:6;3428:17;3424:27;3414:55;;3465:1;3462;3455:12;3414:55;3501:6;3488:20;-1:-1:-1;;;;;3523:2:14;3520:26;3517:52;;;3549:18;;:::i;:::-;3598:2;3592:9;3610:67;3665:2;3646:13;;-1:-1:-1;;3642:27:14;3671:4;3638:38;3592:9;3610:67;:::i;:::-;3701:2;3693:6;3686:18;3747:3;3740:4;3735:2;3727:6;3723:15;3719:26;3716:35;3713:55;;;3764:1;3761;3754:12;3713:55;3828:2;3821:4;3813:6;3809:17;3802:4;3794:6;3790:17;3777:54;3875:1;3851:15;;;3868:4;3847:26;3840:37;;;;3855:6;3352:555;-1:-1:-1;;;3352:555:14:o;3912:943::-;4066:6;4074;4082;4090;4098;4151:3;4139:9;4130:7;4126:23;4122:33;4119:53;;;4168:1;4165;4158:12;4119:53;4191:29;4210:9;4191:29;:::i;:::-;4181:39;;4239:38;4273:2;4262:9;4258:18;4239:38;:::i;:::-;4229:48;;4328:2;4317:9;4313:18;4300:32;-1:-1:-1;;;;;4392:2:14;4384:6;4381:14;4378:34;;;4408:1;4405;4398:12;4378:34;4431:61;4484:7;4475:6;4464:9;4460:22;4431:61;:::i;:::-;4421:71;;4545:2;4534:9;4530:18;4517:32;4501:48;;4574:2;4564:8;4561:16;4558:36;;;4590:1;4587;4580:12;4558:36;4613:63;4668:7;4657:8;4646:9;4642:24;4613:63;:::i;:::-;4603:73;;4729:3;4718:9;4714:19;4701:33;4685:49;;4759:2;4749:8;4746:16;4743:36;;;4775:1;4772;4765:12;4743:36;;4798:51;4841:7;4830:8;4819:9;4815:24;4798:51;:::i;:::-;4788:61;;;3912:943;;;;;;;;:::o;4860:160::-;4925:20;;4981:13;;4974:21;4964:32;;4954:60;;5010:1;5007;5000:12;5025:248;5090:6;5098;5151:2;5139:9;5130:7;5126:23;5122:32;5119:52;;;5167:1;5164;5157:12;5119:52;5203:9;5190:23;5180:33;;5232:35;5263:2;5252:9;5248:18;5232:35;:::i;:::-;5222:45;;5025:248;;;;;:::o;5278:1208::-;5396:6;5404;5457:2;5445:9;5436:7;5432:23;5428:32;5425:52;;;5473:1;5470;5463:12;5425:52;5513:9;5500:23;-1:-1:-1;;;;;5583:2:14;5575:6;5572:14;5569:34;;;5599:1;5596;5589:12;5569:34;5637:6;5626:9;5622:22;5612:32;;5682:7;5675:4;5671:2;5667:13;5663:27;5653:55;;5704:1;5701;5694:12;5653:55;5740:2;5727:16;5762:4;5785:43;5825:2;5785:43;:::i;:::-;5857:2;5851:9;5869:31;5897:2;5889:6;5869:31;:::i;:::-;5935:18;;;6023:1;6019:10;;;;6011:19;;6007:28;;;5969:15;;;;-1:-1:-1;6047:19:14;;;6044:39;;;6079:1;6076;6069:12;6044:39;6103:11;;;;6123:148;6139:6;6134:3;6131:15;6123:148;;;6205:23;6224:3;6205:23;:::i;:::-;6193:36;;6156:12;;;;6249;;;;6123:148;;;6290:6;-1:-1:-1;;6334:18:14;;6321:32;;-1:-1:-1;;6365:16:14;;;6362:36;;;6394:1;6391;6384:12;6362:36;;6417:63;6472:7;6461:8;6450:9;6446:24;6417:63;:::i;:::-;6407:73;;;5278:1208;;;;;:::o;6491:435::-;6544:3;6582:5;6576:12;6609:6;6604:3;6597:19;6635:4;6664:2;6659:3;6655:12;6648:19;;6701:2;6694:5;6690:14;6722:1;6732:169;6746:6;6743:1;6740:13;6732:169;;;6807:13;;6795:26;;6841:12;;;;6876:15;;;;6768:1;6761:9;6732:169;;;-1:-1:-1;6917:3:14;;6491:435;-1:-1:-1;;;;;6491:435:14:o;6931:261::-;7110:2;7099:9;7092:21;7073:4;7130:56;7182:2;7171:9;7167:18;7159:6;7130:56;:::i;7197:348::-;7249:8;7259:6;7313:3;7306:4;7298:6;7294:17;7290:27;7280:55;;7331:1;7328;7321:12;7280:55;-1:-1:-1;7354:20:14;;-1:-1:-1;;;;;7386:30:14;;7383:50;;;7429:1;7426;7419:12;7383:50;7466:4;7458:6;7454:17;7442:29;;7518:3;7511:4;7502:6;7494;7490:19;7486:30;7483:39;7480:59;;;7535:1;7532;7525:12;7550:479;7630:6;7638;7646;7699:2;7687:9;7678:7;7674:23;7670:32;7667:52;;;7715:1;7712;7705:12;7667:52;7751:9;7738:23;7728:33;;7812:2;7801:9;7797:18;7784:32;-1:-1:-1;;;;;7831:6:14;7828:30;7825:50;;;7871:1;7868;7861:12;7825:50;7910:59;7961:7;7952:6;7941:9;7937:22;7910:59;:::i;:::-;7550:479;;7988:8;;-1:-1:-1;7884:85:14;;-1:-1:-1;;;;7550:479:14:o;8034:669::-;8161:6;8169;8177;8230:2;8218:9;8209:7;8205:23;8201:32;8198:52;;;8246:1;8243;8236:12;8198:52;8269:29;8288:9;8269:29;:::i;:::-;8259:39;;8349:2;8338:9;8334:18;8321:32;-1:-1:-1;;;;;8413:2:14;8405:6;8402:14;8399:34;;;8429:1;8426;8419:12;8399:34;8452:61;8505:7;8496:6;8485:9;8481:22;8452:61;:::i;:::-;8442:71;;8566:2;8555:9;8551:18;8538:32;8522:48;;8595:2;8585:8;8582:16;8579:36;;;8611:1;8608;8601:12;8579:36;;8634:63;8689:7;8678:8;8667:9;8663:24;8634:63;:::i;:::-;8624:73;;;8034:669;;;;;:::o;8708:186::-;8767:6;8820:2;8808:9;8799:7;8795:23;8791:32;8788:52;;;8836:1;8833;8826:12;8788:52;8859:29;8878:9;8859:29;:::i;9107:546::-;9195:6;9203;9211;9219;9272:2;9260:9;9251:7;9247:23;9243:32;9240:52;;;9288:1;9285;9278:12;9240:52;9324:9;9311:23;9301:33;;9381:2;9370:9;9366:18;9353:32;9343:42;;9436:2;9425:9;9421:18;9408:32;-1:-1:-1;;;;;9455:6:14;9452:30;9449:50;;;9495:1;9492;9485:12;9449:50;9534:59;9585:7;9576:6;9565:9;9561:22;9534:59;:::i;:::-;9107:546;;;;-1:-1:-1;9612:8:14;-1:-1:-1;;;;9107:546:14:o;9658:254::-;9723:6;9731;9784:2;9772:9;9763:7;9759:23;9755:32;9752:52;;;9800:1;9797;9790:12;9752:52;9823:29;9842:9;9823:29;:::i;:::-;9813:39;;9871:35;9902:2;9891:9;9887:18;9871:35;:::i;9917:621::-;10014:6;10022;10030;10038;10046;10099:3;10087:9;10078:7;10074:23;10070:33;10067:53;;;10116:1;10113;10106:12;10067:53;10139:29;10158:9;10139:29;:::i;:::-;10129:39;;10215:2;10204:9;10200:18;10187:32;10177:42;;10266:2;10255:9;10251:18;10238:32;10228:42;;10321:2;10310:9;10306:18;10293:32;-1:-1:-1;;;;;10340:6:14;10337:30;10334:50;;;10380:1;10377;10370:12;10334:50;10419:59;10470:7;10461:6;10450:9;10446:22;10419:59;:::i;:::-;9917:621;;;;-1:-1:-1;9917:621:14;;-1:-1:-1;10497:8:14;;10393:85;9917:621;-1:-1:-1;;;9917:621:14:o;10543:372::-;10742:6;10731:9;10724:25;10799:6;10792:14;10785:22;10780:2;10769:9;10765:18;10758:50;10844:2;10839;10828:9;10824:18;10817:30;10705:4;10864:45;10905:2;10894:9;10890:18;10882:6;10864:45;:::i;:::-;10856:53;10543:372;-1:-1:-1;;;;;10543:372:14:o;10920:260::-;10988:6;10996;11049:2;11037:9;11028:7;11024:23;11020:32;11017:52;;;11065:1;11062;11055:12;11017:52;11088:29;11107:9;11088:29;:::i;:::-;11078:39;;11136:38;11170:2;11159:9;11155:18;11136:38;:::i;11185:248::-;11253:6;11261;11314:2;11302:9;11293:7;11289:23;11285:32;11282:52;;;11330:1;11327;11320:12;11282:52;-1:-1:-1;;11353:23:14;;;11423:2;11408:18;;;11395:32;;-1:-1:-1;11185:248:14:o;11438:606::-;11542:6;11550;11558;11566;11574;11627:3;11615:9;11606:7;11602:23;11598:33;11595:53;;;11644:1;11641;11634:12;11595:53;11667:29;11686:9;11667:29;:::i;:::-;11657:39;;11715:38;11749:2;11738:9;11734:18;11715:38;:::i;:::-;11705:48;;11800:2;11789:9;11785:18;11772:32;11762:42;;11851:2;11840:9;11836:18;11823:32;11813:42;;11906:3;11895:9;11891:19;11878:33;-1:-1:-1;;;;;11926:6:14;11923:30;11920:50;;;11966:1;11963;11956:12;11920:50;11989:49;12030:7;12021:6;12010:9;12006:22;11989:49;:::i;12049:322::-;12126:6;12134;12142;12195:2;12183:9;12174:7;12170:23;12166:32;12163:52;;;12211:1;12208;12201:12;12163:52;12234:29;12253:9;12234:29;:::i;:::-;12224:39;12310:2;12295:18;;12282:32;;-1:-1:-1;12361:2:14;12346:18;;;12333:32;;12049:322;-1:-1:-1;;;12049:322:14:o;12787:380::-;12866:1;12862:12;;;;12909;;;12930:61;;12984:4;12976:6;12972:17;12962:27;;12930:61;13037:2;13029:6;13026:14;13006:18;13003:38;13000:161;;13083:10;13078:3;13074:20;13071:1;13064:31;13118:4;13115:1;13108:15;13146:4;13143:1;13136:15;13000:161;;12787:380;;;:::o;13172:411::-;13374:2;13356:21;;;13413:2;13393:18;;;13386:30;13452:34;13447:2;13432:18;;13425:62;-1:-1:-1;;;13518:2:14;13503:18;;13496:45;13573:3;13558:19;;13172:411::o;13998:127::-;14059:10;14054:3;14050:20;14047:1;14040:31;14090:4;14087:1;14080:15;14114:4;14111:1;14104:15;14130:127;14191:10;14186:3;14182:20;14179:1;14172:31;14222:4;14219:1;14212:15;14246:4;14243:1;14236:15;14262:135;14301:3;14322:17;;;14319:43;;14342:18;;:::i;:::-;-1:-1:-1;14389:1:14;14378:13;;14262:135::o;14528:545::-;14630:2;14625:3;14622:11;14619:448;;;14666:1;14691:5;14687:2;14680:17;14736:4;14732:2;14722:19;14806:2;14794:10;14790:19;14787:1;14783:27;14777:4;14773:38;14842:4;14830:10;14827:20;14824:47;;;-1:-1:-1;14865:4:14;14824:47;14920:2;14915:3;14911:12;14908:1;14904:20;14898:4;14894:31;14884:41;;14975:82;14993:2;14986:5;14983:13;14975:82;;;15038:17;;;15019:1;15008:13;14975:82;;15249:1206;-1:-1:-1;;;;;15368:3:14;15365:27;15362:53;;;15395:18;;:::i;:::-;15424:94;15514:3;15474:38;15506:4;15500:11;15474:38;:::i;:::-;15468:4;15424:94;:::i;:::-;15544:1;15569:2;15564:3;15561:11;15586:1;15581:616;;;;16241:1;16258:3;16255:93;;;-1:-1:-1;16314:19:14;;;16301:33;16255:93;-1:-1:-1;;15206:1:14;15202:11;;;15198:24;15194:29;15184:40;15230:1;15226:11;;;15181:57;16361:78;;15554:895;;15581:616;14475:1;14468:14;;;14512:4;14499:18;;-1:-1:-1;;15617:17:14;;;15718:9;15740:229;15754:7;15751:1;15748:14;15740:229;;;15843:19;;;15830:33;15815:49;;15950:4;15935:20;;;;15903:1;15891:14;;;;15770:12;15740:229;;;15744:3;15997;15988:7;15985:16;15982:159;;;16121:1;16117:6;16111:3;16105;16102:1;16098:11;16094:21;16090:34;16086:39;16073:9;16068:3;16064:19;16051:33;16047:79;16039:6;16032:95;15982:159;;;16184:1;16178:3;16175:1;16171:11;16167:19;16161:4;16154:33;15554:895;;15249:1206;;;:::o;16806:168::-;16879:9;;;16910;;16927:15;;;16921:22;;16907:37;16897:71;;16948:18;;:::i;16979:184::-;17049:6;17102:2;17090:9;17081:7;17077:23;17073:32;17070:52;;;17118:1;17115;17108:12;17070:52;-1:-1:-1;17141:16:14;;16979:184;-1:-1:-1;16979:184:14:o;18683:404::-;18885:2;18867:21;;;18924:2;18904:18;;;18897:30;18963:34;18958:2;18943:18;;18936:62;-1:-1:-1;;;19029:2:14;19014:18;;19007:38;19077:3;19062:19;;18683:404::o;19092:401::-;19294:2;19276:21;;;19333:2;19313:18;;;19306:30;19372:34;19367:2;19352:18;;19345:62;-1:-1:-1;;;19438:2:14;19423:18;;19416:35;19483:3;19468:19;;19092:401::o;19498:406::-;19700:2;19682:21;;;19739:2;19719:18;;;19712:30;19778:34;19773:2;19758:18;;19751:62;-1:-1:-1;;;19844:2:14;19829:18;;19822:40;19894:3;19879:19;;19498:406::o;19909:125::-;19974:9;;;19995:10;;;19992:36;;;20008:18;;:::i;20039:465::-;20296:2;20285:9;20278:21;20259:4;20322:56;20374:2;20363:9;20359:18;20351:6;20322:56;:::i;:::-;20426:9;20418:6;20414:22;20409:2;20398:9;20394:18;20387:50;20454:44;20491:6;20483;20454:44;:::i;21525:399::-;21727:2;21709:21;;;21766:2;21746:18;;;21739:30;21805:34;21800:2;21785:18;;21778:62;-1:-1:-1;;;21871:2:14;21856:18;;21849:33;21914:3;21899:19;;21525:399::o;21929:400::-;22131:2;22113:21;;;22170:2;22150:18;;;22143:30;22209:34;22204:2;22189:18;;22182:62;-1:-1:-1;;;22275:2:14;22260:18;;22253:34;22319:3;22304:19;;21929:400::o;23196:827::-;-1:-1:-1;;;;;23593:15:14;;;23575:34;;23645:15;;23640:2;23625:18;;23618:43;23555:3;23692:2;23677:18;;23670:31;;;23518:4;;23724:57;;23761:19;;23753:6;23724:57;:::i;:::-;23829:9;23821:6;23817:22;23812:2;23801:9;23797:18;23790:50;23863:44;23900:6;23892;23863:44;:::i;:::-;23849:58;;23956:9;23948:6;23944:22;23938:3;23927:9;23923:19;23916:51;23984:33;24010:6;24002;23984:33;:::i;:::-;23976:41;23196:827;-1:-1:-1;;;;;;;;23196:827:14:o;24028:249::-;24097:6;24150:2;24138:9;24129:7;24125:23;24121:32;24118:52;;;24166:1;24163;24156:12;24118:52;24198:9;24192:16;24217:30;24241:5;24217:30;:::i;24282:179::-;24317:3;24359:1;24341:16;24338:23;24335:120;;;24405:1;24402;24399;24384:23;-1:-1:-1;24442:1:14;24436:8;24431:3;24427:18;24335:120;24282:179;:::o;24466:671::-;24505:3;24547:4;24529:16;24526:26;24523:39;;;24466:671;:::o;24523:39::-;24589:2;24583:9;-1:-1:-1;;24654:16:14;24650:25;;24647:1;24583:9;24626:50;24705:4;24699:11;24729:16;-1:-1:-1;;;;;24835:2:14;24828:4;24820:6;24816:17;24813:25;24808:2;24800:6;24797:14;24794:45;24791:58;;;24842:5;;;;;24466:671;:::o;24791:58::-;24879:6;24873:4;24869:17;24858:28;;24915:3;24909:10;24942:2;24934:6;24931:14;24928:27;;;24948:5;;;;;;24466:671;:::o;24928:27::-;25032:2;25013:16;25007:4;25003:27;24999:36;24992:4;24983:6;24978:3;24974:16;24970:27;24967:69;24964:82;;;25039:5;;;;;;24466:671;:::o;24964:82::-;25055:57;25106:4;25097:6;25089;25085:19;25081:30;25075:4;25055:57;:::i;:::-;-1:-1:-1;25128:3:14;;24466:671;-1:-1:-1;;;;;24466:671:14:o;25563:404::-;25765:2;25747:21;;;25804:2;25784:18;;;25777:30;25843:34;25838:2;25823:18;;25816:62;-1:-1:-1;;;25909:2:14;25894:18;;25887:38;25957:3;25942:19;;25563:404::o;25972:561::-;-1:-1:-1;;;;;26269:15:14;;;26251:34;;26321:15;;26316:2;26301:18;;26294:43;26368:2;26353:18;;26346:34;;;26411:2;26396:18;;26389:34;;;26231:3;26454;26439:19;;26432:32;;;26194:4;;26481:46;;26507:19;;26499:6;26481:46;:::i;:::-;26473:54;25972:561;-1:-1:-1;;;;;;;25972:561:14:o;27332:127::-;27393:10;27388:3;27384:20;27381:1;27374:31;27424:4;27421:1;27414:15;27448:4;27445:1;27438:15

Swarm Source

ipfs://09d151d9bb8552f71d00ceabf0e371a750b9da7bf117cc2a0c479f23808b82fe
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.