ETH Price: $3,269.99 (+3.32%)
Gas: 1 Gwei

Token

Samuki (SAMUKINFT)
 

Overview

Max Total Supply

7,139 SAMUKINFT

Holders

856

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
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:
SamukiNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : SamukiNFT_flat.sol
// File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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);
}

// File: @openzeppelin/contracts/utils/Strings.sol


// 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: @openzeppelin/contracts/utils/Context.sol


// 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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

/**
 * @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: @openzeppelin/contracts/utils/Address.sol


// 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: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

/**
 * @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: @openzeppelin/contracts/finance/PaymentSplitter.sol


// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

/**
 * @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: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// 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: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// File: @openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @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, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

// File: SamukiNFT.sol

//SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;




contract SamukiNFT is ERC721Enumerable, Ownable, PaymentSplitter {
    using Strings for uint256;

    string public baseURI;
    string public baseExtension = ".json";
    uint256 public cost = 0.03 ether;
    uint256 public presaleCost = 0.03 ether;
    uint256 public maxSupply = 20000;
    uint256 public maxMintAmount = 3;
    bool public paused = false;
    mapping(address => bool) public whitelisted;
    mapping(address => bool) public presaleWallets;

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _initBaseURI,
        address[] memory _payees, 
        uint256[] memory _shares
    ) ERC721(_name, _symbol) PaymentSplitter(_payees, _shares) payable {
        setBaseURI(_initBaseURI);
        mint(msg.sender, 1);
    }

    // internal
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    // public
    function mint(address _to, uint256 _mintAmount) public payable {
        uint256 supply = totalSupply();
        require(!paused);
        require(_mintAmount > 0);
        require(_mintAmount <= maxMintAmount);
        require(supply + _mintAmount <= maxSupply);

        if (msg.sender != owner()) {
            if (whitelisted[msg.sender] != true) {
                if (presaleWallets[msg.sender] != true) {
                    //general public
                    require(msg.value >= cost * _mintAmount);
                } else {
                    //presale
                    require(msg.value >= presaleCost * _mintAmount);
                }
            }
        }

        for (uint256 i = 1; i <= _mintAmount; i++) {
            _safeMint(_to, supply + i);
        }
    }

    function walletOfOwner(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        for (uint256 i; i < ownerTokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        tokenId.toString(),
                        baseExtension
                    )
                )
                : "";
    }

    //only owner
    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

    function setPresaleCost(uint256 _newCost) public onlyOwner {
        presaleCost = _newCost;
    }

    function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner {
        maxMintAmount = _newmaxMintAmount;
    }

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

    function setBaseExtension(string memory _newBaseExtension)
        public
        onlyOwner
    {
        baseExtension = _newBaseExtension;
    }

    function pause(bool _state) public onlyOwner {
        paused = _state;
    }

    function whitelistUser(address _user) public onlyOwner {
        whitelisted[_user] = true;
    }

    function removeWhitelistUser(address _user) public onlyOwner {
        whitelisted[_user] = false;
    }

    function addPresaleUser(address _user) public onlyOwner {
        presaleWallets[_user] = true;
    }

    function add100PresaleUsers(address[100] memory _users) public onlyOwner {
        for (uint256 i = 0; i < 2; i++) {
            presaleWallets[_users[i]] = true;
        }
    }

    function removePresaleUser(address _user) public onlyOwner {
        presaleWallets[_user] = false;
    }

    function withdraw() public payable onlyOwner {
        (bool success, ) = payable(owner()).call{value: address(this).balance}("");
        require(success);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"address[]","name":"_payees","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[100]","name":"_users","type":"address[100]"}],"name":"add100PresaleUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"addPresaleUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleWallets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"_user","type":"address"}],"name":"removePresaleUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"removeWhitelistUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPresaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","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":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"whitelistUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601390805190602001906200005192919062001221565b50666a94d74f430000601455666a94d74f430000601555614e2060165560036017556000601860006101000a81548160ff02191690831515021790555060405162007eed38038062007eed8339818101604052810190620000b3919062001522565b818186868160009080519060200190620000cf92919062001221565b508060019080519060200190620000e892919062001221565b5050506200010b620000ff6200023a60201b60201c565b6200024260201b60201c565b805182511462000152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000149906200197b565b60405180910390fd5b600082511162000199576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200019090620019bf565b60405180910390fd5b60005b82518110156200020857620001f2838281518110620001c057620001bf62001dcd565b5b6020026020010151838381518110620001de57620001dd62001dcd565b5b60200260200101516200030860201b60201c565b8080620001ff9062001cf2565b9150506200019c565b5050506200021c836200054260201b60201c565b6200022f336001620005ed60201b60201c565b5050505050620020fb565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200037b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200037290620018d1565b60405180910390fd5b60008111620003c1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003b890620019e1565b60405180910390fd5b6000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541462000446576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200043d906200199d565b60405180910390fd5b600f829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600b54620004fd919062001aed565b600b819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200053692919062001882565b60405180910390a15050565b620005526200023a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000578620007d960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620005d1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005c89062001959565b60405180910390fd5b8060129080519060200190620005e992919062001221565b5050565b6000620005ff6200080360201b60201c565b9050601860009054906101000a900460ff16156200061c57600080fd5b600082116200062a57600080fd5b6017548211156200063a57600080fd5b60165482826200064b919062001aed565b11156200065757600080fd5b62000667620007d960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146200078f5760011515601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146200078e5760011515601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146200076f57816014546200075c919062001b4a565b3410156200076957600080fd5b6200078d565b816015546200077f919062001b4a565b3410156200078c57600080fd5b5b5b5b6000600190505b828111620007d357620007bd848284620007b1919062001aed565b6200081060201b60201c565b8080620007ca9062001cf2565b91505062000796565b50505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600880549050905090565b620008328282604051806020016040528060008152506200083660201b60201c565b5050565b620008488383620008a460201b60201c565b6200085d600084848462000a9e60201b60201c565b6200089f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200089690620018af565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000917576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200090e9062001937565b60405180910390fd5b620009288162000c5860201b60201c565b156200096b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200096290620018f3565b60405180910390fd5b6200097f6000838362000cc460201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620009d1919062001aed565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a462000a9a6000838362000e0b60201b60201c565b5050565b600062000acc8473ffffffffffffffffffffffffffffffffffffffff1662000e1060201b6200290c1760201c565b1562000c4b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000afe6200023a60201b60201c565b8786866040518563ffffffff1660e01b815260040162000b2294939291906200182e565b602060405180830381600087803b15801562000b3d57600080fd5b505af192505050801562000b7157506040513d601f19601f8201168201806040525081019062000b6e9190620014f0565b60015b62000bfa573d806000811462000ba4576040519150601f19603f3d011682016040523d82523d6000602084013e62000ba9565b606091505b5060008151141562000bf2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000be990620018af565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062000c50565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b62000cdc83838362000e3360201b6200292f1760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141562000d295762000d238162000e3860201b60201c565b62000d71565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000d705762000d6f838262000e8160201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000dbe5762000db88162000ffe60201b60201c565b62000e06565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000e055762000e048282620010da60201b60201c565b5b5b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600162000e9b846200116660201b62001f311760201c565b62000ea7919062001bab565b905060006007600084815260200190815260200160002054905081811462000f8d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905062001014919062001bab565b905060006009600084815260200190815260200160002054905060006008838154811062001047576200104662001dcd565b5b9060005260206000200154905080600883815481106200106c576200106b62001dcd565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480620010be57620010bd62001d9e565b5b6001900381819060005260206000200160009055905550505050565b6000620010f2836200116660201b62001f311760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620011da576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620011d19062001915565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b8280546200122f9062001c86565b90600052602060002090601f0160209004810192826200125357600085556200129f565b82601f106200126e57805160ff19168380011785556200129f565b828001600101855582156200129f579182015b828111156200129e57825182559160200191906001019062001281565b5b509050620012ae9190620012b2565b5090565b5b80821115620012cd576000816000905550600101620012b3565b5090565b6000620012e8620012e28462001a2c565b62001a03565b905080838252602082019050828560208602820111156200130e576200130d62001e30565b5b60005b8581101562001342578162001327888262001412565b84526020840193506020830192505060018101905062001311565b5050509392505050565b6000620013636200135d8462001a5b565b62001a03565b9050808382526020820190508285602086028201111562001389576200138862001e30565b5b60005b85811015620013bd5781620013a28882620014d9565b8452602084019350602083019250506001810190506200138c565b5050509392505050565b6000620013de620013d88462001a8a565b62001a03565b905082815260208101848484011115620013fd57620013fc62001e35565b5b6200140a84828562001c50565b509392505050565b6000815190506200142381620020ad565b92915050565b600082601f83011262001441576200144062001e2b565b5b815162001453848260208601620012d1565b91505092915050565b600082601f83011262001474576200147362001e2b565b5b8151620014868482602086016200134c565b91505092915050565b600081519050620014a081620020c7565b92915050565b600082601f830112620014be57620014bd62001e2b565b5b8151620014d0848260208601620013c7565b91505092915050565b600081519050620014ea81620020e1565b92915050565b60006020828403121562001509576200150862001e3f565b5b600062001519848285016200148f565b91505092915050565b600080600080600060a0868803121562001541576200154062001e3f565b5b600086015167ffffffffffffffff81111562001562576200156162001e3a565b5b6200157088828901620014a6565b955050602086015167ffffffffffffffff81111562001594576200159362001e3a565b5b620015a288828901620014a6565b945050604086015167ffffffffffffffff811115620015c657620015c562001e3a565b5b620015d488828901620014a6565b935050606086015167ffffffffffffffff811115620015f857620015f762001e3a565b5b620016068882890162001429565b925050608086015167ffffffffffffffff8111156200162a576200162962001e3a565b5b62001638888289016200145c565b9150509295509295909350565b620016508162001be6565b82525050565b6000620016638262001ac0565b6200166f818562001acb565b93506200168181856020860162001c50565b6200168c8162001e44565b840191505092915050565b6000620016a660328362001adc565b9150620016b38262001e55565b604082019050919050565b6000620016cd602c8362001adc565b9150620016da8262001ea4565b604082019050919050565b6000620016f4601c8362001adc565b9150620017018262001ef3565b602082019050919050565b60006200171b602a8362001adc565b9150620017288262001f1c565b604082019050919050565b60006200174260208362001adc565b91506200174f8262001f6b565b602082019050919050565b60006200176960208362001adc565b9150620017768262001f94565b602082019050919050565b60006200179060328362001adc565b91506200179d8262001fbd565b604082019050919050565b6000620017b7602b8362001adc565b9150620017c4826200200c565b604082019050919050565b6000620017de601a8362001adc565b9150620017eb826200205b565b602082019050919050565b600062001805601d8362001adc565b9150620018128262002084565b602082019050919050565b620018288162001c46565b82525050565b600060808201905062001845600083018762001645565b62001854602083018662001645565b6200186360408301856200181d565b818103606083015262001877818462001656565b905095945050505050565b600060408201905062001899600083018562001645565b620018a860208301846200181d565b9392505050565b60006020820190508181036000830152620018ca8162001697565b9050919050565b60006020820190508181036000830152620018ec81620016be565b9050919050565b600060208201905081810360008301526200190e81620016e5565b9050919050565b6000602082019050818103600083015262001930816200170c565b9050919050565b60006020820190508181036000830152620019528162001733565b9050919050565b6000602082019050818103600083015262001974816200175a565b9050919050565b60006020820190508181036000830152620019968162001781565b9050919050565b60006020820190508181036000830152620019b881620017a8565b9050919050565b60006020820190508181036000830152620019da81620017cf565b9050919050565b60006020820190508181036000830152620019fc81620017f6565b9050919050565b600062001a0f62001a22565b905062001a1d828262001cbc565b919050565b6000604051905090565b600067ffffffffffffffff82111562001a4a5762001a4962001dfc565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562001a795762001a7862001dfc565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562001aa85762001aa762001dfc565b5b62001ab38262001e44565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062001afa8262001c46565b915062001b078362001c46565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562001b3f5762001b3e62001d40565b5b828201905092915050565b600062001b578262001c46565b915062001b648362001c46565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562001ba05762001b9f62001d40565b5b828202905092915050565b600062001bb88262001c46565b915062001bc58362001c46565b92508282101562001bdb5762001bda62001d40565b5b828203905092915050565b600062001bf38262001c26565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562001c7057808201518184015260208101905062001c53565b8381111562001c80576000848401525b50505050565b6000600282049050600182168062001c9f57607f821691505b6020821081141562001cb65762001cb562001d6f565b5b50919050565b62001cc78262001e44565b810181811067ffffffffffffffff8211171562001ce95762001ce862001dfc565b5b80604052505050565b600062001cff8262001c46565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562001d355762001d3462001d40565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b620020b88162001be6565b8114620020c457600080fd5b50565b620020d28162001bfa565b8114620020de57600080fd5b50565b620020ec8162001c46565b8114620020f857600080fd5b50565b615de2806200210b6000396000f3fe6080604052600436106102e85760003560e01c806355f804b311610190578063b2f3e85e116100dc578063d79779b211610095578063e33b7de31161006f578063e33b7de314610bc1578063e985e9c514610bec578063ed931e1714610c29578063f2fde38b14610c525761032f565b8063d79779b214610b1e578063d936547e14610b5b578063da3ef23f14610b985761032f565b8063b2f3e85e146109fc578063b88d4fde14610a25578063c668286214610a4e578063c87b56dd14610a79578063ce7c2ac214610ab6578063d5abeb0114610af35761032f565b80637f00c7a6116101495780638fdcf942116101235780638fdcf9421461094257806395d89b411461096b5780639852595c14610996578063a22cb465146109d35761032f565b80637f00c7a6146108b15780638b83209b146108da5780638da5cb5b146109175761032f565b806355f804b3146107a15780635c975abb146107ca5780636352211e146107f55780636c0360eb1461083257806370a082311461085d578063715018a61461089a5761032f565b806330b2264e1161024f57806342842e0e1161020857806348b75044116101e257806348b75044146106e95780634a4c560d146107125780634f6ccce71461073b578063546857c7146107785761032f565b806342842e0e1461065a578063438b63001461068357806344a0d68a146106c05761032f565b806330b2264e1461056657806330cc7ae0146105a35780633a98ef39146105cc5780633ccfd60b146105f7578063406072a91461060157806340c10f191461063e5761032f565b806318160ddd116102a157806318160ddd146104565780631916558714610481578063239c70ae146104aa57806323b872dd146104d55780632a23d07d146104fe5780632f745c59146105295761032f565b806301ffc9a71461033457806302329a291461037157806306fdde031461039a578063081812fc146103c5578063095ea7b31461040257806313faede61461042b5761032f565b3661032f577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610316610c7b565b34604051610325929190614cfa565b60405180910390a1005b600080fd5b34801561034057600080fd5b5061035b60048036038101906103569190614501565b610c83565b6040516103689190614d45565b60405180910390f35b34801561037d57600080fd5b50610398600480360381019061039391906144a7565b610cfd565b005b3480156103a657600080fd5b506103af610d96565b6040516103bc9190614d60565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e79190614611565b610e28565b6040516103f99190614c6a565b60405180910390f35b34801561040e57600080fd5b5061042960048036038101906104249190614439565b610ead565b005b34801561043757600080fd5b50610440610fc5565b60405161044d91906150a2565b60405180910390f35b34801561046257600080fd5b5061046b610fcb565b60405161047891906150a2565b60405180910390f35b34801561048d57600080fd5b506104a860048036038101906104a391906142b6565b610fd8565b005b3480156104b657600080fd5b506104bf611183565b6040516104cc91906150a2565b60405180910390f35b3480156104e157600080fd5b506104fc60048036038101906104f79190614323565b611189565b005b34801561050a57600080fd5b506105136111e9565b60405161052091906150a2565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b9190614439565b6111ef565b60405161055d91906150a2565b60405180910390f35b34801561057257600080fd5b5061058d60048036038101906105889190614289565b611294565b60405161059a9190614d45565b60405180910390f35b3480156105af57600080fd5b506105ca60048036038101906105c59190614289565b6112b4565b005b3480156105d857600080fd5b506105e161138b565b6040516105ee91906150a2565b60405180910390f35b6105ff611395565b005b34801561060d57600080fd5b5061062860048036038101906106239190614588565b611491565b60405161063591906150a2565b60405180910390f35b61065860048036038101906106539190614439565b611518565b005b34801561066657600080fd5b50610681600480360381019061067c9190614323565b6116d6565b005b34801561068f57600080fd5b506106aa60048036038101906106a59190614289565b6116f6565b6040516106b79190614d23565b60405180910390f35b3480156106cc57600080fd5b506106e760048036038101906106e29190614611565b6117a4565b005b3480156106f557600080fd5b50610710600480360381019061070b9190614588565b61182a565b005b34801561071e57600080fd5b5061073960048036038101906107349190614289565b611af2565b005b34801561074757600080fd5b50610762600480360381019061075d9190614611565b611bc9565b60405161076f91906150a2565b60405180910390f35b34801561078457600080fd5b5061079f600480360381019061079a9190614479565b611c3a565b005b3480156107ad57600080fd5b506107c860048036038101906107c391906145c8565b611d48565b005b3480156107d657600080fd5b506107df611dde565b6040516107ec9190614d45565b60405180910390f35b34801561080157600080fd5b5061081c60048036038101906108179190614611565b611df1565b6040516108299190614c6a565b60405180910390f35b34801561083e57600080fd5b50610847611ea3565b6040516108549190614d60565b60405180910390f35b34801561086957600080fd5b50610884600480360381019061087f9190614289565b611f31565b60405161089191906150a2565b60405180910390f35b3480156108a657600080fd5b506108af611fe9565b005b3480156108bd57600080fd5b506108d860048036038101906108d39190614611565b612071565b005b3480156108e657600080fd5b5061090160048036038101906108fc9190614611565b6120f7565b60405161090e9190614c6a565b60405180910390f35b34801561092357600080fd5b5061092c61213f565b6040516109399190614c6a565b60405180910390f35b34801561094e57600080fd5b5061096960048036038101906109649190614611565b612169565b005b34801561097757600080fd5b506109806121ef565b60405161098d9190614d60565b60405180910390f35b3480156109a257600080fd5b506109bd60048036038101906109b89190614289565b612281565b6040516109ca91906150a2565b60405180910390f35b3480156109df57600080fd5b506109fa60048036038101906109f591906143f9565b6122ca565b005b348015610a0857600080fd5b50610a236004803603810190610a1e9190614289565b6122e0565b005b348015610a3157600080fd5b50610a4c6004803603810190610a479190614376565b6123b7565b005b348015610a5a57600080fd5b50610a63612419565b604051610a709190614d60565b60405180910390f35b348015610a8557600080fd5b50610aa06004803603810190610a9b9190614611565b6124a7565b604051610aad9190614d60565b60405180910390f35b348015610ac257600080fd5b50610add6004803603810190610ad89190614289565b612551565b604051610aea91906150a2565b60405180910390f35b348015610aff57600080fd5b50610b0861259a565b604051610b1591906150a2565b60405180910390f35b348015610b2a57600080fd5b50610b456004803603810190610b40919061455b565b6125a0565b604051610b5291906150a2565b60405180910390f35b348015610b6757600080fd5b50610b826004803603810190610b7d9190614289565b6125e9565b604051610b8f9190614d45565b60405180910390f35b348015610ba457600080fd5b50610bbf6004803603810190610bba91906145c8565b612609565b005b348015610bcd57600080fd5b50610bd661269f565b604051610be391906150a2565b60405180910390f35b348015610bf857600080fd5b50610c136004803603810190610c0e91906142e3565b6126a9565b604051610c209190614d45565b60405180910390f35b348015610c3557600080fd5b50610c506004803603810190610c4b9190614289565b61273d565b005b348015610c5e57600080fd5b50610c796004803603810190610c749190614289565b612814565b005b600033905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610cf65750610cf582612934565b5b9050919050565b610d05610c7b565b73ffffffffffffffffffffffffffffffffffffffff16610d2361213f565b73ffffffffffffffffffffffffffffffffffffffff1614610d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7090614fc2565b60405180910390fd5b80601860006101000a81548160ff02191690831515021790555050565b606060008054610da59061542b565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd19061542b565b8015610e1e5780601f10610df357610100808354040283529160200191610e1e565b820191906000526020600020905b815481529060010190602001808311610e0157829003601f168201915b5050505050905090565b6000610e3382612a16565b610e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6990614fa2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610eb882611df1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2090615002565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f48610c7b565b73ffffffffffffffffffffffffffffffffffffffff161480610f775750610f7681610f71610c7b565b6126a9565b5b610fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fad90614f22565b60405180910390fd5b610fc08383612a82565b505050565b60145481565b6000600880549050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161105a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105190614e22565b60405180910390fd5b600061106461269f565b4761106f9190615206565b90506000611086838361108186612281565b612b3b565b905060008114156110cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c390614f02565b60405180910390fd5b80600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461111b9190615206565b9250508190555080600c60008282546111349190615206565b925050819055506111458382612ba9565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051611176929190614c85565b60405180910390a1505050565b60175481565b61119a611194610c7b565b82612c9d565b6111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090615022565b60405180910390fd5b6111e4838383612d7b565b505050565b60155481565b60006111fa83611f31565b821061123b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123290614d82565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601a6020528060005260406000206000915054906101000a900460ff1681565b6112bc610c7b565b73ffffffffffffffffffffffffffffffffffffffff166112da61213f565b73ffffffffffffffffffffffffffffffffffffffff1614611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790614fc2565b60405180910390fd5b6000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600b54905090565b61139d610c7b565b73ffffffffffffffffffffffffffffffffffffffff166113bb61213f565b73ffffffffffffffffffffffffffffffffffffffff1614611411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140890614fc2565b60405180910390fd5b600061141b61213f565b73ffffffffffffffffffffffffffffffffffffffff164760405161143e90614c55565b60006040518083038185875af1925050503d806000811461147b576040519150601f19603f3d011682016040523d82523d6000602084013e611480565b606091505b505090508061148e57600080fd5b50565b6000601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000611522610fcb565b9050601860009054906101000a900460ff161561153e57600080fd5b6000821161154b57600080fd5b60175482111561155a57600080fd5b60165482826115699190615206565b111561157457600080fd5b61157c61213f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461169a5760011515601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146116995760011515601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461167d578160145461166c919061528d565b34101561167857600080fd5b611698565b8160155461168b919061528d565b34101561169757600080fd5b5b5b5b6000600190505b8281116116d0576116bd8482846116b89190615206565b612fe2565b80806116c89061548e565b9150506116a1565b50505050565b6116f1838383604051806020016040528060008152506123b7565b505050565b6060600061170383611f31565b905060008167ffffffffffffffff811115611721576117206155f3565b5b60405190808252806020026020018201604052801561174f5781602001602082028036833780820191505090505b50905060005b828110156117995761176785826111ef565b82828151811061177a576117796155c4565b5b60200260200101818152505080806117919061548e565b915050611755565b508092505050919050565b6117ac610c7b565b73ffffffffffffffffffffffffffffffffffffffff166117ca61213f565b73ffffffffffffffffffffffffffffffffffffffff1614611820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181790614fc2565b60405180910390fd5b8060148190555050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116118ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a390614e22565b60405180910390fd5b60006118b7836125a0565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016118f09190614c6a565b60206040518083038186803b15801561190857600080fd5b505afa15801561191c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611940919061463e565b61194a9190615206565b90506000611962838361195d8787611491565b612b3b565b905060008114156119a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199f90614f02565b60405180910390fd5b80601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a349190615206565b9250508190555080601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a8a9190615206565b92505081905550611a9c848483613000565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051611ae4929190614cfa565b60405180910390a250505050565b611afa610c7b565b73ffffffffffffffffffffffffffffffffffffffff16611b1861213f565b73ffffffffffffffffffffffffffffffffffffffff1614611b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6590614fc2565b60405180910390fd5b6001601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000611bd3610fcb565b8210611c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0b90615062565b60405180910390fd5b60088281548110611c2857611c276155c4565b5b90600052602060002001549050919050565b611c42610c7b565b73ffffffffffffffffffffffffffffffffffffffff16611c6061213f565b73ffffffffffffffffffffffffffffffffffffffff1614611cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cad90614fc2565b60405180910390fd5b60005b6002811015611d44576001601a6000848460648110611cdb57611cda6155c4565b5b602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611d3c9061548e565b915050611cb9565b5050565b611d50610c7b565b73ffffffffffffffffffffffffffffffffffffffff16611d6e61213f565b73ffffffffffffffffffffffffffffffffffffffff1614611dc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbb90614fc2565b60405180910390fd5b8060129080519060200190611dda929190613fb7565b5050565b601860009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9190614f62565b60405180910390fd5b80915050919050565b60128054611eb09061542b565b80601f0160208091040260200160405190810160405280929190818152602001828054611edc9061542b565b8015611f295780601f10611efe57610100808354040283529160200191611f29565b820191906000526020600020905b815481529060010190602001808311611f0c57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9990614f42565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ff1610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661200f61213f565b73ffffffffffffffffffffffffffffffffffffffff1614612065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205c90614fc2565b60405180910390fd5b61206f6000613086565b565b612079610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661209761213f565b73ffffffffffffffffffffffffffffffffffffffff16146120ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e490614fc2565b60405180910390fd5b8060178190555050565b6000600f828154811061210d5761210c6155c4565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612171610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661218f61213f565b73ffffffffffffffffffffffffffffffffffffffff16146121e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dc90614fc2565b60405180910390fd5b8060158190555050565b6060600180546121fe9061542b565b80601f016020809104026020016040519081016040528092919081815260200182805461222a9061542b565b80156122775780601f1061224c57610100808354040283529160200191612277565b820191906000526020600020905b81548152906001019060200180831161225a57829003601f168201915b5050505050905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6122dc6122d5610c7b565b838361314c565b5050565b6122e8610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661230661213f565b73ffffffffffffffffffffffffffffffffffffffff161461235c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235390614fc2565b60405180910390fd5b6001601a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6123c86123c2610c7b565b83612c9d565b612407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fe90615022565b60405180910390fd5b612413848484846132b9565b50505050565b601380546124269061542b565b80601f01602080910402602001604051908101604052809291908181526020018280546124529061542b565b801561249f5780601f106124745761010080835404028352916020019161249f565b820191906000526020600020905b81548152906001019060200180831161248257829003601f168201915b505050505081565b60606124b282612a16565b6124f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e890614fe2565b60405180910390fd5b60006124fb613315565b9050600081511161251b5760405180602001604052806000815250612549565b80612525846133a7565b601360405160200161253993929190614c24565b6040516020818303038152906040525b915050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60165481565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60196020528060005260406000206000915054906101000a900460ff1681565b612611610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661262f61213f565b73ffffffffffffffffffffffffffffffffffffffff1614612685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267c90614fc2565b60405180910390fd5b806013908051906020019061269b929190613fb7565b5050565b6000600c54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612745610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661276361213f565b73ffffffffffffffffffffffffffffffffffffffff16146127b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b090614fc2565b60405180910390fd5b6000601a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61281c610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661283a61213f565b73ffffffffffffffffffffffffffffffffffffffff1614612890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288790614fc2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f790614dc2565b60405180910390fd5b61290981613086565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806129ff57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a0f5750612a0e82613508565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612af583611df1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600b54600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612b8c919061528d565b612b96919061525c565b612ba091906152e7565b90509392505050565b80471015612bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be390614ea2565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612c1290614c55565b60006040518083038185875af1925050503d8060008114612c4f576040519150601f19603f3d011682016040523d82523d6000602084013e612c54565b606091505b5050905080612c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8f90614e82565b60405180910390fd5b505050565b6000612ca882612a16565b612ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cde90614ee2565b60405180910390fd5b6000612cf283611df1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d345750612d3381856126a9565b5b80612d7257508373ffffffffffffffffffffffffffffffffffffffff16612d5a84610e28565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d9b82611df1565b73ffffffffffffffffffffffffffffffffffffffff1614612df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de890614de2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5890614e42565b60405180910390fd5b612e6c838383613572565b612e77600082612a82565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ec791906152e7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f1e9190615206565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fdd838383613686565b505050565b612ffc82826040518060200160405280600081525061368b565b5050565b6130818363a9059cbb60e01b848460405160240161301f929190614cfa565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506136e6565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b290614e62565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132ac9190614d45565b60405180910390a3505050565b6132c4848484612d7b565b6132d0848484846137ad565b61330f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330690614da2565b60405180910390fd5b50505050565b6060601280546133249061542b565b80601f01602080910402602001604051908101604052809291908181526020018280546133509061542b565b801561339d5780601f106133725761010080835404028352916020019161339d565b820191906000526020600020905b81548152906001019060200180831161338057829003601f168201915b5050505050905090565b606060008214156133ef576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613503565b600082905060005b6000821461342157808061340a9061548e565b915050600a8261341a919061525c565b91506133f7565b60008167ffffffffffffffff81111561343d5761343c6155f3565b5b6040519080825280601f01601f19166020018201604052801561346f5781602001600182028036833780820191505090505b5090505b600085146134fc5760018261348891906152e7565b9150600a8561349791906154d7565b60306134a39190615206565b60f81b8183815181106134b9576134b86155c4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134f5919061525c565b9450613473565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61357d83838361292f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135c0576135bb81613944565b6135ff565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135fe576135fd838261398d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136425761363d81613afa565b613681565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146136805761367f8282613bcb565b5b5b505050565b505050565b6136958383613c4a565b6136a260008484846137ad565b6136e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d890614da2565b60405180910390fd5b505050565b6000613748826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613e249092919063ffffffff16565b90506000815111156137a8578080602001905181019061376891906144d4565b6137a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379e90615082565b60405180910390fd5b5b505050565b60006137ce8473ffffffffffffffffffffffffffffffffffffffff1661290c565b15613937578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026137f7610c7b565b8786866040518563ffffffff1660e01b81526004016138199493929190614cae565b602060405180830381600087803b15801561383357600080fd5b505af192505050801561386457506040513d601f19601f82011682018060405250810190613861919061452e565b60015b6138e7573d8060008114613894576040519150601f19603f3d011682016040523d82523d6000602084013e613899565b606091505b506000815114156138df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d690614da2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061393c565b600190505b949350505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161399a84611f31565b6139a491906152e7565b9050600060076000848152602001908152602001600020549050818114613a89576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613b0e91906152e7565b9050600060096000848152602001908152602001600020549050600060088381548110613b3e57613b3d6155c4565b5b906000526020600020015490508060088381548110613b6057613b5f6155c4565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613baf57613bae615595565b5b6001900381819060005260206000200160009055905550505050565b6000613bd683611f31565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cb190614f82565b60405180910390fd5b613cc381612a16565b15613d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cfa90614e02565b60405180910390fd5b613d0f60008383613572565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613d5f9190615206565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613e2060008383613686565b5050565b6060613e338484600085613e3c565b90509392505050565b606082471015613e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e7890614ec2565b60405180910390fd5b613e8a8561290c565b613ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ec090615042565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613ef29190614c0d565b60006040518083038185875af1925050503d8060008114613f2f576040519150601f19603f3d011682016040523d82523d6000602084013e613f34565b606091505b5091509150613f44828286613f50565b92505050949350505050565b60608315613f6057829050613fb0565b600083511115613f735782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fa79190614d60565b60405180910390fd5b9392505050565b828054613fc39061542b565b90600052602060002090601f016020900481019282613fe5576000855561402c565b82601f10613ffe57805160ff191683800117855561402c565b8280016001018555821561402c579182015b8281111561402b578251825591602001919060010190614010565b5b509050614039919061403d565b5090565b5b8082111561405657600081600090555060010161403e565b5090565b600061406d614068846150e2565b6150bd565b9050808285602086028201111561408757614086615627565b5b60005b858110156140b7578161409d8882614145565b84526020840193506020830192505060018101905061408a565b5050509392505050565b60006140d46140cf84615108565b6150bd565b9050828152602081018484840111156140f0576140ef61562c565b5b6140fb8482856153e9565b509392505050565b600061411661411184615139565b6150bd565b9050828152602081018484840111156141325761413161562c565b5b61413d8482856153e9565b509392505050565b60008135905061415481615d22565b92915050565b60008135905061416981615d39565b92915050565b600082601f83011261418457614183615622565b5b606461419184828561405a565b91505092915050565b6000813590506141a981615d50565b92915050565b6000815190506141be81615d50565b92915050565b6000813590506141d381615d67565b92915050565b6000815190506141e881615d67565b92915050565b600082601f83011261420357614202615622565b5b81356142138482602086016140c1565b91505092915050565b60008135905061422b81615d7e565b92915050565b600082601f83011261424657614245615622565b5b8135614256848260208601614103565b91505092915050565b60008135905061426e81615d95565b92915050565b60008151905061428381615d95565b92915050565b60006020828403121561429f5761429e615636565b5b60006142ad84828501614145565b91505092915050565b6000602082840312156142cc576142cb615636565b5b60006142da8482850161415a565b91505092915050565b600080604083850312156142fa576142f9615636565b5b600061430885828601614145565b925050602061431985828601614145565b9150509250929050565b60008060006060848603121561433c5761433b615636565b5b600061434a86828701614145565b935050602061435b86828701614145565b925050604061436c8682870161425f565b9150509250925092565b600080600080608085870312156143905761438f615636565b5b600061439e87828801614145565b94505060206143af87828801614145565b93505060406143c08782880161425f565b925050606085013567ffffffffffffffff8111156143e1576143e0615631565b5b6143ed878288016141ee565b91505092959194509250565b600080604083850312156144105761440f615636565b5b600061441e85828601614145565b925050602061442f8582860161419a565b9150509250929050565b600080604083850312156144505761444f615636565b5b600061445e85828601614145565b925050602061446f8582860161425f565b9150509250929050565b6000610c8082840312156144905761448f615636565b5b600061449e8482850161416f565b91505092915050565b6000602082840312156144bd576144bc615636565b5b60006144cb8482850161419a565b91505092915050565b6000602082840312156144ea576144e9615636565b5b60006144f8848285016141af565b91505092915050565b60006020828403121561451757614516615636565b5b6000614525848285016141c4565b91505092915050565b60006020828403121561454457614543615636565b5b6000614552848285016141d9565b91505092915050565b60006020828403121561457157614570615636565b5b600061457f8482850161421c565b91505092915050565b6000806040838503121561459f5761459e615636565b5b60006145ad8582860161421c565b92505060206145be85828601614145565b9150509250929050565b6000602082840312156145de576145dd615636565b5b600082013567ffffffffffffffff8111156145fc576145fb615631565b5b61460884828501614231565b91505092915050565b60006020828403121561462757614626615636565b5b60006146358482850161425f565b91505092915050565b60006020828403121561465457614653615636565b5b600061466284828501614274565b91505092915050565b60006146778383614bef565b60208301905092915050565b61468c816153b3565b82525050565b61469b8161531b565b82525050565b60006146ac8261518f565b6146b681856151bd565b93506146c18361516a565b8060005b838110156146f25781516146d9888261466b565b97506146e4836151b0565b9250506001810190506146c5565b5085935050505092915050565b6147088161533f565b82525050565b60006147198261519a565b61472381856151ce565b93506147338185602086016153f8565b61473c8161563b565b840191505092915050565b60006147528261519a565b61475c81856151df565b935061476c8185602086016153f8565b80840191505092915050565b6000614783826151a5565b61478d81856151ea565b935061479d8185602086016153f8565b6147a68161563b565b840191505092915050565b60006147bc826151a5565b6147c681856151fb565b93506147d68185602086016153f8565b80840191505092915050565b600081546147ef8161542b565b6147f981866151fb565b94506001821660008114614814576001811461482557614858565b60ff19831686528186019350614858565b61482e8561517a565b60005b8381101561485057815481890152600182019150602081019050614831565b838801955050505b50505092915050565b600061486e602b836151ea565b91506148798261564c565b604082019050919050565b60006148916032836151ea565b915061489c8261569b565b604082019050919050565b60006148b46026836151ea565b91506148bf826156ea565b604082019050919050565b60006148d76025836151ea565b91506148e282615739565b604082019050919050565b60006148fa601c836151ea565b915061490582615788565b602082019050919050565b600061491d6026836151ea565b9150614928826157b1565b604082019050919050565b60006149406024836151ea565b915061494b82615800565b604082019050919050565b60006149636019836151ea565b915061496e8261584f565b602082019050919050565b6000614986603a836151ea565b915061499182615878565b604082019050919050565b60006149a9601d836151ea565b91506149b4826158c7565b602082019050919050565b60006149cc6026836151ea565b91506149d7826158f0565b604082019050919050565b60006149ef602c836151ea565b91506149fa8261593f565b604082019050919050565b6000614a12602b836151ea565b9150614a1d8261598e565b604082019050919050565b6000614a356038836151ea565b9150614a40826159dd565b604082019050919050565b6000614a58602a836151ea565b9150614a6382615a2c565b604082019050919050565b6000614a7b6029836151ea565b9150614a8682615a7b565b604082019050919050565b6000614a9e6020836151ea565b9150614aa982615aca565b602082019050919050565b6000614ac1602c836151ea565b9150614acc82615af3565b604082019050919050565b6000614ae46020836151ea565b9150614aef82615b42565b602082019050919050565b6000614b07602f836151ea565b9150614b1282615b6b565b604082019050919050565b6000614b2a6021836151ea565b9150614b3582615bba565b604082019050919050565b6000614b4d6000836151df565b9150614b5882615c09565b600082019050919050565b6000614b706031836151ea565b9150614b7b82615c0c565b604082019050919050565b6000614b93601d836151ea565b9150614b9e82615c5b565b602082019050919050565b6000614bb6602c836151ea565b9150614bc182615c84565b604082019050919050565b6000614bd9602a836151ea565b9150614be482615cd3565b604082019050919050565b614bf8816153a9565b82525050565b614c07816153a9565b82525050565b6000614c198284614747565b915081905092915050565b6000614c3082866147b1565b9150614c3c82856147b1565b9150614c4882846147e2565b9150819050949350505050565b6000614c6082614b40565b9150819050919050565b6000602082019050614c7f6000830184614692565b92915050565b6000604082019050614c9a6000830185614683565b614ca76020830184614bfe565b9392505050565b6000608082019050614cc36000830187614692565b614cd06020830186614692565b614cdd6040830185614bfe565b8181036060830152614cef818461470e565b905095945050505050565b6000604082019050614d0f6000830185614692565b614d1c6020830184614bfe565b9392505050565b60006020820190508181036000830152614d3d81846146a1565b905092915050565b6000602082019050614d5a60008301846146ff565b92915050565b60006020820190508181036000830152614d7a8184614778565b905092915050565b60006020820190508181036000830152614d9b81614861565b9050919050565b60006020820190508181036000830152614dbb81614884565b9050919050565b60006020820190508181036000830152614ddb816148a7565b9050919050565b60006020820190508181036000830152614dfb816148ca565b9050919050565b60006020820190508181036000830152614e1b816148ed565b9050919050565b60006020820190508181036000830152614e3b81614910565b9050919050565b60006020820190508181036000830152614e5b81614933565b9050919050565b60006020820190508181036000830152614e7b81614956565b9050919050565b60006020820190508181036000830152614e9b81614979565b9050919050565b60006020820190508181036000830152614ebb8161499c565b9050919050565b60006020820190508181036000830152614edb816149bf565b9050919050565b60006020820190508181036000830152614efb816149e2565b9050919050565b60006020820190508181036000830152614f1b81614a05565b9050919050565b60006020820190508181036000830152614f3b81614a28565b9050919050565b60006020820190508181036000830152614f5b81614a4b565b9050919050565b60006020820190508181036000830152614f7b81614a6e565b9050919050565b60006020820190508181036000830152614f9b81614a91565b9050919050565b60006020820190508181036000830152614fbb81614ab4565b9050919050565b60006020820190508181036000830152614fdb81614ad7565b9050919050565b60006020820190508181036000830152614ffb81614afa565b9050919050565b6000602082019050818103600083015261501b81614b1d565b9050919050565b6000602082019050818103600083015261503b81614b63565b9050919050565b6000602082019050818103600083015261505b81614b86565b9050919050565b6000602082019050818103600083015261507b81614ba9565b9050919050565b6000602082019050818103600083015261509b81614bcc565b9050919050565b60006020820190506150b76000830184614bfe565b92915050565b60006150c76150d8565b90506150d3828261545d565b919050565b6000604051905090565b600067ffffffffffffffff8211156150fd576150fc6155f3565b5b602082029050919050565b600067ffffffffffffffff821115615123576151226155f3565b5b61512c8261563b565b9050602081019050919050565b600067ffffffffffffffff821115615154576151536155f3565b5b61515d8261563b565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615211826153a9565b915061521c836153a9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561525157615250615508565b5b828201905092915050565b6000615267826153a9565b9150615272836153a9565b92508261528257615281615537565b5b828204905092915050565b6000615298826153a9565b91506152a3836153a9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152dc576152db615508565b5b828202905092915050565b60006152f2826153a9565b91506152fd836153a9565b9250828210156153105761530f615508565b5b828203905092915050565b600061532682615389565b9050919050565b600061533882615389565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006153828261531b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006153be826153c5565b9050919050565b60006153d0826153d7565b9050919050565b60006153e282615389565b9050919050565b82818337600083830152505050565b60005b838110156154165780820151818401526020810190506153fb565b83811115615425576000848401525b50505050565b6000600282049050600182168061544357607f821691505b6020821081141561545757615456615566565b5b50919050565b6154668261563b565b810181811067ffffffffffffffff82111715615485576154846155f3565b5b80604052505050565b6000615499826153a9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154cc576154cb615508565b5b600182019050919050565b60006154e2826153a9565b91506154ed836153a9565b9250826154fd576154fc615537565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b615d2b8161531b565b8114615d3657600080fd5b50565b615d428161532d565b8114615d4d57600080fd5b50565b615d598161533f565b8114615d6457600080fd5b50565b615d708161534b565b8114615d7b57600080fd5b50565b615d8781615377565b8114615d9257600080fd5b50565b615d9e816153a9565b8114615da957600080fd5b5056fea26469706673582212205d2a2b88cdcfa6948dfad7c5f7c61d3ebdf8b73362f67d96e03851cc1c41502c64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000000653616d756b690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000953414d554b494e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f73616d756b692e6465767a6575732e696f2f6a736f6e2f0000000000000000000000000000000000000000000000000000000000000000020000000000000000000000009103f89ddadf5e56854ec91ed29c5029d1483ba00000000000000000000000008f2808cb49b40418ee58e0fa74848bfc7f464c590000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000005a

Deployed Bytecode

0x6080604052600436106102e85760003560e01c806355f804b311610190578063b2f3e85e116100dc578063d79779b211610095578063e33b7de31161006f578063e33b7de314610bc1578063e985e9c514610bec578063ed931e1714610c29578063f2fde38b14610c525761032f565b8063d79779b214610b1e578063d936547e14610b5b578063da3ef23f14610b985761032f565b8063b2f3e85e146109fc578063b88d4fde14610a25578063c668286214610a4e578063c87b56dd14610a79578063ce7c2ac214610ab6578063d5abeb0114610af35761032f565b80637f00c7a6116101495780638fdcf942116101235780638fdcf9421461094257806395d89b411461096b5780639852595c14610996578063a22cb465146109d35761032f565b80637f00c7a6146108b15780638b83209b146108da5780638da5cb5b146109175761032f565b806355f804b3146107a15780635c975abb146107ca5780636352211e146107f55780636c0360eb1461083257806370a082311461085d578063715018a61461089a5761032f565b806330b2264e1161024f57806342842e0e1161020857806348b75044116101e257806348b75044146106e95780634a4c560d146107125780634f6ccce71461073b578063546857c7146107785761032f565b806342842e0e1461065a578063438b63001461068357806344a0d68a146106c05761032f565b806330b2264e1461056657806330cc7ae0146105a35780633a98ef39146105cc5780633ccfd60b146105f7578063406072a91461060157806340c10f191461063e5761032f565b806318160ddd116102a157806318160ddd146104565780631916558714610481578063239c70ae146104aa57806323b872dd146104d55780632a23d07d146104fe5780632f745c59146105295761032f565b806301ffc9a71461033457806302329a291461037157806306fdde031461039a578063081812fc146103c5578063095ea7b31461040257806313faede61461042b5761032f565b3661032f577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610316610c7b565b34604051610325929190614cfa565b60405180910390a1005b600080fd5b34801561034057600080fd5b5061035b60048036038101906103569190614501565b610c83565b6040516103689190614d45565b60405180910390f35b34801561037d57600080fd5b50610398600480360381019061039391906144a7565b610cfd565b005b3480156103a657600080fd5b506103af610d96565b6040516103bc9190614d60565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e79190614611565b610e28565b6040516103f99190614c6a565b60405180910390f35b34801561040e57600080fd5b5061042960048036038101906104249190614439565b610ead565b005b34801561043757600080fd5b50610440610fc5565b60405161044d91906150a2565b60405180910390f35b34801561046257600080fd5b5061046b610fcb565b60405161047891906150a2565b60405180910390f35b34801561048d57600080fd5b506104a860048036038101906104a391906142b6565b610fd8565b005b3480156104b657600080fd5b506104bf611183565b6040516104cc91906150a2565b60405180910390f35b3480156104e157600080fd5b506104fc60048036038101906104f79190614323565b611189565b005b34801561050a57600080fd5b506105136111e9565b60405161052091906150a2565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b9190614439565b6111ef565b60405161055d91906150a2565b60405180910390f35b34801561057257600080fd5b5061058d60048036038101906105889190614289565b611294565b60405161059a9190614d45565b60405180910390f35b3480156105af57600080fd5b506105ca60048036038101906105c59190614289565b6112b4565b005b3480156105d857600080fd5b506105e161138b565b6040516105ee91906150a2565b60405180910390f35b6105ff611395565b005b34801561060d57600080fd5b5061062860048036038101906106239190614588565b611491565b60405161063591906150a2565b60405180910390f35b61065860048036038101906106539190614439565b611518565b005b34801561066657600080fd5b50610681600480360381019061067c9190614323565b6116d6565b005b34801561068f57600080fd5b506106aa60048036038101906106a59190614289565b6116f6565b6040516106b79190614d23565b60405180910390f35b3480156106cc57600080fd5b506106e760048036038101906106e29190614611565b6117a4565b005b3480156106f557600080fd5b50610710600480360381019061070b9190614588565b61182a565b005b34801561071e57600080fd5b5061073960048036038101906107349190614289565b611af2565b005b34801561074757600080fd5b50610762600480360381019061075d9190614611565b611bc9565b60405161076f91906150a2565b60405180910390f35b34801561078457600080fd5b5061079f600480360381019061079a9190614479565b611c3a565b005b3480156107ad57600080fd5b506107c860048036038101906107c391906145c8565b611d48565b005b3480156107d657600080fd5b506107df611dde565b6040516107ec9190614d45565b60405180910390f35b34801561080157600080fd5b5061081c60048036038101906108179190614611565b611df1565b6040516108299190614c6a565b60405180910390f35b34801561083e57600080fd5b50610847611ea3565b6040516108549190614d60565b60405180910390f35b34801561086957600080fd5b50610884600480360381019061087f9190614289565b611f31565b60405161089191906150a2565b60405180910390f35b3480156108a657600080fd5b506108af611fe9565b005b3480156108bd57600080fd5b506108d860048036038101906108d39190614611565b612071565b005b3480156108e657600080fd5b5061090160048036038101906108fc9190614611565b6120f7565b60405161090e9190614c6a565b60405180910390f35b34801561092357600080fd5b5061092c61213f565b6040516109399190614c6a565b60405180910390f35b34801561094e57600080fd5b5061096960048036038101906109649190614611565b612169565b005b34801561097757600080fd5b506109806121ef565b60405161098d9190614d60565b60405180910390f35b3480156109a257600080fd5b506109bd60048036038101906109b89190614289565b612281565b6040516109ca91906150a2565b60405180910390f35b3480156109df57600080fd5b506109fa60048036038101906109f591906143f9565b6122ca565b005b348015610a0857600080fd5b50610a236004803603810190610a1e9190614289565b6122e0565b005b348015610a3157600080fd5b50610a4c6004803603810190610a479190614376565b6123b7565b005b348015610a5a57600080fd5b50610a63612419565b604051610a709190614d60565b60405180910390f35b348015610a8557600080fd5b50610aa06004803603810190610a9b9190614611565b6124a7565b604051610aad9190614d60565b60405180910390f35b348015610ac257600080fd5b50610add6004803603810190610ad89190614289565b612551565b604051610aea91906150a2565b60405180910390f35b348015610aff57600080fd5b50610b0861259a565b604051610b1591906150a2565b60405180910390f35b348015610b2a57600080fd5b50610b456004803603810190610b40919061455b565b6125a0565b604051610b5291906150a2565b60405180910390f35b348015610b6757600080fd5b50610b826004803603810190610b7d9190614289565b6125e9565b604051610b8f9190614d45565b60405180910390f35b348015610ba457600080fd5b50610bbf6004803603810190610bba91906145c8565b612609565b005b348015610bcd57600080fd5b50610bd661269f565b604051610be391906150a2565b60405180910390f35b348015610bf857600080fd5b50610c136004803603810190610c0e91906142e3565b6126a9565b604051610c209190614d45565b60405180910390f35b348015610c3557600080fd5b50610c506004803603810190610c4b9190614289565b61273d565b005b348015610c5e57600080fd5b50610c796004803603810190610c749190614289565b612814565b005b600033905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610cf65750610cf582612934565b5b9050919050565b610d05610c7b565b73ffffffffffffffffffffffffffffffffffffffff16610d2361213f565b73ffffffffffffffffffffffffffffffffffffffff1614610d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7090614fc2565b60405180910390fd5b80601860006101000a81548160ff02191690831515021790555050565b606060008054610da59061542b565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd19061542b565b8015610e1e5780601f10610df357610100808354040283529160200191610e1e565b820191906000526020600020905b815481529060010190602001808311610e0157829003601f168201915b5050505050905090565b6000610e3382612a16565b610e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6990614fa2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610eb882611df1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2090615002565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f48610c7b565b73ffffffffffffffffffffffffffffffffffffffff161480610f775750610f7681610f71610c7b565b6126a9565b5b610fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fad90614f22565b60405180910390fd5b610fc08383612a82565b505050565b60145481565b6000600880549050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161105a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105190614e22565b60405180910390fd5b600061106461269f565b4761106f9190615206565b90506000611086838361108186612281565b612b3b565b905060008114156110cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c390614f02565b60405180910390fd5b80600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461111b9190615206565b9250508190555080600c60008282546111349190615206565b925050819055506111458382612ba9565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051611176929190614c85565b60405180910390a1505050565b60175481565b61119a611194610c7b565b82612c9d565b6111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090615022565b60405180910390fd5b6111e4838383612d7b565b505050565b60155481565b60006111fa83611f31565b821061123b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123290614d82565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601a6020528060005260406000206000915054906101000a900460ff1681565b6112bc610c7b565b73ffffffffffffffffffffffffffffffffffffffff166112da61213f565b73ffffffffffffffffffffffffffffffffffffffff1614611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790614fc2565b60405180910390fd5b6000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600b54905090565b61139d610c7b565b73ffffffffffffffffffffffffffffffffffffffff166113bb61213f565b73ffffffffffffffffffffffffffffffffffffffff1614611411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140890614fc2565b60405180910390fd5b600061141b61213f565b73ffffffffffffffffffffffffffffffffffffffff164760405161143e90614c55565b60006040518083038185875af1925050503d806000811461147b576040519150601f19603f3d011682016040523d82523d6000602084013e611480565b606091505b505090508061148e57600080fd5b50565b6000601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000611522610fcb565b9050601860009054906101000a900460ff161561153e57600080fd5b6000821161154b57600080fd5b60175482111561155a57600080fd5b60165482826115699190615206565b111561157457600080fd5b61157c61213f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461169a5760011515601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146116995760011515601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461167d578160145461166c919061528d565b34101561167857600080fd5b611698565b8160155461168b919061528d565b34101561169757600080fd5b5b5b5b6000600190505b8281116116d0576116bd8482846116b89190615206565b612fe2565b80806116c89061548e565b9150506116a1565b50505050565b6116f1838383604051806020016040528060008152506123b7565b505050565b6060600061170383611f31565b905060008167ffffffffffffffff811115611721576117206155f3565b5b60405190808252806020026020018201604052801561174f5781602001602082028036833780820191505090505b50905060005b828110156117995761176785826111ef565b82828151811061177a576117796155c4565b5b60200260200101818152505080806117919061548e565b915050611755565b508092505050919050565b6117ac610c7b565b73ffffffffffffffffffffffffffffffffffffffff166117ca61213f565b73ffffffffffffffffffffffffffffffffffffffff1614611820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181790614fc2565b60405180910390fd5b8060148190555050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116118ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a390614e22565b60405180910390fd5b60006118b7836125a0565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016118f09190614c6a565b60206040518083038186803b15801561190857600080fd5b505afa15801561191c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611940919061463e565b61194a9190615206565b90506000611962838361195d8787611491565b612b3b565b905060008114156119a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199f90614f02565b60405180910390fd5b80601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a349190615206565b9250508190555080601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a8a9190615206565b92505081905550611a9c848483613000565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051611ae4929190614cfa565b60405180910390a250505050565b611afa610c7b565b73ffffffffffffffffffffffffffffffffffffffff16611b1861213f565b73ffffffffffffffffffffffffffffffffffffffff1614611b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6590614fc2565b60405180910390fd5b6001601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000611bd3610fcb565b8210611c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0b90615062565b60405180910390fd5b60088281548110611c2857611c276155c4565b5b90600052602060002001549050919050565b611c42610c7b565b73ffffffffffffffffffffffffffffffffffffffff16611c6061213f565b73ffffffffffffffffffffffffffffffffffffffff1614611cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cad90614fc2565b60405180910390fd5b60005b6002811015611d44576001601a6000848460648110611cdb57611cda6155c4565b5b602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611d3c9061548e565b915050611cb9565b5050565b611d50610c7b565b73ffffffffffffffffffffffffffffffffffffffff16611d6e61213f565b73ffffffffffffffffffffffffffffffffffffffff1614611dc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbb90614fc2565b60405180910390fd5b8060129080519060200190611dda929190613fb7565b5050565b601860009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9190614f62565b60405180910390fd5b80915050919050565b60128054611eb09061542b565b80601f0160208091040260200160405190810160405280929190818152602001828054611edc9061542b565b8015611f295780601f10611efe57610100808354040283529160200191611f29565b820191906000526020600020905b815481529060010190602001808311611f0c57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9990614f42565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ff1610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661200f61213f565b73ffffffffffffffffffffffffffffffffffffffff1614612065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205c90614fc2565b60405180910390fd5b61206f6000613086565b565b612079610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661209761213f565b73ffffffffffffffffffffffffffffffffffffffff16146120ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e490614fc2565b60405180910390fd5b8060178190555050565b6000600f828154811061210d5761210c6155c4565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612171610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661218f61213f565b73ffffffffffffffffffffffffffffffffffffffff16146121e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dc90614fc2565b60405180910390fd5b8060158190555050565b6060600180546121fe9061542b565b80601f016020809104026020016040519081016040528092919081815260200182805461222a9061542b565b80156122775780601f1061224c57610100808354040283529160200191612277565b820191906000526020600020905b81548152906001019060200180831161225a57829003601f168201915b5050505050905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6122dc6122d5610c7b565b838361314c565b5050565b6122e8610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661230661213f565b73ffffffffffffffffffffffffffffffffffffffff161461235c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235390614fc2565b60405180910390fd5b6001601a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6123c86123c2610c7b565b83612c9d565b612407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fe90615022565b60405180910390fd5b612413848484846132b9565b50505050565b601380546124269061542b565b80601f01602080910402602001604051908101604052809291908181526020018280546124529061542b565b801561249f5780601f106124745761010080835404028352916020019161249f565b820191906000526020600020905b81548152906001019060200180831161248257829003601f168201915b505050505081565b60606124b282612a16565b6124f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e890614fe2565b60405180910390fd5b60006124fb613315565b9050600081511161251b5760405180602001604052806000815250612549565b80612525846133a7565b601360405160200161253993929190614c24565b6040516020818303038152906040525b915050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60165481565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60196020528060005260406000206000915054906101000a900460ff1681565b612611610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661262f61213f565b73ffffffffffffffffffffffffffffffffffffffff1614612685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267c90614fc2565b60405180910390fd5b806013908051906020019061269b929190613fb7565b5050565b6000600c54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612745610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661276361213f565b73ffffffffffffffffffffffffffffffffffffffff16146127b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b090614fc2565b60405180910390fd5b6000601a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61281c610c7b565b73ffffffffffffffffffffffffffffffffffffffff1661283a61213f565b73ffffffffffffffffffffffffffffffffffffffff1614612890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288790614fc2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f790614dc2565b60405180910390fd5b61290981613086565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806129ff57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a0f5750612a0e82613508565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612af583611df1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600b54600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612b8c919061528d565b612b96919061525c565b612ba091906152e7565b90509392505050565b80471015612bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be390614ea2565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612c1290614c55565b60006040518083038185875af1925050503d8060008114612c4f576040519150601f19603f3d011682016040523d82523d6000602084013e612c54565b606091505b5050905080612c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8f90614e82565b60405180910390fd5b505050565b6000612ca882612a16565b612ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cde90614ee2565b60405180910390fd5b6000612cf283611df1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612d345750612d3381856126a9565b5b80612d7257508373ffffffffffffffffffffffffffffffffffffffff16612d5a84610e28565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612d9b82611df1565b73ffffffffffffffffffffffffffffffffffffffff1614612df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de890614de2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5890614e42565b60405180910390fd5b612e6c838383613572565b612e77600082612a82565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ec791906152e7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f1e9190615206565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612fdd838383613686565b505050565b612ffc82826040518060200160405280600081525061368b565b5050565b6130818363a9059cbb60e01b848460405160240161301f929190614cfa565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506136e6565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b290614e62565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132ac9190614d45565b60405180910390a3505050565b6132c4848484612d7b565b6132d0848484846137ad565b61330f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330690614da2565b60405180910390fd5b50505050565b6060601280546133249061542b565b80601f01602080910402602001604051908101604052809291908181526020018280546133509061542b565b801561339d5780601f106133725761010080835404028352916020019161339d565b820191906000526020600020905b81548152906001019060200180831161338057829003601f168201915b5050505050905090565b606060008214156133ef576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613503565b600082905060005b6000821461342157808061340a9061548e565b915050600a8261341a919061525c565b91506133f7565b60008167ffffffffffffffff81111561343d5761343c6155f3565b5b6040519080825280601f01601f19166020018201604052801561346f5781602001600182028036833780820191505090505b5090505b600085146134fc5760018261348891906152e7565b9150600a8561349791906154d7565b60306134a39190615206565b60f81b8183815181106134b9576134b86155c4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134f5919061525c565b9450613473565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61357d83838361292f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135c0576135bb81613944565b6135ff565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135fe576135fd838261398d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136425761363d81613afa565b613681565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146136805761367f8282613bcb565b5b5b505050565b505050565b6136958383613c4a565b6136a260008484846137ad565b6136e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d890614da2565b60405180910390fd5b505050565b6000613748826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613e249092919063ffffffff16565b90506000815111156137a8578080602001905181019061376891906144d4565b6137a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379e90615082565b60405180910390fd5b5b505050565b60006137ce8473ffffffffffffffffffffffffffffffffffffffff1661290c565b15613937578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026137f7610c7b565b8786866040518563ffffffff1660e01b81526004016138199493929190614cae565b602060405180830381600087803b15801561383357600080fd5b505af192505050801561386457506040513d601f19601f82011682018060405250810190613861919061452e565b60015b6138e7573d8060008114613894576040519150601f19603f3d011682016040523d82523d6000602084013e613899565b606091505b506000815114156138df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d690614da2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061393c565b600190505b949350505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161399a84611f31565b6139a491906152e7565b9050600060076000848152602001908152602001600020549050818114613a89576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613b0e91906152e7565b9050600060096000848152602001908152602001600020549050600060088381548110613b3e57613b3d6155c4565b5b906000526020600020015490508060088381548110613b6057613b5f6155c4565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613baf57613bae615595565b5b6001900381819060005260206000200160009055905550505050565b6000613bd683611f31565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cb190614f82565b60405180910390fd5b613cc381612a16565b15613d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cfa90614e02565b60405180910390fd5b613d0f60008383613572565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613d5f9190615206565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613e2060008383613686565b5050565b6060613e338484600085613e3c565b90509392505050565b606082471015613e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e7890614ec2565b60405180910390fd5b613e8a8561290c565b613ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ec090615042565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613ef29190614c0d565b60006040518083038185875af1925050503d8060008114613f2f576040519150601f19603f3d011682016040523d82523d6000602084013e613f34565b606091505b5091509150613f44828286613f50565b92505050949350505050565b60608315613f6057829050613fb0565b600083511115613f735782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fa79190614d60565b60405180910390fd5b9392505050565b828054613fc39061542b565b90600052602060002090601f016020900481019282613fe5576000855561402c565b82601f10613ffe57805160ff191683800117855561402c565b8280016001018555821561402c579182015b8281111561402b578251825591602001919060010190614010565b5b509050614039919061403d565b5090565b5b8082111561405657600081600090555060010161403e565b5090565b600061406d614068846150e2565b6150bd565b9050808285602086028201111561408757614086615627565b5b60005b858110156140b7578161409d8882614145565b84526020840193506020830192505060018101905061408a565b5050509392505050565b60006140d46140cf84615108565b6150bd565b9050828152602081018484840111156140f0576140ef61562c565b5b6140fb8482856153e9565b509392505050565b600061411661411184615139565b6150bd565b9050828152602081018484840111156141325761413161562c565b5b61413d8482856153e9565b509392505050565b60008135905061415481615d22565b92915050565b60008135905061416981615d39565b92915050565b600082601f83011261418457614183615622565b5b606461419184828561405a565b91505092915050565b6000813590506141a981615d50565b92915050565b6000815190506141be81615d50565b92915050565b6000813590506141d381615d67565b92915050565b6000815190506141e881615d67565b92915050565b600082601f83011261420357614202615622565b5b81356142138482602086016140c1565b91505092915050565b60008135905061422b81615d7e565b92915050565b600082601f83011261424657614245615622565b5b8135614256848260208601614103565b91505092915050565b60008135905061426e81615d95565b92915050565b60008151905061428381615d95565b92915050565b60006020828403121561429f5761429e615636565b5b60006142ad84828501614145565b91505092915050565b6000602082840312156142cc576142cb615636565b5b60006142da8482850161415a565b91505092915050565b600080604083850312156142fa576142f9615636565b5b600061430885828601614145565b925050602061431985828601614145565b9150509250929050565b60008060006060848603121561433c5761433b615636565b5b600061434a86828701614145565b935050602061435b86828701614145565b925050604061436c8682870161425f565b9150509250925092565b600080600080608085870312156143905761438f615636565b5b600061439e87828801614145565b94505060206143af87828801614145565b93505060406143c08782880161425f565b925050606085013567ffffffffffffffff8111156143e1576143e0615631565b5b6143ed878288016141ee565b91505092959194509250565b600080604083850312156144105761440f615636565b5b600061441e85828601614145565b925050602061442f8582860161419a565b9150509250929050565b600080604083850312156144505761444f615636565b5b600061445e85828601614145565b925050602061446f8582860161425f565b9150509250929050565b6000610c8082840312156144905761448f615636565b5b600061449e8482850161416f565b91505092915050565b6000602082840312156144bd576144bc615636565b5b60006144cb8482850161419a565b91505092915050565b6000602082840312156144ea576144e9615636565b5b60006144f8848285016141af565b91505092915050565b60006020828403121561451757614516615636565b5b6000614525848285016141c4565b91505092915050565b60006020828403121561454457614543615636565b5b6000614552848285016141d9565b91505092915050565b60006020828403121561457157614570615636565b5b600061457f8482850161421c565b91505092915050565b6000806040838503121561459f5761459e615636565b5b60006145ad8582860161421c565b92505060206145be85828601614145565b9150509250929050565b6000602082840312156145de576145dd615636565b5b600082013567ffffffffffffffff8111156145fc576145fb615631565b5b61460884828501614231565b91505092915050565b60006020828403121561462757614626615636565b5b60006146358482850161425f565b91505092915050565b60006020828403121561465457614653615636565b5b600061466284828501614274565b91505092915050565b60006146778383614bef565b60208301905092915050565b61468c816153b3565b82525050565b61469b8161531b565b82525050565b60006146ac8261518f565b6146b681856151bd565b93506146c18361516a565b8060005b838110156146f25781516146d9888261466b565b97506146e4836151b0565b9250506001810190506146c5565b5085935050505092915050565b6147088161533f565b82525050565b60006147198261519a565b61472381856151ce565b93506147338185602086016153f8565b61473c8161563b565b840191505092915050565b60006147528261519a565b61475c81856151df565b935061476c8185602086016153f8565b80840191505092915050565b6000614783826151a5565b61478d81856151ea565b935061479d8185602086016153f8565b6147a68161563b565b840191505092915050565b60006147bc826151a5565b6147c681856151fb565b93506147d68185602086016153f8565b80840191505092915050565b600081546147ef8161542b565b6147f981866151fb565b94506001821660008114614814576001811461482557614858565b60ff19831686528186019350614858565b61482e8561517a565b60005b8381101561485057815481890152600182019150602081019050614831565b838801955050505b50505092915050565b600061486e602b836151ea565b91506148798261564c565b604082019050919050565b60006148916032836151ea565b915061489c8261569b565b604082019050919050565b60006148b46026836151ea565b91506148bf826156ea565b604082019050919050565b60006148d76025836151ea565b91506148e282615739565b604082019050919050565b60006148fa601c836151ea565b915061490582615788565b602082019050919050565b600061491d6026836151ea565b9150614928826157b1565b604082019050919050565b60006149406024836151ea565b915061494b82615800565b604082019050919050565b60006149636019836151ea565b915061496e8261584f565b602082019050919050565b6000614986603a836151ea565b915061499182615878565b604082019050919050565b60006149a9601d836151ea565b91506149b4826158c7565b602082019050919050565b60006149cc6026836151ea565b91506149d7826158f0565b604082019050919050565b60006149ef602c836151ea565b91506149fa8261593f565b604082019050919050565b6000614a12602b836151ea565b9150614a1d8261598e565b604082019050919050565b6000614a356038836151ea565b9150614a40826159dd565b604082019050919050565b6000614a58602a836151ea565b9150614a6382615a2c565b604082019050919050565b6000614a7b6029836151ea565b9150614a8682615a7b565b604082019050919050565b6000614a9e6020836151ea565b9150614aa982615aca565b602082019050919050565b6000614ac1602c836151ea565b9150614acc82615af3565b604082019050919050565b6000614ae46020836151ea565b9150614aef82615b42565b602082019050919050565b6000614b07602f836151ea565b9150614b1282615b6b565b604082019050919050565b6000614b2a6021836151ea565b9150614b3582615bba565b604082019050919050565b6000614b4d6000836151df565b9150614b5882615c09565b600082019050919050565b6000614b706031836151ea565b9150614b7b82615c0c565b604082019050919050565b6000614b93601d836151ea565b9150614b9e82615c5b565b602082019050919050565b6000614bb6602c836151ea565b9150614bc182615c84565b604082019050919050565b6000614bd9602a836151ea565b9150614be482615cd3565b604082019050919050565b614bf8816153a9565b82525050565b614c07816153a9565b82525050565b6000614c198284614747565b915081905092915050565b6000614c3082866147b1565b9150614c3c82856147b1565b9150614c4882846147e2565b9150819050949350505050565b6000614c6082614b40565b9150819050919050565b6000602082019050614c7f6000830184614692565b92915050565b6000604082019050614c9a6000830185614683565b614ca76020830184614bfe565b9392505050565b6000608082019050614cc36000830187614692565b614cd06020830186614692565b614cdd6040830185614bfe565b8181036060830152614cef818461470e565b905095945050505050565b6000604082019050614d0f6000830185614692565b614d1c6020830184614bfe565b9392505050565b60006020820190508181036000830152614d3d81846146a1565b905092915050565b6000602082019050614d5a60008301846146ff565b92915050565b60006020820190508181036000830152614d7a8184614778565b905092915050565b60006020820190508181036000830152614d9b81614861565b9050919050565b60006020820190508181036000830152614dbb81614884565b9050919050565b60006020820190508181036000830152614ddb816148a7565b9050919050565b60006020820190508181036000830152614dfb816148ca565b9050919050565b60006020820190508181036000830152614e1b816148ed565b9050919050565b60006020820190508181036000830152614e3b81614910565b9050919050565b60006020820190508181036000830152614e5b81614933565b9050919050565b60006020820190508181036000830152614e7b81614956565b9050919050565b60006020820190508181036000830152614e9b81614979565b9050919050565b60006020820190508181036000830152614ebb8161499c565b9050919050565b60006020820190508181036000830152614edb816149bf565b9050919050565b60006020820190508181036000830152614efb816149e2565b9050919050565b60006020820190508181036000830152614f1b81614a05565b9050919050565b60006020820190508181036000830152614f3b81614a28565b9050919050565b60006020820190508181036000830152614f5b81614a4b565b9050919050565b60006020820190508181036000830152614f7b81614a6e565b9050919050565b60006020820190508181036000830152614f9b81614a91565b9050919050565b60006020820190508181036000830152614fbb81614ab4565b9050919050565b60006020820190508181036000830152614fdb81614ad7565b9050919050565b60006020820190508181036000830152614ffb81614afa565b9050919050565b6000602082019050818103600083015261501b81614b1d565b9050919050565b6000602082019050818103600083015261503b81614b63565b9050919050565b6000602082019050818103600083015261505b81614b86565b9050919050565b6000602082019050818103600083015261507b81614ba9565b9050919050565b6000602082019050818103600083015261509b81614bcc565b9050919050565b60006020820190506150b76000830184614bfe565b92915050565b60006150c76150d8565b90506150d3828261545d565b919050565b6000604051905090565b600067ffffffffffffffff8211156150fd576150fc6155f3565b5b602082029050919050565b600067ffffffffffffffff821115615123576151226155f3565b5b61512c8261563b565b9050602081019050919050565b600067ffffffffffffffff821115615154576151536155f3565b5b61515d8261563b565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615211826153a9565b915061521c836153a9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561525157615250615508565b5b828201905092915050565b6000615267826153a9565b9150615272836153a9565b92508261528257615281615537565b5b828204905092915050565b6000615298826153a9565b91506152a3836153a9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152dc576152db615508565b5b828202905092915050565b60006152f2826153a9565b91506152fd836153a9565b9250828210156153105761530f615508565b5b828203905092915050565b600061532682615389565b9050919050565b600061533882615389565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006153828261531b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006153be826153c5565b9050919050565b60006153d0826153d7565b9050919050565b60006153e282615389565b9050919050565b82818337600083830152505050565b60005b838110156154165780820151818401526020810190506153fb565b83811115615425576000848401525b50505050565b6000600282049050600182168061544357607f821691505b6020821081141561545757615456615566565b5b50919050565b6154668261563b565b810181811067ffffffffffffffff82111715615485576154846155f3565b5b80604052505050565b6000615499826153a9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154cc576154cb615508565b5b600182019050919050565b60006154e2826153a9565b91506154ed836153a9565b9250826154fd576154fc615537565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b615d2b8161531b565b8114615d3657600080fd5b50565b615d428161532d565b8114615d4d57600080fd5b50565b615d598161533f565b8114615d6457600080fd5b50565b615d708161534b565b8114615d7b57600080fd5b50565b615d8781615377565b8114615d9257600080fd5b50565b615d9e816153a9565b8114615da957600080fd5b5056fea26469706673582212205d2a2b88cdcfa6948dfad7c5f7c61d3ebdf8b73362f67d96e03851cc1c41502c64736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000000653616d756b690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000953414d554b494e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f73616d756b692e6465767a6575732e696f2f6a736f6e2f0000000000000000000000000000000000000000000000000000000000000000020000000000000000000000009103f89ddadf5e56854ec91ed29c5029d1483ba00000000000000000000000008f2808cb49b40418ee58e0fa74848bfc7f464c590000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000005a

-----Decoded View---------------
Arg [0] : _name (string): Samuki
Arg [1] : _symbol (string): SAMUKINFT
Arg [2] : _initBaseURI (string): https://samuki.devzeus.io/json/
Arg [3] : _payees (address[]): 0x9103f89DDadF5E56854EC91eD29c5029d1483ba0,0x8f2808Cb49B40418EE58e0fA74848bFC7F464c59
Arg [4] : _shares (uint256[]): 10,90

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 53616d756b690000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [8] : 53414d554b494e46540000000000000000000000000000000000000000000000
Arg [9] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [10] : 68747470733a2f2f73616d756b692e6465767a6575732e696f2f6a736f6e2f00
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [12] : 0000000000000000000000009103f89ddadf5e56854ec91ed29c5029d1483ba0
Arg [13] : 0000000000000000000000008f2808cb49b40418ee58e0fa74848bfc7f464c59
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [15] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [16] : 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.