ETH Price: $3,386.17 (-1.76%)
Gas: 1 Gwei

Token

Meta Pirates (MP)
 

Overview

Max Total Supply

1,651 MP

Holders

838

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 MP
0x59ac7b748d68497477ff9b7c229c8b6d886121b2
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:
MetaPirates

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-02-01
*/

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


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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


// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: @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 v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts v4.4.1 (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 tokenId);

    /**
     * @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 v4.4.1 (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 overriden 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 || getApproved(tokenId) == spender || isApprovedForAll(owner, 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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

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

// 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: contracts/MetaPirates.sol



pragma solidity ^0.8.4;







contract MetaPirates is
    ERC721Enumerable,
    Ownable,
    PaymentSplitter
{
    using Strings for uint256;
    using Counters for Counters.Counter;

    uint256 public maxSupply = 8888;
    uint256 public giftSupply = 50;
    uint256 public totalNFT;
    uint256 public mintedNFT;

    string public baseURI;
    string public notRevealedUri;
    string public baseExtension = ".json";

    bool public isBurnEnabled = false;
    bool public revealed = false;

    bool public paused = false;
    bool public raffleState = false;
    bool public publicState = false;
    bool public whitelistState = false;

    mapping(address => uint256) public _nftMinted;
    mapping(address => uint256) public _whitelistMinted;

    uint256 _publicPrice = 280000000000000000; //0.28 ETH
    uint256 _whitelistPrice = 240000000000000000; //0.24 ETH

    bytes32 public whitelistRoot;

    Counters.Counter private _tokenIds;

    uint256[] private _teamShares = [32, 48, 15, 5];
    address[] private _team = [
        0xb759c2fb021Bb84f016Ac63C8FaBa64f72b517d3,
        0x5390faa48a65156Ee4A63fAD6CeA79EF981A0e51,
        0x2611C27f0aE103497539be2e3F82EF1c7909a056,
        0xE7a96C2C80AF52676ab650a6967B4bd30Bb309E6
    ];

    constructor()
        ERC721("Meta Pirates", "MP")
        PaymentSplitter(_team, _teamShares)
    {}

    function changePauseState() public onlyOwner {
        paused = !paused;
    }

    function changeRaffleState() public onlyOwner {
        raffleState = !raffleState;
    }

    function changePublicState() public onlyOwner {
        publicState = !publicState;
    }

    function changeWhitelistState() public onlyOwner {
        whitelistState = !whitelistState;
    }

    function setBaseURI(string calldata _tokenBaseURI) external onlyOwner {
        baseURI = _tokenBaseURI;
    }

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

    function reveal() public onlyOwner {
        revealed = true;
    }

    function setIsBurnEnabled(bool _isBurnEnabled) external onlyOwner {
        isBurnEnabled = _isBurnEnabled;
    }


    function giftMint(address[] calldata _addresses) external onlyOwner {
        require(
            totalNFT + _addresses.length <= maxSupply,
            "Meta Pirates: max total supply exceeded"
        );

        uint256 _newItemId;
        for (uint256 ind = 0; ind < _addresses.length; ind++) {
            require(
                _addresses[ind] != address(0),
                "Meta Pirates: recepient is the null address"
            );
            _tokenIds.increment();
            _newItemId = _tokenIds.current();
            _safeMint(_addresses[ind], _newItemId);
            totalNFT = totalNFT + 1;
        }
    }

    function whitelistMint(uint256 _amount, bytes32[] memory proof) external payable {
        require(whitelistState, "Meta Pirates: Whitelist is OFF");
        require(!paused, "Meta Pirates: contract is paused");

        require(
            _amount <= 2,
            "Meta Pirates: You can't mint so much tokens"
        );

        require( _whitelistMinted[msg.sender] + _amount <= 2, "Meta Pirates: You can't mint so much tokens");

        require(verify(msg.sender, proof), "Meta Pirates: You are not selected for the whitelist");

        require(
            mintedNFT + _amount <= maxSupply - giftSupply,
            "Meta Pirates: max supply exceeded"
        );
        require(
            _whitelistPrice * _amount <= msg.value,
            "Meta Pirates: Ether value sent is not correct"
        );
        uint256 _newItemId;
        for (uint256 ind = 0; ind < _amount; ind++) {
            _tokenIds.increment();
            _newItemId = _tokenIds.current();
            _safeMint(msg.sender, _newItemId);
            _whitelistMinted[msg.sender] = _whitelistMinted[msg.sender] + 1;
            totalNFT = totalNFT + 1;
            mintedNFT = mintedNFT + 1;
        }
    }

    function raffleMint(uint256 _amount) external payable {
        require(raffleState, "Meta Pirates: Presale is OFF");
        require(!paused, "Meta Pirates: contract is paused");
 
        require(
            _amount <= 4,
            "Meta Pirates: You can't mint so much tokens"
        );

        require( _nftMinted[msg.sender] + _amount <= 4, "Meta Pirates: You can't mint so much tokens");

        require(
            mintedNFT + _amount <= maxSupply - giftSupply,
            "Meta Pirates: max supply exceeded"
        );
        require(
            _publicPrice * _amount <= msg.value,
            "Meta Pirates: Ether value sent is not correct"
        );
        uint256 _newItemId;
        for (uint256 ind = 0; ind < _amount; ind++) {
            _tokenIds.increment();
            _newItemId = _tokenIds.current();
            _safeMint(msg.sender, _newItemId);
            _nftMinted[msg.sender] = _nftMinted[msg.sender] + 1;
            totalNFT = totalNFT + 1;
            mintedNFT = mintedNFT + 1;
        }
    }

    function publicMint(uint256 _amount) external payable {
        require(publicState, "Meta Pirates: Public is OFF");
        require(_amount > 0, "Meta Pirates: zero amount");
        require(
            mintedNFT + _amount <= maxSupply - giftSupply,
            "Meta Pirates: max supply exceeded"
        );
        require(
            _publicPrice * _amount <= msg.value,
            "Meta Pirates: Ether value sent is not correct"
        );
        require(!paused, "Meta Pirates: contract is paused");
        uint256 _newItemId;
        for (uint256 ind = 0; ind < _amount; ind++) {
            _tokenIds.increment();
            _newItemId = _tokenIds.current();
            _safeMint(msg.sender, _newItemId);
            totalNFT = totalNFT + 1;
            mintedNFT = mintedNFT + 1;
        }
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        if (revealed == false) {
            return notRevealedUri;
        }

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

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

    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

    function changeTotalSupply(uint256 _newSupply) public onlyOwner {
        maxSupply = _newSupply;
    }

    function changePublicPrice(uint256 _newPrice) public onlyOwner {
        _publicPrice = _newPrice;
    }

    function changeWhitelistPrice(uint256 _newPrice) public onlyOwner {
        _whitelistPrice = _newPrice;
    }

    function changeGiftSupply(uint256 _newSupply) public onlyOwner {
        giftSupply = _newSupply;
    }

    function changeWhitelistRoot(bytes32 _whitelistRoot) public onlyOwner {
        whitelistRoot = _whitelistRoot;
    }

    function burn(uint256 tokenId) external {
        require(isBurnEnabled, "Meta Pirates : burning disabled");
        require(
            _isApprovedOrOwner(msg.sender, tokenId),
            "Meta Pirates : burn caller is not owner nor approved"
        );
        _burn(tokenId);
        totalNFT = totalNFT - 1;
    }

    function verify(address account, bytes32[] memory proof) public
        view
        returns (bool)
    {
        bytes32 leaf = keccak256(abi.encodePacked(account));
        return MerkleProof.verify(proof, whitelistRoot, leaf);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","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","name":"","type":"address"}],"name":"_nftMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_whitelistMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSupply","type":"uint256"}],"name":"changeGiftSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"changePauseState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"changePublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"changePublicState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"changeRaffleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSupply","type":"uint256"}],"name":"changeTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"changeWhitelistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"name":"changeWhitelistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"changeWhitelistState","outputs":[],"stateMutability":"nonpayable","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":"_addresses","type":"address[]"}],"name":"giftMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giftSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"isBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":[],"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":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"raffleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"raffleState","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_tokenBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isBurnEnabled","type":"bool"}],"name":"setIsBurnEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","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":[],"name":"totalNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"account","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6122b8601255603260135560c06040526005608081905264173539b7b760d91b60a0908152620000339160189190620005e8565b506019805465ffffffffffff191690556703e2c284391c0000601c55670354a6ba7a180000601d55604080516080810182526020808252603081830152600f92820192909252600560608201526200008e9190600462000677565b506040805160808101825273b759c2fb021bb84f016ac63c8faba64f72b517d38152735390faa48a65156ee4a63fad6cea79ef981a0e516020820152732611c27f0ae103497539be2e3f82ef1c7909a0569181019190915273e7a96c2c80af52676ab650a6967b4bd30bb309e6606082015262000110906021906004620006ba565b503480156200011e57600080fd5b5060218054806020026020016040519081016040528092919081815260200182805480156200017757602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000158575b50505050506020805480602002602001604051908101604052809291908181526020018280548015620001ca57602002820191906000526020600020905b815481526020019060010190808311620001b5575b5050604080518082018252600c81526b4d657461205069726174657360a01b60208083019182528351808501909452600284526104d560f41b9084015281519195509193506200021f925060009190620005e8565b50805162000235906001906020840190620005e8565b505050620002526200024c620003a460201b60201c565b620003a8565b8051825114620002c45760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620003175760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f207061796565730000000000006044820152606401620002bb565b60005b82518110156200039b57620003868382815181106200034957634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106200037257634e487b7160e01b600052603260045260246000fd5b6020026020010151620003fa60201b60201c565b80620003928162000781565b9150506200031a565b505050620007b5565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620004675760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401620002bb565b60008111620004b95760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401620002bb565b6001600160a01b0382166000908152600d602052604090205415620005355760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401620002bb565b600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319166001600160a01b0384169081179091556000908152600d60205260409020819055600b546200059f90829062000729565b600b55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b828054620005f69062000744565b90600052602060002090601f0160209004810192826200061a576000855562000665565b82601f106200063557805160ff191683800117855562000665565b8280016001018555821562000665579182015b828111156200066557825182559160200191906001019062000648565b506200067392915062000712565b5090565b82805482825590600052602060002090810192821562000665579160200282015b8281111562000665578251829060ff1690559160200191906001019062000698565b82805482825590600052602060002090810192821562000665579160200282015b828111156200066557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620006db565b5b8082111562000673576000815560010162000713565b600082198211156200073f576200073f6200079f565b500190565b600181811c908216806200075957607f821691505b602082108114156200077b57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200079857620007986200079f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b613eaf80620007c56000396000f3fe6080604052600436106103c65760003560e01c80636352211e116101f2578063ab6c82571161010d578063d2cab056116100a0578063e33b7de31161006f578063e33b7de314610b75578063e985e9c514610b8a578063f2c4ce1e14610bd3578063f2fde38b14610bf357600080fd5b8063d2cab05614610af6578063d5abeb0114610b09578063d79779b214610b1f578063da3ef23f14610b5557600080fd5b8063c6682862116100dc578063c668286214610a6b578063c6a7cbc914610a80578063c87b56dd14610aa0578063ce7c2ac214610ac057600080fd5b8063ab6c8257146109dc578063abfe761414610a09578063b76a0df414610a2b578063b88d4fde14610a4b57600080fd5b80638da5cb5b116101855780639d7e8d5f116101545780639d7e8d5f14610967578063a22cb46514610987578063a475b5dd146109a7578063a5fd7bec146109bc57600080fd5b80638da5cb5b146108de57806391b7d164146108fc57806395d89b411461091c5780639852595c1461093157600080fd5b806370a08231116101c157806370a082311461085c578063715018a61461087c5780637f1e3711146108915780638b83209b146108be57600080fd5b80636352211e146107f15780636c0360eb146108115780636e0e5b19146108265780636f0b78711461084657600080fd5b80632f745c59116102e257806348b750441161027557806355c815951161024457806355c815951461077b57806355f804b31461079c5780635c975abb146107bc57806360e5bb85146107dc57600080fd5b806348b75044146106fc5780634f6ccce71461071c578063518302271461073c57806352e973261461075b57600080fd5b806342842e0e116102b157806342842e0e146106845780634293516d146106a457806342966c68146106c757806346e79ffc146106e757600080fd5b80632f745c59146105f3578063386bfc98146106135780633a98ef3914610629578063406072a91461063e57600080fd5b806310ed76211161035a5780632254b015116103295780632254b0151461059757806323b872dd146105ad5780632a6d210d146105cd5780632db11544146105e057600080fd5b806310ed76211461052d57806318160ddd1461054d57806319165587146105625780631e93ffa11461058257600080fd5b8063081812fc11610396578063081812fc146104a9578063081c8c44146104e1578063095ea7b3146104f65780630e6246341461051857600080fd5b80624563791461041457806301ffc9a71461043d57806306fdde031461046d57806307ebec271461048f57600080fd5b3661040f577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561042057600080fd5b5061042a60145481565b6040519081526020015b60405180910390f35b34801561044957600080fd5b5061045d6104583660046137d2565b610c13565b6040519015158152602001610434565b34801561047957600080fd5b50610482610c3e565b6040516104349190613a4b565b34801561049b57600080fd5b5060195461045d9060ff1681565b3480156104b557600080fd5b506104c96104c43660046137ba565b610cd0565b6040516001600160a01b039091168152602001610434565b3480156104ed57600080fd5b50610482610d6a565b34801561050257600080fd5b506105166105113660046136e7565b610df8565b005b34801561052457600080fd5b50610516610f0e565b34801561053957600080fd5b506105166105483660046137ba565b610f5d565b34801561055957600080fd5b5060085461042a565b34801561056e57600080fd5b5061051661057d36600461355b565b610f8c565b34801561058e57600080fd5b506105166110ba565b3480156105a357600080fd5b5061042a60135481565b3480156105b957600080fd5b506105166105c83660046135af565b611105565b6105166105db3660046137ba565b611136565b6105166105ee3660046137ba565b611306565b3480156105ff57600080fd5b5061042a61060e3660046136e7565b61149f565b34801561061f57600080fd5b5061042a601e5481565b34801561063557600080fd5b50600b5461042a565b34801561064a57600080fd5b5061042a61065936600461380a565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b34801561069057600080fd5b5061051661069f3660046135af565b611535565b3480156106b057600080fd5b5060195461045d9065010000000000900460ff1681565b3480156106d357600080fd5b506105166106e23660046137ba565b611550565b3480156106f357600080fd5b50610516611633565b34801561070857600080fd5b5061051661071736600461380a565b61167c565b34801561072857600080fd5b5061042a6107373660046137ba565b611864565b34801561074857600080fd5b5060195461045d90610100900460ff1681565b34801561076757600080fd5b506105166107763660046137ba565b611905565b34801561078757600080fd5b5060195461045d906301000000900460ff1681565b3480156107a857600080fd5b506105166107b736600461381c565b611934565b3480156107c857600080fd5b5060195461045d9062010000900460ff1681565b3480156107e857600080fd5b5061051661196a565b3480156107fd57600080fd5b506104c961080c3660046137ba565b6119b7565b34801561081d57600080fd5b50610482611a2e565b34801561083257600080fd5b50610516610841366004613782565b611a3b565b34801561085257600080fd5b5061042a60155481565b34801561086857600080fd5b5061042a61087736600461355b565b611a78565b34801561088857600080fd5b50610516611aff565b34801561089d57600080fd5b5061042a6108ac36600461355b565b601a6020526000908152604090205481565b3480156108ca57600080fd5b506104c96108d93660046137ba565b611b35565b3480156108ea57600080fd5b50600a546001600160a01b03166104c9565b34801561090857600080fd5b506105166109173660046137ba565b611b73565b34801561092857600080fd5b50610482611ba2565b34801561093d57600080fd5b5061042a61094c36600461355b565b6001600160a01b03166000908152600e602052604090205490565b34801561097357600080fd5b506105166109823660046137ba565b611bb1565b34801561099357600080fd5b506105166109a23660046136ba565b611be0565b3480156109b357600080fd5b50610516611bef565b3480156109c857600080fd5b506105166109d7366004613712565b611c2a565b3480156109e857600080fd5b5061042a6109f736600461355b565b601b6020526000908152604090205481565b348015610a1557600080fd5b5060195461045d90640100000000900460ff1681565b348015610a3757600080fd5b5061045d610a4636600461366c565b611deb565b348015610a5757600080fd5b50610516610a663660046135ef565b611e3c565b348015610a7757600080fd5b50610482611e6e565b348015610a8c57600080fd5b50610516610a9b3660046137ba565b611e7b565b348015610aac57600080fd5b50610482610abb3660046137ba565b611eaa565b348015610acc57600080fd5b5061042a610adb36600461355b565b6001600160a01b03166000908152600d602052604090205490565b610516610b043660046138d5565b612029565b348015610b1557600080fd5b5061042a60125481565b348015610b2b57600080fd5b5061042a610b3a36600461355b565b6001600160a01b031660009081526010602052604090205490565b348015610b6157600080fd5b50610516610b70366004613877565b61226e565b348015610b8157600080fd5b50600c5461042a565b348015610b9657600080fd5b5061045d610ba5366004613577565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610bdf57600080fd5b50610516610bee366004613877565b6122ab565b348015610bff57600080fd5b50610516610c0e36600461355b565b6122e8565b60006001600160e01b0319821663780e9d6360e01b1480610c385750610c3882612383565b92915050565b606060008054610c4d90613d94565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7990613d94565b8015610cc65780601f10610c9b57610100808354040283529160200191610cc6565b820191906000526020600020905b815481529060010190602001808311610ca957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d4e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60178054610d7790613d94565b80601f0160208091040260200160405190810160405280929190818152602001828054610da390613d94565b8015610df05780601f10610dc557610100808354040283529160200191610df0565b820191906000526020600020905b815481529060010190602001808311610dd357829003601f168201915b505050505081565b6000610e03826119b7565b9050806001600160a01b0316836001600160a01b03161415610e715760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610d45565b336001600160a01b0382161480610e8d5750610e8d8133610ba5565b610eff5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610d45565b610f0983836123d3565b505050565b600a546001600160a01b03163314610f385760405162461bcd60e51b8152600401610d4590613c1a565b6019805465ff0000000000198116650100000000009182900460ff1615909102179055565b600a546001600160a01b03163314610f875760405162461bcd60e51b8152600401610d4590613c1a565b601355565b6001600160a01b0381166000908152600d6020526040902054610fc15760405162461bcd60e51b8152600401610d4590613b48565b6000610fcc600c5490565b610fd69047613d06565b905060006110038383610ffe866001600160a01b03166000908152600e602052604090205490565b612441565b9050806110225760405162461bcd60e51b8152600401610d4590613b8e565b6001600160a01b0383166000908152600e60205260408120805483929061104a908490613d06565b9250508190555080600c60008282546110639190613d06565b909155506110739050838261247f565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b600a546001600160a01b031633146110e45760405162461bcd60e51b8152600401610d4590613c1a565b6019805463ff00000019811663010000009182900460ff1615909102179055565b61110f3382612598565b61112b5760405162461bcd60e51b8152600401610d4590613c4f565b610f0983838361268b565b6019546301000000900460ff1661118f5760405162461bcd60e51b815260206004820152601c60248201527f4d65746120506972617465733a2050726573616c65206973204f4646000000006044820152606401610d45565b60195462010000900460ff16156111b85760405162461bcd60e51b8152600401610d4590613ca0565b60048111156111d95760405162461bcd60e51b8152600401610d4590613afd565b336000908152601a60205260409020546004906111f7908390613d06565b11156112155760405162461bcd60e51b8152600401610d4590613afd565b6013546012546112259190613d51565b816015546112339190613d06565b11156112515760405162461bcd60e51b8152600401610d4590613bd9565b3481601c546112609190613d32565b111561127e5760405162461bcd60e51b8152600401610d4590613a5e565b6000805b82811015610f0957611298601f80546001019055565b601f5491506112a73383612836565b336000908152601a60205260409020546112c2906001613d06565b336000908152601a60205260409020556014546112e0906001613d06565b6014556015546112f1906001613d06565b601555806112fe81613dcf565b915050611282565b601954640100000000900460ff166113605760405162461bcd60e51b815260206004820152601b60248201527f4d65746120506972617465733a205075626c6963206973204f464600000000006044820152606401610d45565b600081116113b05760405162461bcd60e51b815260206004820152601960248201527f4d65746120506972617465733a207a65726f20616d6f756e74000000000000006044820152606401610d45565b6013546012546113c09190613d51565b816015546113ce9190613d06565b11156113ec5760405162461bcd60e51b8152600401610d4590613bd9565b3481601c546113fb9190613d32565b11156114195760405162461bcd60e51b8152600401610d4590613a5e565b60195462010000900460ff16156114425760405162461bcd60e51b8152600401610d4590613ca0565b6000805b82811015610f095761145c601f80546001019055565b601f54915061146b3383612836565b601454611479906001613d06565b60145560155461148a906001613d06565b6015558061149781613dcf565b915050611446565b60006114aa83611a78565b821061150c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610d45565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610f0983838360405180602001604052806000815250611e3c565b60195460ff166115a25760405162461bcd60e51b815260206004820152601f60248201527f4d6574612050697261746573203a206275726e696e672064697361626c6564006044820152606401610d45565b6115ac3382612598565b6116155760405162461bcd60e51b815260206004820152603460248201527f4d6574612050697261746573203a206275726e2063616c6c6572206973206e6f6044820152731d081bdddb995c881b9bdc88185c1c1c9bdd995960621b6064820152608401610d45565b61161e81612850565b600160145461162d9190613d51565b60145550565b600a546001600160a01b0316331461165d5760405162461bcd60e51b8152600401610d4590613c1a565b6019805462ff0000198116620100009182900460ff1615909102179055565b6001600160a01b0381166000908152600d60205260409020546116b15760405162461bcd60e51b8152600401610d4590613b48565b6001600160a01b0382166000908152601060205260408120546040516370a0823160e01b81523060048201526001600160a01b038516906370a082319060240160206040518083038186803b15801561170957600080fd5b505afa15801561171d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174191906138bd565b61174b9190613d06565b905060006117848383610ffe87876001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b9050806117a35760405162461bcd60e51b8152600401610d4590613b8e565b6001600160a01b038085166000908152601160209081526040808320938716835292905290812080548392906117da908490613d06565b90915550506001600160a01b03841660009081526010602052604081208054839290611807908490613d06565b9091555061181890508484836128f7565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b600061186f60085490565b82106118d25760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610d45565b600882815481106118f357634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b0316331461192f5760405162461bcd60e51b8152600401610d4590613c1a565b601255565b600a546001600160a01b0316331461195e5760405162461bcd60e51b8152600401610d4590613c1a565b610f0960168383613373565b600a546001600160a01b031633146119945760405162461bcd60e51b8152600401610d4590613c1a565b6019805464ff000000001981166401000000009182900460ff1615909102179055565b6000818152600260205260408120546001600160a01b031680610c385760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610d45565b60168054610d7790613d94565b600a546001600160a01b03163314611a655760405162461bcd60e51b8152600401610d4590613c1a565b6019805460ff1916911515919091179055565b60006001600160a01b038216611ae35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610d45565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314611b295760405162461bcd60e51b8152600401610d4590613c1a565b611b336000612949565b565b6000600f8281548110611b5857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b600a546001600160a01b03163314611b9d5760405162461bcd60e51b8152600401610d4590613c1a565b601d55565b606060018054610c4d90613d94565b600a546001600160a01b03163314611bdb5760405162461bcd60e51b8152600401610d4590613c1a565b601c55565b611beb33838361299b565b5050565b600a546001600160a01b03163314611c195760405162461bcd60e51b8152600401610d4590613c1a565b6019805461ff001916610100179055565b600a546001600160a01b03163314611c545760405162461bcd60e51b8152600401610d4590613c1a565b601254601454611c65908390613d06565b1115611cc35760405162461bcd60e51b815260206004820152602760248201527f4d65746120506972617465733a206d617820746f74616c20737570706c7920656044820152661e18d95959195960ca1b6064820152608401610d45565b6000805b82811015611de5576000848483818110611cf157634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611d06919061355b565b6001600160a01b03161415611d715760405162461bcd60e51b815260206004820152602b60248201527f4d65746120506972617465733a20726563657069656e7420697320746865206e60448201526a756c6c206164647265737360a81b6064820152608401610d45565b611d7f601f80546001019055565b601f549150611dc2848483818110611da757634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611dbc919061355b565b83612836565b601454611dd0906001613d06565b60145580611ddd81613dcf565b915050611cc7565b50505050565b6040516bffffffffffffffffffffffff19606084901b1660208201526000908190603401604051602081830303815290604052805190602001209050611e3483601e5483612a6a565b949350505050565b611e463383612598565b611e625760405162461bcd60e51b8152600401610d4590613c4f565b611de584848484612a80565b60188054610d7790613d94565b600a546001600160a01b03163314611ea55760405162461bcd60e51b8152600401610d4590613c1a565b601e55565b6000818152600260205260409020546060906001600160a01b0316611f295760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d45565b601954610100900460ff16611fca5760178054611f4590613d94565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7190613d94565b8015611fbe5780601f10611f9357610100808354040283529160200191611fbe565b820191906000526020600020905b815481529060010190602001808311611fa157829003601f168201915b50505050509050919050565b6000611fd4612ab3565b90506000815111611ff45760405180602001604052806000815250612022565b80611ffe84612ac2565b60186040516020016120129392919061394c565b6040516020818303038152906040525b9392505050565b60195465010000000000900460ff166120845760405162461bcd60e51b815260206004820152601e60248201527f4d65746120506972617465733a2057686974656c697374206973204f464600006044820152606401610d45565b60195462010000900460ff16156120ad5760405162461bcd60e51b8152600401610d4590613ca0565b60028211156120ce5760405162461bcd60e51b8152600401610d4590613afd565b336000908152601b60205260409020546002906120ec908490613d06565b111561210a5760405162461bcd60e51b8152600401610d4590613afd565b6121143382611deb565b61217d5760405162461bcd60e51b815260206004820152603460248201527f4d65746120506972617465733a20596f7520617265206e6f742073656c656374604482015273195908199bdc881d1a19481dda1a5d195b1a5cdd60621b6064820152608401610d45565b60135460125461218d9190613d51565b8260155461219b9190613d06565b11156121b95760405162461bcd60e51b8152600401610d4590613bd9565b3482601d546121c89190613d32565b11156121e65760405162461bcd60e51b8152600401610d4590613a5e565b6000805b83811015611de557612200601f80546001019055565b601f54915061220f3383612836565b336000908152601b602052604090205461222a906001613d06565b336000908152601b6020526040902055601454612248906001613d06565b601455601554612259906001613d06565b6015558061226681613dcf565b9150506121ea565b600a546001600160a01b031633146122985760405162461bcd60e51b8152600401610d4590613c1a565b8051611beb9060189060208401906133f7565b600a546001600160a01b031633146122d55760405162461bcd60e51b8152600401610d4590613c1a565b8051611beb9060179060208401906133f7565b600a546001600160a01b031633146123125760405162461bcd60e51b8152600401610d4590613c1a565b6001600160a01b0381166123775760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d45565b61238081612949565b50565b60006001600160e01b031982166380ac58cd60e01b14806123b457506001600160e01b03198216635b5e139f60e01b145b80610c3857506301ffc9a760e01b6001600160e01b0319831614610c38565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612408826119b7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600b546001600160a01b0384166000908152600d60205260408120549091839161246b9086613d32565b6124759190613d1e565b611e349190613d51565b804710156124cf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d45565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461251c576040519150601f19603f3d011682016040523d82523d6000602084013e612521565b606091505b5050905080610f095760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d45565b6000818152600260205260408120546001600160a01b03166126115760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610d45565b600061261c836119b7565b9050806001600160a01b0316846001600160a01b031614806126575750836001600160a01b031661264c84610cd0565b6001600160a01b0316145b80611e3457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611e34565b826001600160a01b031661269e826119b7565b6001600160a01b0316146127065760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610d45565b6001600160a01b0382166127685760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610d45565b612773838383612bdc565b61277e6000826123d3565b6001600160a01b03831660009081526003602052604081208054600192906127a7908490613d51565b90915550506001600160a01b03821660009081526003602052604081208054600192906127d5908490613d06565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611beb828260405180602001604052806000815250612c94565b600061285b826119b7565b905061286981600084612bdc565b6128746000836123d3565b6001600160a01b038116600090815260036020526040812080546001929061289d908490613d51565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f09908490612cc7565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156129fd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d45565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600082612a778584612d99565b14949350505050565b612a8b84848461268b565b612a9784848484612e53565b611de55760405162461bcd60e51b8152600401610d4590613aab565b606060168054610c4d90613d94565b606081612ae65750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612b105780612afa81613dcf565b9150612b099050600a83613d1e565b9150612aea565b60008167ffffffffffffffff811115612b3957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b63576020820181803683370190505b5090505b8415611e3457612b78600183613d51565b9150612b85600a86613dea565b612b90906030613d06565b60f81b818381518110612bb357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612bd5600a86613d1e565b9450612b67565b6001600160a01b038316612c3757612c3281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612c5a565b816001600160a01b0316836001600160a01b031614612c5a57612c5a8382612f60565b6001600160a01b038216612c7157610f0981612ffd565b826001600160a01b0316826001600160a01b031614610f0957610f0982826130d6565b612c9e838361311a565b612cab6000848484612e53565b610f095760405162461bcd60e51b8152600401610d4590613aab565b6000612d1c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166132689092919063ffffffff16565b805190915015610f095780806020019051810190612d3a919061379e565b610f095760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d45565b600081815b8451811015612e4b576000858281518110612dc957634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311612e0b576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612e38565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612e4381613dcf565b915050612d9e565b509392505050565b60006001600160a01b0384163b15612f5557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612e97903390899088908890600401613a0e565b602060405180830381600087803b158015612eb157600080fd5b505af1925050508015612ee1575060408051601f3d908101601f19168201909252612ede918101906137ee565b60015b612f3b573d808015612f0f576040519150601f19603f3d011682016040523d82523d6000602084013e612f14565b606091505b508051612f335760405162461bcd60e51b8152600401610d4590613aab565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e34565b506001949350505050565b60006001612f6d84611a78565b612f779190613d51565b600083815260076020526040902054909150808214612fca576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061300f90600190613d51565b6000838152600960205260408120546008805493945090928490811061304557634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061307457634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806130ba57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130e183611a78565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166131705760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d45565b6000818152600260205260409020546001600160a01b0316156131d55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d45565b6131e160008383612bdc565b6001600160a01b038216600090815260036020526040812080546001929061320a908490613d06565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060611e34848460008585843b6132c15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d45565b600080866001600160a01b031685876040516132dd9190613930565b60006040518083038185875af1925050503d806000811461331a576040519150601f19603f3d011682016040523d82523d6000602084013e61331f565b606091505b509150915061332f82828661333a565b979650505050505050565b60608315613349575081612022565b8251156133595782518084602001fd5b8160405162461bcd60e51b8152600401610d459190613a4b565b82805461337f90613d94565b90600052602060002090601f0160209004810192826133a157600085556133e7565b82601f106133ba5782800160ff198235161785556133e7565b828001600101855582156133e7579182015b828111156133e75782358255916020019190600101906133cc565b506133f392915061346b565b5090565b82805461340390613d94565b90600052602060002090601f01602090048101928261342557600085556133e7565b82601f1061343e57805160ff19168380011785556133e7565b828001600101855582156133e7579182015b828111156133e7578251825591602001919060010190613450565b5b808211156133f3576000815560010161346c565b600067ffffffffffffffff83111561349a5761349a613e2a565b6134ad601f8401601f1916602001613cd5565b90508281528383830111156134c157600080fd5b828260208301376000602084830101529392505050565b600082601f8301126134e8578081fd5b8135602067ffffffffffffffff82111561350457613504613e2a565b8160051b613513828201613cd5565b83815282810190868401838801850189101561352d578687fd5b8693505b8584101561354f578035835260019390930192918401918401613531565b50979650505050505050565b60006020828403121561356c578081fd5b813561202281613e40565b60008060408385031215613589578081fd5b823561359481613e40565b915060208301356135a481613e40565b809150509250929050565b6000806000606084860312156135c3578081fd5b83356135ce81613e40565b925060208401356135de81613e40565b929592945050506040919091013590565b60008060008060808587031215613604578081fd5b843561360f81613e40565b9350602085013561361f81613e40565b925060408501359150606085013567ffffffffffffffff811115613641578182fd5b8501601f81018713613651578182fd5b61366087823560208401613480565b91505092959194509250565b6000806040838503121561367e578182fd5b823561368981613e40565b9150602083013567ffffffffffffffff8111156136a4578182fd5b6136b0858286016134d8565b9150509250929050565b600080604083850312156136cc578182fd5b82356136d781613e40565b915060208301356135a481613e55565b600080604083850312156136f9578081fd5b823561370481613e40565b946020939093013593505050565b60008060208385031215613724578182fd5b823567ffffffffffffffff8082111561373b578384fd5b818501915085601f83011261374e578384fd5b81358181111561375c578485fd5b8660208260051b8501011115613770578485fd5b60209290920196919550909350505050565b600060208284031215613793578081fd5b813561202281613e55565b6000602082840312156137af578081fd5b815161202281613e55565b6000602082840312156137cb578081fd5b5035919050565b6000602082840312156137e3578081fd5b813561202281613e63565b6000602082840312156137ff578081fd5b815161202281613e63565b60008060408385031215613589578182fd5b6000806020838503121561382e578182fd5b823567ffffffffffffffff80821115613845578384fd5b818501915085601f830112613858578384fd5b813581811115613866578485fd5b866020828501011115613770578485fd5b600060208284031215613888578081fd5b813567ffffffffffffffff81111561389e578182fd5b8201601f810184136138ae578182fd5b611e3484823560208401613480565b6000602082840312156138ce578081fd5b5051919050565b600080604083850312156138e7578182fd5b82359150602083013567ffffffffffffffff8111156136a4578182fd5b6000815180845261391c816020860160208601613d68565b601f01601f19169290920160200192915050565b60008251613942818460208701613d68565b9190910192915050565b60008451602061395f8285838a01613d68565b8551918401916139728184848a01613d68565b85549201918390600181811c908083168061398e57607f831692505b8583108114156139ac57634e487b7160e01b88526022600452602488fd5b8080156139c057600181146139d1576139fd565b60ff198516885283880195506139fd565b60008b815260209020895b858110156139f55781548a8201529084019088016139dc565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613a4190830184613904565b9695505050505050565b6020815260006120226020830184613904565b6020808252602d908201527f4d65746120506972617465733a2045746865722076616c75652073656e74206960408201526c1cc81b9bdd0818dbdc9c9958dd609a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602b908201527f4d65746120506972617465733a20596f752063616e2774206d696e7420736f2060408201526a6d75636820746f6b656e7360a81b606082015260800190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60208082526021908201527f4d65746120506972617465733a206d617820737570706c7920657863656564656040820152601960fa1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4d65746120506972617465733a20636f6e747261637420697320706175736564604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613cfe57613cfe613e2a565b604052919050565b60008219821115613d1957613d19613dfe565b500190565b600082613d2d57613d2d613e14565b500490565b6000816000190483118215151615613d4c57613d4c613dfe565b500290565b600082821015613d6357613d63613dfe565b500390565b60005b83811015613d83578181015183820152602001613d6b565b83811115611de55750506000910152565b600181811c90821680613da857607f821691505b60208210811415613dc957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613de357613de3613dfe565b5060010190565b600082613df957613df9613e14565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461238057600080fd5b801515811461238057600080fd5b6001600160e01b03198116811461238057600080fdfea264697066735822122063a87288528db37f4cd3e9ffb02a87fc8e8f14e5914dbdf884adc74ca62890f364736f6c63430008040033

Deployed Bytecode

0x6080604052600436106103c65760003560e01c80636352211e116101f2578063ab6c82571161010d578063d2cab056116100a0578063e33b7de31161006f578063e33b7de314610b75578063e985e9c514610b8a578063f2c4ce1e14610bd3578063f2fde38b14610bf357600080fd5b8063d2cab05614610af6578063d5abeb0114610b09578063d79779b214610b1f578063da3ef23f14610b5557600080fd5b8063c6682862116100dc578063c668286214610a6b578063c6a7cbc914610a80578063c87b56dd14610aa0578063ce7c2ac214610ac057600080fd5b8063ab6c8257146109dc578063abfe761414610a09578063b76a0df414610a2b578063b88d4fde14610a4b57600080fd5b80638da5cb5b116101855780639d7e8d5f116101545780639d7e8d5f14610967578063a22cb46514610987578063a475b5dd146109a7578063a5fd7bec146109bc57600080fd5b80638da5cb5b146108de57806391b7d164146108fc57806395d89b411461091c5780639852595c1461093157600080fd5b806370a08231116101c157806370a082311461085c578063715018a61461087c5780637f1e3711146108915780638b83209b146108be57600080fd5b80636352211e146107f15780636c0360eb146108115780636e0e5b19146108265780636f0b78711461084657600080fd5b80632f745c59116102e257806348b750441161027557806355c815951161024457806355c815951461077b57806355f804b31461079c5780635c975abb146107bc57806360e5bb85146107dc57600080fd5b806348b75044146106fc5780634f6ccce71461071c578063518302271461073c57806352e973261461075b57600080fd5b806342842e0e116102b157806342842e0e146106845780634293516d146106a457806342966c68146106c757806346e79ffc146106e757600080fd5b80632f745c59146105f3578063386bfc98146106135780633a98ef3914610629578063406072a91461063e57600080fd5b806310ed76211161035a5780632254b015116103295780632254b0151461059757806323b872dd146105ad5780632a6d210d146105cd5780632db11544146105e057600080fd5b806310ed76211461052d57806318160ddd1461054d57806319165587146105625780631e93ffa11461058257600080fd5b8063081812fc11610396578063081812fc146104a9578063081c8c44146104e1578063095ea7b3146104f65780630e6246341461051857600080fd5b80624563791461041457806301ffc9a71461043d57806306fdde031461046d57806307ebec271461048f57600080fd5b3661040f577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561042057600080fd5b5061042a60145481565b6040519081526020015b60405180910390f35b34801561044957600080fd5b5061045d6104583660046137d2565b610c13565b6040519015158152602001610434565b34801561047957600080fd5b50610482610c3e565b6040516104349190613a4b565b34801561049b57600080fd5b5060195461045d9060ff1681565b3480156104b557600080fd5b506104c96104c43660046137ba565b610cd0565b6040516001600160a01b039091168152602001610434565b3480156104ed57600080fd5b50610482610d6a565b34801561050257600080fd5b506105166105113660046136e7565b610df8565b005b34801561052457600080fd5b50610516610f0e565b34801561053957600080fd5b506105166105483660046137ba565b610f5d565b34801561055957600080fd5b5060085461042a565b34801561056e57600080fd5b5061051661057d36600461355b565b610f8c565b34801561058e57600080fd5b506105166110ba565b3480156105a357600080fd5b5061042a60135481565b3480156105b957600080fd5b506105166105c83660046135af565b611105565b6105166105db3660046137ba565b611136565b6105166105ee3660046137ba565b611306565b3480156105ff57600080fd5b5061042a61060e3660046136e7565b61149f565b34801561061f57600080fd5b5061042a601e5481565b34801561063557600080fd5b50600b5461042a565b34801561064a57600080fd5b5061042a61065936600461380a565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b34801561069057600080fd5b5061051661069f3660046135af565b611535565b3480156106b057600080fd5b5060195461045d9065010000000000900460ff1681565b3480156106d357600080fd5b506105166106e23660046137ba565b611550565b3480156106f357600080fd5b50610516611633565b34801561070857600080fd5b5061051661071736600461380a565b61167c565b34801561072857600080fd5b5061042a6107373660046137ba565b611864565b34801561074857600080fd5b5060195461045d90610100900460ff1681565b34801561076757600080fd5b506105166107763660046137ba565b611905565b34801561078757600080fd5b5060195461045d906301000000900460ff1681565b3480156107a857600080fd5b506105166107b736600461381c565b611934565b3480156107c857600080fd5b5060195461045d9062010000900460ff1681565b3480156107e857600080fd5b5061051661196a565b3480156107fd57600080fd5b506104c961080c3660046137ba565b6119b7565b34801561081d57600080fd5b50610482611a2e565b34801561083257600080fd5b50610516610841366004613782565b611a3b565b34801561085257600080fd5b5061042a60155481565b34801561086857600080fd5b5061042a61087736600461355b565b611a78565b34801561088857600080fd5b50610516611aff565b34801561089d57600080fd5b5061042a6108ac36600461355b565b601a6020526000908152604090205481565b3480156108ca57600080fd5b506104c96108d93660046137ba565b611b35565b3480156108ea57600080fd5b50600a546001600160a01b03166104c9565b34801561090857600080fd5b506105166109173660046137ba565b611b73565b34801561092857600080fd5b50610482611ba2565b34801561093d57600080fd5b5061042a61094c36600461355b565b6001600160a01b03166000908152600e602052604090205490565b34801561097357600080fd5b506105166109823660046137ba565b611bb1565b34801561099357600080fd5b506105166109a23660046136ba565b611be0565b3480156109b357600080fd5b50610516611bef565b3480156109c857600080fd5b506105166109d7366004613712565b611c2a565b3480156109e857600080fd5b5061042a6109f736600461355b565b601b6020526000908152604090205481565b348015610a1557600080fd5b5060195461045d90640100000000900460ff1681565b348015610a3757600080fd5b5061045d610a4636600461366c565b611deb565b348015610a5757600080fd5b50610516610a663660046135ef565b611e3c565b348015610a7757600080fd5b50610482611e6e565b348015610a8c57600080fd5b50610516610a9b3660046137ba565b611e7b565b348015610aac57600080fd5b50610482610abb3660046137ba565b611eaa565b348015610acc57600080fd5b5061042a610adb36600461355b565b6001600160a01b03166000908152600d602052604090205490565b610516610b043660046138d5565b612029565b348015610b1557600080fd5b5061042a60125481565b348015610b2b57600080fd5b5061042a610b3a36600461355b565b6001600160a01b031660009081526010602052604090205490565b348015610b6157600080fd5b50610516610b70366004613877565b61226e565b348015610b8157600080fd5b50600c5461042a565b348015610b9657600080fd5b5061045d610ba5366004613577565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610bdf57600080fd5b50610516610bee366004613877565b6122ab565b348015610bff57600080fd5b50610516610c0e36600461355b565b6122e8565b60006001600160e01b0319821663780e9d6360e01b1480610c385750610c3882612383565b92915050565b606060008054610c4d90613d94565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7990613d94565b8015610cc65780601f10610c9b57610100808354040283529160200191610cc6565b820191906000526020600020905b815481529060010190602001808311610ca957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d4e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60178054610d7790613d94565b80601f0160208091040260200160405190810160405280929190818152602001828054610da390613d94565b8015610df05780601f10610dc557610100808354040283529160200191610df0565b820191906000526020600020905b815481529060010190602001808311610dd357829003601f168201915b505050505081565b6000610e03826119b7565b9050806001600160a01b0316836001600160a01b03161415610e715760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610d45565b336001600160a01b0382161480610e8d5750610e8d8133610ba5565b610eff5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610d45565b610f0983836123d3565b505050565b600a546001600160a01b03163314610f385760405162461bcd60e51b8152600401610d4590613c1a565b6019805465ff0000000000198116650100000000009182900460ff1615909102179055565b600a546001600160a01b03163314610f875760405162461bcd60e51b8152600401610d4590613c1a565b601355565b6001600160a01b0381166000908152600d6020526040902054610fc15760405162461bcd60e51b8152600401610d4590613b48565b6000610fcc600c5490565b610fd69047613d06565b905060006110038383610ffe866001600160a01b03166000908152600e602052604090205490565b612441565b9050806110225760405162461bcd60e51b8152600401610d4590613b8e565b6001600160a01b0383166000908152600e60205260408120805483929061104a908490613d06565b9250508190555080600c60008282546110639190613d06565b909155506110739050838261247f565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b600a546001600160a01b031633146110e45760405162461bcd60e51b8152600401610d4590613c1a565b6019805463ff00000019811663010000009182900460ff1615909102179055565b61110f3382612598565b61112b5760405162461bcd60e51b8152600401610d4590613c4f565b610f0983838361268b565b6019546301000000900460ff1661118f5760405162461bcd60e51b815260206004820152601c60248201527f4d65746120506972617465733a2050726573616c65206973204f4646000000006044820152606401610d45565b60195462010000900460ff16156111b85760405162461bcd60e51b8152600401610d4590613ca0565b60048111156111d95760405162461bcd60e51b8152600401610d4590613afd565b336000908152601a60205260409020546004906111f7908390613d06565b11156112155760405162461bcd60e51b8152600401610d4590613afd565b6013546012546112259190613d51565b816015546112339190613d06565b11156112515760405162461bcd60e51b8152600401610d4590613bd9565b3481601c546112609190613d32565b111561127e5760405162461bcd60e51b8152600401610d4590613a5e565b6000805b82811015610f0957611298601f80546001019055565b601f5491506112a73383612836565b336000908152601a60205260409020546112c2906001613d06565b336000908152601a60205260409020556014546112e0906001613d06565b6014556015546112f1906001613d06565b601555806112fe81613dcf565b915050611282565b601954640100000000900460ff166113605760405162461bcd60e51b815260206004820152601b60248201527f4d65746120506972617465733a205075626c6963206973204f464600000000006044820152606401610d45565b600081116113b05760405162461bcd60e51b815260206004820152601960248201527f4d65746120506972617465733a207a65726f20616d6f756e74000000000000006044820152606401610d45565b6013546012546113c09190613d51565b816015546113ce9190613d06565b11156113ec5760405162461bcd60e51b8152600401610d4590613bd9565b3481601c546113fb9190613d32565b11156114195760405162461bcd60e51b8152600401610d4590613a5e565b60195462010000900460ff16156114425760405162461bcd60e51b8152600401610d4590613ca0565b6000805b82811015610f095761145c601f80546001019055565b601f54915061146b3383612836565b601454611479906001613d06565b60145560155461148a906001613d06565b6015558061149781613dcf565b915050611446565b60006114aa83611a78565b821061150c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610d45565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610f0983838360405180602001604052806000815250611e3c565b60195460ff166115a25760405162461bcd60e51b815260206004820152601f60248201527f4d6574612050697261746573203a206275726e696e672064697361626c6564006044820152606401610d45565b6115ac3382612598565b6116155760405162461bcd60e51b815260206004820152603460248201527f4d6574612050697261746573203a206275726e2063616c6c6572206973206e6f6044820152731d081bdddb995c881b9bdc88185c1c1c9bdd995960621b6064820152608401610d45565b61161e81612850565b600160145461162d9190613d51565b60145550565b600a546001600160a01b0316331461165d5760405162461bcd60e51b8152600401610d4590613c1a565b6019805462ff0000198116620100009182900460ff1615909102179055565b6001600160a01b0381166000908152600d60205260409020546116b15760405162461bcd60e51b8152600401610d4590613b48565b6001600160a01b0382166000908152601060205260408120546040516370a0823160e01b81523060048201526001600160a01b038516906370a082319060240160206040518083038186803b15801561170957600080fd5b505afa15801561171d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174191906138bd565b61174b9190613d06565b905060006117848383610ffe87876001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b9050806117a35760405162461bcd60e51b8152600401610d4590613b8e565b6001600160a01b038085166000908152601160209081526040808320938716835292905290812080548392906117da908490613d06565b90915550506001600160a01b03841660009081526010602052604081208054839290611807908490613d06565b9091555061181890508484836128f7565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b600061186f60085490565b82106118d25760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610d45565b600882815481106118f357634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b0316331461192f5760405162461bcd60e51b8152600401610d4590613c1a565b601255565b600a546001600160a01b0316331461195e5760405162461bcd60e51b8152600401610d4590613c1a565b610f0960168383613373565b600a546001600160a01b031633146119945760405162461bcd60e51b8152600401610d4590613c1a565b6019805464ff000000001981166401000000009182900460ff1615909102179055565b6000818152600260205260408120546001600160a01b031680610c385760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610d45565b60168054610d7790613d94565b600a546001600160a01b03163314611a655760405162461bcd60e51b8152600401610d4590613c1a565b6019805460ff1916911515919091179055565b60006001600160a01b038216611ae35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610d45565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314611b295760405162461bcd60e51b8152600401610d4590613c1a565b611b336000612949565b565b6000600f8281548110611b5857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b600a546001600160a01b03163314611b9d5760405162461bcd60e51b8152600401610d4590613c1a565b601d55565b606060018054610c4d90613d94565b600a546001600160a01b03163314611bdb5760405162461bcd60e51b8152600401610d4590613c1a565b601c55565b611beb33838361299b565b5050565b600a546001600160a01b03163314611c195760405162461bcd60e51b8152600401610d4590613c1a565b6019805461ff001916610100179055565b600a546001600160a01b03163314611c545760405162461bcd60e51b8152600401610d4590613c1a565b601254601454611c65908390613d06565b1115611cc35760405162461bcd60e51b815260206004820152602760248201527f4d65746120506972617465733a206d617820746f74616c20737570706c7920656044820152661e18d95959195960ca1b6064820152608401610d45565b6000805b82811015611de5576000848483818110611cf157634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611d06919061355b565b6001600160a01b03161415611d715760405162461bcd60e51b815260206004820152602b60248201527f4d65746120506972617465733a20726563657069656e7420697320746865206e60448201526a756c6c206164647265737360a81b6064820152608401610d45565b611d7f601f80546001019055565b601f549150611dc2848483818110611da757634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611dbc919061355b565b83612836565b601454611dd0906001613d06565b60145580611ddd81613dcf565b915050611cc7565b50505050565b6040516bffffffffffffffffffffffff19606084901b1660208201526000908190603401604051602081830303815290604052805190602001209050611e3483601e5483612a6a565b949350505050565b611e463383612598565b611e625760405162461bcd60e51b8152600401610d4590613c4f565b611de584848484612a80565b60188054610d7790613d94565b600a546001600160a01b03163314611ea55760405162461bcd60e51b8152600401610d4590613c1a565b601e55565b6000818152600260205260409020546060906001600160a01b0316611f295760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d45565b601954610100900460ff16611fca5760178054611f4590613d94565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7190613d94565b8015611fbe5780601f10611f9357610100808354040283529160200191611fbe565b820191906000526020600020905b815481529060010190602001808311611fa157829003601f168201915b50505050509050919050565b6000611fd4612ab3565b90506000815111611ff45760405180602001604052806000815250612022565b80611ffe84612ac2565b60186040516020016120129392919061394c565b6040516020818303038152906040525b9392505050565b60195465010000000000900460ff166120845760405162461bcd60e51b815260206004820152601e60248201527f4d65746120506972617465733a2057686974656c697374206973204f464600006044820152606401610d45565b60195462010000900460ff16156120ad5760405162461bcd60e51b8152600401610d4590613ca0565b60028211156120ce5760405162461bcd60e51b8152600401610d4590613afd565b336000908152601b60205260409020546002906120ec908490613d06565b111561210a5760405162461bcd60e51b8152600401610d4590613afd565b6121143382611deb565b61217d5760405162461bcd60e51b815260206004820152603460248201527f4d65746120506972617465733a20596f7520617265206e6f742073656c656374604482015273195908199bdc881d1a19481dda1a5d195b1a5cdd60621b6064820152608401610d45565b60135460125461218d9190613d51565b8260155461219b9190613d06565b11156121b95760405162461bcd60e51b8152600401610d4590613bd9565b3482601d546121c89190613d32565b11156121e65760405162461bcd60e51b8152600401610d4590613a5e565b6000805b83811015611de557612200601f80546001019055565b601f54915061220f3383612836565b336000908152601b602052604090205461222a906001613d06565b336000908152601b6020526040902055601454612248906001613d06565b601455601554612259906001613d06565b6015558061226681613dcf565b9150506121ea565b600a546001600160a01b031633146122985760405162461bcd60e51b8152600401610d4590613c1a565b8051611beb9060189060208401906133f7565b600a546001600160a01b031633146122d55760405162461bcd60e51b8152600401610d4590613c1a565b8051611beb9060179060208401906133f7565b600a546001600160a01b031633146123125760405162461bcd60e51b8152600401610d4590613c1a565b6001600160a01b0381166123775760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d45565b61238081612949565b50565b60006001600160e01b031982166380ac58cd60e01b14806123b457506001600160e01b03198216635b5e139f60e01b145b80610c3857506301ffc9a760e01b6001600160e01b0319831614610c38565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612408826119b7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600b546001600160a01b0384166000908152600d60205260408120549091839161246b9086613d32565b6124759190613d1e565b611e349190613d51565b804710156124cf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d45565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461251c576040519150601f19603f3d011682016040523d82523d6000602084013e612521565b606091505b5050905080610f095760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d45565b6000818152600260205260408120546001600160a01b03166126115760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610d45565b600061261c836119b7565b9050806001600160a01b0316846001600160a01b031614806126575750836001600160a01b031661264c84610cd0565b6001600160a01b0316145b80611e3457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611e34565b826001600160a01b031661269e826119b7565b6001600160a01b0316146127065760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610d45565b6001600160a01b0382166127685760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610d45565b612773838383612bdc565b61277e6000826123d3565b6001600160a01b03831660009081526003602052604081208054600192906127a7908490613d51565b90915550506001600160a01b03821660009081526003602052604081208054600192906127d5908490613d06565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611beb828260405180602001604052806000815250612c94565b600061285b826119b7565b905061286981600084612bdc565b6128746000836123d3565b6001600160a01b038116600090815260036020526040812080546001929061289d908490613d51565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f09908490612cc7565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156129fd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d45565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600082612a778584612d99565b14949350505050565b612a8b84848461268b565b612a9784848484612e53565b611de55760405162461bcd60e51b8152600401610d4590613aab565b606060168054610c4d90613d94565b606081612ae65750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612b105780612afa81613dcf565b9150612b099050600a83613d1e565b9150612aea565b60008167ffffffffffffffff811115612b3957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b63576020820181803683370190505b5090505b8415611e3457612b78600183613d51565b9150612b85600a86613dea565b612b90906030613d06565b60f81b818381518110612bb357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612bd5600a86613d1e565b9450612b67565b6001600160a01b038316612c3757612c3281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612c5a565b816001600160a01b0316836001600160a01b031614612c5a57612c5a8382612f60565b6001600160a01b038216612c7157610f0981612ffd565b826001600160a01b0316826001600160a01b031614610f0957610f0982826130d6565b612c9e838361311a565b612cab6000848484612e53565b610f095760405162461bcd60e51b8152600401610d4590613aab565b6000612d1c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166132689092919063ffffffff16565b805190915015610f095780806020019051810190612d3a919061379e565b610f095760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d45565b600081815b8451811015612e4b576000858281518110612dc957634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311612e0b576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612e38565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612e4381613dcf565b915050612d9e565b509392505050565b60006001600160a01b0384163b15612f5557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612e97903390899088908890600401613a0e565b602060405180830381600087803b158015612eb157600080fd5b505af1925050508015612ee1575060408051601f3d908101601f19168201909252612ede918101906137ee565b60015b612f3b573d808015612f0f576040519150601f19603f3d011682016040523d82523d6000602084013e612f14565b606091505b508051612f335760405162461bcd60e51b8152600401610d4590613aab565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e34565b506001949350505050565b60006001612f6d84611a78565b612f779190613d51565b600083815260076020526040902054909150808214612fca576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061300f90600190613d51565b6000838152600960205260408120546008805493945090928490811061304557634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061307457634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806130ba57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130e183611a78565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166131705760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d45565b6000818152600260205260409020546001600160a01b0316156131d55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d45565b6131e160008383612bdc565b6001600160a01b038216600090815260036020526040812080546001929061320a908490613d06565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060611e34848460008585843b6132c15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d45565b600080866001600160a01b031685876040516132dd9190613930565b60006040518083038185875af1925050503d806000811461331a576040519150601f19603f3d011682016040523d82523d6000602084013e61331f565b606091505b509150915061332f82828661333a565b979650505050505050565b60608315613349575081612022565b8251156133595782518084602001fd5b8160405162461bcd60e51b8152600401610d459190613a4b565b82805461337f90613d94565b90600052602060002090601f0160209004810192826133a157600085556133e7565b82601f106133ba5782800160ff198235161785556133e7565b828001600101855582156133e7579182015b828111156133e75782358255916020019190600101906133cc565b506133f392915061346b565b5090565b82805461340390613d94565b90600052602060002090601f01602090048101928261342557600085556133e7565b82601f1061343e57805160ff19168380011785556133e7565b828001600101855582156133e7579182015b828111156133e7578251825591602001919060010190613450565b5b808211156133f3576000815560010161346c565b600067ffffffffffffffff83111561349a5761349a613e2a565b6134ad601f8401601f1916602001613cd5565b90508281528383830111156134c157600080fd5b828260208301376000602084830101529392505050565b600082601f8301126134e8578081fd5b8135602067ffffffffffffffff82111561350457613504613e2a565b8160051b613513828201613cd5565b83815282810190868401838801850189101561352d578687fd5b8693505b8584101561354f578035835260019390930192918401918401613531565b50979650505050505050565b60006020828403121561356c578081fd5b813561202281613e40565b60008060408385031215613589578081fd5b823561359481613e40565b915060208301356135a481613e40565b809150509250929050565b6000806000606084860312156135c3578081fd5b83356135ce81613e40565b925060208401356135de81613e40565b929592945050506040919091013590565b60008060008060808587031215613604578081fd5b843561360f81613e40565b9350602085013561361f81613e40565b925060408501359150606085013567ffffffffffffffff811115613641578182fd5b8501601f81018713613651578182fd5b61366087823560208401613480565b91505092959194509250565b6000806040838503121561367e578182fd5b823561368981613e40565b9150602083013567ffffffffffffffff8111156136a4578182fd5b6136b0858286016134d8565b9150509250929050565b600080604083850312156136cc578182fd5b82356136d781613e40565b915060208301356135a481613e55565b600080604083850312156136f9578081fd5b823561370481613e40565b946020939093013593505050565b60008060208385031215613724578182fd5b823567ffffffffffffffff8082111561373b578384fd5b818501915085601f83011261374e578384fd5b81358181111561375c578485fd5b8660208260051b8501011115613770578485fd5b60209290920196919550909350505050565b600060208284031215613793578081fd5b813561202281613e55565b6000602082840312156137af578081fd5b815161202281613e55565b6000602082840312156137cb578081fd5b5035919050565b6000602082840312156137e3578081fd5b813561202281613e63565b6000602082840312156137ff578081fd5b815161202281613e63565b60008060408385031215613589578182fd5b6000806020838503121561382e578182fd5b823567ffffffffffffffff80821115613845578384fd5b818501915085601f830112613858578384fd5b813581811115613866578485fd5b866020828501011115613770578485fd5b600060208284031215613888578081fd5b813567ffffffffffffffff81111561389e578182fd5b8201601f810184136138ae578182fd5b611e3484823560208401613480565b6000602082840312156138ce578081fd5b5051919050565b600080604083850312156138e7578182fd5b82359150602083013567ffffffffffffffff8111156136a4578182fd5b6000815180845261391c816020860160208601613d68565b601f01601f19169290920160200192915050565b60008251613942818460208701613d68565b9190910192915050565b60008451602061395f8285838a01613d68565b8551918401916139728184848a01613d68565b85549201918390600181811c908083168061398e57607f831692505b8583108114156139ac57634e487b7160e01b88526022600452602488fd5b8080156139c057600181146139d1576139fd565b60ff198516885283880195506139fd565b60008b815260209020895b858110156139f55781548a8201529084019088016139dc565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613a4190830184613904565b9695505050505050565b6020815260006120226020830184613904565b6020808252602d908201527f4d65746120506972617465733a2045746865722076616c75652073656e74206960408201526c1cc81b9bdd0818dbdc9c9958dd609a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602b908201527f4d65746120506972617465733a20596f752063616e2774206d696e7420736f2060408201526a6d75636820746f6b656e7360a81b606082015260800190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60208082526021908201527f4d65746120506972617465733a206d617820737570706c7920657863656564656040820152601960fa1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4d65746120506972617465733a20636f6e747261637420697320706175736564604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613cfe57613cfe613e2a565b604052919050565b60008219821115613d1957613d19613dfe565b500190565b600082613d2d57613d2d613e14565b500490565b6000816000190483118215151615613d4c57613d4c613dfe565b500290565b600082821015613d6357613d63613dfe565b500390565b60005b83811015613d83578181015183820152602001613d6b565b83811115611de55750506000910152565b600181811c90821680613da857607f821691505b60208210811415613dc957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613de357613de3613dfe565b5060010190565b600082613df957613df9613e14565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461238057600080fd5b801515811461238057600080fd5b6001600160e01b03198116811461238057600080fdfea264697066735822122063a87288528db37f4cd3e9ffb02a87fc8e8f14e5914dbdf884adc74ca62890f364736f6c63430008040033

Deployed Bytecode Sourcemap

65379:8188:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30223:40;12171:10;30223:40;;;-1:-1:-1;;;;;12389:32:1;;;12371:51;;30253:9:0;12453:2:1;12438:18;;12431:34;12344:18;30223:40:0;;;;;;;65379:8188;;;;;65620:23;;;;;;;;;;;;;;;;;;;13586:25:1;;;13574:2;13559:18;65620:23:0;;;;;;;;59150:224;;;;;;;;;;-1:-1:-1;59150:224:0;;;;;:::i;:::-;;:::i;:::-;;;13413:14:1;;13406:22;13388:41;;13376:2;13361:18;59150:224:0;13343:92:1;46644:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;65792:33::-;;;;;;;;;;-1:-1:-1;65792:33:0;;;;;;;;48203:221;;;;;;;;;;-1:-1:-1;48203:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;12145:32:1;;;12127:51;;12115:2;12100:18;48203:221:0;12082:102:1;65711:28:0;;;;;;;;;;;;;:::i;47726:411::-;;;;;;;;;;-1:-1:-1;47726:411:0;;;;;:::i;:::-;;:::i;:::-;;67042:100;;;;;;;;;;;;;:::i;72748:105::-;;;;;;;;;;-1:-1:-1;72748:105:0;;;;;:::i;:::-;;:::i;59790:113::-;;;;;;;;;;-1:-1:-1;59878:10:0;:17;59790:113;;32009:566;;;;;;;;;;-1:-1:-1;32009:566:0;;;;;:::i;:::-;;:::i;66844:91::-;;;;;;;;;;;;;:::i;65583:30::-;;;;;;;;;;;;;;;;48953:339;;;;;;;;;;-1:-1:-1;48953:339:0;;;;;:::i;:::-;;:::i;69464:1066::-;;;;;;:::i;:::-;;:::i;70538:831::-;;;;;;:::i;:::-;;:::i;59458:256::-;;;;;;;;;;-1:-1:-1;59458:256:0;;;;;:::i;:::-;;:::i;66256:28::-;;;;;;;;;;;;;;;;30354:91;;;;;;;;;;-1:-1:-1;30425:12:0;;30354:91;;31483:135;;;;;;;;;;-1:-1:-1;31483:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;31580:21:0;;;31553:7;31580:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;31483:135;49363:185;;;;;;;;;;-1:-1:-1;49363:185:0;;;;;:::i;:::-;;:::i;65978:34::-;;;;;;;;;;-1:-1:-1;65978:34:0;;;;;;;;;;;72988:327;;;;;;;;;;-1:-1:-1;72988:327:0;;;;;:::i;:::-;;:::i;66756:80::-;;;;;;;;;;;;;:::i;32843:641::-;;;;;;;;;;-1:-1:-1;32843:641:0;;;;;:::i;:::-;;:::i;59980:233::-;;;;;;;;;;-1:-1:-1;59980:233:0;;;;;:::i;:::-;;:::i;65832:28::-;;;;;;;;;;-1:-1:-1;65832:28:0;;;;;;;;;;;72401:105;;;;;;;;;;-1:-1:-1;72401:105:0;;;;;:::i;:::-;;:::i;65902:31::-;;;;;;;;;;-1:-1:-1;65902:31:0;;;;;;;;;;;67150:112;;;;;;;;;;-1:-1:-1;67150:112:0;;;;;:::i;:::-;;:::i;65869:26::-;;;;;;;;;;-1:-1:-1;65869:26:0;;;;;;;;;;;66943:91;;;;;;;;;;;;;:::i;46338:239::-;;;;;;;;;;-1:-1:-1;46338:239:0;;;;;:::i;:::-;;:::i;65683:21::-;;;;;;;;;;;;;:::i;67455:115::-;;;;;;;;;;-1:-1:-1;67455:115:0;;;;;:::i;:::-;;:::i;65650:24::-;;;;;;;;;;;;;;;;46068:208;;;;;;;;;;-1:-1:-1;46068:208:0;;;;;:::i;:::-;;:::i;14018:103::-;;;;;;;;;;;;;:::i;66021:45::-;;;;;;;;;;-1:-1:-1;66021:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;31709:100;;;;;;;;;;-1:-1:-1;31709:100:0;;;;;:::i;:::-;;:::i;13367:87::-;;;;;;;;;;-1:-1:-1;13440:6:0;;-1:-1:-1;;;;;13440:6:0;13367:87;;72628:112;;;;;;;;;;-1:-1:-1;72628:112:0;;;;;:::i;:::-;;:::i;46813:104::-;;;;;;;;;;;;;:::i;31205:109::-;;;;;;;;;;-1:-1:-1;31205:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;31288:18:0;31261:7;31288:18;;;:9;:18;;;;;;;31205:109;72514:106;;;;;;;;;;-1:-1:-1;72514:106:0;;;;;:::i;:::-;;:::i;48496:155::-;;;;;;;;;;-1:-1:-1;48496:155:0;;;;;:::i;:::-;;:::i;67378:69::-;;;;;;;;;;;;;:::i;67580:647::-;;;;;;;;;;-1:-1:-1;67580:647:0;;;;;:::i;:::-;;:::i;66073:51::-;;;;;;;;;;-1:-1:-1;66073:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;65940:31;;;;;;;;;;-1:-1:-1;65940:31:0;;;;;;;;;;;73323:241;;;;;;;;;;-1:-1:-1;73323:241:0;;;;;:::i;:::-;;:::i;49619:328::-;;;;;;;;;;-1:-1:-1;49619:328:0;;;;;:::i;:::-;;:::i;65746:37::-;;;;;;;;;;;;;:::i;72861:119::-;;;;;;;;;;-1:-1:-1;72861:119:0;;;;;:::i;:::-;;:::i;71377:723::-;;;;;;;;;;-1:-1:-1;71377:723:0;;;;;:::i;:::-;;:::i;31001:105::-;;;;;;;;;;-1:-1:-1;31001:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;31082:16:0;31055:7;31082:16;;;:7;:16;;;;;;;31001:105;68235:1221;;;;;;:::i;:::-;;:::i;65545:31::-;;;;;;;;;;;;;;;;30791:119;;;;;;;;;;-1:-1:-1;30791:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;30876:26:0;30849:7;30876:26;;;:19;:26;;;;;;;30791:119;72108:151;;;;;;;;;;-1:-1:-1;72108:151:0;;;;;:::i;:::-;;:::i;30539:95::-;;;;;;;;;;-1:-1:-1;30612:14:0;;30539:95;;48722:164;;;;;;;;;;-1:-1:-1;48722:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;48843:25:0;;;48819:4;48843:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;48722:164;72267:126;;;;;;;;;;-1:-1:-1;72267:126:0;;;;;:::i;:::-;;:::i;14276:201::-;;;;;;;;;;-1:-1:-1;14276:201:0;;;;;:::i;:::-;;:::i;59150:224::-;59252:4;-1:-1:-1;;;;;;59276:50:0;;-1:-1:-1;;;59276:50:0;;:90;;;59330:36;59354:11;59330:23;:36::i;:::-;59269:97;59150:224;-1:-1:-1;;59150:224:0:o;46644:100::-;46698:13;46731:5;46724:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46644:100;:::o;48203:221::-;48279:7;51546:16;;;:7;:16;;;;;;-1:-1:-1;;;;;51546:16:0;48299:73;;;;-1:-1:-1;;;48299:73:0;;23612:2:1;48299:73:0;;;23594:21:1;23651:2;23631:18;;;23624:30;23690:34;23670:18;;;23663:62;-1:-1:-1;;;23741:18:1;;;23734:42;23793:19;;48299:73:0;;;;;;;;;-1:-1:-1;48392:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;48392:24:0;;48203:221::o;65711:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;47726:411::-;47807:13;47823:23;47838:7;47823:14;:23::i;:::-;47807:39;;47871:5;-1:-1:-1;;;;;47865:11:0;:2;-1:-1:-1;;;;;47865:11:0;;;47857:57;;;;-1:-1:-1;;;47857:57:0;;25572:2:1;47857:57:0;;;25554:21:1;25611:2;25591:18;;;25584:30;25650:34;25630:18;;;25623:62;-1:-1:-1;;;25701:18:1;;;25694:31;25742:19;;47857:57:0;25544:223:1;47857:57:0;12171:10;-1:-1:-1;;;;;47949:21:0;;;;:62;;-1:-1:-1;47974:37:0;47991:5;12171:10;48722:164;:::i;47974:37::-;47927:168;;;;-1:-1:-1;;;47927:168:0;;20472:2:1;47927:168:0;;;20454:21:1;20511:2;20491:18;;;20484:30;20550:34;20530:18;;;20523:62;20621:26;20601:18;;;20594:54;20665:19;;47927:168:0;20444:246:1;47927:168:0;48108:21;48117:2;48121:7;48108:8;:21::i;:::-;47726:411;;;:::o;67042:100::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;67120:14:::1;::::0;;-1:-1:-1;;67102:32:0;::::1;67120:14:::0;;;;::::1;;;67119:15;67102:32:::0;;::::1;;::::0;;67042:100::o;72748:105::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;72822:10:::1;:23:::0;72748:105::o;32009:566::-;-1:-1:-1;;;;;32085:16:0;;32104:1;32085:16;;;:7;:16;;;;;;32077:71;;;;-1:-1:-1;;;32077:71:0;;;;;;;:::i;:::-;32161:21;32209:15;30612:14;;;30539:95;32209:15;32185:39;;:21;:39;:::i;:::-;32161:63;;32235:15;32253:58;32269:7;32278:13;32293:17;32302:7;-1:-1:-1;;;;;31288:18:0;31261:7;31288:18;;;:9;:18;;;;;;;31205:109;32293:17;32253:15;:58::i;:::-;32235:76;-1:-1:-1;32332:12:0;32324:68;;;;-1:-1:-1;;;32324:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;32405:18:0;;;;;;:9;:18;;;;;:29;;32427:7;;32405:18;:29;;32427:7;;32405:29;:::i;:::-;;;;;;;;32463:7;32445:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;32483:35:0;;-1:-1:-1;32501:7:0;32510;32483:17;:35::i;:::-;32534:33;;;-1:-1:-1;;;;;12389:32:1;;12371:51;;12453:2;12438:18;;12431:34;;;32534:33:0;;12344:18:1;32534:33:0;;;;;;;32009:566;;;:::o;66844:91::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;66916:11:::1;::::0;;-1:-1:-1;;66901:26:0;::::1;66916:11:::0;;;;::::1;;;66915:12;66901:26:::0;;::::1;;::::0;;66844:91::o;48953:339::-;49148:41;12171:10;49181:7;49148:18;:41::i;:::-;49140:103;;;;-1:-1:-1;;;49140:103:0;;;;;;;:::i;:::-;49256:28;49266:4;49272:2;49276:7;49256:9;:28::i;69464:1066::-;69537:11;;;;;;;69529:52;;;;-1:-1:-1;;;69529:52:0;;25974:2:1;69529:52:0;;;25956:21:1;26013:2;25993:18;;;25986:30;26052;26032:18;;;26025:58;26100:18;;69529:52:0;25946:178:1;69529:52:0;69601:6;;;;;;;69600:7;69592:52;;;;-1:-1:-1;;;69592:52:0;;;;;;;:::i;:::-;69691:1;69680:7;:12;;69658:105;;;;-1:-1:-1;;;69658:105:0;;;;;;;:::i;:::-;69796:10;69785:22;;;;:10;:22;;;;;;69821:1;;69785:32;;69810:7;;69785:32;:::i;:::-;:37;;69776:94;;;;-1:-1:-1;;;69776:94:0;;;;;;;:::i;:::-;69940:10;;69928:9;;:22;;;;:::i;:::-;69917:7;69905:9;;:19;;;;:::i;:::-;:45;;69883:128;;;;-1:-1:-1;;;69883:128:0;;;;;;;:::i;:::-;70070:9;70059:7;70044:12;;:22;;;;:::i;:::-;:35;;70022:130;;;;-1:-1:-1;;;70022:130:0;;;;;;;:::i;:::-;70163:18;;70192:331;70220:7;70214:3;:13;70192:331;;;70251:21;:9;1083:19;;1101:1;1083:19;;;994:127;70251:21;70300:9;964:14;70287:32;;70334:33;70344:10;70356;70334:9;:33::i;:::-;70418:10;70407:22;;;;:10;:22;;;;;;:26;;70432:1;70407:26;:::i;:::-;70393:10;70382:22;;;;:10;:22;;;;;:51;70459:8;;:12;;70470:1;70459:12;:::i;:::-;70448:8;:23;70498:9;;:13;;70510:1;70498:13;:::i;:::-;70486:9;:25;70229:5;;;;:::i;:::-;;;;70192:331;;70538:831;70611:11;;;;;;;70603:51;;;;-1:-1:-1;;;70603:51:0;;22541:2:1;70603:51:0;;;22523:21:1;22580:2;22560:18;;;22553:30;22619:29;22599:18;;;22592:57;22666:18;;70603:51:0;22513:177:1;70603:51:0;70683:1;70673:7;:11;70665:49;;;;-1:-1:-1;;;70665:49:0;;23258:2:1;70665:49:0;;;23240:21:1;23297:2;23277:18;;;23270:30;23336:27;23316:18;;;23309:55;23381:18;;70665:49:0;23230:175:1;70665:49:0;70782:10;;70770:9;;:22;;;;:::i;:::-;70759:7;70747:9;;:19;;;;:::i;:::-;:45;;70725:128;;;;-1:-1:-1;;;70725:128:0;;;;;;;:::i;:::-;70912:9;70901:7;70886:12;;:22;;;;:::i;:::-;:35;;70864:130;;;;-1:-1:-1;;;70864:130:0;;;;;;;:::i;:::-;71014:6;;;;;;;71013:7;71005:52;;;;-1:-1:-1;;;71005:52:0;;;;;;;:::i;:::-;71068:18;;71097:265;71125:7;71119:3;:13;71097:265;;;71156:21;:9;1083:19;;1101:1;1083:19;;;994:127;71156:21;71205:9;964:14;71192:32;;71239:33;71249:10;71261;71239:9;:33::i;:::-;71298:8;;:12;;71309:1;71298:12;:::i;:::-;71287:8;:23;71337:9;;:13;;71349:1;71337:13;:::i;:::-;71325:9;:25;71134:5;;;;:::i;:::-;;;;71097:265;;59458:256;59555:7;59591:23;59608:5;59591:16;:23::i;:::-;59583:5;:31;59575:87;;;;-1:-1:-1;;;59575:87:0;;14462:2:1;59575:87:0;;;14444:21:1;14501:2;14481:18;;;14474:30;14540:34;14520:18;;;14513:62;-1:-1:-1;;;14591:18:1;;;14584:41;14642:19;;59575:87:0;14434:233:1;59575:87:0;-1:-1:-1;;;;;;59680:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;59458:256::o;49363:185::-;49501:39;49518:4;49524:2;49528:7;49501:39;;;;;;;;;;;;:16;:39::i;72988:327::-;73047:13;;;;73039:57;;;;-1:-1:-1;;;73039:57:0;;24386:2:1;73039:57:0;;;24368:21:1;24425:2;24405:18;;;24398:30;24464:33;24444:18;;;24437:61;24515:18;;73039:57:0;24358:181:1;73039:57:0;73129:39;73148:10;73160:7;73129:18;:39::i;:::-;73107:141;;;;-1:-1:-1;;;73107:141:0;;28651:2:1;73107:141:0;;;28633:21:1;28690:2;28670:18;;;28663:30;28729:34;28709:18;;;28702:62;-1:-1:-1;;;28780:18:1;;;28773:50;28840:19;;73107:141:0;28623:242:1;73107:141:0;73259:14;73265:7;73259:5;:14::i;:::-;73306:1;73295:8;;:12;;;;:::i;:::-;73284:8;:23;-1:-1:-1;72988:327:0:o;66756:80::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;66822:6:::1;::::0;;-1:-1:-1;;66812:16:0;::::1;66822:6:::0;;;;::::1;;;66821:7;66812:16:::0;;::::1;;::::0;;66756:80::o;32843:641::-;-1:-1:-1;;;;;32925:16:0;;32944:1;32925:16;;;:7;:16;;;;;;32917:71;;;;-1:-1:-1;;;32917:71:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;30876:26:0;;33001:21;30876:26;;;:19;:26;;;;;;33025:30;;-1:-1:-1;;;33025:30:0;;33049:4;33025:30;;;12127:51:1;-1:-1:-1;;;;;33025:15:0;;;;;12100:18:1;;33025:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;33001:77;;33089:15;33107:65;33123:7;33132:13;33147:24;33156:5;33163:7;-1:-1:-1;;;;;31580:21:0;;;31553:7;31580:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;31483:135;33107:65;33089:83;-1:-1:-1;33193:12:0;33185:68;;;;-1:-1:-1;;;33185:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;33266:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;;;:41;;33300:7;;33266:21;:41;;33300:7;;33266:41;:::i;:::-;;;;-1:-1:-1;;;;;;;33318:26:0;;;;;;:19;:26;;;;;:37;;33348:7;;33318:26;:37;;33348:7;;33318:37;:::i;:::-;;;;-1:-1:-1;33368:47:0;;-1:-1:-1;33391:5:0;33398:7;33407;33368:22;:47::i;:::-;33431:45;;;-1:-1:-1;;;;;12389:32:1;;;12371:51;;12453:2;12438:18;;12431:34;;;33431:45:0;;;;;12344:18:1;33431:45:0;;;;;;;32843:641;;;;:::o;59980:233::-;60055:7;60091:30;59878:10;:17;;59790:113;60091:30;60083:5;:38;60075:95;;;;-1:-1:-1;;;60075:95:0;;27468:2:1;60075:95:0;;;27450:21:1;27507:2;27487:18;;;27480:30;27546:34;27526:18;;;27519:62;-1:-1:-1;;;27597:18:1;;;27590:42;27649:19;;60075:95:0;27440:234:1;60075:95:0;60188:10;60199:5;60188:17;;;;;;-1:-1:-1;;;60188:17:0;;;;;;;;;;;;;;;;;60181:24;;59980:233;;;:::o;72401:105::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;72476:9:::1;:22:::0;72401:105::o;67150:112::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;67231:23:::1;:7;67241:13:::0;;67231:23:::1;:::i;66943:91::-:0;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;67015:11:::1;::::0;;-1:-1:-1;;67000:26:0;::::1;67015:11:::0;;;;::::1;;;67014:12;67000:26:::0;;::::1;;::::0;;66943:91::o;46338:239::-;46410:7;46446:16;;;:7;:16;;;;;;-1:-1:-1;;;;;46446:16:0;46481:19;46473:73;;;;-1:-1:-1;;;46473:73:0;;21729:2:1;46473:73:0;;;21711:21:1;21768:2;21748:18;;;21741:30;21807:34;21787:18;;;21780:62;-1:-1:-1;;;21858:18:1;;;21851:39;21907:19;;46473:73:0;21701:231:1;65683:21:0;;;;;;;:::i;67455:115::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;67532:13:::1;:30:::0;;-1:-1:-1;;67532:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;67455:115::o;46068:208::-;46140:7;-1:-1:-1;;;;;46168:19:0;;46160:74;;;;-1:-1:-1;;;46160:74:0;;21318:2:1;46160:74:0;;;21300:21:1;21357:2;21337:18;;;21330:30;21396:34;21376:18;;;21369:62;-1:-1:-1;;;21447:18:1;;;21440:40;21497:19;;46160:74:0;21290:232:1;46160:74:0;-1:-1:-1;;;;;;46252:16:0;;;;;:9;:16;;;;;;;46068:208::o;14018:103::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;14083:30:::1;14110:1;14083:18;:30::i;:::-;14018:103::o:0;31709:100::-;31760:7;31787;31795:5;31787:14;;;;;;-1:-1:-1;;;31787:14:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31787:14:0;;31709:100;-1:-1:-1;;31709:100:0:o;72628:112::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;72705:15:::1;:27:::0;72628:112::o;46813:104::-;46869:13;46902:7;46895:14;;;;;:::i;72514:106::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;72588:12:::1;:24:::0;72514:106::o;48496:155::-;48591:52;12171:10;48624:8;48634;48591:18;:52::i;:::-;48496:155;;:::o;67378:69::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;67424:8:::1;:15:::0;;-1:-1:-1;;67424:15:0::1;;;::::0;;67378:69::o;67580:647::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;67713:9:::1;::::0;67681:8:::1;::::0;:28:::1;::::0;67692:10;;67681:28:::1;:::i;:::-;:41;;67659:130;;;::::0;-1:-1:-1;;;67659:130:0;;18047:2:1;67659:130:0::1;::::0;::::1;18029:21:1::0;18086:2;18066:18;;;18059:30;18125:34;18105:18;;;18098:62;-1:-1:-1;;;18176:18:1;;;18169:37;18223:19;;67659:130:0::1;18019:229:1::0;67659:130:0::1;67802:18;::::0;67831:389:::1;67853:23:::0;;::::1;67831:389;;;67953:1;67926:10:::0;;67937:3;67926:15;;::::1;;;-1:-1:-1::0;;;67926:15:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;67926:29:0::1;;;67900:134;;;::::0;-1:-1:-1;;;67900:134:0;;16469:2:1;67900:134:0::1;::::0;::::1;16451:21:1::0;16508:2;16488:18;;;16481:30;16547:34;16527:18;;;16520:62;-1:-1:-1;;;16598:18:1;;;16591:41;16649:19;;67900:134:0::1;16441:233:1::0;67900:134:0::1;68049:21;:9;1083:19:::0;;1101:1;1083:19;;;994:127;68049:21:::1;68098:9;964:14:::0;68085:32:::1;;68132:38;68142:10;;68153:3;68142:15;;;;;-1:-1:-1::0;;;68142:15:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68159:10;68132:9;:38::i;:::-;68196:8;::::0;:12:::1;::::0;68207:1:::1;68196:12;:::i;:::-;68185:8;:23:::0;67878:5;::::1;::::0;::::1;:::i;:::-;;;;67831:389;;;;13658:1;67580:647:::0;;:::o;73323:241::-;73466:25;;-1:-1:-1;;9619:2:1;9615:15;;;9611:53;73466:25:0;;;9599:66:1;73419:4:0;;;;9681:12:1;;73466:25:0;;;;;;;;;;;;73456:36;;;;;;73441:51;;73510:46;73529:5;73536:13;;73551:4;73510:18;:46::i;:::-;73503:53;73323:241;-1:-1:-1;;;;73323:241:0:o;49619:328::-;49794:41;12171:10;49827:7;49794:18;:41::i;:::-;49786:103;;;;-1:-1:-1;;;49786:103:0;;;;;;;:::i;:::-;49900:39;49914:4;49920:2;49924:7;49933:5;49900:13;:39::i;65746:37::-;;;;;;;:::i;72861:119::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;72942:13:::1;:30:::0;72861:119::o;71377:723::-;51522:4;51546:16;;;:7;:16;;;;;;71495:13;;-1:-1:-1;;;;;51546:16:0;71526:113;;;;-1:-1:-1;;;71526:113:0;;25156:2:1;71526:113:0;;;25138:21:1;25195:2;25175:18;;;25168:30;25234:34;25214:18;;;25207:62;-1:-1:-1;;;25285:18:1;;;25278:45;25340:19;;71526:113:0;25128:237:1;71526:113:0;71654:8;;;;;;;71650:71;;71695:14;71688:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71377:723;;;:::o;71650:71::-;71733:28;71764:10;:8;:10::i;:::-;71733:41;;71836:1;71811:14;71805:28;:32;:287;;;;;;;;;;;;;;;;;71929:14;71970:18;:7;:16;:18::i;:::-;72015:13;71886:165;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71805:287;71785:307;71377:723;-1:-1:-1;;;71377:723:0:o;68235:1221::-;68335:14;;;;;;;68327:57;;;;-1:-1:-1;;;68327:57:0;;27881:2:1;68327:57:0;;;27863:21:1;27920:2;27900:18;;;27893:30;27959:32;27939:18;;;27932:60;28009:18;;68327:57:0;27853:180:1;68327:57:0;68404:6;;;;;;;68403:7;68395:52;;;;-1:-1:-1;;;68395:52:0;;;;;;;:::i;:::-;68493:1;68482:7;:12;;68460:105;;;;-1:-1:-1;;;68460:105:0;;;;;;;:::i;:::-;68604:10;68587:28;;;;:16;:28;;;;;;68629:1;;68587:38;;68618:7;;68587:38;:::i;:::-;:43;;68578:100;;;;-1:-1:-1;;;68578:100:0;;;;;;;:::i;:::-;68699:25;68706:10;68718:5;68699:6;:25::i;:::-;68691:90;;;;-1:-1:-1;;;68691:90:0;;20897:2:1;68691:90:0;;;20879:21:1;20936:2;20916:18;;;20909:30;20975:34;20955:18;;;20948:62;-1:-1:-1;;;21026:18:1;;;21019:50;21086:19;;68691:90:0;20869:242:1;68691:90:0;68851:10;;68839:9;;:22;;;;:::i;:::-;68828:7;68816:9;;:19;;;;:::i;:::-;:45;;68794:128;;;;-1:-1:-1;;;68794:128:0;;;;;;;:::i;:::-;68984:9;68973:7;68955:15;;:25;;;;:::i;:::-;:38;;68933:133;;;;-1:-1:-1;;;68933:133:0;;;;;;;:::i;:::-;69077:18;;69106:343;69134:7;69128:3;:13;69106:343;;;69165:21;:9;1083:19;;1101:1;1083:19;;;994:127;69165:21;69214:9;964:14;69201:32;;69248:33;69258:10;69270;69248:9;:33::i;:::-;69344:10;69327:28;;;;:16;:28;;;;;;:32;;69358:1;69327:32;:::i;:::-;69313:10;69296:28;;;;:16;:28;;;;;:63;69385:8;;:12;;69396:1;69385:12;:::i;:::-;69374:8;:23;69424:9;;:13;;69436:1;69424:13;:::i;:::-;69412:9;:25;69143:5;;;;:::i;:::-;;;;69106:343;;72108:151;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;72218:33;;::::1;::::0;:13:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;72267:126::-:0;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;72353:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;14276:201::-:0;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;14365:22:0;::::1;14357:73;;;::::0;-1:-1:-1;;;14357:73:0;;15705:2:1;14357:73:0::1;::::0;::::1;15687:21:1::0;15744:2;15724:18;;;15717:30;15783:34;15763:18;;;15756:62;-1:-1:-1;;;15834:18:1;;;15827:36;15880:19;;14357:73:0::1;15677:228:1::0;14357:73:0::1;14441:28;14460:8;14441:18;:28::i;:::-;14276:201:::0;:::o;45699:305::-;45801:4;-1:-1:-1;;;;;;45838:40:0;;-1:-1:-1;;;45838:40:0;;:105;;-1:-1:-1;;;;;;;45895:48:0;;-1:-1:-1;;;45895:48:0;45838:105;:158;;;-1:-1:-1;;;;;;;;;;37504:40:0;;;45960:36;37395:157;55439:174;55514:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;55514:29:0;-1:-1:-1;;;;;55514:29:0;;;;;;;;:24;;55568:23;55514:24;55568:14;:23::i;:::-;-1:-1:-1;;;;;55559:46:0;;;;;;;;;;;55439:174;;:::o;33662:248::-;33872:12;;-1:-1:-1;;;;;33852:16:0;;33808:7;33852:16;;;:7;:16;;;;;;33808:7;;33887:15;;33836:32;;:13;:32;:::i;:::-;33835:49;;;;:::i;:::-;:67;;;;:::i;16977:317::-;17092:6;17067:21;:31;;17059:73;;;;-1:-1:-1;;;17059:73:0;;18882:2:1;17059:73:0;;;18864:21:1;18921:2;18901:18;;;18894:30;18960:31;18940:18;;;18933:59;19009:18;;17059:73:0;18854:179:1;17059:73:0;17146:12;17164:9;-1:-1:-1;;;;;17164:14:0;17186:6;17164:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17145:52;;;17216:7;17208:78;;;;-1:-1:-1;;;17208:78:0;;18455:2:1;17208:78:0;;;18437:21:1;18494:2;18474:18;;;18467:30;18533:34;18513:18;;;18506:62;18604:28;18584:18;;;18577:56;18650:19;;17208:78:0;18427:248:1;51751:348:0;51844:4;51546:16;;;:7;:16;;;;;;-1:-1:-1;;;;;51546:16:0;51861:73;;;;-1:-1:-1;;;51861:73:0;;19647:2:1;51861:73:0;;;19629:21:1;19686:2;19666:18;;;19659:30;19725:34;19705:18;;;19698:62;-1:-1:-1;;;19776:18:1;;;19769:42;19828:19;;51861:73:0;19619:234:1;51861:73:0;51945:13;51961:23;51976:7;51961:14;:23::i;:::-;51945:39;;52014:5;-1:-1:-1;;;;;52003:16:0;:7;-1:-1:-1;;;;;52003:16:0;;:51;;;;52047:7;-1:-1:-1;;;;;52023:31:0;:20;52035:7;52023:11;:20::i;:::-;-1:-1:-1;;;;;52023:31:0;;52003:51;:87;;;-1:-1:-1;;;;;;48843:25:0;;;48819:4;48843:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;52058:32;48722:164;54743:578;54902:4;-1:-1:-1;;;;;54875:31:0;:23;54890:7;54875:14;:23::i;:::-;-1:-1:-1;;;;;54875:31:0;;54867:85;;;;-1:-1:-1;;;54867:85:0;;24746:2:1;54867:85:0;;;24728:21:1;24785:2;24765:18;;;24758:30;24824:34;24804:18;;;24797:62;-1:-1:-1;;;24875:18:1;;;24868:39;24924:19;;54867:85:0;24718:231:1;54867:85:0;-1:-1:-1;;;;;54971:16:0;;54963:65;;;;-1:-1:-1;;;54963:65:0;;17288:2:1;54963:65:0;;;17270:21:1;17327:2;17307:18;;;17300:30;17366:34;17346:18;;;17339:62;-1:-1:-1;;;17417:18:1;;;17410:34;17461:19;;54963:65:0;17260:226:1;54963:65:0;55041:39;55062:4;55068:2;55072:7;55041:20;:39::i;:::-;55145:29;55162:1;55166:7;55145:8;:29::i;:::-;-1:-1:-1;;;;;55187:15:0;;;;;;:9;:15;;;;;:20;;55206:1;;55187:15;:20;;55206:1;;55187:20;:::i;:::-;;;;-1:-1:-1;;;;;;;55218:13:0;;;;;;:9;:13;;;;;:18;;55235:1;;55218:13;:18;;55235:1;;55218:18;:::i;:::-;;;;-1:-1:-1;;55247:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;55247:21:0;-1:-1:-1;;;;;55247:21:0;;;;;;;;;55286:27;;55247:16;;55286:27;;;;;;;54743:578;;;:::o;52441:110::-;52517:26;52527:2;52531:7;52517:26;;;;;;;;;;;;:9;:26::i;54046:360::-;54106:13;54122:23;54137:7;54122:14;:23::i;:::-;54106:39;;54158:48;54179:5;54194:1;54198:7;54158:20;:48::i;:::-;54247:29;54264:1;54268:7;54247:8;:29::i;:::-;-1:-1:-1;;;;;54289:16:0;;;;;;:9;:16;;;;;:21;;54309:1;;54289:16;:21;;54309:1;;54289:21;:::i;:::-;;;;-1:-1:-1;;54328:16:0;;;;:7;:16;;;;;;54321:23;;-1:-1:-1;;;;;;54321:23:0;;;54362:36;54336:7;;54328:16;-1:-1:-1;;;;;54362:36:0;;;;;54328:16;;54362:36;54046:360;;:::o;23683:211::-;23827:58;;;-1:-1:-1;;;;;12389:32:1;;23827:58:0;;;12371:51:1;12438:18;;;;12431:34;;;23827:58:0;;;;;;;;;;12344:18:1;;;;23827:58:0;;;;;;;;-1:-1:-1;;;;;23827:58:0;-1:-1:-1;;;23827:58:0;;;23800:86;;23820:5;;23800:19;:86::i;14637:191::-;14730:6;;;-1:-1:-1;;;;;14747:17:0;;;-1:-1:-1;;;;;;14747:17:0;;;;;;;14780:40;;14730:6;;;14747:17;14730:6;;14780:40;;14711:16;;14780:40;14637:191;;:::o;55755:315::-;55910:8;-1:-1:-1;;;;;55901:17:0;:5;-1:-1:-1;;;;;55901:17:0;;;55893:55;;;;-1:-1:-1;;;55893:55:0;;17693:2:1;55893:55:0;;;17675:21:1;17732:2;17712:18;;;17705:30;17771:27;17751:18;;;17744:55;17816:18;;55893:55:0;17665:175:1;55893:55:0;-1:-1:-1;;;;;55959:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;55959:46:0;;;;;;;;;;56021:41;;13388::1;;;56021::0;;13361:18:1;56021:41:0;;;;;;;55755:315;;;:::o;5269:190::-;5394:4;5447;5418:25;5431:5;5438:4;5418:12;:25::i;:::-;:33;;5269:190;-1:-1:-1;;;;5269:190:0:o;50829:315::-;50986:28;50996:4;51002:2;51006:7;50986:9;:28::i;:::-;51033:48;51056:4;51062:2;51066:7;51075:5;51033:22;:48::i;:::-;51025:111;;;;-1:-1:-1;;;51025:111:0;;;;;;;:::i;67270:100::-;67322:13;67355:7;67348:14;;;;;:::i;9653:723::-;9709:13;9930:10;9926:53;;-1:-1:-1;;9957:10:0;;;;;;;;;;;;-1:-1:-1;;;9957:10:0;;;;;9653:723::o;9926:53::-;10004:5;9989:12;10045:78;10052:9;;10045:78;;10078:8;;;;:::i;:::-;;-1:-1:-1;10101:10:0;;-1:-1:-1;10109:2:0;10101:10;;:::i;:::-;;;10045:78;;;10133:19;10165:6;10155:17;;;;;;-1:-1:-1;;;10155:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10155:17:0;;10133:39;;10183:154;10190:10;;10183:154;;10217:11;10227:1;10217:11;;:::i;:::-;;-1:-1:-1;10286:10:0;10294:2;10286:5;:10;:::i;:::-;10273:24;;:2;:24;:::i;:::-;10260:39;;10243:6;10250;10243:14;;;;;;-1:-1:-1;;;10243:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;10243:56:0;;;;;;;;-1:-1:-1;10314:11:0;10323:2;10314:11;;:::i;:::-;;;10183:154;;60826:589;-1:-1:-1;;;;;61032:18:0;;61028:187;;61067:40;61099:7;62242:10;:17;;62215:24;;;;:15;:24;;;;;:44;;;62270:24;;;;;;;;;;;;62138:164;61067:40;61028:187;;;61137:2;-1:-1:-1;;;;;61129:10:0;:4;-1:-1:-1;;;;;61129:10:0;;61125:90;;61156:47;61189:4;61195:7;61156:32;:47::i;:::-;-1:-1:-1;;;;;61229:16:0;;61225:183;;61262:45;61299:7;61262:36;:45::i;61225:183::-;61335:4;-1:-1:-1;;;;;61329:10:0;:2;-1:-1:-1;;;;;61329:10:0;;61325:83;;61356:40;61384:2;61388:7;61356:27;:40::i;52778:321::-;52908:18;52914:2;52918:7;52908:5;:18::i;:::-;52959:54;52990:1;52994:2;52998:7;53007:5;52959:22;:54::i;:::-;52937:154;;;;-1:-1:-1;;;52937:154:0;;;;;;;:::i;26256:716::-;26680:23;26706:69;26734:4;26706:69;;;;;;;;;;;;;;;;;26714:5;-1:-1:-1;;;;;26706:27:0;;;:69;;;;;:::i;:::-;26790:17;;26680:95;;-1:-1:-1;26790:21:0;26786:179;;26887:10;26876:30;;;;;;;;;;;;:::i;:::-;26868:85;;;;-1:-1:-1;;;26868:85:0;;28240:2:1;26868:85:0;;;28222:21:1;28279:2;28259:18;;;28252:30;28318:34;28298:18;;;28291:62;-1:-1:-1;;;28369:18:1;;;28362:40;28419:19;;26868:85:0;28212:232:1;5821:701:0;5904:7;5947:4;5904:7;5962:523;5986:5;:12;5982:1;:16;5962:523;;;6020:20;6043:5;6049:1;6043:8;;;;;;-1:-1:-1;;;6043:8:0;;;;;;;;;;;;;;;6020:31;;6086:12;6070;:28;6066:408;;6223:44;;;;;;9861:19:1;;;9896:12;;;9889:28;;;9933:12;;6223:44:0;;;;;;;;;;;;6213:55;;;;;;6198:70;;6066:408;;;6413:44;;;;;;9861:19:1;;;9896:12;;;9889:28;;;9933:12;;6413:44:0;;;;;;;;;;;;6403:55;;;;;;6388:70;;6066:408;-1:-1:-1;6000:3:0;;;;:::i;:::-;;;;5962:523;;;-1:-1:-1;6502:12:0;5821:701;-1:-1:-1;;;5821:701:0:o;56635:799::-;56790:4;-1:-1:-1;;;;;56811:13:0;;15978:20;16026:8;56807:620;;56847:72;;-1:-1:-1;;;56847:72:0;;-1:-1:-1;;;;;56847:36:0;;;;;:72;;12171:10;;56898:4;;56904:7;;56913:5;;56847:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56847:72:0;;;;;;;;-1:-1:-1;;56847:72:0;;;;;;;;;;;;:::i;:::-;;;56843:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57089:13:0;;57085:272;;57132:60;;-1:-1:-1;;;57132:60:0;;;;;;;:::i;57085:272::-;57307:6;57301:13;57292:6;57288:2;57284:15;57277:38;56843:529;-1:-1:-1;;;;;;56970:51:0;-1:-1:-1;;;56970:51:0;;-1:-1:-1;56963:58:0;;56807:620;-1:-1:-1;57411:4:0;56635:799;;;;;;:::o;62929:988::-;63195:22;63245:1;63220:22;63237:4;63220:16;:22::i;:::-;:26;;;;:::i;:::-;63257:18;63278:26;;;:17;:26;;;;;;63195:51;;-1:-1:-1;63411:28:0;;;63407:328;;-1:-1:-1;;;;;63478:18:0;;63456:19;63478:18;;;:12;:18;;;;;;;;:34;;;;;;;;;63529:30;;;;;;:44;;;63646:30;;:17;:30;;;;;:43;;;63407:328;-1:-1:-1;63831:26:0;;;;:17;:26;;;;;;;;63824:33;;;-1:-1:-1;;;;;63875:18:0;;;;;:12;:18;;;;;:34;;;;;;;63868:41;62929:988::o;64212:1079::-;64490:10;:17;64465:22;;64490:21;;64510:1;;64490:21;:::i;:::-;64522:18;64543:24;;;:15;:24;;;;;;64916:10;:26;;64465:46;;-1:-1:-1;64543:24:0;;64465:46;;64916:26;;;;-1:-1:-1;;;64916:26:0;;;;;;;;;;;;;;;;;64894:48;;64980:11;64955:10;64966;64955:22;;;;;;-1:-1:-1;;;64955:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;65060:28;;;:15;:28;;;;;;;:41;;;65232:24;;;;;65225:31;65267:10;:16;;;;;-1:-1:-1;;;65267:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;64212:1079;;;;:::o;61716:221::-;61801:14;61818:20;61835:2;61818:16;:20::i;:::-;-1:-1:-1;;;;;61849:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;61894:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;61716:221:0:o;53435:382::-;-1:-1:-1;;;;;53515:16:0;;53507:61;;;;-1:-1:-1;;;53507:61:0;;22897:2:1;53507:61:0;;;22879:21:1;;;22916:18;;;22909:30;22975:34;22955:18;;;22948:62;23027:18;;53507:61:0;22869:182:1;53507:61:0;51522:4;51546:16;;;:7;:16;;;;;;-1:-1:-1;;;;;51546:16:0;:30;53579:58;;;;-1:-1:-1;;;53579:58:0;;16112:2:1;53579:58:0;;;16094:21:1;16151:2;16131:18;;;16124:30;16190;16170:18;;;16163:58;16238:18;;53579:58:0;16084:178:1;53579:58:0;53650:45;53679:1;53683:2;53687:7;53650:20;:45::i;:::-;-1:-1:-1;;;;;53708:13:0;;;;;;:9;:13;;;;;:18;;53725:1;;53708:13;:18;;53725:1;;53708:18;:::i;:::-;;;;-1:-1:-1;;53737:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;53737:21:0;-1:-1:-1;;;;;53737:21:0;;;;;;;;53776:33;;53737:16;;;53776:33;;53737:16;;53776:33;53435:382;;:::o;18461:229::-;18598:12;18630:52;18652:6;18660:4;18666:1;18669:12;18598;15978:20;;19868:60;;;;-1:-1:-1;;;19868:60:0;;27110:2:1;19868:60:0;;;27092:21:1;27149:2;27129:18;;;27122:30;27188:31;27168:18;;;27161:59;27237:18;;19868:60:0;27082:179:1;19868:60:0;19942:12;19956:23;19983:6;-1:-1:-1;;;;;19983:11:0;20002:5;20009:4;19983:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19941:73;;;;20032:51;20049:7;20058:10;20070:12;20032:16;:51::i;:::-;20025:58;19581:510;-1:-1:-1;;;;;;;19581:510:0:o;22267:712::-;22417:12;22446:7;22442:530;;;-1:-1:-1;22477:10:0;22470:17;;22442:530;22591:17;;:21;22587:374;;22789:10;22783:17;22850:15;22837:10;22833:2;22829:19;22822:44;22737:148;22932:12;22925:20;;-1:-1:-1;;;22925:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:2;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:2;;;309:1;306;299:12;268:2;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;88:332;;;;;:::o;425:743::-;479:5;532:3;525:4;517:6;513:17;509:27;499:2;;554:5;547;540:20;499:2;594:6;581:20;620:4;643:18;639:2;636:26;633:2;;;665:18;;:::i;:::-;711:2;708:1;704:10;734:28;758:2;754;750:11;734:28;:::i;:::-;796:15;;;827:12;;;;859:15;;;893;;;889:24;;886:33;-1:-1:-1;883:2:1;;;936:5;929;922:20;883:2;962:5;953:14;;976:163;990:2;987:1;984:9;976:163;;;1047:17;;1035:30;;1008:1;1001:9;;;;;1085:12;;;;1117;;976:163;;;-1:-1:-1;1157:5:1;489:679;-1:-1:-1;;;;;;;489:679:1:o;1173:257::-;1232:6;1285:2;1273:9;1264:7;1260:23;1256:32;1253:2;;;1306:6;1298;1291:22;1253:2;1350:9;1337:23;1369:31;1394:5;1369:31;:::i;1705:398::-;1773:6;1781;1834:2;1822:9;1813:7;1809:23;1805:32;1802:2;;;1855:6;1847;1840:22;1802:2;1899:9;1886:23;1918:31;1943:5;1918:31;:::i;:::-;1968:5;-1:-1:-1;2025:2:1;2010:18;;1997:32;2038:33;1997:32;2038:33;:::i;:::-;2090:7;2080:17;;;1792:311;;;;;:::o;2108:466::-;2185:6;2193;2201;2254:2;2242:9;2233:7;2229:23;2225:32;2222:2;;;2275:6;2267;2260:22;2222:2;2319:9;2306:23;2338:31;2363:5;2338:31;:::i;:::-;2388:5;-1:-1:-1;2445:2:1;2430:18;;2417:32;2458:33;2417:32;2458:33;:::i;:::-;2212:362;;2510:7;;-1:-1:-1;;;2564:2:1;2549:18;;;;2536:32;;2212:362::o;2579:824::-;2674:6;2682;2690;2698;2751:3;2739:9;2730:7;2726:23;2722:33;2719:2;;;2773:6;2765;2758:22;2719:2;2817:9;2804:23;2836:31;2861:5;2836:31;:::i;:::-;2886:5;-1:-1:-1;2943:2:1;2928:18;;2915:32;2956:33;2915:32;2956:33;:::i;:::-;3008:7;-1:-1:-1;3062:2:1;3047:18;;3034:32;;-1:-1:-1;3117:2:1;3102:18;;3089:32;3144:18;3133:30;;3130:2;;;3181:6;3173;3166:22;3130:2;3209:22;;3262:4;3254:13;;3250:27;-1:-1:-1;3240:2:1;;3296:6;3288;3281:22;3240:2;3324:73;3389:7;3384:2;3371:16;3366:2;3362;3358:11;3324:73;:::i;:::-;3314:83;;;2709:694;;;;;;;:::o;3408:503::-;3501:6;3509;3562:2;3550:9;3541:7;3537:23;3533:32;3530:2;;;3583:6;3575;3568:22;3530:2;3627:9;3614:23;3646:31;3671:5;3646:31;:::i;:::-;3696:5;-1:-1:-1;3752:2:1;3737:18;;3724:32;3779:18;3768:30;;3765:2;;;3816:6;3808;3801:22;3765:2;3844:61;3897:7;3888:6;3877:9;3873:22;3844:61;:::i;:::-;3834:71;;;3520:391;;;;;:::o;3916:392::-;3981:6;3989;4042:2;4030:9;4021:7;4017:23;4013:32;4010:2;;;4063:6;4055;4048:22;4010:2;4107:9;4094:23;4126:31;4151:5;4126:31;:::i;:::-;4176:5;-1:-1:-1;4233:2:1;4218:18;;4205:32;4246:30;4205:32;4246:30;:::i;4313:325::-;4381:6;4389;4442:2;4430:9;4421:7;4417:23;4413:32;4410:2;;;4463:6;4455;4448:22;4410:2;4507:9;4494:23;4526:31;4551:5;4526:31;:::i;:::-;4576:5;4628:2;4613:18;;;;4600:32;;-1:-1:-1;;;4400:238:1:o;4643:665::-;4729:6;4737;4790:2;4778:9;4769:7;4765:23;4761:32;4758:2;;;4811:6;4803;4796:22;4758:2;4856:9;4843:23;4885:18;4926:2;4918:6;4915:14;4912:2;;;4947:6;4939;4932:22;4912:2;4990:6;4979:9;4975:22;4965:32;;5035:7;5028:4;5024:2;5020:13;5016:27;5006:2;;5062:6;5054;5047:22;5006:2;5107;5094:16;5133:2;5125:6;5122:14;5119:2;;;5154:6;5146;5139:22;5119:2;5212:7;5207:2;5197:6;5194:1;5190:14;5186:2;5182:23;5178:32;5175:45;5172:2;;;5238:6;5230;5223:22;5172:2;5274;5266:11;;;;;5296:6;;-1:-1:-1;4748:560:1;;-1:-1:-1;;;;4748:560:1:o;5313:251::-;5369:6;5422:2;5410:9;5401:7;5397:23;5393:32;5390:2;;;5443:6;5435;5428:22;5390:2;5487:9;5474:23;5506:28;5528:5;5506:28;:::i;5569:255::-;5636:6;5689:2;5677:9;5668:7;5664:23;5660:32;5657:2;;;5710:6;5702;5695:22;5657:2;5747:9;5741:16;5766:28;5788:5;5766:28;:::i;5829:190::-;5888:6;5941:2;5929:9;5920:7;5916:23;5912:32;5909:2;;;5962:6;5954;5947:22;5909:2;-1:-1:-1;5990:23:1;;5899:120;-1:-1:-1;5899:120:1:o;6024:255::-;6082:6;6135:2;6123:9;6114:7;6110:23;6106:32;6103:2;;;6156:6;6148;6141:22;6103:2;6200:9;6187:23;6219:30;6243:5;6219:30;:::i;6284:259::-;6353:6;6406:2;6394:9;6385:7;6381:23;6377:32;6374:2;;;6427:6;6419;6412:22;6374:2;6464:9;6458:16;6483:30;6507:5;6483:30;:::i;6824:412::-;6906:6;6914;6967:2;6955:9;6946:7;6942:23;6938:32;6935:2;;;6988:6;6980;6973:22;7241:642;7312:6;7320;7373:2;7361:9;7352:7;7348:23;7344:32;7341:2;;;7394:6;7386;7379:22;7341:2;7439:9;7426:23;7468:18;7509:2;7501:6;7498:14;7495:2;;;7530:6;7522;7515:22;7495:2;7573:6;7562:9;7558:22;7548:32;;7618:7;7611:4;7607:2;7603:13;7599:27;7589:2;;7645:6;7637;7630:22;7589:2;7690;7677:16;7716:2;7708:6;7705:14;7702:2;;;7737:6;7729;7722:22;7702:2;7787:7;7782:2;7773:6;7769:2;7765:15;7761:24;7758:37;7755:2;;;7813:6;7805;7798:22;7888:480;7957:6;8010:2;7998:9;7989:7;7985:23;7981:32;7978:2;;;8031:6;8023;8016:22;7978:2;8076:9;8063:23;8109:18;8101:6;8098:30;8095:2;;;8146:6;8138;8131:22;8095:2;8174:22;;8227:4;8219:13;;8215:27;-1:-1:-1;8205:2:1;;8261:6;8253;8246:22;8205:2;8289:73;8354:7;8349:2;8336:16;8331:2;8327;8323:11;8289:73;:::i;8568:194::-;8638:6;8691:2;8679:9;8670:7;8666:23;8662:32;8659:2;;;8712:6;8704;8697:22;8659:2;-1:-1:-1;8740:16:1;;8649:113;-1:-1:-1;8649:113:1:o;8767:436::-;8860:6;8868;8921:2;8909:9;8900:7;8896:23;8892:32;8889:2;;;8942:6;8934;8927:22;8889:2;8983:9;8970:23;8960:33;;9044:2;9033:9;9029:18;9016:32;9071:18;9063:6;9060:30;9057:2;;;9108:6;9100;9093:22;9208:257;9249:3;9287:5;9281:12;9314:6;9309:3;9302:19;9330:63;9386:6;9379:4;9374:3;9370:14;9363:4;9356:5;9352:16;9330:63;:::i;:::-;9447:2;9426:15;-1:-1:-1;;9422:29:1;9413:39;;;;9454:4;9409:50;;9257:208;-1:-1:-1;;9257:208:1:o;9956:274::-;10085:3;10123:6;10117:13;10139:53;10185:6;10180:3;10173:4;10165:6;10161:17;10139:53;:::i;:::-;10208:16;;;;;10093:137;-1:-1:-1;;10093:137:1:o;10235:1531::-;10459:3;10497:6;10491:13;10523:4;10536:51;10580:6;10575:3;10570:2;10562:6;10558:15;10536:51;:::i;:::-;10650:13;;10609:16;;;;10672:55;10650:13;10609:16;10694:15;;;10672:55;:::i;:::-;10818:13;;10749:20;;;10789:3;;10878:1;10900:18;;;;10953;;;;10980:2;;11058:4;11048:8;11044:19;11032:31;;10980:2;11121;11111:8;11108:16;11088:18;11085:40;11082:2;;;-1:-1:-1;;;11148:33:1;;11204:4;11201:1;11194:15;11234:4;11155:3;11222:17;11082:2;11265:18;11292:110;;;;11416:1;11411:330;;;;11258:483;;11292:110;-1:-1:-1;;11327:24:1;;11313:39;;11372:20;;;;-1:-1:-1;11292:110:1;;11411:330;29379:4;29398:17;;;29448:4;29432:21;;11506:3;11522:169;11536:8;11533:1;11530:15;11522:169;;;11618:14;;11603:13;;;11596:37;11661:16;;;;11553:10;;11522:169;;;11526:3;;11722:8;11715:5;11711:20;11704:27;;11258:483;-1:-1:-1;11757:3:1;;10467:1299;-1:-1:-1;;;;;;;;;;;10467:1299:1:o;12476:488::-;-1:-1:-1;;;;;12745:15:1;;;12727:34;;12797:15;;12792:2;12777:18;;12770:43;12844:2;12829:18;;12822:34;;;12892:3;12887:2;12872:18;;12865:31;;;12670:4;;12913:45;;12938:19;;12930:6;12913:45;:::i;:::-;12905:53;12679:285;-1:-1:-1;;;;;;12679:285:1:o;13622:219::-;13771:2;13760:9;13753:21;13734:4;13791:44;13831:2;13820:9;13816:18;13808:6;13791:44;:::i;13846:409::-;14048:2;14030:21;;;14087:2;14067:18;;;14060:30;14126:34;14121:2;14106:18;;14099:62;-1:-1:-1;;;14192:2:1;14177:18;;14170:43;14245:3;14230:19;;14020:235::o;14672:414::-;14874:2;14856:21;;;14913:2;14893:18;;;14886:30;14952:34;14947:2;14932:18;;14925:62;-1:-1:-1;;;15018:2:1;15003:18;;14996:48;15076:3;15061:19;;14846:240::o;15091:407::-;15293:2;15275:21;;;15332:2;15312:18;;;15305:30;15371:34;15366:2;15351:18;;15344:62;-1:-1:-1;;;15437:2:1;15422:18;;15415:41;15488:3;15473:19;;15265:233::o;16679:402::-;16881:2;16863:21;;;16920:2;16900:18;;;16893:30;16959:34;16954:2;16939:18;;16932:62;-1:-1:-1;;;17025:2:1;17010:18;;17003:36;17071:3;17056:19;;16853:228::o;19858:407::-;20060:2;20042:21;;;20099:2;20079:18;;;20072:30;20138:34;20133:2;20118:18;;20111:62;-1:-1:-1;;;20204:2:1;20189:18;;20182:41;20255:3;20240:19;;20032:233::o;21937:397::-;22139:2;22121:21;;;22178:2;22158:18;;;22151:30;22217:34;22212:2;22197:18;;22190:62;-1:-1:-1;;;22283:2:1;22268:18;;22261:31;22324:3;22309:19;;22111:223::o;23823:356::-;24025:2;24007:21;;;24044:18;;;24037:30;24103:34;24098:2;24083:18;;24076:62;24170:2;24155:18;;23997:182::o;26129:413::-;26331:2;26313:21;;;26370:2;26350:18;;;26343:30;26409:34;26404:2;26389:18;;26382:62;-1:-1:-1;;;26475:2:1;26460:18;;26453:47;26532:3;26517:19;;26303:239::o;26547:356::-;26749:2;26731:21;;;26768:18;;;26761:30;26827:34;26822:2;26807:18;;26800:62;26894:2;26879:18;;26721:182::o;29052:275::-;29123:2;29117:9;29188:2;29169:13;;-1:-1:-1;;29165:27:1;29153:40;;29223:18;29208:34;;29244:22;;;29205:62;29202:2;;;29270:18;;:::i;:::-;29306:2;29299:22;29097:230;;-1:-1:-1;29097:230:1:o;29464:128::-;29504:3;29535:1;29531:6;29528:1;29525:13;29522:2;;;29541:18;;:::i;:::-;-1:-1:-1;29577:9:1;;29512:80::o;29597:120::-;29637:1;29663;29653:2;;29668:18;;:::i;:::-;-1:-1:-1;29702:9:1;;29643:74::o;29722:168::-;29762:7;29828:1;29824;29820:6;29816:14;29813:1;29810:21;29805:1;29798:9;29791:17;29787:45;29784:2;;;29835:18;;:::i;:::-;-1:-1:-1;29875:9:1;;29774:116::o;29895:125::-;29935:4;29963:1;29960;29957:8;29954:2;;;29968:18;;:::i;:::-;-1:-1:-1;30005:9:1;;29944:76::o;30025:258::-;30097:1;30107:113;30121:6;30118:1;30115:13;30107:113;;;30197:11;;;30191:18;30178:11;;;30171:39;30143:2;30136:10;30107:113;;;30238:6;30235:1;30232:13;30229:2;;;-1:-1:-1;;30273:1:1;30255:16;;30248:27;30078:205::o;30288:380::-;30367:1;30363:12;;;;30410;;;30431:2;;30485:4;30477:6;30473:17;30463:27;;30431:2;30538;30530:6;30527:14;30507:18;30504:38;30501:2;;;30584:10;30579:3;30575:20;30572:1;30565:31;30619:4;30616:1;30609:15;30647:4;30644:1;30637:15;30501:2;;30343:325;;;:::o;30673:135::-;30712:3;-1:-1:-1;;30733:17:1;;30730:2;;;30753:18;;:::i;:::-;-1:-1:-1;30800:1:1;30789:13;;30720:88::o;30813:112::-;30845:1;30871;30861:2;;30876:18;;:::i;:::-;-1:-1:-1;30910:9:1;;30851:74::o;30930:127::-;30991:10;30986:3;30982:20;30979:1;30972:31;31022:4;31019:1;31012:15;31046:4;31043:1;31036:15;31062:127;31123:10;31118:3;31114:20;31111:1;31104:31;31154:4;31151:1;31144:15;31178:4;31175:1;31168:15;31194:127;31255:10;31250:3;31246:20;31243:1;31236:31;31286:4;31283:1;31276:15;31310:4;31307:1;31300:15;31326:131;-1:-1:-1;;;;;31401:31:1;;31391:42;;31381:2;;31447:1;31444;31437:12;31462:118;31548:5;31541:13;31534:21;31527:5;31524:32;31514:2;;31570:1;31567;31560:12;31585:131;-1:-1:-1;;;;;;31659:32:1;;31649:43;;31639:2;;31706:1;31703;31696:12

Swarm Source

ipfs://63a87288528db37f4cd3e9ffb02a87fc8e8f14e5914dbdf884adc74ca62890f3
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.