ETH Price: $3,422.80 (-0.51%)
Gas: 2 Gwei

Token

Phto Access Pass (PHTOVIP)
 

Overview

Max Total Supply

500 PHTOVIP

Holders

262

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
scaly2018.eth
0x51ec5e1b8B3C4C6baE49619e657F94C4AD577b45
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:
PhtoPass

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

/// @author no-op.eth (nftlab: nft-lab.xyz)
/// @title Phto access pass (phto.io)
contract PhtoPass is ERC1155, Ownable, PaymentSplitter {
  /** Name of collection */
  string public constant name = "Phto Access Pass";
  /** Symbol of collection */
  string public constant symbol = "PHTOVIP";
  /** Price per token */
  uint256 public constant COST = 0.08 ether;
  /** Max per Tx */
  uint256 public constant MAX_TX = 3;
  /** Maximum amount of tokens in collection */
  uint256 public MAX_SUPPLY = 500;
  /** URI for the contract metadata */
  string public contractURI;
  
  /** Public sale state */
  bool public saleActive = false;

  /** Total supply */
  uint256 private _supply = 0;

  /** Notify on sale state change */
  event SaleStateChanged(bool val);
  /** Notify on total supply change */
  event TotalSupplyChanged(uint256 val);

  /** For URI conversions */
  using Strings for uint256;

  constructor(
    string memory _uri, 
    address[] memory shareholders, 
    uint256[] memory shares
  ) ERC1155(_uri) PaymentSplitter(shareholders, shares) {}

  /// @notice Sets public sale state
  /// @param val The new value
  function setSaleState(bool val) external onlyOwner {
    saleActive = val;
    emit SaleStateChanged(val);
  }

  /// @notice Sets the base metadata URI
  /// @param val The new URI
  function setBaseURI(string memory val) external onlyOwner {
    _setURI(val);
  }

  /// @notice Sets the contract metadata URI
  /// @param val The new URI
  function setContractURI(string memory val) external onlyOwner {
    contractURI = val;
  }

  /// @notice Returns the amount of tokens sold
  /// @return supply The number of tokens sold
  function totalSupply() public view returns (uint256) {
    return _supply;
  }

  /// @notice Returns the URI for a given token ID
  /// @param id The ID to return URI for
  /// @return Token URI
  function uri(uint256 id) public view override returns (string memory) {
    return string(abi.encodePacked(super.uri(id), id.toString()));
  }

  /// @notice Reserves a set of NFTs for collection owner (giveaways, etc)
  /// @param amt The amount to reserve
  function reserve(uint256 amt) external onlyOwner {
    require(_supply + amt <= MAX_SUPPLY, "Amount exceeds supply.");

    _supply += amt;
    _mint(msg.sender, 0, amt, "0x0000");

    emit TotalSupplyChanged(totalSupply());
  }

  /// @notice Mints a new token in public sale
  /// @param amt The number of tokens to mint
  /// @dev Must send COST * amt in ETH
  function mint(uint256 amt) external payable {
    require(saleActive, "Sale is not yet active.");
    require(amt <= MAX_TX, "Amount of tokens exceeds transaction limit.");
    require(_supply + amt <= MAX_SUPPLY, "Amount exceeds supply.");
    require(COST * amt == msg.value, "ETH sent is below cost.");

    _supply += amt;
    _mint(msg.sender, 0, amt, "0x0000");

    emit TotalSupplyChanged(totalSupply());
  }
}

File 2 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 3 of 14 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + totalReleased();
        uint256 payment = _pendingPayment(account, totalReceived, released(account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] += payment;
        _totalReleased += payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
     * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
     * contract.
     */
    function release(IERC20 token, address account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        uint256 payment = _pendingPayment(account, totalReceived, released(token, account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

File 4 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 5 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 6 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 7 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 8 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 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 10 of 14 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address[]","name":"shareholders","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"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":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"val","type":"bool"}],"name":"SaleStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"val","type":"uint256"}],"name":"TotalSupplyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"reserve","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":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"val","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"val","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526101f4600b556000600d60006101000a81548160ff0219169083151502179055506000600e553480156200003757600080fd5b5060405162005eca38038062005eca83398181016040528101906200005d919062000777565b81818462000071816200019b60201b60201c565b506200009262000086620001b760201b60201c565b620001bf60201b60201c565b8051825114620000d9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000d09062000964565b60405180910390fd5b600082511162000120576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200011790620009a8565b60405180910390fd5b60005b82518110156200018f576200017983828151811062000147576200014662000ca3565b5b602002602001015183838151811062000165576200016462000ca3565b5b60200260200101516200028560201b60201c565b8080620001869062000bf7565b91505062000123565b50505050505062000e9e565b8060029080519060200190620001b3929190620004bf565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620002f8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ef9062000942565b60405180910390fd5b600081116200033e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200033590620009ca565b60405180910390fd5b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620003c3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003ba9062000986565b60405180910390fd5b6008829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806004546200047a919062000aba565b6004819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620004b392919062000915565b60405180910390a15050565b828054620004cd9062000b8b565b90600052602060002090601f016020900481019282620004f157600085556200053d565b82601f106200050c57805160ff19168380011785556200053d565b828001600101855582156200053d579182015b828111156200053c5782518255916020019190600101906200051f565b5b5090506200054c919062000550565b5090565b5b808211156200056b57600081600090555060010162000551565b5090565b600062000586620005808462000a15565b620009ec565b90508083825260208201905082856020860282011115620005ac57620005ab62000d06565b5b60005b85811015620005e05781620005c58882620006b0565b845260208401935060208301925050600181019050620005af565b5050509392505050565b600062000601620005fb8462000a44565b620009ec565b9050808382526020820190508285602086028201111562000627576200062662000d06565b5b60005b858110156200065b578162000640888262000760565b8452602084019350602083019250506001810190506200062a565b5050509392505050565b60006200067c620006768462000a73565b620009ec565b9050828152602081018484840111156200069b576200069a62000d0b565b5b620006a884828562000b55565b509392505050565b600081519050620006c18162000e6a565b92915050565b600082601f830112620006df57620006de62000d01565b5b8151620006f18482602086016200056f565b91505092915050565b600082601f83011262000712576200071162000d01565b5b815162000724848260208601620005ea565b91505092915050565b600082601f83011262000745576200074462000d01565b5b81516200075784826020860162000665565b91505092915050565b600081519050620007718162000e84565b92915050565b60008060006060848603121562000793576200079262000d15565b5b600084015167ffffffffffffffff811115620007b457620007b362000d10565b5b620007c2868287016200072d565b935050602084015167ffffffffffffffff811115620007e657620007e562000d10565b5b620007f486828701620006c7565b925050604084015167ffffffffffffffff81111562000818576200081762000d10565b5b6200082686828701620006fa565b9150509250925092565b6200083b8162000b17565b82525050565b600062000850602c8362000aa9565b91506200085d8262000d2b565b604082019050919050565b60006200087760328362000aa9565b9150620008848262000d7a565b604082019050919050565b60006200089e602b8362000aa9565b9150620008ab8262000dc9565b604082019050919050565b6000620008c5601a8362000aa9565b9150620008d28262000e18565b602082019050919050565b6000620008ec601d8362000aa9565b9150620008f98262000e41565b602082019050919050565b6200090f8162000b4b565b82525050565b60006040820190506200092c600083018562000830565b6200093b602083018462000904565b9392505050565b600060208201905081810360008301526200095d8162000841565b9050919050565b600060208201905081810360008301526200097f8162000868565b9050919050565b60006020820190508181036000830152620009a1816200088f565b9050919050565b60006020820190508181036000830152620009c381620008b6565b9050919050565b60006020820190508181036000830152620009e581620008dd565b9050919050565b6000620009f862000a0b565b905062000a06828262000bc1565b919050565b6000604051905090565b600067ffffffffffffffff82111562000a335762000a3262000cd2565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000a625762000a6162000cd2565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000a915762000a9062000cd2565b5b62000a9c8262000d1a565b9050602081019050919050565b600082825260208201905092915050565b600062000ac78262000b4b565b915062000ad48362000b4b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000b0c5762000b0b62000c45565b5b828201905092915050565b600062000b248262000b2b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000b7557808201518184015260208101905062000b58565b8381111562000b85576000848401525b50505050565b6000600282049050600182168062000ba457607f821691505b6020821081141562000bbb5762000bba62000c74565b5b50919050565b62000bcc8262000d1a565b810181811067ffffffffffffffff8211171562000bee5762000bed62000cd2565b5b80604052505050565b600062000c048262000b4b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000c3a5762000c3962000c45565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b62000e758162000b17565b811462000e8157600080fd5b50565b62000e8f8162000b4b565b811462000e9b57600080fd5b50565b61501c8062000eae6000396000f3fe6080604052600436106101f15760003560e01c80638b83209b1161010d578063c4e37095116100a0578063e8a3d4851161006f578063e8a3d48514610760578063e985e9c51461078b578063f242432a146107c8578063f2fde38b146107f1578063f3b2db3f1461081a57610238565b8063c4e3709514610692578063ce7c2ac2146106bb578063d79779b2146106f8578063e33b7de31461073557610238565b80639852595c116100dc5780639852595c146105e5578063a0712d6814610622578063a22cb4651461063e578063bf8fbbd21461066757610238565b80638b83209b146105295780638da5cb5b14610566578063938e3d7b1461059157806395d89b41146105ba57610238565b80633a98ef391161018557806355f804b31161015457806355f804b31461049557806368428a1b146104be578063715018a6146104e9578063819b25ba1461050057610238565b80633a98ef39146103c7578063406072a9146103f257806348b750441461042f5780634e1273f41461045857610238565b806318160ddd116101c157806318160ddd1461031f578063191655871461034a5780632eb2c2d61461037357806332cb6b0c1461039c57610238565b8062fdd58e1461023d57806301ffc9a71461027a57806306fdde03146102b75780630e89341c146102e257610238565b36610238577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061021f610845565b3460405161022e929190613e90565b60405180910390a1005b600080fd5b34801561024957600080fd5b50610264600480360381019061025f91906135be565b61084d565b604051610271919061424f565b60405180910390f35b34801561028657600080fd5b506102a1600480360381019061029c91906136d0565b610916565b6040516102ae9190613f12565b60405180910390f35b3480156102c357600080fd5b506102cc6109f8565b6040516102d99190613f2d565b60405180910390f35b3480156102ee57600080fd5b50610309600480360381019061030491906137e0565b610a31565b6040516103169190613f2d565b60405180910390f35b34801561032b57600080fd5b50610334610a6c565b604051610341919061424f565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c91906133ab565b610a76565b005b34801561037f57600080fd5b5061039a60048036038101906103959190613418565b610c21565b005b3480156103a857600080fd5b506103b1610cc2565b6040516103be919061424f565b60405180910390f35b3480156103d357600080fd5b506103dc610cc8565b6040516103e9919061424f565b60405180910390f35b3480156103fe57600080fd5b5061041960048036038101906104149190613757565b610cd2565b604051610426919061424f565b60405180910390f35b34801561043b57600080fd5b5061045660048036038101906104519190613757565b610d59565b005b34801561046457600080fd5b5061047f600480360381019061047a91906135fe565b611021565b60405161048c9190613eb9565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b79190613797565b61113a565b005b3480156104ca57600080fd5b506104d36111c2565b6040516104e09190613f12565b60405180910390f35b3480156104f557600080fd5b506104fe6111d5565b005b34801561050c57600080fd5b50610527600480360381019061052291906137e0565b61125d565b005b34801561053557600080fd5b50610550600480360381019061054b91906137e0565b6113c7565b60405161055d9190613d8a565b60405180910390f35b34801561057257600080fd5b5061057b61140f565b6040516105889190613d8a565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190613797565b611439565b005b3480156105c657600080fd5b506105cf6114cf565b6040516105dc9190613f2d565b60405180910390f35b3480156105f157600080fd5b5061060c6004803603810190610607919061337e565b611508565b604051610619919061424f565b60405180910390f35b61063c600480360381019061063791906137e0565b611551565b005b34801561064a57600080fd5b506106656004803603810190610660919061357e565b611727565b005b34801561067357600080fd5b5061067c61173d565b604051610689919061424f565b60405180910390f35b34801561069e57600080fd5b506106b960048036038101906106b49190613676565b611749565b005b3480156106c757600080fd5b506106e260048036038101906106dd919061337e565b611819565b6040516106ef919061424f565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a919061372a565b611862565b60405161072c919061424f565b60405180910390f35b34801561074157600080fd5b5061074a6118ab565b604051610757919061424f565b60405180910390f35b34801561076c57600080fd5b506107756118b5565b6040516107829190613f2d565b60405180910390f35b34801561079757600080fd5b506107b260048036038101906107ad91906133d8565b611943565b6040516107bf9190613f12565b60405180910390f35b3480156107d457600080fd5b506107ef60048036038101906107ea91906134e7565b6119d7565b005b3480156107fd57600080fd5b506108186004803603810190610813919061337e565b611a78565b005b34801561082657600080fd5b5061082f611b70565b60405161083c919061424f565b60405180910390f35b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b590613faf565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109e157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109f157506109f082611b75565b5b9050919050565b6040518060400160405280601081526020017f5068746f2041636365737320506173730000000000000000000000000000000081525081565b6060610a3c82611bdf565b610a4583611c73565b604051602001610a56929190613d51565b6040516020818303038152906040529050919050565b6000600e54905090565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aef9061400f565b60405180910390fd5b6000610b026118ab565b47610b0d91906143f9565b90506000610b248383610b1f86611508565b611dd4565b90506000811415610b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b619061408f565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610bb991906143f9565b925050819055508060056000828254610bd291906143f9565b92505081905550610be38382611e42565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610c14929190613da5565b60405180910390a1505050565b610c29610845565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c6f5750610c6e85610c69610845565b611943565b5b610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca5906140ef565b60405180910390fd5b610cbb8585858585611f36565b5050505050565b600b5481565b6000600454905090565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd29061400f565b60405180910390fd5b6000610de683611862565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e1f9190613d8a565b60206040518083038186803b158015610e3757600080fd5b505afa158015610e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6f919061380d565b610e7991906143f9565b90506000610e918383610e8c8787610cd2565b611dd4565b90506000811415610ed7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ece9061408f565b60405180910390fd5b80600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f6391906143f9565b9250508190555080600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fb991906143f9565b92505081905550610fcb84848361224a565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051611013929190613e90565b60405180910390a250505050565b60608151835114611067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105e906141ef565b60405180910390fd5b6000835167ffffffffffffffff811115611084576110836147b7565b5b6040519080825280602002602001820160405280156110b25781602001602082028036833780820191505090505b50905060005b845181101561112f576110ff8582815181106110d7576110d6614788565b5b60200260200101518583815181106110f2576110f1614788565b5b602002602001015161084d565b82828151811061111257611111614788565b5b6020026020010181815250508061112890614681565b90506110b8565b508091505092915050565b611142610845565b73ffffffffffffffffffffffffffffffffffffffff1661116061140f565b73ffffffffffffffffffffffffffffffffffffffff16146111b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ad9061412f565b60405180910390fd5b6111bf816122d0565b50565b600d60009054906101000a900460ff1681565b6111dd610845565b73ffffffffffffffffffffffffffffffffffffffff166111fb61140f565b73ffffffffffffffffffffffffffffffffffffffff1614611251576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112489061412f565b60405180910390fd5b61125b60006122ea565b565b611265610845565b73ffffffffffffffffffffffffffffffffffffffff1661128361140f565b73ffffffffffffffffffffffffffffffffffffffff16146112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d09061412f565b60405180910390fd5b600b5481600e546112ea91906143f9565b111561132b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611322906140af565b60405180910390fd5b80600e600082825461133d91906143f9565b92505081905550611386336000836040518060400160405280600681526020017f30783030303000000000000000000000000000000000000000000000000000008152506123b0565b7fc8b17f75f53401f272e9ee7fa431e81ba33779363238896180425a422420c8f76113af610a6c565b6040516113bc919061424f565b60405180910390a150565b6000600882815481106113dd576113dc614788565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611441610845565b73ffffffffffffffffffffffffffffffffffffffff1661145f61140f565b73ffffffffffffffffffffffffffffffffffffffff16146114b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ac9061412f565b60405180910390fd5b80600c90805190602001906114cb929190613002565b5050565b6040518060400160405280600781526020017f5048544f5649500000000000000000000000000000000000000000000000000081525081565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600d60009054906101000a900460ff166115a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115979061414f565b60405180910390fd5b60038111156115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db9061416f565b60405180910390fd5b600b5481600e546115f591906143f9565b1115611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162d906140af565b60405180910390fd5b348167011c37937e08000061164b9190614480565b1461168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290613f8f565b60405180910390fd5b80600e600082825461169d91906143f9565b925050819055506116e6336000836040518060400160405280600681526020017f30783030303000000000000000000000000000000000000000000000000000008152506123b0565b7fc8b17f75f53401f272e9ee7fa431e81ba33779363238896180425a422420c8f761170f610a6c565b60405161171c919061424f565b60405180910390a150565b611739611732610845565b8383612546565b5050565b67011c37937e08000081565b611751610845565b73ffffffffffffffffffffffffffffffffffffffff1661176f61140f565b73ffffffffffffffffffffffffffffffffffffffff16146117c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bc9061412f565b60405180910390fd5b80600d60006101000a81548160ff0219169083151502179055507fe333f8a36ee86e754548af2d6f50c73ff0d501e22e6c784662123dbbe493c6028160405161180e9190613f12565b60405180910390a150565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600554905090565b600c80546118c29061461e565b80601f01602080910402602001604051908101604052809291908181526020018280546118ee9061461e565b801561193b5780601f106119105761010080835404028352916020019161193b565b820191906000526020600020905b81548152906001019060200180831161191e57829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119df610845565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611a255750611a2485611a1f610845565b611943565b5b611a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5b90613fef565b60405180910390fd5b611a7185858585856126b3565b5050505050565b611a80610845565b73ffffffffffffffffffffffffffffffffffffffff16611a9e61140f565b73ffffffffffffffffffffffffffffffffffffffff1614611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb9061412f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5b90613fcf565b60405180910390fd5b611b6d816122ea565b50565b600381565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060028054611bee9061461e565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1a9061461e565b8015611c675780601f10611c3c57610100808354040283529160200191611c67565b820191906000526020600020905b815481529060010190602001808311611c4a57829003601f168201915b50505050509050919050565b60606000821415611cbb576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611dcf565b600082905060005b60008214611ced578080611cd690614681565b915050600a82611ce6919061444f565b9150611cc3565b60008167ffffffffffffffff811115611d0957611d086147b7565b5b6040519080825280601f01601f191660200182016040528015611d3b5781602001600182028036833780820191505090505b5090505b60008514611dc857600182611d5491906144da565b9150600a85611d6391906146ca565b6030611d6f91906143f9565b60f81b818381518110611d8557611d84614788565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611dc1919061444f565b9450611d3f565b8093505050505b919050565b600081600454600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485611e259190614480565b611e2f919061444f565b611e3991906144da565b90509392505050565b80471015611e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7c9061404f565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611eab90613d75565b60006040518083038185875af1925050503d8060008114611ee8576040519150601f19603f3d011682016040523d82523d6000602084013e611eed565b606091505b5050905080611f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f289061402f565b60405180910390fd5b505050565b8151835114611f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f719061420f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe1906140cf565b60405180910390fd5b6000611ff4610845565b9050612004818787878787612935565b60005b84518110156121b557600085828151811061202557612024614788565b5b60200260200101519050600085838151811061204457612043614788565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc9061410f565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461219a91906143f9565b92505081905550505050806121ae90614681565b9050612007565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161222c929190613edb565b60405180910390a461224281878787878761293d565b505050505050565b6122cb8363a9059cbb60e01b8484604051602401612269929190613e90565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612b24565b505050565b80600290805190602001906122e6929190613002565b5050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612420576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124179061422f565b60405180910390fd5b600061242a610845565b905061244b8160008761243c88612beb565b61244588612beb565b87612935565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124aa91906143f9565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161252892919061426a565b60405180910390a461253f81600087878787612c65565b5050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac906141af565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126a69190613f12565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612723576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271a906140cf565b60405180910390fd5b600061272d610845565b905061274d81878761273e88612beb565b61274788612beb565b87612935565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156127e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127db9061410f565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461289991906143f9565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161291692919061426a565b60405180910390a461292c828888888888612c65565b50505050505050565b505050505050565b61295c8473ffffffffffffffffffffffffffffffffffffffff16612e4c565b15612b1c578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016129a2959493929190613dce565b602060405180830381600087803b1580156129bc57600080fd5b505af19250505080156129ed57506040513d601f19601f820116820180604052508101906129ea91906136fd565b60015b612a93576129f96147e6565b806308c379a01415612a565750612a0e614ec6565b80612a195750612a58565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4d9190613f2d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8a90613f4f565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1190613f6f565b60405180910390fd5b505b505050505050565b6000612b86826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612e6f9092919063ffffffff16565b9050600081511115612be65780806020019051810190612ba691906136a3565b612be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdc906141cf565b60405180910390fd5b5b505050565b60606000600167ffffffffffffffff811115612c0a57612c096147b7565b5b604051908082528060200260200182016040528015612c385781602001602082028036833780820191505090505b5090508281600081518110612c5057612c4f614788565b5b60200260200101818152505080915050919050565b612c848473ffffffffffffffffffffffffffffffffffffffff16612e4c565b15612e44578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612cca959493929190613e36565b602060405180830381600087803b158015612ce457600080fd5b505af1925050508015612d1557506040513d601f19601f82011682018060405250810190612d1291906136fd565b60015b612dbb57612d216147e6565b806308c379a01415612d7e5750612d36614ec6565b80612d415750612d80565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d759190613f2d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db290613f4f565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3990613f6f565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060612e7e8484600085612e87565b90509392505050565b606082471015612ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec39061406f565b60405180910390fd5b612ed585612e4c565b612f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0b9061418f565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612f3d9190613d3a565b60006040518083038185875af1925050503d8060008114612f7a576040519150601f19603f3d011682016040523d82523d6000602084013e612f7f565b606091505b5091509150612f8f828286612f9b565b92505050949350505050565b60608315612fab57829050612ffb565b600083511115612fbe5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff29190613f2d565b60405180910390fd5b9392505050565b82805461300e9061461e565b90600052602060002090601f0160209004810192826130305760008555613077565b82601f1061304957805160ff1916838001178555613077565b82800160010185558215613077579182015b8281111561307657825182559160200191906001019061305b565b5b5090506130849190613088565b5090565b5b808211156130a1576000816000905550600101613089565b5090565b60006130b86130b3846142b8565b614293565b905080838252602082019050828560208602820111156130db576130da61480d565b5b60005b8581101561310b57816130f18882613209565b8452602084019350602083019250506001810190506130de565b5050509392505050565b6000613128613123846142e4565b614293565b9050808382526020820190508285602086028201111561314b5761314a61480d565b5b60005b8581101561317b57816131618882613354565b84526020840193506020830192505060018101905061314e565b5050509392505050565b600061319861319384614310565b614293565b9050828152602081018484840111156131b4576131b3614812565b5b6131bf8482856145dc565b509392505050565b60006131da6131d584614341565b614293565b9050828152602081018484840111156131f6576131f5614812565b5b6132018482856145dc565b509392505050565b60008135905061321881614f5c565b92915050565b60008135905061322d81614f73565b92915050565b600082601f83011261324857613247614808565b5b81356132588482602086016130a5565b91505092915050565b600082601f83011261327657613275614808565b5b8135613286848260208601613115565b91505092915050565b60008135905061329e81614f8a565b92915050565b6000815190506132b381614f8a565b92915050565b6000813590506132c881614fa1565b92915050565b6000815190506132dd81614fa1565b92915050565b600082601f8301126132f8576132f7614808565b5b8135613308848260208601613185565b91505092915050565b60008135905061332081614fb8565b92915050565b600082601f83011261333b5761333a614808565b5b813561334b8482602086016131c7565b91505092915050565b60008135905061336381614fcf565b92915050565b60008151905061337881614fcf565b92915050565b6000602082840312156133945761339361481c565b5b60006133a284828501613209565b91505092915050565b6000602082840312156133c1576133c061481c565b5b60006133cf8482850161321e565b91505092915050565b600080604083850312156133ef576133ee61481c565b5b60006133fd85828601613209565b925050602061340e85828601613209565b9150509250929050565b600080600080600060a086880312156134345761343361481c565b5b600061344288828901613209565b955050602061345388828901613209565b945050604086013567ffffffffffffffff81111561347457613473614817565b5b61348088828901613261565b935050606086013567ffffffffffffffff8111156134a1576134a0614817565b5b6134ad88828901613261565b925050608086013567ffffffffffffffff8111156134ce576134cd614817565b5b6134da888289016132e3565b9150509295509295909350565b600080600080600060a086880312156135035761350261481c565b5b600061351188828901613209565b955050602061352288828901613209565b945050604061353388828901613354565b935050606061354488828901613354565b925050608086013567ffffffffffffffff81111561356557613564614817565b5b613571888289016132e3565b9150509295509295909350565b600080604083850312156135955761359461481c565b5b60006135a385828601613209565b92505060206135b48582860161328f565b9150509250929050565b600080604083850312156135d5576135d461481c565b5b60006135e385828601613209565b92505060206135f485828601613354565b9150509250929050565b600080604083850312156136155761361461481c565b5b600083013567ffffffffffffffff81111561363357613632614817565b5b61363f85828601613233565b925050602083013567ffffffffffffffff8111156136605761365f614817565b5b61366c85828601613261565b9150509250929050565b60006020828403121561368c5761368b61481c565b5b600061369a8482850161328f565b91505092915050565b6000602082840312156136b9576136b861481c565b5b60006136c7848285016132a4565b91505092915050565b6000602082840312156136e6576136e561481c565b5b60006136f4848285016132b9565b91505092915050565b6000602082840312156137135761371261481c565b5b6000613721848285016132ce565b91505092915050565b6000602082840312156137405761373f61481c565b5b600061374e84828501613311565b91505092915050565b6000806040838503121561376e5761376d61481c565b5b600061377c85828601613311565b925050602061378d85828601613209565b9150509250929050565b6000602082840312156137ad576137ac61481c565b5b600082013567ffffffffffffffff8111156137cb576137ca614817565b5b6137d784828501613326565b91505092915050565b6000602082840312156137f6576137f561481c565b5b600061380484828501613354565b91505092915050565b6000602082840312156138235761382261481c565b5b600061383184828501613369565b91505092915050565b60006138468383613d1c565b60208301905092915050565b61385b816145a6565b82525050565b61386a8161450e565b82525050565b600061387b82614382565b61388581856143b0565b935061389083614372565b8060005b838110156138c15781516138a8888261383a565b97506138b3836143a3565b925050600181019050613894565b5085935050505092915050565b6138d781614532565b82525050565b60006138e88261438d565b6138f281856143c1565b93506139028185602086016145eb565b61390b81614821565b840191505092915050565b60006139218261438d565b61392b81856143d2565b935061393b8185602086016145eb565b80840191505092915050565b600061395282614398565b61395c81856143dd565b935061396c8185602086016145eb565b61397581614821565b840191505092915050565b600061398b82614398565b61399581856143ee565b93506139a58185602086016145eb565b80840191505092915050565b60006139be6034836143dd565b91506139c98261483f565b604082019050919050565b60006139e16028836143dd565b91506139ec8261488e565b604082019050919050565b6000613a046017836143dd565b9150613a0f826148dd565b602082019050919050565b6000613a27602b836143dd565b9150613a3282614906565b604082019050919050565b6000613a4a6026836143dd565b9150613a5582614955565b604082019050919050565b6000613a6d6029836143dd565b9150613a78826149a4565b604082019050919050565b6000613a906026836143dd565b9150613a9b826149f3565b604082019050919050565b6000613ab3603a836143dd565b9150613abe82614a42565b604082019050919050565b6000613ad6601d836143dd565b9150613ae182614a91565b602082019050919050565b6000613af96026836143dd565b9150613b0482614aba565b604082019050919050565b6000613b1c602b836143dd565b9150613b2782614b09565b604082019050919050565b6000613b3f6016836143dd565b9150613b4a82614b58565b602082019050919050565b6000613b626025836143dd565b9150613b6d82614b81565b604082019050919050565b6000613b856032836143dd565b9150613b9082614bd0565b604082019050919050565b6000613ba8602a836143dd565b9150613bb382614c1f565b604082019050919050565b6000613bcb6020836143dd565b9150613bd682614c6e565b602082019050919050565b6000613bee6017836143dd565b9150613bf982614c97565b602082019050919050565b6000613c11602b836143dd565b9150613c1c82614cc0565b604082019050919050565b6000613c346000836143d2565b9150613c3f82614d0f565b600082019050919050565b6000613c57601d836143dd565b9150613c6282614d12565b602082019050919050565b6000613c7a6029836143dd565b9150613c8582614d3b565b604082019050919050565b6000613c9d602a836143dd565b9150613ca882614d8a565b604082019050919050565b6000613cc06029836143dd565b9150613ccb82614dd9565b604082019050919050565b6000613ce36028836143dd565b9150613cee82614e28565b604082019050919050565b6000613d066021836143dd565b9150613d1182614e77565b604082019050919050565b613d258161459c565b82525050565b613d348161459c565b82525050565b6000613d468284613916565b915081905092915050565b6000613d5d8285613980565b9150613d698284613980565b91508190509392505050565b6000613d8082613c27565b9150819050919050565b6000602082019050613d9f6000830184613861565b92915050565b6000604082019050613dba6000830185613852565b613dc76020830184613d2b565b9392505050565b600060a082019050613de36000830188613861565b613df06020830187613861565b8181036040830152613e028186613870565b90508181036060830152613e168185613870565b90508181036080830152613e2a81846138dd565b90509695505050505050565b600060a082019050613e4b6000830188613861565b613e586020830187613861565b613e656040830186613d2b565b613e726060830185613d2b565b8181036080830152613e8481846138dd565b90509695505050505050565b6000604082019050613ea56000830185613861565b613eb26020830184613d2b565b9392505050565b60006020820190508181036000830152613ed38184613870565b905092915050565b60006040820190508181036000830152613ef58185613870565b90508181036020830152613f098184613870565b90509392505050565b6000602082019050613f2760008301846138ce565b92915050565b60006020820190508181036000830152613f478184613947565b905092915050565b60006020820190508181036000830152613f68816139b1565b9050919050565b60006020820190508181036000830152613f88816139d4565b9050919050565b60006020820190508181036000830152613fa8816139f7565b9050919050565b60006020820190508181036000830152613fc881613a1a565b9050919050565b60006020820190508181036000830152613fe881613a3d565b9050919050565b6000602082019050818103600083015261400881613a60565b9050919050565b6000602082019050818103600083015261402881613a83565b9050919050565b6000602082019050818103600083015261404881613aa6565b9050919050565b6000602082019050818103600083015261406881613ac9565b9050919050565b6000602082019050818103600083015261408881613aec565b9050919050565b600060208201905081810360008301526140a881613b0f565b9050919050565b600060208201905081810360008301526140c881613b32565b9050919050565b600060208201905081810360008301526140e881613b55565b9050919050565b6000602082019050818103600083015261410881613b78565b9050919050565b6000602082019050818103600083015261412881613b9b565b9050919050565b6000602082019050818103600083015261414881613bbe565b9050919050565b6000602082019050818103600083015261416881613be1565b9050919050565b6000602082019050818103600083015261418881613c04565b9050919050565b600060208201905081810360008301526141a881613c4a565b9050919050565b600060208201905081810360008301526141c881613c6d565b9050919050565b600060208201905081810360008301526141e881613c90565b9050919050565b6000602082019050818103600083015261420881613cb3565b9050919050565b6000602082019050818103600083015261422881613cd6565b9050919050565b6000602082019050818103600083015261424881613cf9565b9050919050565b60006020820190506142646000830184613d2b565b92915050565b600060408201905061427f6000830185613d2b565b61428c6020830184613d2b565b9392505050565b600061429d6142ae565b90506142a98282614650565b919050565b6000604051905090565b600067ffffffffffffffff8211156142d3576142d26147b7565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156142ff576142fe6147b7565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561432b5761432a6147b7565b5b61433482614821565b9050602081019050919050565b600067ffffffffffffffff82111561435c5761435b6147b7565b5b61436582614821565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006144048261459c565b915061440f8361459c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614444576144436146fb565b5b828201905092915050565b600061445a8261459c565b91506144658361459c565b9250826144755761447461472a565b5b828204905092915050565b600061448b8261459c565b91506144968361459c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144cf576144ce6146fb565b5b828202905092915050565b60006144e58261459c565b91506144f08361459c565b925082821015614503576145026146fb565b5b828203905092915050565b60006145198261457c565b9050919050565b600061452b8261457c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006145758261450e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006145b1826145b8565b9050919050565b60006145c3826145ca565b9050919050565b60006145d58261457c565b9050919050565b82818337600083830152505050565b60005b838110156146095780820151818401526020810190506145ee565b83811115614618576000848401525b50505050565b6000600282049050600182168061463657607f821691505b6020821081141561464a57614649614759565b5b50919050565b61465982614821565b810181811067ffffffffffffffff82111715614678576146776147b7565b5b80604052505050565b600061468c8261459c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146bf576146be6146fb565b5b600182019050919050565b60006146d58261459c565b91506146e08361459c565b9250826146f0576146ef61472a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156148055760046000803e614802600051614832565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f4554482073656e742069732062656c6f7720636f73742e000000000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f416d6f756e74206578636565647320737570706c792e00000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f53616c65206973206e6f7420796574206163746976652e000000000000000000600082015250565b7f416d6f756e74206f6620746f6b656e732065786365656473207472616e73616360008201527f74696f6e206c696d69742e000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015614ed657614f59565b614ede6142ae565b60043d036004823e80513d602482011167ffffffffffffffff82111715614f06575050614f59565b808201805167ffffffffffffffff811115614f245750505050614f59565b80602083010160043d038501811115614f41575050505050614f59565b614f5082602001850186614650565b82955050505050505b90565b614f658161450e565b8114614f7057600080fd5b50565b614f7c81614520565b8114614f8757600080fd5b50565b614f9381614532565b8114614f9e57600080fd5b50565b614faa8161453e565b8114614fb557600080fd5b50565b614fc18161456a565b8114614fcc57600080fd5b50565b614fd88161459c565b8114614fe357600080fd5b5056fea26469706673582212203f5a09f34d9f2ba4c0dd76b8ade01928a1f024e318b427810f9d605e5aa17e2264736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d534b5538316a4238386d3666464146796e6b4331747a7653756d365679314673585863566e35436a3437506f2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000006b99d2b10f3cc0ce6b871a9f5f94e1ecd6222f47000000000000000000000000da4adb0fc335a203792d645ceb138a9510eec7b80000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000005a

Deployed Bytecode

0x6080604052600436106101f15760003560e01c80638b83209b1161010d578063c4e37095116100a0578063e8a3d4851161006f578063e8a3d48514610760578063e985e9c51461078b578063f242432a146107c8578063f2fde38b146107f1578063f3b2db3f1461081a57610238565b8063c4e3709514610692578063ce7c2ac2146106bb578063d79779b2146106f8578063e33b7de31461073557610238565b80639852595c116100dc5780639852595c146105e5578063a0712d6814610622578063a22cb4651461063e578063bf8fbbd21461066757610238565b80638b83209b146105295780638da5cb5b14610566578063938e3d7b1461059157806395d89b41146105ba57610238565b80633a98ef391161018557806355f804b31161015457806355f804b31461049557806368428a1b146104be578063715018a6146104e9578063819b25ba1461050057610238565b80633a98ef39146103c7578063406072a9146103f257806348b750441461042f5780634e1273f41461045857610238565b806318160ddd116101c157806318160ddd1461031f578063191655871461034a5780632eb2c2d61461037357806332cb6b0c1461039c57610238565b8062fdd58e1461023d57806301ffc9a71461027a57806306fdde03146102b75780630e89341c146102e257610238565b36610238577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061021f610845565b3460405161022e929190613e90565b60405180910390a1005b600080fd5b34801561024957600080fd5b50610264600480360381019061025f91906135be565b61084d565b604051610271919061424f565b60405180910390f35b34801561028657600080fd5b506102a1600480360381019061029c91906136d0565b610916565b6040516102ae9190613f12565b60405180910390f35b3480156102c357600080fd5b506102cc6109f8565b6040516102d99190613f2d565b60405180910390f35b3480156102ee57600080fd5b50610309600480360381019061030491906137e0565b610a31565b6040516103169190613f2d565b60405180910390f35b34801561032b57600080fd5b50610334610a6c565b604051610341919061424f565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c91906133ab565b610a76565b005b34801561037f57600080fd5b5061039a60048036038101906103959190613418565b610c21565b005b3480156103a857600080fd5b506103b1610cc2565b6040516103be919061424f565b60405180910390f35b3480156103d357600080fd5b506103dc610cc8565b6040516103e9919061424f565b60405180910390f35b3480156103fe57600080fd5b5061041960048036038101906104149190613757565b610cd2565b604051610426919061424f565b60405180910390f35b34801561043b57600080fd5b5061045660048036038101906104519190613757565b610d59565b005b34801561046457600080fd5b5061047f600480360381019061047a91906135fe565b611021565b60405161048c9190613eb9565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b79190613797565b61113a565b005b3480156104ca57600080fd5b506104d36111c2565b6040516104e09190613f12565b60405180910390f35b3480156104f557600080fd5b506104fe6111d5565b005b34801561050c57600080fd5b50610527600480360381019061052291906137e0565b61125d565b005b34801561053557600080fd5b50610550600480360381019061054b91906137e0565b6113c7565b60405161055d9190613d8a565b60405180910390f35b34801561057257600080fd5b5061057b61140f565b6040516105889190613d8a565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190613797565b611439565b005b3480156105c657600080fd5b506105cf6114cf565b6040516105dc9190613f2d565b60405180910390f35b3480156105f157600080fd5b5061060c6004803603810190610607919061337e565b611508565b604051610619919061424f565b60405180910390f35b61063c600480360381019061063791906137e0565b611551565b005b34801561064a57600080fd5b506106656004803603810190610660919061357e565b611727565b005b34801561067357600080fd5b5061067c61173d565b604051610689919061424f565b60405180910390f35b34801561069e57600080fd5b506106b960048036038101906106b49190613676565b611749565b005b3480156106c757600080fd5b506106e260048036038101906106dd919061337e565b611819565b6040516106ef919061424f565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a919061372a565b611862565b60405161072c919061424f565b60405180910390f35b34801561074157600080fd5b5061074a6118ab565b604051610757919061424f565b60405180910390f35b34801561076c57600080fd5b506107756118b5565b6040516107829190613f2d565b60405180910390f35b34801561079757600080fd5b506107b260048036038101906107ad91906133d8565b611943565b6040516107bf9190613f12565b60405180910390f35b3480156107d457600080fd5b506107ef60048036038101906107ea91906134e7565b6119d7565b005b3480156107fd57600080fd5b506108186004803603810190610813919061337e565b611a78565b005b34801561082657600080fd5b5061082f611b70565b60405161083c919061424f565b60405180910390f35b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b590613faf565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109e157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109f157506109f082611b75565b5b9050919050565b6040518060400160405280601081526020017f5068746f2041636365737320506173730000000000000000000000000000000081525081565b6060610a3c82611bdf565b610a4583611c73565b604051602001610a56929190613d51565b6040516020818303038152906040529050919050565b6000600e54905090565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aef9061400f565b60405180910390fd5b6000610b026118ab565b47610b0d91906143f9565b90506000610b248383610b1f86611508565b611dd4565b90506000811415610b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b619061408f565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610bb991906143f9565b925050819055508060056000828254610bd291906143f9565b92505081905550610be38382611e42565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610c14929190613da5565b60405180910390a1505050565b610c29610845565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c6f5750610c6e85610c69610845565b611943565b5b610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca5906140ef565b60405180910390fd5b610cbb8585858585611f36565b5050505050565b600b5481565b6000600454905090565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd29061400f565b60405180910390fd5b6000610de683611862565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e1f9190613d8a565b60206040518083038186803b158015610e3757600080fd5b505afa158015610e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6f919061380d565b610e7991906143f9565b90506000610e918383610e8c8787610cd2565b611dd4565b90506000811415610ed7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ece9061408f565b60405180910390fd5b80600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f6391906143f9565b9250508190555080600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fb991906143f9565b92505081905550610fcb84848361224a565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051611013929190613e90565b60405180910390a250505050565b60608151835114611067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105e906141ef565b60405180910390fd5b6000835167ffffffffffffffff811115611084576110836147b7565b5b6040519080825280602002602001820160405280156110b25781602001602082028036833780820191505090505b50905060005b845181101561112f576110ff8582815181106110d7576110d6614788565b5b60200260200101518583815181106110f2576110f1614788565b5b602002602001015161084d565b82828151811061111257611111614788565b5b6020026020010181815250508061112890614681565b90506110b8565b508091505092915050565b611142610845565b73ffffffffffffffffffffffffffffffffffffffff1661116061140f565b73ffffffffffffffffffffffffffffffffffffffff16146111b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ad9061412f565b60405180910390fd5b6111bf816122d0565b50565b600d60009054906101000a900460ff1681565b6111dd610845565b73ffffffffffffffffffffffffffffffffffffffff166111fb61140f565b73ffffffffffffffffffffffffffffffffffffffff1614611251576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112489061412f565b60405180910390fd5b61125b60006122ea565b565b611265610845565b73ffffffffffffffffffffffffffffffffffffffff1661128361140f565b73ffffffffffffffffffffffffffffffffffffffff16146112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d09061412f565b60405180910390fd5b600b5481600e546112ea91906143f9565b111561132b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611322906140af565b60405180910390fd5b80600e600082825461133d91906143f9565b92505081905550611386336000836040518060400160405280600681526020017f30783030303000000000000000000000000000000000000000000000000000008152506123b0565b7fc8b17f75f53401f272e9ee7fa431e81ba33779363238896180425a422420c8f76113af610a6c565b6040516113bc919061424f565b60405180910390a150565b6000600882815481106113dd576113dc614788565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611441610845565b73ffffffffffffffffffffffffffffffffffffffff1661145f61140f565b73ffffffffffffffffffffffffffffffffffffffff16146114b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ac9061412f565b60405180910390fd5b80600c90805190602001906114cb929190613002565b5050565b6040518060400160405280600781526020017f5048544f5649500000000000000000000000000000000000000000000000000081525081565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600d60009054906101000a900460ff166115a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115979061414f565b60405180910390fd5b60038111156115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db9061416f565b60405180910390fd5b600b5481600e546115f591906143f9565b1115611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162d906140af565b60405180910390fd5b348167011c37937e08000061164b9190614480565b1461168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290613f8f565b60405180910390fd5b80600e600082825461169d91906143f9565b925050819055506116e6336000836040518060400160405280600681526020017f30783030303000000000000000000000000000000000000000000000000000008152506123b0565b7fc8b17f75f53401f272e9ee7fa431e81ba33779363238896180425a422420c8f761170f610a6c565b60405161171c919061424f565b60405180910390a150565b611739611732610845565b8383612546565b5050565b67011c37937e08000081565b611751610845565b73ffffffffffffffffffffffffffffffffffffffff1661176f61140f565b73ffffffffffffffffffffffffffffffffffffffff16146117c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bc9061412f565b60405180910390fd5b80600d60006101000a81548160ff0219169083151502179055507fe333f8a36ee86e754548af2d6f50c73ff0d501e22e6c784662123dbbe493c6028160405161180e9190613f12565b60405180910390a150565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600554905090565b600c80546118c29061461e565b80601f01602080910402602001604051908101604052809291908181526020018280546118ee9061461e565b801561193b5780601f106119105761010080835404028352916020019161193b565b820191906000526020600020905b81548152906001019060200180831161191e57829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119df610845565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611a255750611a2485611a1f610845565b611943565b5b611a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5b90613fef565b60405180910390fd5b611a7185858585856126b3565b5050505050565b611a80610845565b73ffffffffffffffffffffffffffffffffffffffff16611a9e61140f565b73ffffffffffffffffffffffffffffffffffffffff1614611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb9061412f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5b90613fcf565b60405180910390fd5b611b6d816122ea565b50565b600381565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060028054611bee9061461e565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1a9061461e565b8015611c675780601f10611c3c57610100808354040283529160200191611c67565b820191906000526020600020905b815481529060010190602001808311611c4a57829003601f168201915b50505050509050919050565b60606000821415611cbb576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611dcf565b600082905060005b60008214611ced578080611cd690614681565b915050600a82611ce6919061444f565b9150611cc3565b60008167ffffffffffffffff811115611d0957611d086147b7565b5b6040519080825280601f01601f191660200182016040528015611d3b5781602001600182028036833780820191505090505b5090505b60008514611dc857600182611d5491906144da565b9150600a85611d6391906146ca565b6030611d6f91906143f9565b60f81b818381518110611d8557611d84614788565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611dc1919061444f565b9450611d3f565b8093505050505b919050565b600081600454600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485611e259190614480565b611e2f919061444f565b611e3991906144da565b90509392505050565b80471015611e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7c9061404f565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611eab90613d75565b60006040518083038185875af1925050503d8060008114611ee8576040519150601f19603f3d011682016040523d82523d6000602084013e611eed565b606091505b5050905080611f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f289061402f565b60405180910390fd5b505050565b8151835114611f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f719061420f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe1906140cf565b60405180910390fd5b6000611ff4610845565b9050612004818787878787612935565b60005b84518110156121b557600085828151811061202557612024614788565b5b60200260200101519050600085838151811061204457612043614788565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc9061410f565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461219a91906143f9565b92505081905550505050806121ae90614681565b9050612007565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161222c929190613edb565b60405180910390a461224281878787878761293d565b505050505050565b6122cb8363a9059cbb60e01b8484604051602401612269929190613e90565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612b24565b505050565b80600290805190602001906122e6929190613002565b5050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612420576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124179061422f565b60405180910390fd5b600061242a610845565b905061244b8160008761243c88612beb565b61244588612beb565b87612935565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124aa91906143f9565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161252892919061426a565b60405180910390a461253f81600087878787612c65565b5050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac906141af565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126a69190613f12565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612723576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271a906140cf565b60405180910390fd5b600061272d610845565b905061274d81878761273e88612beb565b61274788612beb565b87612935565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156127e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127db9061410f565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461289991906143f9565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161291692919061426a565b60405180910390a461292c828888888888612c65565b50505050505050565b505050505050565b61295c8473ffffffffffffffffffffffffffffffffffffffff16612e4c565b15612b1c578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016129a2959493929190613dce565b602060405180830381600087803b1580156129bc57600080fd5b505af19250505080156129ed57506040513d601f19601f820116820180604052508101906129ea91906136fd565b60015b612a93576129f96147e6565b806308c379a01415612a565750612a0e614ec6565b80612a195750612a58565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4d9190613f2d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8a90613f4f565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1190613f6f565b60405180910390fd5b505b505050505050565b6000612b86826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612e6f9092919063ffffffff16565b9050600081511115612be65780806020019051810190612ba691906136a3565b612be5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdc906141cf565b60405180910390fd5b5b505050565b60606000600167ffffffffffffffff811115612c0a57612c096147b7565b5b604051908082528060200260200182016040528015612c385781602001602082028036833780820191505090505b5090508281600081518110612c5057612c4f614788565b5b60200260200101818152505080915050919050565b612c848473ffffffffffffffffffffffffffffffffffffffff16612e4c565b15612e44578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612cca959493929190613e36565b602060405180830381600087803b158015612ce457600080fd5b505af1925050508015612d1557506040513d601f19601f82011682018060405250810190612d1291906136fd565b60015b612dbb57612d216147e6565b806308c379a01415612d7e5750612d36614ec6565b80612d415750612d80565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d759190613f2d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db290613f4f565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3990613f6f565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060612e7e8484600085612e87565b90509392505050565b606082471015612ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec39061406f565b60405180910390fd5b612ed585612e4c565b612f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0b9061418f565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612f3d9190613d3a565b60006040518083038185875af1925050503d8060008114612f7a576040519150601f19603f3d011682016040523d82523d6000602084013e612f7f565b606091505b5091509150612f8f828286612f9b565b92505050949350505050565b60608315612fab57829050612ffb565b600083511115612fbe5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff29190613f2d565b60405180910390fd5b9392505050565b82805461300e9061461e565b90600052602060002090601f0160209004810192826130305760008555613077565b82601f1061304957805160ff1916838001178555613077565b82800160010185558215613077579182015b8281111561307657825182559160200191906001019061305b565b5b5090506130849190613088565b5090565b5b808211156130a1576000816000905550600101613089565b5090565b60006130b86130b3846142b8565b614293565b905080838252602082019050828560208602820111156130db576130da61480d565b5b60005b8581101561310b57816130f18882613209565b8452602084019350602083019250506001810190506130de565b5050509392505050565b6000613128613123846142e4565b614293565b9050808382526020820190508285602086028201111561314b5761314a61480d565b5b60005b8581101561317b57816131618882613354565b84526020840193506020830192505060018101905061314e565b5050509392505050565b600061319861319384614310565b614293565b9050828152602081018484840111156131b4576131b3614812565b5b6131bf8482856145dc565b509392505050565b60006131da6131d584614341565b614293565b9050828152602081018484840111156131f6576131f5614812565b5b6132018482856145dc565b509392505050565b60008135905061321881614f5c565b92915050565b60008135905061322d81614f73565b92915050565b600082601f83011261324857613247614808565b5b81356132588482602086016130a5565b91505092915050565b600082601f83011261327657613275614808565b5b8135613286848260208601613115565b91505092915050565b60008135905061329e81614f8a565b92915050565b6000815190506132b381614f8a565b92915050565b6000813590506132c881614fa1565b92915050565b6000815190506132dd81614fa1565b92915050565b600082601f8301126132f8576132f7614808565b5b8135613308848260208601613185565b91505092915050565b60008135905061332081614fb8565b92915050565b600082601f83011261333b5761333a614808565b5b813561334b8482602086016131c7565b91505092915050565b60008135905061336381614fcf565b92915050565b60008151905061337881614fcf565b92915050565b6000602082840312156133945761339361481c565b5b60006133a284828501613209565b91505092915050565b6000602082840312156133c1576133c061481c565b5b60006133cf8482850161321e565b91505092915050565b600080604083850312156133ef576133ee61481c565b5b60006133fd85828601613209565b925050602061340e85828601613209565b9150509250929050565b600080600080600060a086880312156134345761343361481c565b5b600061344288828901613209565b955050602061345388828901613209565b945050604086013567ffffffffffffffff81111561347457613473614817565b5b61348088828901613261565b935050606086013567ffffffffffffffff8111156134a1576134a0614817565b5b6134ad88828901613261565b925050608086013567ffffffffffffffff8111156134ce576134cd614817565b5b6134da888289016132e3565b9150509295509295909350565b600080600080600060a086880312156135035761350261481c565b5b600061351188828901613209565b955050602061352288828901613209565b945050604061353388828901613354565b935050606061354488828901613354565b925050608086013567ffffffffffffffff81111561356557613564614817565b5b613571888289016132e3565b9150509295509295909350565b600080604083850312156135955761359461481c565b5b60006135a385828601613209565b92505060206135b48582860161328f565b9150509250929050565b600080604083850312156135d5576135d461481c565b5b60006135e385828601613209565b92505060206135f485828601613354565b9150509250929050565b600080604083850312156136155761361461481c565b5b600083013567ffffffffffffffff81111561363357613632614817565b5b61363f85828601613233565b925050602083013567ffffffffffffffff8111156136605761365f614817565b5b61366c85828601613261565b9150509250929050565b60006020828403121561368c5761368b61481c565b5b600061369a8482850161328f565b91505092915050565b6000602082840312156136b9576136b861481c565b5b60006136c7848285016132a4565b91505092915050565b6000602082840312156136e6576136e561481c565b5b60006136f4848285016132b9565b91505092915050565b6000602082840312156137135761371261481c565b5b6000613721848285016132ce565b91505092915050565b6000602082840312156137405761373f61481c565b5b600061374e84828501613311565b91505092915050565b6000806040838503121561376e5761376d61481c565b5b600061377c85828601613311565b925050602061378d85828601613209565b9150509250929050565b6000602082840312156137ad576137ac61481c565b5b600082013567ffffffffffffffff8111156137cb576137ca614817565b5b6137d784828501613326565b91505092915050565b6000602082840312156137f6576137f561481c565b5b600061380484828501613354565b91505092915050565b6000602082840312156138235761382261481c565b5b600061383184828501613369565b91505092915050565b60006138468383613d1c565b60208301905092915050565b61385b816145a6565b82525050565b61386a8161450e565b82525050565b600061387b82614382565b61388581856143b0565b935061389083614372565b8060005b838110156138c15781516138a8888261383a565b97506138b3836143a3565b925050600181019050613894565b5085935050505092915050565b6138d781614532565b82525050565b60006138e88261438d565b6138f281856143c1565b93506139028185602086016145eb565b61390b81614821565b840191505092915050565b60006139218261438d565b61392b81856143d2565b935061393b8185602086016145eb565b80840191505092915050565b600061395282614398565b61395c81856143dd565b935061396c8185602086016145eb565b61397581614821565b840191505092915050565b600061398b82614398565b61399581856143ee565b93506139a58185602086016145eb565b80840191505092915050565b60006139be6034836143dd565b91506139c98261483f565b604082019050919050565b60006139e16028836143dd565b91506139ec8261488e565b604082019050919050565b6000613a046017836143dd565b9150613a0f826148dd565b602082019050919050565b6000613a27602b836143dd565b9150613a3282614906565b604082019050919050565b6000613a4a6026836143dd565b9150613a5582614955565b604082019050919050565b6000613a6d6029836143dd565b9150613a78826149a4565b604082019050919050565b6000613a906026836143dd565b9150613a9b826149f3565b604082019050919050565b6000613ab3603a836143dd565b9150613abe82614a42565b604082019050919050565b6000613ad6601d836143dd565b9150613ae182614a91565b602082019050919050565b6000613af96026836143dd565b9150613b0482614aba565b604082019050919050565b6000613b1c602b836143dd565b9150613b2782614b09565b604082019050919050565b6000613b3f6016836143dd565b9150613b4a82614b58565b602082019050919050565b6000613b626025836143dd565b9150613b6d82614b81565b604082019050919050565b6000613b856032836143dd565b9150613b9082614bd0565b604082019050919050565b6000613ba8602a836143dd565b9150613bb382614c1f565b604082019050919050565b6000613bcb6020836143dd565b9150613bd682614c6e565b602082019050919050565b6000613bee6017836143dd565b9150613bf982614c97565b602082019050919050565b6000613c11602b836143dd565b9150613c1c82614cc0565b604082019050919050565b6000613c346000836143d2565b9150613c3f82614d0f565b600082019050919050565b6000613c57601d836143dd565b9150613c6282614d12565b602082019050919050565b6000613c7a6029836143dd565b9150613c8582614d3b565b604082019050919050565b6000613c9d602a836143dd565b9150613ca882614d8a565b604082019050919050565b6000613cc06029836143dd565b9150613ccb82614dd9565b604082019050919050565b6000613ce36028836143dd565b9150613cee82614e28565b604082019050919050565b6000613d066021836143dd565b9150613d1182614e77565b604082019050919050565b613d258161459c565b82525050565b613d348161459c565b82525050565b6000613d468284613916565b915081905092915050565b6000613d5d8285613980565b9150613d698284613980565b91508190509392505050565b6000613d8082613c27565b9150819050919050565b6000602082019050613d9f6000830184613861565b92915050565b6000604082019050613dba6000830185613852565b613dc76020830184613d2b565b9392505050565b600060a082019050613de36000830188613861565b613df06020830187613861565b8181036040830152613e028186613870565b90508181036060830152613e168185613870565b90508181036080830152613e2a81846138dd565b90509695505050505050565b600060a082019050613e4b6000830188613861565b613e586020830187613861565b613e656040830186613d2b565b613e726060830185613d2b565b8181036080830152613e8481846138dd565b90509695505050505050565b6000604082019050613ea56000830185613861565b613eb26020830184613d2b565b9392505050565b60006020820190508181036000830152613ed38184613870565b905092915050565b60006040820190508181036000830152613ef58185613870565b90508181036020830152613f098184613870565b90509392505050565b6000602082019050613f2760008301846138ce565b92915050565b60006020820190508181036000830152613f478184613947565b905092915050565b60006020820190508181036000830152613f68816139b1565b9050919050565b60006020820190508181036000830152613f88816139d4565b9050919050565b60006020820190508181036000830152613fa8816139f7565b9050919050565b60006020820190508181036000830152613fc881613a1a565b9050919050565b60006020820190508181036000830152613fe881613a3d565b9050919050565b6000602082019050818103600083015261400881613a60565b9050919050565b6000602082019050818103600083015261402881613a83565b9050919050565b6000602082019050818103600083015261404881613aa6565b9050919050565b6000602082019050818103600083015261406881613ac9565b9050919050565b6000602082019050818103600083015261408881613aec565b9050919050565b600060208201905081810360008301526140a881613b0f565b9050919050565b600060208201905081810360008301526140c881613b32565b9050919050565b600060208201905081810360008301526140e881613b55565b9050919050565b6000602082019050818103600083015261410881613b78565b9050919050565b6000602082019050818103600083015261412881613b9b565b9050919050565b6000602082019050818103600083015261414881613bbe565b9050919050565b6000602082019050818103600083015261416881613be1565b9050919050565b6000602082019050818103600083015261418881613c04565b9050919050565b600060208201905081810360008301526141a881613c4a565b9050919050565b600060208201905081810360008301526141c881613c6d565b9050919050565b600060208201905081810360008301526141e881613c90565b9050919050565b6000602082019050818103600083015261420881613cb3565b9050919050565b6000602082019050818103600083015261422881613cd6565b9050919050565b6000602082019050818103600083015261424881613cf9565b9050919050565b60006020820190506142646000830184613d2b565b92915050565b600060408201905061427f6000830185613d2b565b61428c6020830184613d2b565b9392505050565b600061429d6142ae565b90506142a98282614650565b919050565b6000604051905090565b600067ffffffffffffffff8211156142d3576142d26147b7565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156142ff576142fe6147b7565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561432b5761432a6147b7565b5b61433482614821565b9050602081019050919050565b600067ffffffffffffffff82111561435c5761435b6147b7565b5b61436582614821565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006144048261459c565b915061440f8361459c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614444576144436146fb565b5b828201905092915050565b600061445a8261459c565b91506144658361459c565b9250826144755761447461472a565b5b828204905092915050565b600061448b8261459c565b91506144968361459c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144cf576144ce6146fb565b5b828202905092915050565b60006144e58261459c565b91506144f08361459c565b925082821015614503576145026146fb565b5b828203905092915050565b60006145198261457c565b9050919050565b600061452b8261457c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006145758261450e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006145b1826145b8565b9050919050565b60006145c3826145ca565b9050919050565b60006145d58261457c565b9050919050565b82818337600083830152505050565b60005b838110156146095780820151818401526020810190506145ee565b83811115614618576000848401525b50505050565b6000600282049050600182168061463657607f821691505b6020821081141561464a57614649614759565b5b50919050565b61465982614821565b810181811067ffffffffffffffff82111715614678576146776147b7565b5b80604052505050565b600061468c8261459c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146bf576146be6146fb565b5b600182019050919050565b60006146d58261459c565b91506146e08361459c565b9250826146f0576146ef61472a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156148055760046000803e614802600051614832565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f4554482073656e742069732062656c6f7720636f73742e000000000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f416d6f756e74206578636565647320737570706c792e00000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f53616c65206973206e6f7420796574206163746976652e000000000000000000600082015250565b7f416d6f756e74206f6620746f6b656e732065786365656473207472616e73616360008201527f74696f6e206c696d69742e000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015614ed657614f59565b614ede6142ae565b60043d036004823e80513d602482011167ffffffffffffffff82111715614f06575050614f59565b808201805167ffffffffffffffff811115614f245750505050614f59565b80602083010160043d038501811115614f41575050505050614f59565b614f5082602001850186614650565b82955050505050505b90565b614f658161450e565b8114614f7057600080fd5b50565b614f7c81614520565b8114614f8757600080fd5b50565b614f9381614532565b8114614f9e57600080fd5b50565b614faa8161453e565b8114614fb557600080fd5b50565b614fc18161456a565b8114614fcc57600080fd5b50565b614fd88161459c565b8114614fe357600080fd5b5056fea26469706673582212203f5a09f34d9f2ba4c0dd76b8ade01928a1f024e318b427810f9d605e5aa17e2264736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d534b5538316a4238386d3666464146796e6b4331747a7653756d365679314673585863566e35436a3437506f2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000006b99d2b10f3cc0ce6b871a9f5f94e1ecd6222f47000000000000000000000000da4adb0fc335a203792d645ceb138a9510eec7b80000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000005a

-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmSKU81jB88m6fFAFynkC1tzvSum6Vy1FsXXcVn5Cj47Po/
Arg [1] : shareholders (address[]): 0x6B99D2B10f3Cc0CE6b871A9F5f94e1ECD6222f47,0xDA4Adb0fC335a203792d645CEb138a9510eeC7B8
Arg [2] : shares (uint256[]): 10,90

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d534b5538316a4238386d3666464146796e6b4331747a76
Arg [5] : 53756d365679314673585863566e35436a3437506f2f00000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 0000000000000000000000006b99d2b10f3cc0ce6b871a9f5f94e1ecd6222f47
Arg [8] : 000000000000000000000000da4adb0fc335a203792d645ceb138a9510eec7b8
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [11] : 000000000000000000000000000000000000000000000000000000000000005a


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.