ETH Price: $3,232.45 (-3.67%)

Token

TOR Albums (TORALBUMS)
 

Overview

Max Total Supply

509 TORALBUMS

Holders

280

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
seanmatthew13.eth
0xe6569213085bB4ffe1e2aAAe9E485d3082A6c4d9
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:
TORAlbums

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : TORAlbums.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.2;

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

/*
              ________________       _,.......,_        
          .nNNNNNNNNNNNNNNNNP’  .nnNNNNNNNNNNNNnn..
         ANNC*’ 7NNNN|’’’’’’’ (NNN*’ 7NNNNN   `*NNNn.
        (NNNN.  dNNNN’        qNNN)  JNNNN*     `NNNn
         `*@*’  NNNNN         `*@*’  dNNNN’     ,ANNN)
               ,NNNN’  ..-^^^-..     NNNNN     ,NNNNN’
               dNNNN’ /    .    \   .NNNNP _..nNNNN*’
               NNNNN (    /|\    )  NNNNNnnNNNNN*’
              ,NNNN’ ‘   / | \   ’  NNNN*  \NNNNb
              dNNNN’  \  \'.'/  /  ,NNNN’   \NNNN.
              NNNNN    '  \|/  '   NNNNC     \NNNN.
            .JNNNNNL.   \  '  /  .JNNNNNL.    \NNNN.             .
          dNNNNNNNNNN|   ‘. .’ .NNNNNNNNNN|    `NNNNn.          ^\Nn
                           '                     `NNNNn.         .NND
                                                  `*NNNNNnnn....nnNP’
                                                     `*@NNNNNNNNN**’
I see you nerd! ⌐⊙_⊙
*/

contract TORAlbums is ERC1155, Ownable, ERC1155Supply {
    using ECDSA for bytes32;
    using Strings for uint256;

    IERC721 public vipPassContractInstance;

    IERC721 public torContractInstance;

    bool public mintingIsActive = false;

    // Used to validate albums
    address private _signerAddress = 0xB44b7e7988A225F8C479cB08a63C04e0039B53Ff;

    // Mapping from VIP pass token ID to whether it has been claimed or not
    mapping(uint256 => bool) public claimed;

    string public name = "TOR Albums";
    string public symbol = "TORALBUMS";
    string public baseURI;

    constructor(string memory baseURL, address vipPassContractAddress, address torContractAddress) ERC1155("") {
        vipPassContractInstance = IERC721(vipPassContractAddress);
        torContractInstance = IERC721(torContractAddress);
        baseURI = baseURL;
    }

    function hashAlbumId(uint256 torToken, uint256 id) public pure returns (bytes32) {
        return keccak256(abi.encode(
            torToken,
            id
        ));
    }

    function uri(uint256 tokenId) public view override returns (string memory) {
        return bytes(baseURI).length > 0
            ? string(abi.encodePacked(baseURI, tokenId.toString()))
            : '';
    }

    /*
    * Pause minting if active, make active if paused.
    */
    function flipMintingState() public onlyOwner {
        mintingIsActive = !mintingIsActive;
    }

    function setAddresses(address vipPassContractAddress, address torContractAddress, address newSignerAddress) public onlyOwner {
        vipPassContractInstance = IERC721(vipPassContractAddress);
        torContractInstance = IERC721(torContractAddress);
        _signerAddress = newSignerAddress;
    }

    function mintViaClaim(uint256 vipPassToken, uint256 torToken, uint256 id, bytes memory signature) public {
        require(mintingIsActive, 'Minting not live');
        require(vipPassContractInstance.ownerOf(vipPassToken) == msg.sender, 'Not owner of VIP');
        require(torContractInstance.ownerOf(torToken) == msg.sender, 'Not owner of TOR');
        require(! claimed[vipPassToken], 'Already claimed');
        require(_signerAddress == hashAlbumId(torToken, id).toEthSignedMessageHash().recover(signature), "Invalid signature");

        claimed[vipPassToken] = true;
        _mint(msg.sender, id, 1, "");
    }

    function setBaseURI(string memory newBaseURI) public onlyOwner {
        baseURI = newBaseURI;
    }

    function reserveMint(address account, uint256 id, uint256 amount, bytes memory data) public onlyOwner {
        _mint(account, id, amount, data);
    }

    function reserveMintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) public onlyOwner {
        _mintBatch(to, ids, amounts, data);
    }

    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 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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 3 of 14 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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: balance query for the zero address");
        return _balances[id][account];
    }

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

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

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

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _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 owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `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();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * 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();

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * 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);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {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 `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

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

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

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

        return array;
    }
}

File 4 of 14 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

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

File 5 of 14 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

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

File 6 of 14 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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) {
                _totalSupply[ids[i]] -= amounts[i];
            }
        }
    }
}

File 7 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 8 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

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

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 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 11 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 12 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        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.
            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 if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } 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;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 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 13 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 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
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURL","type":"string"},{"internalType":"address","name":"vipPassContractAddress","type":"address"},{"internalType":"address","name":"torContractAddress","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipMintingState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"torToken","type":"uint256"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"hashAlbumId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","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":"vipPassToken","type":"uint256"},{"internalType":"uint256","name":"torToken","type":"uint256"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintViaClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"reserveMintBatch","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":"vipPassContractAddress","type":"address"},{"internalType":"address","name":"torContractAddress","type":"address"},{"internalType":"address","name":"newSignerAddress","type":"address"}],"name":"setAddresses","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":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"torContractInstance","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"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":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vipPassContractInstance","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040526000600660146101000a81548160ff02191690831515021790555073b44b7e7988a225f8c479cb08a63c04e0039b53ff600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280600a81526020017f544f5220416c62756d730000000000000000000000000000000000000000000081525060099080519060200190620000c192919062000313565b506040518060400160405280600981526020017f544f52414c42554d530000000000000000000000000000000000000000000000815250600a90805190602001906200010f92919062000313565b503480156200011d57600080fd5b506040516200541c3803806200541c8339818101604052810190620001439190620005c5565b6040518060200160405280600081525062000164816200022960201b60201c565b5062000185620001796200024560201b60201c565b6200024d60201b60201c565b81600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600b90805190602001906200021f92919062000313565b50505050620006a5565b80600290805190602001906200024192919062000313565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000321906200066f565b90600052602060002090601f01602090048101928262000345576000855562000391565b82601f106200036057805160ff191683800117855562000391565b8280016001018555821562000391579182015b828111156200039057825182559160200191906001019062000373565b5b509050620003a09190620003a4565b5090565b5b80821115620003bf576000816000905550600101620003a5565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200042c82620003e1565b810181811067ffffffffffffffff821117156200044e576200044d620003f2565b5b80604052505050565b600062000463620003c3565b905062000471828262000421565b919050565b600067ffffffffffffffff821115620004945762000493620003f2565b5b6200049f82620003e1565b9050602081019050919050565b60005b83811015620004cc578082015181840152602081019050620004af565b83811115620004dc576000848401525b50505050565b6000620004f9620004f38462000476565b62000457565b905082815260208101848484011115620005185762000517620003dc565b5b62000525848285620004ac565b509392505050565b600082601f830112620005455762000544620003d7565b5b815162000557848260208601620004e2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200058d8262000560565b9050919050565b6200059f8162000580565b8114620005ab57600080fd5b50565b600081519050620005bf8162000594565b92915050565b600080600060608486031215620005e157620005e0620003cd565b5b600084015167ffffffffffffffff811115620006025762000601620003d2565b5b62000610868287016200052d565b93505060206200062386828701620005ae565b92505060406200063686828701620005ae565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200068857607f821691505b602082108114156200069f576200069e62000640565b5b50919050565b614d6780620006b56000396000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c80638da5cb5b116100f9578063d00b867411610097578063e985e9c511610071578063e985e9c5146104cd578063f242432a146104fd578063f2fde38b14610519578063f655ff2214610535576101a8565b8063d00b867414610463578063d62457291461047f578063dbe7e3bd1461049d576101a8565b8063a22cb465116100d3578063a22cb465146103cb578063b86fa8aa146103e7578063bd85b03914610417578063c661d72e14610447576101a8565b80638da5cb5b1461037357806395d89b41146103915780639a4fb842146103af576101a8565b8063363bf964116101665780634f558e79116101405780634f558e79146102ff57806355f804b31461032f5780636c0360eb1461034b578063715018a614610369576101a8565b8063363bf964146102955780634728b9f4146102b15780634e1273f4146102cf576101a8565b8062fdd58e146101ad57806301ffc9a7146101dd57806306fdde031461020d57806308183bcb1461022b5780630e89341c146102495780632eb2c2d614610279575b600080fd5b6101c760048036038101906101c29190612e61565b61053f565b6040516101d49190612eb0565b60405180910390f35b6101f760048036038101906101f29190612f23565b610608565b6040516102049190612f6b565b60405180910390f35b6102156106ea565b604051610222919061301f565b60405180910390f35b610233610778565b60405161024091906130a0565b60405180910390f35b610263600480360381019061025e91906130bb565b61079e565b604051610270919061301f565b60405180910390f35b610293600480360381019061028e91906132e5565b6107fe565b005b6102af60048036038101906102aa91906133b4565b61089f565b005b6102b96109e3565b6040516102c69190612f6b565b60405180910390f35b6102e960048036038101906102e491906134ca565b6109f6565b6040516102f69190613600565b60405180910390f35b610319600480360381019061031491906130bb565b610b0f565b6040516103269190612f6b565b60405180910390f35b610349600480360381019061034491906136c3565b610b23565b005b610353610bb9565b604051610360919061301f565b60405180910390f35b610371610c47565b005b61037b610ccf565b604051610388919061371b565b60405180910390f35b610399610cf9565b6040516103a6919061301f565b60405180910390f35b6103c960048036038101906103c49190613736565b610d87565b005b6103e560048036038101906103e091906137e5565b610e15565b005b61040160048036038101906103fc9190613825565b610e2b565b60405161040e919061387e565b60405180910390f35b610431600480360381019061042c91906130bb565b610e5e565b60405161043e9190612eb0565b60405180910390f35b610461600480360381019061045c9190613899565b610e7b565b005b61047d60048036038101906104789190613954565b610f09565b005b6104876112cc565b60405161049491906130a0565b60405180910390f35b6104b760048036038101906104b291906130bb565b6112f2565b6040516104c49190612f6b565b60405180910390f35b6104e760048036038101906104e291906139d7565b611312565b6040516104f49190612f6b565b60405180910390f35b61051760048036038101906105129190613a17565b6113a6565b005b610533600480360381019061052e9190613aae565b611447565b005b61053d61153f565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a790613b4d565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106d357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106e357506106e2826115e7565b5b9050919050565b600980546106f790613b9c565b80601f016020809104026020016040519081016040528092919081815260200182805461072390613b9c565b80156107705780601f1061074557610100808354040283529160200191610770565b820191906000526020600020905b81548152906001019060200180831161075357829003601f168201915b505050505081565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000600b80546107af90613b9c565b9050116107cb57604051806020016040528060008152506107f7565b600b6107d683611651565b6040516020016107e7929190613c9e565b6040516020818303038152906040525b9050919050565b6108066117b2565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061084c575061084b856108466117b2565b611312565b5b61088b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088290613d34565b60405180910390fd5b61089885858585856117ba565b5050505050565b6108a76117b2565b73ffffffffffffffffffffffffffffffffffffffff166108c5610ccf565b73ffffffffffffffffffffffffffffffffffffffff161461091b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091290613da0565b60405180910390fd5b82600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b600660149054906101000a900460ff1681565b60608151835114610a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3390613e32565b60405180910390fd5b6000835167ffffffffffffffff811115610a5957610a586130ed565b5b604051908082528060200260200182016040528015610a875781602001602082028036833780820191505090505b50905060005b8451811015610b0457610ad4858281518110610aac57610aab613e52565b5b6020026020010151858381518110610ac757610ac6613e52565b5b602002602001015161053f565b828281518110610ae757610ae6613e52565b5b60200260200101818152505080610afd90613eb0565b9050610a8d565b508091505092915050565b600080610b1b83610e5e565b119050919050565b610b2b6117b2565b73ffffffffffffffffffffffffffffffffffffffff16610b49610ccf565b73ffffffffffffffffffffffffffffffffffffffff1614610b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9690613da0565b60405180910390fd5b80600b9080519060200190610bb5929190612d16565b5050565b600b8054610bc690613b9c565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf290613b9c565b8015610c3f5780601f10610c1457610100808354040283529160200191610c3f565b820191906000526020600020905b815481529060010190602001808311610c2257829003601f168201915b505050505081565b610c4f6117b2565b73ffffffffffffffffffffffffffffffffffffffff16610c6d610ccf565b73ffffffffffffffffffffffffffffffffffffffff1614610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba90613da0565b60405180910390fd5b610ccd6000611ace565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a8054610d0690613b9c565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3290613b9c565b8015610d7f5780601f10610d5457610100808354040283529160200191610d7f565b820191906000526020600020905b815481529060010190602001808311610d6257829003601f168201915b505050505081565b610d8f6117b2565b73ffffffffffffffffffffffffffffffffffffffff16610dad610ccf565b73ffffffffffffffffffffffffffffffffffffffff1614610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613da0565b60405180910390fd5b610e0f84848484611b94565b50505050565b610e27610e206117b2565b8383611d2a565b5050565b60008282604051602001610e40929190613ef9565b60405160208183030381529060405280519060200120905092915050565b600060046000838152602001908152602001600020549050919050565b610e836117b2565b73ffffffffffffffffffffffffffffffffffffffff16610ea1610ccf565b73ffffffffffffffffffffffffffffffffffffffff1614610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee90613da0565b60405180910390fd5b610f0384848484611e97565b50505050565b600660149054906101000a900460ff16610f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4f90613f6e565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff1660e01b8152600401610fca9190612eb0565b602060405180830381865afa158015610fe7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100b9190613fa3565b73ffffffffffffffffffffffffffffffffffffffff1614611061576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110589061401c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b81526004016110d39190612eb0565b602060405180830381865afa1580156110f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111149190613fa3565b73ffffffffffffffffffffffffffffffffffffffff161461116a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116190614088565b60405180910390fd5b6008600085815260200190815260200160002060009054906101000a900460ff16156111cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c2906140f4565b60405180910390fd5b6111ef816111e16111dc8686610e2b565b6120b5565b6120e590919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461127e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127590614160565b60405180910390fd5b60016008600086815260200190815260200160002060006101000a81548160ff0219169083151502179055506112c63383600160405180602001604052806000815250611b94565b50505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60086020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113ae6117b2565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806113f457506113f3856113ee6117b2565b611312565b5b611433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142a906141f2565b60405180910390fd5b611440858585858561210c565b5050505050565b61144f6117b2565b73ffffffffffffffffffffffffffffffffffffffff1661146d610ccf565b73ffffffffffffffffffffffffffffffffffffffff16146114c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ba90613da0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90614284565b60405180910390fd5b61153c81611ace565b50565b6115476117b2565b73ffffffffffffffffffffffffffffffffffffffff16611565610ccf565b73ffffffffffffffffffffffffffffffffffffffff16146115bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b290613da0565b60405180910390fd5b600660149054906101000a900460ff1615600660146101000a81548160ff021916908315150217905550565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611699576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506117ad565b600082905060005b600082146116cb5780806116b490613eb0565b915050600a826116c491906142d3565b91506116a1565b60008167ffffffffffffffff8111156116e7576116e66130ed565b5b6040519080825280601f01601f1916602001820160405280156117195781602001600182028036833780820191505090505b5090505b600085146117a6576001826117329190614304565b9150600a856117419190614338565b603061174d9190614369565b60f81b81838151811061176357611762613e52565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561179f91906142d3565b945061171d565b8093505050505b919050565b600033905090565b81518351146117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590614431565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561186e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611865906144c3565b60405180910390fd5b60006118786117b2565b905061188881878787878761238e565b60005b8451811015611a395760008582815181106118a9576118a8613e52565b5b6020026020010151905060008583815181106118c8576118c7613e52565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196090614555565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a1e9190614369565b9250508190555050505080611a3290613eb0565b905061188b565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611ab0929190614575565b60405180910390a4611ac68187878787876123a4565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb9061461e565b60405180910390fd5b6000611c0e6117b2565b9050611c2f81600087611c208861257c565b611c298861257c565b8761238e565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c8e9190614369565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611d0c929190613ef9565b60405180910390a4611d23816000878787876125f6565b5050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d90906146b0565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e8a9190612f6b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efe9061461e565b60405180910390fd5b8151835114611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4290614431565b60405180910390fd5b6000611f556117b2565b9050611f668160008787878761238e565b60005b845181101561201f57838181518110611f8557611f84613e52565b5b6020026020010151600080878481518110611fa357611fa2613e52565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120059190614369565b92505081905550808061201790613eb0565b915050611f69565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612097929190614575565b60405180910390a46120ae816000878787876123a4565b5050505050565b6000816040516020016120c8919061473d565b604051602081830303815290604052805190602001209050919050565b60008060006120f485856127ce565b9150915061210181612851565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561217c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612173906144c3565b60405180910390fd5b60006121866117b2565b90506121a68187876121978861257c565b6121a08861257c565b8761238e565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561223d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223490614555565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122f29190614369565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161236f929190613ef9565b60405180910390a46123858288888888886125f6565b50505050505050565b61239c868686868686612a26565b505050505050565b6123c38473ffffffffffffffffffffffffffffffffffffffff16612ba0565b15612574578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016124099594939291906147b8565b6020604051808303816000875af192505050801561244557506040513d601f19601f820116820180604052508101906124429190614835565b60015b6124eb5761245161486f565b806308c379a014156124ae5750612466614891565b8061247157506124b0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a5919061301f565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e290614999565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256990614a2b565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561259b5761259a6130ed565b5b6040519080825280602002602001820160405280156125c95781602001602082028036833780820191505090505b50905082816000815181106125e1576125e0613e52565b5b60200260200101818152505080915050919050565b6126158473ffffffffffffffffffffffffffffffffffffffff16612ba0565b156127c6578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161265b959493929190614a4b565b6020604051808303816000875af192505050801561269757506040513d601f19601f820116820180604052508101906126949190614835565b60015b61273d576126a361486f565b806308c379a0141561270057506126b8614891565b806126c35750612702565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f7919061301f565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273490614999565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146127c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bb90614a2b565b60405180910390fd5b505b505050505050565b6000806041835114156128105760008060006020860151925060408601519150606086015160001a905061280487828585612bb3565b9450945050505061284a565b604083511415612841576000806020850151915060408501519050612836868383612cc0565b93509350505061284a565b60006002915091505b9250929050565b6000600481111561286557612864614aa5565b5b81600481111561287857612877614aa5565b5b141561288357612a23565b6001600481111561289757612896614aa5565b5b8160048111156128aa576128a9614aa5565b5b14156128eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e290614b20565b60405180910390fd5b600260048111156128ff576128fe614aa5565b5b81600481111561291257612911614aa5565b5b1415612953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294a90614b8c565b60405180910390fd5b6003600481111561296757612966614aa5565b5b81600481111561297a57612979614aa5565b5b14156129bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b290614c1e565b60405180910390fd5b6004808111156129ce576129cd614aa5565b5b8160048111156129e1576129e0614aa5565b5b1415612a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1990614cb0565b60405180910390fd5b5b50565b612a34868686868686612d0e565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612ae65760005b8351811015612ae457828181518110612a8857612a87613e52565b5b602002602001015160046000868481518110612aa757612aa6613e52565b5b602002602001015181526020019081526020016000206000828254612acc9190614369565b9250508190555080612add90613eb0565b9050612a6c565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b985760005b8351811015612b9657828181518110612b3a57612b39613e52565b5b602002602001015160046000868481518110612b5957612b58613e52565b5b602002602001015181526020019081526020016000206000828254612b7e9190614304565b9250508190555080612b8f90613eb0565b9050612b1e565b505b505050505050565b600080823b905060008111915050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612bee576000600391509150612cb7565b601b8560ff1614158015612c065750601c8560ff1614155b15612c18576000600491509150612cb7565b600060018787878760405160008152602001604052604051612c3d9493929190614cec565b6020604051602081039080840390855afa158015612c5f573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612cae57600060019250925050612cb7565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612d0087828885612bb3565b935093505050935093915050565b505050505050565b828054612d2290613b9c565b90600052602060002090601f016020900481019282612d445760008555612d8b565b82601f10612d5d57805160ff1916838001178555612d8b565b82800160010185558215612d8b579182015b82811115612d8a578251825591602001919060010190612d6f565b5b509050612d989190612d9c565b5090565b5b80821115612db5576000816000905550600101612d9d565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612df882612dcd565b9050919050565b612e0881612ded565b8114612e1357600080fd5b50565b600081359050612e2581612dff565b92915050565b6000819050919050565b612e3e81612e2b565b8114612e4957600080fd5b50565b600081359050612e5b81612e35565b92915050565b60008060408385031215612e7857612e77612dc3565b5b6000612e8685828601612e16565b9250506020612e9785828601612e4c565b9150509250929050565b612eaa81612e2b565b82525050565b6000602082019050612ec56000830184612ea1565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f0081612ecb565b8114612f0b57600080fd5b50565b600081359050612f1d81612ef7565b92915050565b600060208284031215612f3957612f38612dc3565b5b6000612f4784828501612f0e565b91505092915050565b60008115159050919050565b612f6581612f50565b82525050565b6000602082019050612f806000830184612f5c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fc0578082015181840152602081019050612fa5565b83811115612fcf576000848401525b50505050565b6000601f19601f8301169050919050565b6000612ff182612f86565b612ffb8185612f91565b935061300b818560208601612fa2565b61301481612fd5565b840191505092915050565b600060208201905081810360008301526130398184612fe6565b905092915050565b6000819050919050565b600061306661306161305c84612dcd565b613041565b612dcd565b9050919050565b60006130788261304b565b9050919050565b600061308a8261306d565b9050919050565b61309a8161307f565b82525050565b60006020820190506130b56000830184613091565b92915050565b6000602082840312156130d1576130d0612dc3565b5b60006130df84828501612e4c565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61312582612fd5565b810181811067ffffffffffffffff82111715613144576131436130ed565b5b80604052505050565b6000613157612db9565b9050613163828261311c565b919050565b600067ffffffffffffffff821115613183576131826130ed565b5b602082029050602081019050919050565b600080fd5b60006131ac6131a784613168565b61314d565b905080838252602082019050602084028301858111156131cf576131ce613194565b5b835b818110156131f857806131e48882612e4c565b8452602084019350506020810190506131d1565b5050509392505050565b600082601f830112613217576132166130e8565b5b8135613227848260208601613199565b91505092915050565b600080fd5b600067ffffffffffffffff8211156132505761324f6130ed565b5b61325982612fd5565b9050602081019050919050565b82818337600083830152505050565b600061328861328384613235565b61314d565b9050828152602081018484840111156132a4576132a3613230565b5b6132af848285613266565b509392505050565b600082601f8301126132cc576132cb6130e8565b5b81356132dc848260208601613275565b91505092915050565b600080600080600060a0868803121561330157613300612dc3565b5b600061330f88828901612e16565b955050602061332088828901612e16565b945050604086013567ffffffffffffffff81111561334157613340612dc8565b5b61334d88828901613202565b935050606086013567ffffffffffffffff81111561336e5761336d612dc8565b5b61337a88828901613202565b925050608086013567ffffffffffffffff81111561339b5761339a612dc8565b5b6133a7888289016132b7565b9150509295509295909350565b6000806000606084860312156133cd576133cc612dc3565b5b60006133db86828701612e16565b93505060206133ec86828701612e16565b92505060406133fd86828701612e16565b9150509250925092565b600067ffffffffffffffff821115613422576134216130ed565b5b602082029050602081019050919050565b600061344661344184613407565b61314d565b9050808382526020820190506020840283018581111561346957613468613194565b5b835b81811015613492578061347e8882612e16565b84526020840193505060208101905061346b565b5050509392505050565b600082601f8301126134b1576134b06130e8565b5b81356134c1848260208601613433565b91505092915050565b600080604083850312156134e1576134e0612dc3565b5b600083013567ffffffffffffffff8111156134ff576134fe612dc8565b5b61350b8582860161349c565b925050602083013567ffffffffffffffff81111561352c5761352b612dc8565b5b61353885828601613202565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61357781612e2b565b82525050565b6000613589838361356e565b60208301905092915050565b6000602082019050919050565b60006135ad82613542565b6135b7818561354d565b93506135c28361355e565b8060005b838110156135f35781516135da888261357d565b97506135e583613595565b9250506001810190506135c6565b5085935050505092915050565b6000602082019050818103600083015261361a81846135a2565b905092915050565b600067ffffffffffffffff82111561363d5761363c6130ed565b5b61364682612fd5565b9050602081019050919050565b600061366661366184613622565b61314d565b90508281526020810184848401111561368257613681613230565b5b61368d848285613266565b509392505050565b600082601f8301126136aa576136a96130e8565b5b81356136ba848260208601613653565b91505092915050565b6000602082840312156136d9576136d8612dc3565b5b600082013567ffffffffffffffff8111156136f7576136f6612dc8565b5b61370384828501613695565b91505092915050565b61371581612ded565b82525050565b6000602082019050613730600083018461370c565b92915050565b600080600080608085870312156137505761374f612dc3565b5b600061375e87828801612e16565b945050602061376f87828801612e4c565b935050604061378087828801612e4c565b925050606085013567ffffffffffffffff8111156137a1576137a0612dc8565b5b6137ad878288016132b7565b91505092959194509250565b6137c281612f50565b81146137cd57600080fd5b50565b6000813590506137df816137b9565b92915050565b600080604083850312156137fc576137fb612dc3565b5b600061380a85828601612e16565b925050602061381b858286016137d0565b9150509250929050565b6000806040838503121561383c5761383b612dc3565b5b600061384a85828601612e4c565b925050602061385b85828601612e4c565b9150509250929050565b6000819050919050565b61387881613865565b82525050565b6000602082019050613893600083018461386f565b92915050565b600080600080608085870312156138b3576138b2612dc3565b5b60006138c187828801612e16565b945050602085013567ffffffffffffffff8111156138e2576138e1612dc8565b5b6138ee87828801613202565b935050604085013567ffffffffffffffff81111561390f5761390e612dc8565b5b61391b87828801613202565b925050606085013567ffffffffffffffff81111561393c5761393b612dc8565b5b613948878288016132b7565b91505092959194509250565b6000806000806080858703121561396e5761396d612dc3565b5b600061397c87828801612e4c565b945050602061398d87828801612e4c565b935050604061399e87828801612e4c565b925050606085013567ffffffffffffffff8111156139bf576139be612dc8565b5b6139cb878288016132b7565b91505092959194509250565b600080604083850312156139ee576139ed612dc3565b5b60006139fc85828601612e16565b9250506020613a0d85828601612e16565b9150509250929050565b600080600080600060a08688031215613a3357613a32612dc3565b5b6000613a4188828901612e16565b9550506020613a5288828901612e16565b9450506040613a6388828901612e4c565b9350506060613a7488828901612e4c565b925050608086013567ffffffffffffffff811115613a9557613a94612dc8565b5b613aa1888289016132b7565b9150509295509295909350565b600060208284031215613ac457613ac3612dc3565b5b6000613ad284828501612e16565b91505092915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613b37602b83612f91565b9150613b4282613adb565b604082019050919050565b60006020820190508181036000830152613b6681613b2a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613bb457607f821691505b60208210811415613bc857613bc7613b6d565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613bfb81613b9c565b613c058186613bce565b94506001821660008114613c205760018114613c3157613c64565b60ff19831686528186019350613c64565b613c3a85613bd9565b60005b83811015613c5c57815481890152600182019150602081019050613c3d565b838801955050505b50505092915050565b6000613c7882612f86565b613c828185613bce565b9350613c92818560208601612fa2565b80840191505092915050565b6000613caa8285613bee565b9150613cb68284613c6d565b91508190509392505050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613d1e603283612f91565b9150613d2982613cc2565b604082019050919050565b60006020820190508181036000830152613d4d81613d11565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d8a602083612f91565b9150613d9582613d54565b602082019050919050565b60006020820190508181036000830152613db981613d7d565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613e1c602983612f91565b9150613e2782613dc0565b604082019050919050565b60006020820190508181036000830152613e4b81613e0f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ebb82612e2b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613eee57613eed613e81565b5b600182019050919050565b6000604082019050613f0e6000830185612ea1565b613f1b6020830184612ea1565b9392505050565b7f4d696e74696e67206e6f74206c69766500000000000000000000000000000000600082015250565b6000613f58601083612f91565b9150613f6382613f22565b602082019050919050565b60006020820190508181036000830152613f8781613f4b565b9050919050565b600081519050613f9d81612dff565b92915050565b600060208284031215613fb957613fb8612dc3565b5b6000613fc784828501613f8e565b91505092915050565b7f4e6f74206f776e6572206f662056495000000000000000000000000000000000600082015250565b6000614006601083612f91565b915061401182613fd0565b602082019050919050565b6000602082019050818103600083015261403581613ff9565b9050919050565b7f4e6f74206f776e6572206f6620544f5200000000000000000000000000000000600082015250565b6000614072601083612f91565b915061407d8261403c565b602082019050919050565b600060208201905081810360008301526140a181614065565b9050919050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b60006140de600f83612f91565b91506140e9826140a8565b602082019050919050565b6000602082019050818103600083015261410d816140d1565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b600061414a601183612f91565b915061415582614114565b602082019050919050565b600060208201905081810360008301526141798161413d565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006141dc602983612f91565b91506141e782614180565b604082019050919050565b6000602082019050818103600083015261420b816141cf565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061426e602683612f91565b915061427982614212565b604082019050919050565b6000602082019050818103600083015261429d81614261565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142de82612e2b565b91506142e983612e2b565b9250826142f9576142f86142a4565b5b828204905092915050565b600061430f82612e2b565b915061431a83612e2b565b92508282101561432d5761432c613e81565b5b828203905092915050565b600061434382612e2b565b915061434e83612e2b565b92508261435e5761435d6142a4565b5b828206905092915050565b600061437482612e2b565b915061437f83612e2b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143b4576143b3613e81565b5b828201905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061441b602883612f91565b9150614426826143bf565b604082019050919050565b6000602082019050818103600083015261444a8161440e565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006144ad602583612f91565b91506144b882614451565b604082019050919050565b600060208201905081810360008301526144dc816144a0565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061453f602a83612f91565b915061454a826144e3565b604082019050919050565b6000602082019050818103600083015261456e81614532565b9050919050565b6000604082019050818103600083015261458f81856135a2565b905081810360208301526145a381846135a2565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614608602183612f91565b9150614613826145ac565b604082019050919050565b60006020820190508181036000830152614637816145fb565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061469a602983612f91565b91506146a58261463e565b604082019050919050565b600060208201905081810360008301526146c98161468d565b9050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614706601c83613bce565b9150614711826146d0565b601c82019050919050565b6000819050919050565b61473761473282613865565b61471c565b82525050565b6000614748826146f9565b91506147548284614726565b60208201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061478a82614763565b614794818561476e565b93506147a4818560208601612fa2565b6147ad81612fd5565b840191505092915050565b600060a0820190506147cd600083018861370c565b6147da602083018761370c565b81810360408301526147ec81866135a2565b9050818103606083015261480081856135a2565b90508181036080830152614814818461477f565b90509695505050505050565b60008151905061482f81612ef7565b92915050565b60006020828403121561484b5761484a612dc3565b5b600061485984828501614820565b91505092915050565b60008160e01c9050919050565b600060033d111561488e5760046000803e61488b600051614862565b90505b90565b600060443d10156148a157614924565b6148a9612db9565b60043d036004823e80513d602482011167ffffffffffffffff821117156148d1575050614924565b808201805167ffffffffffffffff8111156148ef5750505050614924565b80602083010160043d03850181111561490c575050505050614924565b61491b8260200185018661311c565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614983603483612f91565b915061498e82614927565b604082019050919050565b600060208201905081810360008301526149b281614976565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614a15602883612f91565b9150614a20826149b9565b604082019050919050565b60006020820190508181036000830152614a4481614a08565b9050919050565b600060a082019050614a60600083018861370c565b614a6d602083018761370c565b614a7a6040830186612ea1565b614a876060830185612ea1565b8181036080830152614a99818461477f565b90509695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614b0a601883612f91565b9150614b1582614ad4565b602082019050919050565b60006020820190508181036000830152614b3981614afd565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614b76601f83612f91565b9150614b8182614b40565b602082019050919050565b60006020820190508181036000830152614ba581614b69565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c08602283612f91565b9150614c1382614bac565b604082019050919050565b60006020820190508181036000830152614c3781614bfb565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c9a602283612f91565b9150614ca582614c3e565b604082019050919050565b60006020820190508181036000830152614cc981614c8d565b9050919050565b600060ff82169050919050565b614ce681614cd0565b82525050565b6000608082019050614d01600083018761386f565b614d0e6020830186614cdd565b614d1b604083018561386f565b614d28606083018461386f565b9594505050505056fea2646970667358221220589cf0747f9d37de622028c77b14aa6714f39b71380f486d5bdc0b5914d3d39464736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000071c99b3b2b2ca1e29eb05dfe0e12c75799c744cf000000000000000000000000c2f05fd9fe4cfe8f7395ddb220c84d3ef240cf3d000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6d696e742e746f6f6c736f66726f636b2e636f6d2f6170692f616c62756d732f000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a85760003560e01c80638da5cb5b116100f9578063d00b867411610097578063e985e9c511610071578063e985e9c5146104cd578063f242432a146104fd578063f2fde38b14610519578063f655ff2214610535576101a8565b8063d00b867414610463578063d62457291461047f578063dbe7e3bd1461049d576101a8565b8063a22cb465116100d3578063a22cb465146103cb578063b86fa8aa146103e7578063bd85b03914610417578063c661d72e14610447576101a8565b80638da5cb5b1461037357806395d89b41146103915780639a4fb842146103af576101a8565b8063363bf964116101665780634f558e79116101405780634f558e79146102ff57806355f804b31461032f5780636c0360eb1461034b578063715018a614610369576101a8565b8063363bf964146102955780634728b9f4146102b15780634e1273f4146102cf576101a8565b8062fdd58e146101ad57806301ffc9a7146101dd57806306fdde031461020d57806308183bcb1461022b5780630e89341c146102495780632eb2c2d614610279575b600080fd5b6101c760048036038101906101c29190612e61565b61053f565b6040516101d49190612eb0565b60405180910390f35b6101f760048036038101906101f29190612f23565b610608565b6040516102049190612f6b565b60405180910390f35b6102156106ea565b604051610222919061301f565b60405180910390f35b610233610778565b60405161024091906130a0565b60405180910390f35b610263600480360381019061025e91906130bb565b61079e565b604051610270919061301f565b60405180910390f35b610293600480360381019061028e91906132e5565b6107fe565b005b6102af60048036038101906102aa91906133b4565b61089f565b005b6102b96109e3565b6040516102c69190612f6b565b60405180910390f35b6102e960048036038101906102e491906134ca565b6109f6565b6040516102f69190613600565b60405180910390f35b610319600480360381019061031491906130bb565b610b0f565b6040516103269190612f6b565b60405180910390f35b610349600480360381019061034491906136c3565b610b23565b005b610353610bb9565b604051610360919061301f565b60405180910390f35b610371610c47565b005b61037b610ccf565b604051610388919061371b565b60405180910390f35b610399610cf9565b6040516103a6919061301f565b60405180910390f35b6103c960048036038101906103c49190613736565b610d87565b005b6103e560048036038101906103e091906137e5565b610e15565b005b61040160048036038101906103fc9190613825565b610e2b565b60405161040e919061387e565b60405180910390f35b610431600480360381019061042c91906130bb565b610e5e565b60405161043e9190612eb0565b60405180910390f35b610461600480360381019061045c9190613899565b610e7b565b005b61047d60048036038101906104789190613954565b610f09565b005b6104876112cc565b60405161049491906130a0565b60405180910390f35b6104b760048036038101906104b291906130bb565b6112f2565b6040516104c49190612f6b565b60405180910390f35b6104e760048036038101906104e291906139d7565b611312565b6040516104f49190612f6b565b60405180910390f35b61051760048036038101906105129190613a17565b6113a6565b005b610533600480360381019061052e9190613aae565b611447565b005b61053d61153f565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a790613b4d565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106d357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106e357506106e2826115e7565b5b9050919050565b600980546106f790613b9c565b80601f016020809104026020016040519081016040528092919081815260200182805461072390613b9c565b80156107705780601f1061074557610100808354040283529160200191610770565b820191906000526020600020905b81548152906001019060200180831161075357829003601f168201915b505050505081565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000600b80546107af90613b9c565b9050116107cb57604051806020016040528060008152506107f7565b600b6107d683611651565b6040516020016107e7929190613c9e565b6040516020818303038152906040525b9050919050565b6108066117b2565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061084c575061084b856108466117b2565b611312565b5b61088b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088290613d34565b60405180910390fd5b61089885858585856117ba565b5050505050565b6108a76117b2565b73ffffffffffffffffffffffffffffffffffffffff166108c5610ccf565b73ffffffffffffffffffffffffffffffffffffffff161461091b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091290613da0565b60405180910390fd5b82600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b600660149054906101000a900460ff1681565b60608151835114610a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3390613e32565b60405180910390fd5b6000835167ffffffffffffffff811115610a5957610a586130ed565b5b604051908082528060200260200182016040528015610a875781602001602082028036833780820191505090505b50905060005b8451811015610b0457610ad4858281518110610aac57610aab613e52565b5b6020026020010151858381518110610ac757610ac6613e52565b5b602002602001015161053f565b828281518110610ae757610ae6613e52565b5b60200260200101818152505080610afd90613eb0565b9050610a8d565b508091505092915050565b600080610b1b83610e5e565b119050919050565b610b2b6117b2565b73ffffffffffffffffffffffffffffffffffffffff16610b49610ccf565b73ffffffffffffffffffffffffffffffffffffffff1614610b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9690613da0565b60405180910390fd5b80600b9080519060200190610bb5929190612d16565b5050565b600b8054610bc690613b9c565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf290613b9c565b8015610c3f5780601f10610c1457610100808354040283529160200191610c3f565b820191906000526020600020905b815481529060010190602001808311610c2257829003601f168201915b505050505081565b610c4f6117b2565b73ffffffffffffffffffffffffffffffffffffffff16610c6d610ccf565b73ffffffffffffffffffffffffffffffffffffffff1614610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba90613da0565b60405180910390fd5b610ccd6000611ace565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a8054610d0690613b9c565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3290613b9c565b8015610d7f5780601f10610d5457610100808354040283529160200191610d7f565b820191906000526020600020905b815481529060010190602001808311610d6257829003601f168201915b505050505081565b610d8f6117b2565b73ffffffffffffffffffffffffffffffffffffffff16610dad610ccf565b73ffffffffffffffffffffffffffffffffffffffff1614610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613da0565b60405180910390fd5b610e0f84848484611b94565b50505050565b610e27610e206117b2565b8383611d2a565b5050565b60008282604051602001610e40929190613ef9565b60405160208183030381529060405280519060200120905092915050565b600060046000838152602001908152602001600020549050919050565b610e836117b2565b73ffffffffffffffffffffffffffffffffffffffff16610ea1610ccf565b73ffffffffffffffffffffffffffffffffffffffff1614610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee90613da0565b60405180910390fd5b610f0384848484611e97565b50505050565b600660149054906101000a900460ff16610f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4f90613f6e565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff1660e01b8152600401610fca9190612eb0565b602060405180830381865afa158015610fe7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100b9190613fa3565b73ffffffffffffffffffffffffffffffffffffffff1614611061576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110589061401c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b81526004016110d39190612eb0565b602060405180830381865afa1580156110f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111149190613fa3565b73ffffffffffffffffffffffffffffffffffffffff161461116a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116190614088565b60405180910390fd5b6008600085815260200190815260200160002060009054906101000a900460ff16156111cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c2906140f4565b60405180910390fd5b6111ef816111e16111dc8686610e2b565b6120b5565b6120e590919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461127e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127590614160565b60405180910390fd5b60016008600086815260200190815260200160002060006101000a81548160ff0219169083151502179055506112c63383600160405180602001604052806000815250611b94565b50505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60086020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113ae6117b2565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806113f457506113f3856113ee6117b2565b611312565b5b611433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142a906141f2565b60405180910390fd5b611440858585858561210c565b5050505050565b61144f6117b2565b73ffffffffffffffffffffffffffffffffffffffff1661146d610ccf565b73ffffffffffffffffffffffffffffffffffffffff16146114c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ba90613da0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90614284565b60405180910390fd5b61153c81611ace565b50565b6115476117b2565b73ffffffffffffffffffffffffffffffffffffffff16611565610ccf565b73ffffffffffffffffffffffffffffffffffffffff16146115bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b290613da0565b60405180910390fd5b600660149054906101000a900460ff1615600660146101000a81548160ff021916908315150217905550565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611699576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506117ad565b600082905060005b600082146116cb5780806116b490613eb0565b915050600a826116c491906142d3565b91506116a1565b60008167ffffffffffffffff8111156116e7576116e66130ed565b5b6040519080825280601f01601f1916602001820160405280156117195781602001600182028036833780820191505090505b5090505b600085146117a6576001826117329190614304565b9150600a856117419190614338565b603061174d9190614369565b60f81b81838151811061176357611762613e52565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561179f91906142d3565b945061171d565b8093505050505b919050565b600033905090565b81518351146117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590614431565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561186e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611865906144c3565b60405180910390fd5b60006118786117b2565b905061188881878787878761238e565b60005b8451811015611a395760008582815181106118a9576118a8613e52565b5b6020026020010151905060008583815181106118c8576118c7613e52565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196090614555565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a1e9190614369565b9250508190555050505080611a3290613eb0565b905061188b565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611ab0929190614575565b60405180910390a4611ac68187878787876123a4565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb9061461e565b60405180910390fd5b6000611c0e6117b2565b9050611c2f81600087611c208861257c565b611c298861257c565b8761238e565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c8e9190614369565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611d0c929190613ef9565b60405180910390a4611d23816000878787876125f6565b5050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d90906146b0565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e8a9190612f6b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efe9061461e565b60405180910390fd5b8151835114611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4290614431565b60405180910390fd5b6000611f556117b2565b9050611f668160008787878761238e565b60005b845181101561201f57838181518110611f8557611f84613e52565b5b6020026020010151600080878481518110611fa357611fa2613e52565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120059190614369565b92505081905550808061201790613eb0565b915050611f69565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612097929190614575565b60405180910390a46120ae816000878787876123a4565b5050505050565b6000816040516020016120c8919061473d565b604051602081830303815290604052805190602001209050919050565b60008060006120f485856127ce565b9150915061210181612851565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561217c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612173906144c3565b60405180910390fd5b60006121866117b2565b90506121a68187876121978861257c565b6121a08861257c565b8761238e565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561223d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223490614555565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122f29190614369565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161236f929190613ef9565b60405180910390a46123858288888888886125f6565b50505050505050565b61239c868686868686612a26565b505050505050565b6123c38473ffffffffffffffffffffffffffffffffffffffff16612ba0565b15612574578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016124099594939291906147b8565b6020604051808303816000875af192505050801561244557506040513d601f19601f820116820180604052508101906124429190614835565b60015b6124eb5761245161486f565b806308c379a014156124ae5750612466614891565b8061247157506124b0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a5919061301f565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e290614999565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256990614a2b565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561259b5761259a6130ed565b5b6040519080825280602002602001820160405280156125c95781602001602082028036833780820191505090505b50905082816000815181106125e1576125e0613e52565b5b60200260200101818152505080915050919050565b6126158473ffffffffffffffffffffffffffffffffffffffff16612ba0565b156127c6578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161265b959493929190614a4b565b6020604051808303816000875af192505050801561269757506040513d601f19601f820116820180604052508101906126949190614835565b60015b61273d576126a361486f565b806308c379a0141561270057506126b8614891565b806126c35750612702565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f7919061301f565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273490614999565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146127c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bb90614a2b565b60405180910390fd5b505b505050505050565b6000806041835114156128105760008060006020860151925060408601519150606086015160001a905061280487828585612bb3565b9450945050505061284a565b604083511415612841576000806020850151915060408501519050612836868383612cc0565b93509350505061284a565b60006002915091505b9250929050565b6000600481111561286557612864614aa5565b5b81600481111561287857612877614aa5565b5b141561288357612a23565b6001600481111561289757612896614aa5565b5b8160048111156128aa576128a9614aa5565b5b14156128eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e290614b20565b60405180910390fd5b600260048111156128ff576128fe614aa5565b5b81600481111561291257612911614aa5565b5b1415612953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294a90614b8c565b60405180910390fd5b6003600481111561296757612966614aa5565b5b81600481111561297a57612979614aa5565b5b14156129bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b290614c1e565b60405180910390fd5b6004808111156129ce576129cd614aa5565b5b8160048111156129e1576129e0614aa5565b5b1415612a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1990614cb0565b60405180910390fd5b5b50565b612a34868686868686612d0e565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612ae65760005b8351811015612ae457828181518110612a8857612a87613e52565b5b602002602001015160046000868481518110612aa757612aa6613e52565b5b602002602001015181526020019081526020016000206000828254612acc9190614369565b9250508190555080612add90613eb0565b9050612a6c565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b985760005b8351811015612b9657828181518110612b3a57612b39613e52565b5b602002602001015160046000868481518110612b5957612b58613e52565b5b602002602001015181526020019081526020016000206000828254612b7e9190614304565b9250508190555080612b8f90613eb0565b9050612b1e565b505b505050505050565b600080823b905060008111915050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612bee576000600391509150612cb7565b601b8560ff1614158015612c065750601c8560ff1614155b15612c18576000600491509150612cb7565b600060018787878760405160008152602001604052604051612c3d9493929190614cec565b6020604051602081039080840390855afa158015612c5f573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612cae57600060019250925050612cb7565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612d0087828885612bb3565b935093505050935093915050565b505050505050565b828054612d2290613b9c565b90600052602060002090601f016020900481019282612d445760008555612d8b565b82601f10612d5d57805160ff1916838001178555612d8b565b82800160010185558215612d8b579182015b82811115612d8a578251825591602001919060010190612d6f565b5b509050612d989190612d9c565b5090565b5b80821115612db5576000816000905550600101612d9d565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612df882612dcd565b9050919050565b612e0881612ded565b8114612e1357600080fd5b50565b600081359050612e2581612dff565b92915050565b6000819050919050565b612e3e81612e2b565b8114612e4957600080fd5b50565b600081359050612e5b81612e35565b92915050565b60008060408385031215612e7857612e77612dc3565b5b6000612e8685828601612e16565b9250506020612e9785828601612e4c565b9150509250929050565b612eaa81612e2b565b82525050565b6000602082019050612ec56000830184612ea1565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f0081612ecb565b8114612f0b57600080fd5b50565b600081359050612f1d81612ef7565b92915050565b600060208284031215612f3957612f38612dc3565b5b6000612f4784828501612f0e565b91505092915050565b60008115159050919050565b612f6581612f50565b82525050565b6000602082019050612f806000830184612f5c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fc0578082015181840152602081019050612fa5565b83811115612fcf576000848401525b50505050565b6000601f19601f8301169050919050565b6000612ff182612f86565b612ffb8185612f91565b935061300b818560208601612fa2565b61301481612fd5565b840191505092915050565b600060208201905081810360008301526130398184612fe6565b905092915050565b6000819050919050565b600061306661306161305c84612dcd565b613041565b612dcd565b9050919050565b60006130788261304b565b9050919050565b600061308a8261306d565b9050919050565b61309a8161307f565b82525050565b60006020820190506130b56000830184613091565b92915050565b6000602082840312156130d1576130d0612dc3565b5b60006130df84828501612e4c565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61312582612fd5565b810181811067ffffffffffffffff82111715613144576131436130ed565b5b80604052505050565b6000613157612db9565b9050613163828261311c565b919050565b600067ffffffffffffffff821115613183576131826130ed565b5b602082029050602081019050919050565b600080fd5b60006131ac6131a784613168565b61314d565b905080838252602082019050602084028301858111156131cf576131ce613194565b5b835b818110156131f857806131e48882612e4c565b8452602084019350506020810190506131d1565b5050509392505050565b600082601f830112613217576132166130e8565b5b8135613227848260208601613199565b91505092915050565b600080fd5b600067ffffffffffffffff8211156132505761324f6130ed565b5b61325982612fd5565b9050602081019050919050565b82818337600083830152505050565b600061328861328384613235565b61314d565b9050828152602081018484840111156132a4576132a3613230565b5b6132af848285613266565b509392505050565b600082601f8301126132cc576132cb6130e8565b5b81356132dc848260208601613275565b91505092915050565b600080600080600060a0868803121561330157613300612dc3565b5b600061330f88828901612e16565b955050602061332088828901612e16565b945050604086013567ffffffffffffffff81111561334157613340612dc8565b5b61334d88828901613202565b935050606086013567ffffffffffffffff81111561336e5761336d612dc8565b5b61337a88828901613202565b925050608086013567ffffffffffffffff81111561339b5761339a612dc8565b5b6133a7888289016132b7565b9150509295509295909350565b6000806000606084860312156133cd576133cc612dc3565b5b60006133db86828701612e16565b93505060206133ec86828701612e16565b92505060406133fd86828701612e16565b9150509250925092565b600067ffffffffffffffff821115613422576134216130ed565b5b602082029050602081019050919050565b600061344661344184613407565b61314d565b9050808382526020820190506020840283018581111561346957613468613194565b5b835b81811015613492578061347e8882612e16565b84526020840193505060208101905061346b565b5050509392505050565b600082601f8301126134b1576134b06130e8565b5b81356134c1848260208601613433565b91505092915050565b600080604083850312156134e1576134e0612dc3565b5b600083013567ffffffffffffffff8111156134ff576134fe612dc8565b5b61350b8582860161349c565b925050602083013567ffffffffffffffff81111561352c5761352b612dc8565b5b61353885828601613202565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61357781612e2b565b82525050565b6000613589838361356e565b60208301905092915050565b6000602082019050919050565b60006135ad82613542565b6135b7818561354d565b93506135c28361355e565b8060005b838110156135f35781516135da888261357d565b97506135e583613595565b9250506001810190506135c6565b5085935050505092915050565b6000602082019050818103600083015261361a81846135a2565b905092915050565b600067ffffffffffffffff82111561363d5761363c6130ed565b5b61364682612fd5565b9050602081019050919050565b600061366661366184613622565b61314d565b90508281526020810184848401111561368257613681613230565b5b61368d848285613266565b509392505050565b600082601f8301126136aa576136a96130e8565b5b81356136ba848260208601613653565b91505092915050565b6000602082840312156136d9576136d8612dc3565b5b600082013567ffffffffffffffff8111156136f7576136f6612dc8565b5b61370384828501613695565b91505092915050565b61371581612ded565b82525050565b6000602082019050613730600083018461370c565b92915050565b600080600080608085870312156137505761374f612dc3565b5b600061375e87828801612e16565b945050602061376f87828801612e4c565b935050604061378087828801612e4c565b925050606085013567ffffffffffffffff8111156137a1576137a0612dc8565b5b6137ad878288016132b7565b91505092959194509250565b6137c281612f50565b81146137cd57600080fd5b50565b6000813590506137df816137b9565b92915050565b600080604083850312156137fc576137fb612dc3565b5b600061380a85828601612e16565b925050602061381b858286016137d0565b9150509250929050565b6000806040838503121561383c5761383b612dc3565b5b600061384a85828601612e4c565b925050602061385b85828601612e4c565b9150509250929050565b6000819050919050565b61387881613865565b82525050565b6000602082019050613893600083018461386f565b92915050565b600080600080608085870312156138b3576138b2612dc3565b5b60006138c187828801612e16565b945050602085013567ffffffffffffffff8111156138e2576138e1612dc8565b5b6138ee87828801613202565b935050604085013567ffffffffffffffff81111561390f5761390e612dc8565b5b61391b87828801613202565b925050606085013567ffffffffffffffff81111561393c5761393b612dc8565b5b613948878288016132b7565b91505092959194509250565b6000806000806080858703121561396e5761396d612dc3565b5b600061397c87828801612e4c565b945050602061398d87828801612e4c565b935050604061399e87828801612e4c565b925050606085013567ffffffffffffffff8111156139bf576139be612dc8565b5b6139cb878288016132b7565b91505092959194509250565b600080604083850312156139ee576139ed612dc3565b5b60006139fc85828601612e16565b9250506020613a0d85828601612e16565b9150509250929050565b600080600080600060a08688031215613a3357613a32612dc3565b5b6000613a4188828901612e16565b9550506020613a5288828901612e16565b9450506040613a6388828901612e4c565b9350506060613a7488828901612e4c565b925050608086013567ffffffffffffffff811115613a9557613a94612dc8565b5b613aa1888289016132b7565b9150509295509295909350565b600060208284031215613ac457613ac3612dc3565b5b6000613ad284828501612e16565b91505092915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613b37602b83612f91565b9150613b4282613adb565b604082019050919050565b60006020820190508181036000830152613b6681613b2a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613bb457607f821691505b60208210811415613bc857613bc7613b6d565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613bfb81613b9c565b613c058186613bce565b94506001821660008114613c205760018114613c3157613c64565b60ff19831686528186019350613c64565b613c3a85613bd9565b60005b83811015613c5c57815481890152600182019150602081019050613c3d565b838801955050505b50505092915050565b6000613c7882612f86565b613c828185613bce565b9350613c92818560208601612fa2565b80840191505092915050565b6000613caa8285613bee565b9150613cb68284613c6d565b91508190509392505050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613d1e603283612f91565b9150613d2982613cc2565b604082019050919050565b60006020820190508181036000830152613d4d81613d11565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d8a602083612f91565b9150613d9582613d54565b602082019050919050565b60006020820190508181036000830152613db981613d7d565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613e1c602983612f91565b9150613e2782613dc0565b604082019050919050565b60006020820190508181036000830152613e4b81613e0f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ebb82612e2b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613eee57613eed613e81565b5b600182019050919050565b6000604082019050613f0e6000830185612ea1565b613f1b6020830184612ea1565b9392505050565b7f4d696e74696e67206e6f74206c69766500000000000000000000000000000000600082015250565b6000613f58601083612f91565b9150613f6382613f22565b602082019050919050565b60006020820190508181036000830152613f8781613f4b565b9050919050565b600081519050613f9d81612dff565b92915050565b600060208284031215613fb957613fb8612dc3565b5b6000613fc784828501613f8e565b91505092915050565b7f4e6f74206f776e6572206f662056495000000000000000000000000000000000600082015250565b6000614006601083612f91565b915061401182613fd0565b602082019050919050565b6000602082019050818103600083015261403581613ff9565b9050919050565b7f4e6f74206f776e6572206f6620544f5200000000000000000000000000000000600082015250565b6000614072601083612f91565b915061407d8261403c565b602082019050919050565b600060208201905081810360008301526140a181614065565b9050919050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b60006140de600f83612f91565b91506140e9826140a8565b602082019050919050565b6000602082019050818103600083015261410d816140d1565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b600061414a601183612f91565b915061415582614114565b602082019050919050565b600060208201905081810360008301526141798161413d565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006141dc602983612f91565b91506141e782614180565b604082019050919050565b6000602082019050818103600083015261420b816141cf565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061426e602683612f91565b915061427982614212565b604082019050919050565b6000602082019050818103600083015261429d81614261565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142de82612e2b565b91506142e983612e2b565b9250826142f9576142f86142a4565b5b828204905092915050565b600061430f82612e2b565b915061431a83612e2b565b92508282101561432d5761432c613e81565b5b828203905092915050565b600061434382612e2b565b915061434e83612e2b565b92508261435e5761435d6142a4565b5b828206905092915050565b600061437482612e2b565b915061437f83612e2b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143b4576143b3613e81565b5b828201905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061441b602883612f91565b9150614426826143bf565b604082019050919050565b6000602082019050818103600083015261444a8161440e565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006144ad602583612f91565b91506144b882614451565b604082019050919050565b600060208201905081810360008301526144dc816144a0565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061453f602a83612f91565b915061454a826144e3565b604082019050919050565b6000602082019050818103600083015261456e81614532565b9050919050565b6000604082019050818103600083015261458f81856135a2565b905081810360208301526145a381846135a2565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614608602183612f91565b9150614613826145ac565b604082019050919050565b60006020820190508181036000830152614637816145fb565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061469a602983612f91565b91506146a58261463e565b604082019050919050565b600060208201905081810360008301526146c98161468d565b9050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614706601c83613bce565b9150614711826146d0565b601c82019050919050565b6000819050919050565b61473761473282613865565b61471c565b82525050565b6000614748826146f9565b91506147548284614726565b60208201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061478a82614763565b614794818561476e565b93506147a4818560208601612fa2565b6147ad81612fd5565b840191505092915050565b600060a0820190506147cd600083018861370c565b6147da602083018761370c565b81810360408301526147ec81866135a2565b9050818103606083015261480081856135a2565b90508181036080830152614814818461477f565b90509695505050505050565b60008151905061482f81612ef7565b92915050565b60006020828403121561484b5761484a612dc3565b5b600061485984828501614820565b91505092915050565b60008160e01c9050919050565b600060033d111561488e5760046000803e61488b600051614862565b90505b90565b600060443d10156148a157614924565b6148a9612db9565b60043d036004823e80513d602482011167ffffffffffffffff821117156148d1575050614924565b808201805167ffffffffffffffff8111156148ef5750505050614924565b80602083010160043d03850181111561490c575050505050614924565b61491b8260200185018661311c565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614983603483612f91565b915061498e82614927565b604082019050919050565b600060208201905081810360008301526149b281614976565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614a15602883612f91565b9150614a20826149b9565b604082019050919050565b60006020820190508181036000830152614a4481614a08565b9050919050565b600060a082019050614a60600083018861370c565b614a6d602083018761370c565b614a7a6040830186612ea1565b614a876060830185612ea1565b8181036080830152614a99818461477f565b90509695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614b0a601883612f91565b9150614b1582614ad4565b602082019050919050565b60006020820190508181036000830152614b3981614afd565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614b76601f83612f91565b9150614b8182614b40565b602082019050919050565b60006020820190508181036000830152614ba581614b69565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c08602283612f91565b9150614c1382614bac565b604082019050919050565b60006020820190508181036000830152614c3781614bfb565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c9a602283612f91565b9150614ca582614c3e565b604082019050919050565b60006020820190508181036000830152614cc981614c8d565b9050919050565b600060ff82169050919050565b614ce681614cd0565b82525050565b6000608082019050614d01600083018761386f565b614d0e6020830186614cdd565b614d1b604083018561386f565b614d28606083018461386f565b9594505050505056fea2646970667358221220589cf0747f9d37de622028c77b14aa6714f39b71380f486d5bdc0b5914d3d39464736f6c634300080a0033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000071c99b3b2b2ca1e29eb05dfe0e12c75799c744cf000000000000000000000000c2f05fd9fe4cfe8f7395ddb220c84d3ef240cf3d000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6d696e742e746f6f6c736f66726f636b2e636f6d2f6170692f616c62756d732f000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURL (string): https://mint.toolsofrock.com/api/albums/
Arg [1] : vipPassContractAddress (address): 0x71c99B3b2b2ca1e29Eb05DFE0E12c75799c744Cf
Arg [2] : torContractAddress (address): 0xc2f05fD9fE4cfE8f7395ddb220c84D3Ef240cF3D

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000071c99b3b2b2ca1e29eb05dfe0e12c75799c744cf
Arg [2] : 000000000000000000000000c2f05fd9fe4cfe8f7395ddb220c84d3ef240cf3d
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [4] : 68747470733a2f2f6d696e742e746f6f6c736f66726f636b2e636f6d2f617069
Arg [5] : 2f616c62756d732f000000000000000000000000000000000000000000000000


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.