ETH Price: $3,462.05 (+4.35%)

Token

Mutant Ape Planet (MAP)
 

Overview

Max Total Supply

6,799 MAP

Holders

3,738

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
gawaninja.eth
Balance
2 MAP
0xaccf3fcc12f55ab013f75cf07525602fb558b307
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:
MutantApePlanet

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-01-31
*/

// 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/MutantApePlanet.sol



pragma solidity ^0.8.4;







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

    uint256 public maxSupply = 9999;
    uint256 public giftSupply = 100;
    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 _price = 150000000000000000; //0.15 ETH

    bytes32 public whitelistRoot;

    Counters.Counter private _tokenIds;

    uint256[] private _teamShares = [50, 50];
    address[] private _team = [
        0x330e8FF8672c5C0dd168e2326Ad6ad619e76897F,
        0xf1176705B2D92122eAAF0eb933f6B485ce2df88A
    ];

    constructor()
        ERC721("Mutant Ape Planet", "MAP")
        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,
            "Mutant Ape Planet: max total supply exceeded"
        );

        uint256 _newItemId;
        for (uint256 ind = 0; ind < _addresses.length; ind++) {
            require(
                _addresses[ind] != address(0),
                "Mutant Ape Planet: 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, "Mutant Ape Planet: Whitelist is OFF");
        require(!paused, "Mutant Ape Planet: contract is paused");

        require(
            _amount <= 3,
            "Mutant Ape Planet: You can't mint so much tokens"
        );

        require( _whitelistMinted[msg.sender] + _amount <= 3, "Mutant Ape Planet: You can't mint so much tokens");

        require(verify(msg.sender, proof), "Mutant Ape Planet: You are not selected for the whitelist");

        require(
            mintedNFT + _amount <= maxSupply - giftSupply,
            "Mutant Ape Planet: max supply exceeded"
        );
        require(
            _price * _amount <= msg.value,
            "Mutant Ape Planet: 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, "Mutant Ape Planet: Raffle is OFF");
        require(!paused, "Mutant Ape Planet: contract is paused");

        require(
            _amount <= 10,
            "Mutant Ape Planet: You can't mint so much tokens"
        );

        require( _nftMinted[msg.sender] + _amount <= 10, "Mutant Ape Planet: You can't mint so much tokens");

        require(
            mintedNFT + _amount <= maxSupply - giftSupply,
            "Mutant Ape Planet: max supply exceeded"
        );
        require(
            _price * _amount <= msg.value,
            "Mutant Ape Planet: 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, "Mutant Ape Planet: Public is OFF");
        require(_amount > 0, "Mutant Ape Planet: zero amount");
        require(
            mintedNFT + _amount <= maxSupply - giftSupply,
            "Mutant Ape Planet: max supply exceeded"
        );
        require(
            _price * _amount <= msg.value,
            "Mutant Ape Planet: Ether value sent is not correct"
        );
        require(!paused, "Mutant Ape Planet: 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 changePrice(uint256 _newPrice) public onlyOwner {
        _price = _newPrice;
    }

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

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

    function burn(uint256 tokenId) external {
        require(isBurnEnabled, "Mutant Ape Planet : burning disabled");
        require(
            _isApprovedOrOwner(msg.sender, tokenId),
            "Mutant Ape Planet : 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":"changePrice","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":"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"}]

61270f601255606460135560c06040526005608081905264173539b7b760d91b60a090815262000033916018919062000599565b506019805465ffffffffffff19169055670214e8348c4f0000601c5560408051808201909152603280825260208201526200007390601f90600262000628565b506040805180820190915273330e8ff8672c5c0dd168e2326ad6ad619e76897f815273f1176705b2d92122eaaf0eb933f6b485ce2df88a602080830191909152620000c09160026200066b565b50348015620000ce57600080fd5b506020805460408051828402810184019091528181529190828201828280156200012257602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000103575b5050505050601f8054806020026020016040519081016040528092919081815260200182805480156200017557602002820191906000526020600020905b81548152602001906001019080831162000160575b50506040805180820182526011815270135d5d185b9d08105c1948141b185b995d607a1b60208083019182528351808501909452600384526204d41560ec1b908401528151919550919350620001d092506000919062000599565b508051620001e690600190602084019062000599565b50505062000203620001fd6200035560201b60201c565b62000359565b8051825114620002755760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620002c85760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200026c565b60005b82518110156200034c5762000337838281518110620002fa57634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106200032357634e487b7160e01b600052603260045260246000fd5b6020026020010151620003ab60201b60201c565b80620003438162000732565b915050620002cb565b50505062000766565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620004185760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200026c565b600081116200046a5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200026c565b6001600160a01b0382166000908152600d602052604090205415620004e65760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200026c565b600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319166001600160a01b0384169081179091556000908152600d60205260409020819055600b5462000550908290620006da565b600b55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b828054620005a790620006f5565b90600052602060002090601f016020900481019282620005cb576000855562000616565b82601f10620005e657805160ff191683800117855562000616565b8280016001018555821562000616579182015b8281111562000616578251825591602001919060010190620005f9565b5062000624929150620006c3565b5090565b82805482825590600052602060002090810192821562000616579160200282015b8281111562000616578251829060ff1690559160200191906001019062000649565b82805482825590600052602060002090810192821562000616579160200282015b828111156200061657825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200068c565b5b80821115620006245760008155600101620006c4565b60008219821115620006f057620006f062000750565b500190565b600181811c908216806200070a57607f821691505b602082108114156200072c57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000749576200074962000750565b5060010190565b634e487b7160e01b600052601160045260246000fd5b613ea880620007766000396000f3fe6080604052600436106103bb5760003560e01c806360e5bb85116101f2578063ab6c82571161010d578063d2cab056116100a0578063e33b7de31161006f578063e33b7de314610b4a578063e985e9c514610b5f578063f2c4ce1e14610ba8578063f2fde38b14610bc857600080fd5b8063d2cab05614610acb578063d5abeb0114610ade578063d79779b214610af4578063da3ef23f14610b2a57600080fd5b8063c6682862116100dc578063c668286214610a40578063c6a7cbc914610a55578063c87b56dd14610a75578063ce7c2ac214610a9557600080fd5b8063ab6c8257146109b1578063abfe7614146109de578063b76a0df414610a00578063b88d4fde14610a2057600080fd5b80638b83209b11610185578063a22cb46511610154578063a22cb4651461093c578063a2b40d191461095c578063a475b5dd1461097c578063a5fd7bec1461099157600080fd5b80638b83209b146108b35780638da5cb5b146108d357806395d89b41146108f15780639852595c1461090657600080fd5b80636f0b7871116101c15780636f0b78711461083b57806370a0823114610851578063715018a6146108715780637f1e37111461088657600080fd5b806360e5bb85146107d15780636352211e146107e65780636c0360eb146108065780636e0e5b191461081b57600080fd5b80632db11544116102e257806346e79ffc1161027557806352e973261161024457806352e973261461075057806355c815951461077057806355f804b3146107915780635c975abb146107b157600080fd5b806346e79ffc146106dc57806348b75044146106f15780634f6ccce714610711578063518302271461073157600080fd5b8063406072a9116102b1578063406072a91461063357806342842e0e146106795780634293516d1461069957806342966c68146106bc57600080fd5b80632db11544146105d55780632f745c59146105e8578063386bfc98146106085780633a98ef391461061e57600080fd5b80630e6246341161035a5780631e93ffa1116103295780631e93ffa1146105775780632254b0151461058c57806323b872dd146105a25780632a6d210d146105c257600080fd5b80630e6246341461050d57806310ed76211461052257806318160ddd14610542578063191655871461055757600080fd5b806307ebec271161039657806307ebec2714610484578063081812fc1461049e578063081c8c44146104d6578063095ea7b3146104eb57600080fd5b80624563791461040957806301ffc9a71461043257806306fdde031461046257600080fd5b36610404577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561041557600080fd5b5061041f60145481565b6040519081526020015b60405180910390f35b34801561043e57600080fd5b5061045261044d3660046137ac565b610be8565b6040519015158152602001610429565b34801561046e57600080fd5b50610477610c13565b6040516104299190613a25565b34801561049057600080fd5b506019546104529060ff1681565b3480156104aa57600080fd5b506104be6104b9366004613794565b610ca5565b6040516001600160a01b039091168152602001610429565b3480156104e257600080fd5b50610477610d3f565b3480156104f757600080fd5b5061050b6105063660046136c1565b610dcd565b005b34801561051957600080fd5b5061050b610ee3565b34801561052e57600080fd5b5061050b61053d366004613794565b610f32565b34801561054e57600080fd5b5060085461041f565b34801561056357600080fd5b5061050b610572366004613535565b610f61565b34801561058357600080fd5b5061050b61108f565b34801561059857600080fd5b5061041f60135481565b3480156105ae57600080fd5b5061050b6105bd366004613589565b6110da565b61050b6105d0366004613794565b61110b565b61050b6105e3366004613794565b6112db565b3480156105f457600080fd5b5061041f6106033660046136c1565b611474565b34801561061457600080fd5b5061041f601d5481565b34801561062a57600080fd5b50600b5461041f565b34801561063f57600080fd5b5061041f61064e3660046137e4565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b34801561068557600080fd5b5061050b610694366004613589565b61150a565b3480156106a557600080fd5b506019546104529065010000000000900460ff1681565b3480156106c857600080fd5b5061050b6106d7366004613794565b611525565b3480156106e857600080fd5b5061050b61161d565b3480156106fd57600080fd5b5061050b61070c3660046137e4565b611666565b34801561071d57600080fd5b5061041f61072c366004613794565b61184e565b34801561073d57600080fd5b5060195461045290610100900460ff1681565b34801561075c57600080fd5b5061050b61076b366004613794565b6118ef565b34801561077c57600080fd5b50601954610452906301000000900460ff1681565b34801561079d57600080fd5b5061050b6107ac3660046137f6565b61191e565b3480156107bd57600080fd5b506019546104529062010000900460ff1681565b3480156107dd57600080fd5b5061050b611954565b3480156107f257600080fd5b506104be610801366004613794565b6119a1565b34801561081257600080fd5b50610477611a18565b34801561082757600080fd5b5061050b61083636600461375c565b611a25565b34801561084757600080fd5b5061041f60155481565b34801561085d57600080fd5b5061041f61086c366004613535565b611a62565b34801561087d57600080fd5b5061050b611ae9565b34801561089257600080fd5b5061041f6108a1366004613535565b601a6020526000908152604090205481565b3480156108bf57600080fd5b506104be6108ce366004613794565b611b1f565b3480156108df57600080fd5b50600a546001600160a01b03166104be565b3480156108fd57600080fd5b50610477611b5d565b34801561091257600080fd5b5061041f610921366004613535565b6001600160a01b03166000908152600e602052604090205490565b34801561094857600080fd5b5061050b610957366004613694565b611b6c565b34801561096857600080fd5b5061050b610977366004613794565b611b7b565b34801561098857600080fd5b5061050b611baa565b34801561099d57600080fd5b5061050b6109ac3660046136ec565b611be5565b3480156109bd57600080fd5b5061041f6109cc366004613535565b601b6020526000908152604090205481565b3480156109ea57600080fd5b5060195461045290640100000000900460ff1681565b348015610a0c57600080fd5b50610452610a1b366004613646565b611db0565b348015610a2c57600080fd5b5061050b610a3b3660046135c9565b611e01565b348015610a4c57600080fd5b50610477611e33565b348015610a6157600080fd5b5061050b610a70366004613794565b611e40565b348015610a8157600080fd5b50610477610a90366004613794565b611e6f565b348015610aa157600080fd5b5061041f610ab0366004613535565b6001600160a01b03166000908152600d602052604090205490565b61050b610ad93660046138af565b611fee565b348015610aea57600080fd5b5061041f60125481565b348015610b0057600080fd5b5061041f610b0f366004613535565b6001600160a01b031660009081526010602052604090205490565b348015610b3657600080fd5b5061050b610b45366004613851565b612248565b348015610b5657600080fd5b50600c5461041f565b348015610b6b57600080fd5b50610452610b7a366004613551565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610bb457600080fd5b5061050b610bc3366004613851565b612285565b348015610bd457600080fd5b5061050b610be3366004613535565b6122c2565b60006001600160e01b0319821663780e9d6360e01b1480610c0d5750610c0d8261235d565b92915050565b606060008054610c2290613d8d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4e90613d8d565b8015610c9b5780601f10610c7057610100808354040283529160200191610c9b565b820191906000526020600020905b815481529060010190602001808311610c7e57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d235760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60178054610d4c90613d8d565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7890613d8d565b8015610dc55780601f10610d9a57610100808354040283529160200191610dc5565b820191906000526020600020905b815481529060010190602001808311610da857829003601f168201915b505050505081565b6000610dd8826119a1565b9050806001600160a01b0316836001600160a01b03161415610e465760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610d1a565b336001600160a01b0382161480610e625750610e628133610b7a565b610ed45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610d1a565b610ede83836123ad565b505050565b600a546001600160a01b03163314610f0d5760405162461bcd60e51b8152600401610d1a90613ba6565b6019805465ff0000000000198116650100000000009182900460ff1615909102179055565b600a546001600160a01b03163314610f5c5760405162461bcd60e51b8152600401610d1a90613ba6565b601355565b6001600160a01b0381166000908152600d6020526040902054610f965760405162461bcd60e51b8152600401610d1a90613a8a565b6000610fa1600c5490565b610fab9047613cff565b90506000610fd88383610fd3866001600160a01b03166000908152600e602052604090205490565b61241b565b905080610ff75760405162461bcd60e51b8152600401610d1a90613ad0565b6001600160a01b0383166000908152600e60205260408120805483929061101f908490613cff565b9250508190555080600c60008282546110389190613cff565b9091555061104890508382612459565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b600a546001600160a01b031633146110b95760405162461bcd60e51b8152600401610d1a90613ba6565b6019805463ff00000019811663010000009182900460ff1615909102179055565b6110e43382612572565b6111005760405162461bcd60e51b8152600401610d1a90613c2b565b610ede838383612665565b6019546301000000900460ff166111645760405162461bcd60e51b815260206004820181905260248201527f4d7574616e742041706520506c616e65743a20526166666c65206973204f46466044820152606401610d1a565b60195462010000900460ff161561118d5760405162461bcd60e51b8152600401610d1a90613b61565b600a8111156111ae5760405162461bcd60e51b8152600401610d1a90613bdb565b336000908152601a6020526040902054600a906111cc908390613cff565b11156111ea5760405162461bcd60e51b8152600401610d1a90613bdb565b6013546012546111fa9190613d4a565b816015546112089190613cff565b11156112265760405162461bcd60e51b8152600401610d1a90613b1b565b3481601c546112359190613d2b565b11156112535760405162461bcd60e51b8152600401610d1a90613c7c565b6000805b82811015610ede5761126d601e80546001019055565b601e54915061127c3383612810565b336000908152601a6020526040902054611297906001613cff565b336000908152601a60205260409020556014546112b5906001613cff565b6014556015546112c6906001613cff565b601555806112d381613dc8565b915050611257565b601954640100000000900460ff166113355760405162461bcd60e51b815260206004820181905260248201527f4d7574616e742041706520506c616e65743a205075626c6963206973204f46466044820152606401610d1a565b600081116113855760405162461bcd60e51b815260206004820152601e60248201527f4d7574616e742041706520506c616e65743a207a65726f20616d6f756e7400006044820152606401610d1a565b6013546012546113959190613d4a565b816015546113a39190613cff565b11156113c15760405162461bcd60e51b8152600401610d1a90613b1b565b3481601c546113d09190613d2b565b11156113ee5760405162461bcd60e51b8152600401610d1a90613c7c565b60195462010000900460ff16156114175760405162461bcd60e51b8152600401610d1a90613b61565b6000805b82811015610ede57611431601e80546001019055565b601e5491506114403383612810565b60145461144e906001613cff565b60145560155461145f906001613cff565b6015558061146c81613dc8565b91505061141b565b600061147f83611a62565b82106114e15760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610d1a565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610ede83838360405180602001604052806000815250611e01565b60195460ff166115835760405162461bcd60e51b8152602060048201526024808201527f4d7574616e742041706520506c616e6574203a206275726e696e672064697361604482015263189b195960e21b6064820152608401610d1a565b61158d3382612572565b6115ff5760405162461bcd60e51b815260206004820152603960248201527f4d7574616e742041706520506c616e6574203a206275726e2063616c6c65722060448201527f6973206e6f74206f776e6572206e6f7220617070726f766564000000000000006064820152608401610d1a565b6116088161282a565b60016014546116179190613d4a565b60145550565b600a546001600160a01b031633146116475760405162461bcd60e51b8152600401610d1a90613ba6565b6019805462ff0000198116620100009182900460ff1615909102179055565b6001600160a01b0381166000908152600d602052604090205461169b5760405162461bcd60e51b8152600401610d1a90613a8a565b6001600160a01b0382166000908152601060205260408120546040516370a0823160e01b81523060048201526001600160a01b038516906370a082319060240160206040518083038186803b1580156116f357600080fd5b505afa158015611707573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172b9190613897565b6117359190613cff565b9050600061176e8383610fd387876001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b90508061178d5760405162461bcd60e51b8152600401610d1a90613ad0565b6001600160a01b038085166000908152601160209081526040808320938716835292905290812080548392906117c4908490613cff565b90915550506001600160a01b038416600090815260106020526040812080548392906117f1908490613cff565b9091555061180290508484836128d1565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b600061185960085490565b82106118bc5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610d1a565b600882815481106118dd57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b031633146119195760405162461bcd60e51b8152600401610d1a90613ba6565b601255565b600a546001600160a01b031633146119485760405162461bcd60e51b8152600401610d1a90613ba6565b610ede6016838361334d565b600a546001600160a01b0316331461197e5760405162461bcd60e51b8152600401610d1a90613ba6565b6019805464ff000000001981166401000000009182900460ff1615909102179055565b6000818152600260205260408120546001600160a01b031680610c0d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610d1a565b60168054610d4c90613d8d565b600a546001600160a01b03163314611a4f5760405162461bcd60e51b8152600401610d1a90613ba6565b6019805460ff1916911515919091179055565b60006001600160a01b038216611acd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610d1a565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314611b135760405162461bcd60e51b8152600401610d1a90613ba6565b611b1d6000612923565b565b6000600f8281548110611b4257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b606060018054610c2290613d8d565b611b77338383612975565b5050565b600a546001600160a01b03163314611ba55760405162461bcd60e51b8152600401610d1a90613ba6565b601c55565b600a546001600160a01b03163314611bd45760405162461bcd60e51b8152600401610d1a90613ba6565b6019805461ff001916610100179055565b600a546001600160a01b03163314611c0f5760405162461bcd60e51b8152600401610d1a90613ba6565b601254601454611c20908390613cff565b1115611c835760405162461bcd60e51b815260206004820152602c60248201527f4d7574616e742041706520506c616e65743a206d617820746f74616c2073757060448201526b1c1b1e48195e18d95959195960a21b6064820152608401610d1a565b6000805b82811015611daa576000848483818110611cb157634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611cc69190613535565b6001600160a01b03161415611d365760405162461bcd60e51b815260206004820152603060248201527f4d7574616e742041706520506c616e65743a20726563657069656e742069732060448201526f746865206e756c6c206164647265737360801b6064820152608401610d1a565b611d44601e80546001019055565b601e549150611d87848483818110611d6c57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611d819190613535565b83612810565b601454611d95906001613cff565b60145580611da281613dc8565b915050611c87565b50505050565b6040516bffffffffffffffffffffffff19606084901b1660208201526000908190603401604051602081830303815290604052805190602001209050611df983601d5483612a44565b949350505050565b611e0b3383612572565b611e275760405162461bcd60e51b8152600401610d1a90613c2b565b611daa84848484612a5a565b60188054610d4c90613d8d565b600a546001600160a01b03163314611e6a5760405162461bcd60e51b8152600401610d1a90613ba6565b601d55565b6000818152600260205260409020546060906001600160a01b0316611eee5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d1a565b601954610100900460ff16611f8f5760178054611f0a90613d8d565b80601f0160208091040260200160405190810160405280929190818152602001828054611f3690613d8d565b8015611f835780601f10611f5857610100808354040283529160200191611f83565b820191906000526020600020905b815481529060010190602001808311611f6657829003601f168201915b50505050509050919050565b6000611f99612a8d565b90506000815111611fb95760405180602001604052806000815250611fe7565b80611fc384612a9c565b6018604051602001611fd793929190613926565b6040516020818303038152906040525b9392505050565b60195465010000000000900460ff166120555760405162461bcd60e51b815260206004820152602360248201527f4d7574616e742041706520506c616e65743a2057686974656c6973742069732060448201526227a32360e91b6064820152608401610d1a565b60195462010000900460ff161561207e5760405162461bcd60e51b8152600401610d1a90613b61565b600382111561209f5760405162461bcd60e51b8152600401610d1a90613bdb565b336000908152601b60205260409020546003906120bd908490613cff565b11156120db5760405162461bcd60e51b8152600401610d1a90613bdb565b6120e53382611db0565b6121575760405162461bcd60e51b815260206004820152603960248201527f4d7574616e742041706520506c616e65743a20596f7520617265206e6f74207360448201527f656c656374656420666f72207468652077686974656c697374000000000000006064820152608401610d1a565b6013546012546121679190613d4a565b826015546121759190613cff565b11156121935760405162461bcd60e51b8152600401610d1a90613b1b565b3482601c546121a29190613d2b565b11156121c05760405162461bcd60e51b8152600401610d1a90613c7c565b6000805b83811015611daa576121da601e80546001019055565b601e5491506121e93383612810565b336000908152601b6020526040902054612204906001613cff565b336000908152601b6020526040902055601454612222906001613cff565b601455601554612233906001613cff565b6015558061224081613dc8565b9150506121c4565b600a546001600160a01b031633146122725760405162461bcd60e51b8152600401610d1a90613ba6565b8051611b779060189060208401906133d1565b600a546001600160a01b031633146122af5760405162461bcd60e51b8152600401610d1a90613ba6565b8051611b779060179060208401906133d1565b600a546001600160a01b031633146122ec5760405162461bcd60e51b8152600401610d1a90613ba6565b6001600160a01b0381166123515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d1a565b61235a81612923565b50565b60006001600160e01b031982166380ac58cd60e01b148061238e57506001600160e01b03198216635b5e139f60e01b145b80610c0d57506301ffc9a760e01b6001600160e01b0319831614610c0d565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906123e2826119a1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600b546001600160a01b0384166000908152600d6020526040812054909183916124459086613d2b565b61244f9190613d17565b611df99190613d4a565b804710156124a95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d1a565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146124f6576040519150601f19603f3d011682016040523d82523d6000602084013e6124fb565b606091505b5050905080610ede5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d1a565b6000818152600260205260408120546001600160a01b03166125eb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610d1a565b60006125f6836119a1565b9050806001600160a01b0316846001600160a01b031614806126315750836001600160a01b031661262684610ca5565b6001600160a01b0316145b80611df957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611df9565b826001600160a01b0316612678826119a1565b6001600160a01b0316146126e05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610d1a565b6001600160a01b0382166127425760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610d1a565b61274d838383612bb6565b6127586000826123ad565b6001600160a01b0383166000908152600360205260408120805460019290612781908490613d4a565b90915550506001600160a01b03821660009081526003602052604081208054600192906127af908490613cff565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611b77828260405180602001604052806000815250612c6e565b6000612835826119a1565b905061284381600084612bb6565b61284e6000836123ad565b6001600160a01b0381166000908152600360205260408120805460019290612877908490613d4a565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ede908490612ca1565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156129d75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d1a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600082612a518584612d73565b14949350505050565b612a65848484612665565b612a7184848484612e2d565b611daa5760405162461bcd60e51b8152600401610d1a90613a38565b606060168054610c2290613d8d565b606081612ac05750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612aea5780612ad481613dc8565b9150612ae39050600a83613d17565b9150612ac4565b60008167ffffffffffffffff811115612b1357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b3d576020820181803683370190505b5090505b8415611df957612b52600183613d4a565b9150612b5f600a86613de3565b612b6a906030613cff565b60f81b818381518110612b8d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612baf600a86613d17565b9450612b41565b6001600160a01b038316612c1157612c0c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612c34565b816001600160a01b0316836001600160a01b031614612c3457612c348382612f3a565b6001600160a01b038216612c4b57610ede81612fd7565b826001600160a01b0316826001600160a01b031614610ede57610ede82826130b0565b612c7883836130f4565b612c856000848484612e2d565b610ede5760405162461bcd60e51b8152600401610d1a90613a38565b6000612cf6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166132429092919063ffffffff16565b805190915015610ede5780806020019051810190612d149190613778565b610ede5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d1a565b600081815b8451811015612e25576000858281518110612da357634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311612de5576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612e12565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612e1d81613dc8565b915050612d78565b509392505050565b60006001600160a01b0384163b15612f2f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612e719033908990889088906004016139e8565b602060405180830381600087803b158015612e8b57600080fd5b505af1925050508015612ebb575060408051601f3d908101601f19168201909252612eb8918101906137c8565b60015b612f15573d808015612ee9576040519150601f19603f3d011682016040523d82523d6000602084013e612eee565b606091505b508051612f0d5760405162461bcd60e51b8152600401610d1a90613a38565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611df9565b506001949350505050565b60006001612f4784611a62565b612f519190613d4a565b600083815260076020526040902054909150808214612fa4576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612fe990600190613d4a565b6000838152600960205260408120546008805493945090928490811061301f57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061304e57634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061309457634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130bb83611a62565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661314a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d1a565b6000818152600260205260409020546001600160a01b0316156131af5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d1a565b6131bb60008383612bb6565b6001600160a01b03821660009081526003602052604081208054600192906131e4908490613cff565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060611df9848460008585843b61329b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d1a565b600080866001600160a01b031685876040516132b7919061390a565b60006040518083038185875af1925050503d80600081146132f4576040519150601f19603f3d011682016040523d82523d6000602084013e6132f9565b606091505b5091509150613309828286613314565b979650505050505050565b60608315613323575081611fe7565b8251156133335782518084602001fd5b8160405162461bcd60e51b8152600401610d1a9190613a25565b82805461335990613d8d565b90600052602060002090601f01602090048101928261337b57600085556133c1565b82601f106133945782800160ff198235161785556133c1565b828001600101855582156133c1579182015b828111156133c15782358255916020019190600101906133a6565b506133cd929150613445565b5090565b8280546133dd90613d8d565b90600052602060002090601f0160209004810192826133ff57600085556133c1565b82601f1061341857805160ff19168380011785556133c1565b828001600101855582156133c1579182015b828111156133c157825182559160200191906001019061342a565b5b808211156133cd5760008155600101613446565b600067ffffffffffffffff83111561347457613474613e23565b613487601f8401601f1916602001613cce565b905082815283838301111561349b57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126134c2578081fd5b8135602067ffffffffffffffff8211156134de576134de613e23565b8160051b6134ed828201613cce565b838152828101908684018388018501891015613507578687fd5b8693505b8584101561352957803583526001939093019291840191840161350b565b50979650505050505050565b600060208284031215613546578081fd5b8135611fe781613e39565b60008060408385031215613563578081fd5b823561356e81613e39565b9150602083013561357e81613e39565b809150509250929050565b60008060006060848603121561359d578081fd5b83356135a881613e39565b925060208401356135b881613e39565b929592945050506040919091013590565b600080600080608085870312156135de578081fd5b84356135e981613e39565b935060208501356135f981613e39565b925060408501359150606085013567ffffffffffffffff81111561361b578182fd5b8501601f8101871361362b578182fd5b61363a8782356020840161345a565b91505092959194509250565b60008060408385031215613658578182fd5b823561366381613e39565b9150602083013567ffffffffffffffff81111561367e578182fd5b61368a858286016134b2565b9150509250929050565b600080604083850312156136a6578182fd5b82356136b181613e39565b9150602083013561357e81613e4e565b600080604083850312156136d3578081fd5b82356136de81613e39565b946020939093013593505050565b600080602083850312156136fe578182fd5b823567ffffffffffffffff80821115613715578384fd5b818501915085601f830112613728578384fd5b813581811115613736578485fd5b8660208260051b850101111561374a578485fd5b60209290920196919550909350505050565b60006020828403121561376d578081fd5b8135611fe781613e4e565b600060208284031215613789578081fd5b8151611fe781613e4e565b6000602082840312156137a5578081fd5b5035919050565b6000602082840312156137bd578081fd5b8135611fe781613e5c565b6000602082840312156137d9578081fd5b8151611fe781613e5c565b60008060408385031215613563578182fd5b60008060208385031215613808578182fd5b823567ffffffffffffffff8082111561381f578384fd5b818501915085601f830112613832578384fd5b813581811115613840578485fd5b86602082850101111561374a578485fd5b600060208284031215613862578081fd5b813567ffffffffffffffff811115613878578182fd5b8201601f81018413613888578182fd5b611df98482356020840161345a565b6000602082840312156138a8578081fd5b5051919050565b600080604083850312156138c1578182fd5b82359150602083013567ffffffffffffffff81111561367e578182fd5b600081518084526138f6816020860160208601613d61565b601f01601f19169290920160200192915050565b6000825161391c818460208701613d61565b9190910192915050565b6000845160206139398285838a01613d61565b85519184019161394c8184848a01613d61565b85549201918390600181811c908083168061396857607f831692505b85831081141561398657634e487b7160e01b88526022600452602488fd5b80801561399a57600181146139ab576139d7565b60ff198516885283880195506139d7565b60008b815260209020895b858110156139cf5781548a8201529084019088016139b6565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613a1b908301846138de565b9695505050505050565b602081526000611fe760208301846138de565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60208082526026908201527f4d7574616e742041706520506c616e65743a206d617820737570706c7920657860408201526518d95959195960d21b606082015260800190565b60208082526025908201527f4d7574616e742041706520506c616e65743a20636f6e74726163742069732070604082015264185d5cd95960da1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526030908201527f4d7574616e742041706520506c616e65743a20596f752063616e2774206d696e60408201526f7420736f206d75636820746f6b656e7360801b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526032908201527f4d7574616e742041706520506c616e65743a2045746865722076616c75652073604082015271195b9d081a5cc81b9bdd0818dbdc9c9958dd60721b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613cf757613cf7613e23565b604052919050565b60008219821115613d1257613d12613df7565b500190565b600082613d2657613d26613e0d565b500490565b6000816000190483118215151615613d4557613d45613df7565b500290565b600082821015613d5c57613d5c613df7565b500390565b60005b83811015613d7c578181015183820152602001613d64565b83811115611daa5750506000910152565b600181811c90821680613da157607f821691505b60208210811415613dc257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613ddc57613ddc613df7565b5060010190565b600082613df257613df2613e0d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461235a57600080fd5b801515811461235a57600080fd5b6001600160e01b03198116811461235a57600080fdfea2646970667358221220ffd81f257f63801d72dcdd505c8a4b9b8db9fc01f823b54b8930bb7d8788791e64736f6c63430008040033

Deployed Bytecode

0x6080604052600436106103bb5760003560e01c806360e5bb85116101f2578063ab6c82571161010d578063d2cab056116100a0578063e33b7de31161006f578063e33b7de314610b4a578063e985e9c514610b5f578063f2c4ce1e14610ba8578063f2fde38b14610bc857600080fd5b8063d2cab05614610acb578063d5abeb0114610ade578063d79779b214610af4578063da3ef23f14610b2a57600080fd5b8063c6682862116100dc578063c668286214610a40578063c6a7cbc914610a55578063c87b56dd14610a75578063ce7c2ac214610a9557600080fd5b8063ab6c8257146109b1578063abfe7614146109de578063b76a0df414610a00578063b88d4fde14610a2057600080fd5b80638b83209b11610185578063a22cb46511610154578063a22cb4651461093c578063a2b40d191461095c578063a475b5dd1461097c578063a5fd7bec1461099157600080fd5b80638b83209b146108b35780638da5cb5b146108d357806395d89b41146108f15780639852595c1461090657600080fd5b80636f0b7871116101c15780636f0b78711461083b57806370a0823114610851578063715018a6146108715780637f1e37111461088657600080fd5b806360e5bb85146107d15780636352211e146107e65780636c0360eb146108065780636e0e5b191461081b57600080fd5b80632db11544116102e257806346e79ffc1161027557806352e973261161024457806352e973261461075057806355c815951461077057806355f804b3146107915780635c975abb146107b157600080fd5b806346e79ffc146106dc57806348b75044146106f15780634f6ccce714610711578063518302271461073157600080fd5b8063406072a9116102b1578063406072a91461063357806342842e0e146106795780634293516d1461069957806342966c68146106bc57600080fd5b80632db11544146105d55780632f745c59146105e8578063386bfc98146106085780633a98ef391461061e57600080fd5b80630e6246341161035a5780631e93ffa1116103295780631e93ffa1146105775780632254b0151461058c57806323b872dd146105a25780632a6d210d146105c257600080fd5b80630e6246341461050d57806310ed76211461052257806318160ddd14610542578063191655871461055757600080fd5b806307ebec271161039657806307ebec2714610484578063081812fc1461049e578063081c8c44146104d6578063095ea7b3146104eb57600080fd5b80624563791461040957806301ffc9a71461043257806306fdde031461046257600080fd5b36610404577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561041557600080fd5b5061041f60145481565b6040519081526020015b60405180910390f35b34801561043e57600080fd5b5061045261044d3660046137ac565b610be8565b6040519015158152602001610429565b34801561046e57600080fd5b50610477610c13565b6040516104299190613a25565b34801561049057600080fd5b506019546104529060ff1681565b3480156104aa57600080fd5b506104be6104b9366004613794565b610ca5565b6040516001600160a01b039091168152602001610429565b3480156104e257600080fd5b50610477610d3f565b3480156104f757600080fd5b5061050b6105063660046136c1565b610dcd565b005b34801561051957600080fd5b5061050b610ee3565b34801561052e57600080fd5b5061050b61053d366004613794565b610f32565b34801561054e57600080fd5b5060085461041f565b34801561056357600080fd5b5061050b610572366004613535565b610f61565b34801561058357600080fd5b5061050b61108f565b34801561059857600080fd5b5061041f60135481565b3480156105ae57600080fd5b5061050b6105bd366004613589565b6110da565b61050b6105d0366004613794565b61110b565b61050b6105e3366004613794565b6112db565b3480156105f457600080fd5b5061041f6106033660046136c1565b611474565b34801561061457600080fd5b5061041f601d5481565b34801561062a57600080fd5b50600b5461041f565b34801561063f57600080fd5b5061041f61064e3660046137e4565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b34801561068557600080fd5b5061050b610694366004613589565b61150a565b3480156106a557600080fd5b506019546104529065010000000000900460ff1681565b3480156106c857600080fd5b5061050b6106d7366004613794565b611525565b3480156106e857600080fd5b5061050b61161d565b3480156106fd57600080fd5b5061050b61070c3660046137e4565b611666565b34801561071d57600080fd5b5061041f61072c366004613794565b61184e565b34801561073d57600080fd5b5060195461045290610100900460ff1681565b34801561075c57600080fd5b5061050b61076b366004613794565b6118ef565b34801561077c57600080fd5b50601954610452906301000000900460ff1681565b34801561079d57600080fd5b5061050b6107ac3660046137f6565b61191e565b3480156107bd57600080fd5b506019546104529062010000900460ff1681565b3480156107dd57600080fd5b5061050b611954565b3480156107f257600080fd5b506104be610801366004613794565b6119a1565b34801561081257600080fd5b50610477611a18565b34801561082757600080fd5b5061050b61083636600461375c565b611a25565b34801561084757600080fd5b5061041f60155481565b34801561085d57600080fd5b5061041f61086c366004613535565b611a62565b34801561087d57600080fd5b5061050b611ae9565b34801561089257600080fd5b5061041f6108a1366004613535565b601a6020526000908152604090205481565b3480156108bf57600080fd5b506104be6108ce366004613794565b611b1f565b3480156108df57600080fd5b50600a546001600160a01b03166104be565b3480156108fd57600080fd5b50610477611b5d565b34801561091257600080fd5b5061041f610921366004613535565b6001600160a01b03166000908152600e602052604090205490565b34801561094857600080fd5b5061050b610957366004613694565b611b6c565b34801561096857600080fd5b5061050b610977366004613794565b611b7b565b34801561098857600080fd5b5061050b611baa565b34801561099d57600080fd5b5061050b6109ac3660046136ec565b611be5565b3480156109bd57600080fd5b5061041f6109cc366004613535565b601b6020526000908152604090205481565b3480156109ea57600080fd5b5060195461045290640100000000900460ff1681565b348015610a0c57600080fd5b50610452610a1b366004613646565b611db0565b348015610a2c57600080fd5b5061050b610a3b3660046135c9565b611e01565b348015610a4c57600080fd5b50610477611e33565b348015610a6157600080fd5b5061050b610a70366004613794565b611e40565b348015610a8157600080fd5b50610477610a90366004613794565b611e6f565b348015610aa157600080fd5b5061041f610ab0366004613535565b6001600160a01b03166000908152600d602052604090205490565b61050b610ad93660046138af565b611fee565b348015610aea57600080fd5b5061041f60125481565b348015610b0057600080fd5b5061041f610b0f366004613535565b6001600160a01b031660009081526010602052604090205490565b348015610b3657600080fd5b5061050b610b45366004613851565b612248565b348015610b5657600080fd5b50600c5461041f565b348015610b6b57600080fd5b50610452610b7a366004613551565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610bb457600080fd5b5061050b610bc3366004613851565b612285565b348015610bd457600080fd5b5061050b610be3366004613535565b6122c2565b60006001600160e01b0319821663780e9d6360e01b1480610c0d5750610c0d8261235d565b92915050565b606060008054610c2290613d8d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4e90613d8d565b8015610c9b5780601f10610c7057610100808354040283529160200191610c9b565b820191906000526020600020905b815481529060010190602001808311610c7e57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d235760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60178054610d4c90613d8d565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7890613d8d565b8015610dc55780601f10610d9a57610100808354040283529160200191610dc5565b820191906000526020600020905b815481529060010190602001808311610da857829003601f168201915b505050505081565b6000610dd8826119a1565b9050806001600160a01b0316836001600160a01b03161415610e465760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610d1a565b336001600160a01b0382161480610e625750610e628133610b7a565b610ed45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610d1a565b610ede83836123ad565b505050565b600a546001600160a01b03163314610f0d5760405162461bcd60e51b8152600401610d1a90613ba6565b6019805465ff0000000000198116650100000000009182900460ff1615909102179055565b600a546001600160a01b03163314610f5c5760405162461bcd60e51b8152600401610d1a90613ba6565b601355565b6001600160a01b0381166000908152600d6020526040902054610f965760405162461bcd60e51b8152600401610d1a90613a8a565b6000610fa1600c5490565b610fab9047613cff565b90506000610fd88383610fd3866001600160a01b03166000908152600e602052604090205490565b61241b565b905080610ff75760405162461bcd60e51b8152600401610d1a90613ad0565b6001600160a01b0383166000908152600e60205260408120805483929061101f908490613cff565b9250508190555080600c60008282546110389190613cff565b9091555061104890508382612459565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b600a546001600160a01b031633146110b95760405162461bcd60e51b8152600401610d1a90613ba6565b6019805463ff00000019811663010000009182900460ff1615909102179055565b6110e43382612572565b6111005760405162461bcd60e51b8152600401610d1a90613c2b565b610ede838383612665565b6019546301000000900460ff166111645760405162461bcd60e51b815260206004820181905260248201527f4d7574616e742041706520506c616e65743a20526166666c65206973204f46466044820152606401610d1a565b60195462010000900460ff161561118d5760405162461bcd60e51b8152600401610d1a90613b61565b600a8111156111ae5760405162461bcd60e51b8152600401610d1a90613bdb565b336000908152601a6020526040902054600a906111cc908390613cff565b11156111ea5760405162461bcd60e51b8152600401610d1a90613bdb565b6013546012546111fa9190613d4a565b816015546112089190613cff565b11156112265760405162461bcd60e51b8152600401610d1a90613b1b565b3481601c546112359190613d2b565b11156112535760405162461bcd60e51b8152600401610d1a90613c7c565b6000805b82811015610ede5761126d601e80546001019055565b601e54915061127c3383612810565b336000908152601a6020526040902054611297906001613cff565b336000908152601a60205260409020556014546112b5906001613cff565b6014556015546112c6906001613cff565b601555806112d381613dc8565b915050611257565b601954640100000000900460ff166113355760405162461bcd60e51b815260206004820181905260248201527f4d7574616e742041706520506c616e65743a205075626c6963206973204f46466044820152606401610d1a565b600081116113855760405162461bcd60e51b815260206004820152601e60248201527f4d7574616e742041706520506c616e65743a207a65726f20616d6f756e7400006044820152606401610d1a565b6013546012546113959190613d4a565b816015546113a39190613cff565b11156113c15760405162461bcd60e51b8152600401610d1a90613b1b565b3481601c546113d09190613d2b565b11156113ee5760405162461bcd60e51b8152600401610d1a90613c7c565b60195462010000900460ff16156114175760405162461bcd60e51b8152600401610d1a90613b61565b6000805b82811015610ede57611431601e80546001019055565b601e5491506114403383612810565b60145461144e906001613cff565b60145560155461145f906001613cff565b6015558061146c81613dc8565b91505061141b565b600061147f83611a62565b82106114e15760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610d1a565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610ede83838360405180602001604052806000815250611e01565b60195460ff166115835760405162461bcd60e51b8152602060048201526024808201527f4d7574616e742041706520506c616e6574203a206275726e696e672064697361604482015263189b195960e21b6064820152608401610d1a565b61158d3382612572565b6115ff5760405162461bcd60e51b815260206004820152603960248201527f4d7574616e742041706520506c616e6574203a206275726e2063616c6c65722060448201527f6973206e6f74206f776e6572206e6f7220617070726f766564000000000000006064820152608401610d1a565b6116088161282a565b60016014546116179190613d4a565b60145550565b600a546001600160a01b031633146116475760405162461bcd60e51b8152600401610d1a90613ba6565b6019805462ff0000198116620100009182900460ff1615909102179055565b6001600160a01b0381166000908152600d602052604090205461169b5760405162461bcd60e51b8152600401610d1a90613a8a565b6001600160a01b0382166000908152601060205260408120546040516370a0823160e01b81523060048201526001600160a01b038516906370a082319060240160206040518083038186803b1580156116f357600080fd5b505afa158015611707573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172b9190613897565b6117359190613cff565b9050600061176e8383610fd387876001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b90508061178d5760405162461bcd60e51b8152600401610d1a90613ad0565b6001600160a01b038085166000908152601160209081526040808320938716835292905290812080548392906117c4908490613cff565b90915550506001600160a01b038416600090815260106020526040812080548392906117f1908490613cff565b9091555061180290508484836128d1565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b600061185960085490565b82106118bc5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610d1a565b600882815481106118dd57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b031633146119195760405162461bcd60e51b8152600401610d1a90613ba6565b601255565b600a546001600160a01b031633146119485760405162461bcd60e51b8152600401610d1a90613ba6565b610ede6016838361334d565b600a546001600160a01b0316331461197e5760405162461bcd60e51b8152600401610d1a90613ba6565b6019805464ff000000001981166401000000009182900460ff1615909102179055565b6000818152600260205260408120546001600160a01b031680610c0d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610d1a565b60168054610d4c90613d8d565b600a546001600160a01b03163314611a4f5760405162461bcd60e51b8152600401610d1a90613ba6565b6019805460ff1916911515919091179055565b60006001600160a01b038216611acd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610d1a565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314611b135760405162461bcd60e51b8152600401610d1a90613ba6565b611b1d6000612923565b565b6000600f8281548110611b4257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b606060018054610c2290613d8d565b611b77338383612975565b5050565b600a546001600160a01b03163314611ba55760405162461bcd60e51b8152600401610d1a90613ba6565b601c55565b600a546001600160a01b03163314611bd45760405162461bcd60e51b8152600401610d1a90613ba6565b6019805461ff001916610100179055565b600a546001600160a01b03163314611c0f5760405162461bcd60e51b8152600401610d1a90613ba6565b601254601454611c20908390613cff565b1115611c835760405162461bcd60e51b815260206004820152602c60248201527f4d7574616e742041706520506c616e65743a206d617820746f74616c2073757060448201526b1c1b1e48195e18d95959195960a21b6064820152608401610d1a565b6000805b82811015611daa576000848483818110611cb157634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611cc69190613535565b6001600160a01b03161415611d365760405162461bcd60e51b815260206004820152603060248201527f4d7574616e742041706520506c616e65743a20726563657069656e742069732060448201526f746865206e756c6c206164647265737360801b6064820152608401610d1a565b611d44601e80546001019055565b601e549150611d87848483818110611d6c57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611d819190613535565b83612810565b601454611d95906001613cff565b60145580611da281613dc8565b915050611c87565b50505050565b6040516bffffffffffffffffffffffff19606084901b1660208201526000908190603401604051602081830303815290604052805190602001209050611df983601d5483612a44565b949350505050565b611e0b3383612572565b611e275760405162461bcd60e51b8152600401610d1a90613c2b565b611daa84848484612a5a565b60188054610d4c90613d8d565b600a546001600160a01b03163314611e6a5760405162461bcd60e51b8152600401610d1a90613ba6565b601d55565b6000818152600260205260409020546060906001600160a01b0316611eee5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d1a565b601954610100900460ff16611f8f5760178054611f0a90613d8d565b80601f0160208091040260200160405190810160405280929190818152602001828054611f3690613d8d565b8015611f835780601f10611f5857610100808354040283529160200191611f83565b820191906000526020600020905b815481529060010190602001808311611f6657829003601f168201915b50505050509050919050565b6000611f99612a8d565b90506000815111611fb95760405180602001604052806000815250611fe7565b80611fc384612a9c565b6018604051602001611fd793929190613926565b6040516020818303038152906040525b9392505050565b60195465010000000000900460ff166120555760405162461bcd60e51b815260206004820152602360248201527f4d7574616e742041706520506c616e65743a2057686974656c6973742069732060448201526227a32360e91b6064820152608401610d1a565b60195462010000900460ff161561207e5760405162461bcd60e51b8152600401610d1a90613b61565b600382111561209f5760405162461bcd60e51b8152600401610d1a90613bdb565b336000908152601b60205260409020546003906120bd908490613cff565b11156120db5760405162461bcd60e51b8152600401610d1a90613bdb565b6120e53382611db0565b6121575760405162461bcd60e51b815260206004820152603960248201527f4d7574616e742041706520506c616e65743a20596f7520617265206e6f74207360448201527f656c656374656420666f72207468652077686974656c697374000000000000006064820152608401610d1a565b6013546012546121679190613d4a565b826015546121759190613cff565b11156121935760405162461bcd60e51b8152600401610d1a90613b1b565b3482601c546121a29190613d2b565b11156121c05760405162461bcd60e51b8152600401610d1a90613c7c565b6000805b83811015611daa576121da601e80546001019055565b601e5491506121e93383612810565b336000908152601b6020526040902054612204906001613cff565b336000908152601b6020526040902055601454612222906001613cff565b601455601554612233906001613cff565b6015558061224081613dc8565b9150506121c4565b600a546001600160a01b031633146122725760405162461bcd60e51b8152600401610d1a90613ba6565b8051611b779060189060208401906133d1565b600a546001600160a01b031633146122af5760405162461bcd60e51b8152600401610d1a90613ba6565b8051611b779060179060208401906133d1565b600a546001600160a01b031633146122ec5760405162461bcd60e51b8152600401610d1a90613ba6565b6001600160a01b0381166123515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d1a565b61235a81612923565b50565b60006001600160e01b031982166380ac58cd60e01b148061238e57506001600160e01b03198216635b5e139f60e01b145b80610c0d57506301ffc9a760e01b6001600160e01b0319831614610c0d565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906123e2826119a1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600b546001600160a01b0384166000908152600d6020526040812054909183916124459086613d2b565b61244f9190613d17565b611df99190613d4a565b804710156124a95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d1a565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146124f6576040519150601f19603f3d011682016040523d82523d6000602084013e6124fb565b606091505b5050905080610ede5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d1a565b6000818152600260205260408120546001600160a01b03166125eb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610d1a565b60006125f6836119a1565b9050806001600160a01b0316846001600160a01b031614806126315750836001600160a01b031661262684610ca5565b6001600160a01b0316145b80611df957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611df9565b826001600160a01b0316612678826119a1565b6001600160a01b0316146126e05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610d1a565b6001600160a01b0382166127425760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610d1a565b61274d838383612bb6565b6127586000826123ad565b6001600160a01b0383166000908152600360205260408120805460019290612781908490613d4a565b90915550506001600160a01b03821660009081526003602052604081208054600192906127af908490613cff565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611b77828260405180602001604052806000815250612c6e565b6000612835826119a1565b905061284381600084612bb6565b61284e6000836123ad565b6001600160a01b0381166000908152600360205260408120805460019290612877908490613d4a565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ede908490612ca1565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156129d75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d1a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600082612a518584612d73565b14949350505050565b612a65848484612665565b612a7184848484612e2d565b611daa5760405162461bcd60e51b8152600401610d1a90613a38565b606060168054610c2290613d8d565b606081612ac05750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612aea5780612ad481613dc8565b9150612ae39050600a83613d17565b9150612ac4565b60008167ffffffffffffffff811115612b1357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b3d576020820181803683370190505b5090505b8415611df957612b52600183613d4a565b9150612b5f600a86613de3565b612b6a906030613cff565b60f81b818381518110612b8d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612baf600a86613d17565b9450612b41565b6001600160a01b038316612c1157612c0c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612c34565b816001600160a01b0316836001600160a01b031614612c3457612c348382612f3a565b6001600160a01b038216612c4b57610ede81612fd7565b826001600160a01b0316826001600160a01b031614610ede57610ede82826130b0565b612c7883836130f4565b612c856000848484612e2d565b610ede5760405162461bcd60e51b8152600401610d1a90613a38565b6000612cf6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166132429092919063ffffffff16565b805190915015610ede5780806020019051810190612d149190613778565b610ede5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d1a565b600081815b8451811015612e25576000858281518110612da357634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311612de5576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612e12565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612e1d81613dc8565b915050612d78565b509392505050565b60006001600160a01b0384163b15612f2f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612e719033908990889088906004016139e8565b602060405180830381600087803b158015612e8b57600080fd5b505af1925050508015612ebb575060408051601f3d908101601f19168201909252612eb8918101906137c8565b60015b612f15573d808015612ee9576040519150601f19603f3d011682016040523d82523d6000602084013e612eee565b606091505b508051612f0d5760405162461bcd60e51b8152600401610d1a90613a38565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611df9565b506001949350505050565b60006001612f4784611a62565b612f519190613d4a565b600083815260076020526040902054909150808214612fa4576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612fe990600190613d4a565b6000838152600960205260408120546008805493945090928490811061301f57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061304e57634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061309457634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130bb83611a62565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661314a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d1a565b6000818152600260205260409020546001600160a01b0316156131af5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d1a565b6131bb60008383612bb6565b6001600160a01b03821660009081526003602052604081208054600192906131e4908490613cff565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060611df9848460008585843b61329b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d1a565b600080866001600160a01b031685876040516132b7919061390a565b60006040518083038185875af1925050503d80600081146132f4576040519150601f19603f3d011682016040523d82523d6000602084013e6132f9565b606091505b5091509150613309828286613314565b979650505050505050565b60608315613323575081611fe7565b8251156133335782518084602001fd5b8160405162461bcd60e51b8152600401610d1a9190613a25565b82805461335990613d8d565b90600052602060002090601f01602090048101928261337b57600085556133c1565b82601f106133945782800160ff198235161785556133c1565b828001600101855582156133c1579182015b828111156133c15782358255916020019190600101906133a6565b506133cd929150613445565b5090565b8280546133dd90613d8d565b90600052602060002090601f0160209004810192826133ff57600085556133c1565b82601f1061341857805160ff19168380011785556133c1565b828001600101855582156133c1579182015b828111156133c157825182559160200191906001019061342a565b5b808211156133cd5760008155600101613446565b600067ffffffffffffffff83111561347457613474613e23565b613487601f8401601f1916602001613cce565b905082815283838301111561349b57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126134c2578081fd5b8135602067ffffffffffffffff8211156134de576134de613e23565b8160051b6134ed828201613cce565b838152828101908684018388018501891015613507578687fd5b8693505b8584101561352957803583526001939093019291840191840161350b565b50979650505050505050565b600060208284031215613546578081fd5b8135611fe781613e39565b60008060408385031215613563578081fd5b823561356e81613e39565b9150602083013561357e81613e39565b809150509250929050565b60008060006060848603121561359d578081fd5b83356135a881613e39565b925060208401356135b881613e39565b929592945050506040919091013590565b600080600080608085870312156135de578081fd5b84356135e981613e39565b935060208501356135f981613e39565b925060408501359150606085013567ffffffffffffffff81111561361b578182fd5b8501601f8101871361362b578182fd5b61363a8782356020840161345a565b91505092959194509250565b60008060408385031215613658578182fd5b823561366381613e39565b9150602083013567ffffffffffffffff81111561367e578182fd5b61368a858286016134b2565b9150509250929050565b600080604083850312156136a6578182fd5b82356136b181613e39565b9150602083013561357e81613e4e565b600080604083850312156136d3578081fd5b82356136de81613e39565b946020939093013593505050565b600080602083850312156136fe578182fd5b823567ffffffffffffffff80821115613715578384fd5b818501915085601f830112613728578384fd5b813581811115613736578485fd5b8660208260051b850101111561374a578485fd5b60209290920196919550909350505050565b60006020828403121561376d578081fd5b8135611fe781613e4e565b600060208284031215613789578081fd5b8151611fe781613e4e565b6000602082840312156137a5578081fd5b5035919050565b6000602082840312156137bd578081fd5b8135611fe781613e5c565b6000602082840312156137d9578081fd5b8151611fe781613e5c565b60008060408385031215613563578182fd5b60008060208385031215613808578182fd5b823567ffffffffffffffff8082111561381f578384fd5b818501915085601f830112613832578384fd5b813581811115613840578485fd5b86602082850101111561374a578485fd5b600060208284031215613862578081fd5b813567ffffffffffffffff811115613878578182fd5b8201601f81018413613888578182fd5b611df98482356020840161345a565b6000602082840312156138a8578081fd5b5051919050565b600080604083850312156138c1578182fd5b82359150602083013567ffffffffffffffff81111561367e578182fd5b600081518084526138f6816020860160208601613d61565b601f01601f19169290920160200192915050565b6000825161391c818460208701613d61565b9190910192915050565b6000845160206139398285838a01613d61565b85519184019161394c8184848a01613d61565b85549201918390600181811c908083168061396857607f831692505b85831081141561398657634e487b7160e01b88526022600452602488fd5b80801561399a57600181146139ab576139d7565b60ff198516885283880195506139d7565b60008b815260209020895b858110156139cf5781548a8201529084019088016139b6565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613a1b908301846138de565b9695505050505050565b602081526000611fe760208301846138de565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60208082526026908201527f4d7574616e742041706520506c616e65743a206d617820737570706c7920657860408201526518d95959195960d21b606082015260800190565b60208082526025908201527f4d7574616e742041706520506c616e65743a20636f6e74726163742069732070604082015264185d5cd95960da1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526030908201527f4d7574616e742041706520506c616e65743a20596f752063616e2774206d696e60408201526f7420736f206d75636820746f6b656e7360801b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526032908201527f4d7574616e742041706520506c616e65743a2045746865722076616c75652073604082015271195b9d081a5cc81b9bdd0818dbdc9c9958dd60721b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613cf757613cf7613e23565b604052919050565b60008219821115613d1257613d12613df7565b500190565b600082613d2657613d26613e0d565b500490565b6000816000190483118215151615613d4557613d45613df7565b500290565b600082821015613d5c57613d5c613df7565b500390565b60005b83811015613d7c578181015183820152602001613d64565b83811115611daa5750506000910152565b600181811c90821680613da157607f821691505b60208210811415613dc257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613ddc57613ddc613df7565b5060010190565b600082613df257613df2613e0d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461235a57600080fd5b801515811461235a57600080fd5b6001600160e01b03198116811461235a57600080fdfea2646970667358221220ffd81f257f63801d72dcdd505c8a4b9b8db9fc01f823b54b8930bb7d8788791e64736f6c63430008040033

Deployed Bytecode Sourcemap

65383:7975: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;;;;;;;65383:7975;;;;;65629:23;;;;;;;;;;;;;;;;;;;13586:25:1;;;13574:2;13559:18;65629: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;65801:33::-;;;;;;;;;;-1:-1:-1;65801: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;65720:28:0;;;;;;;;;;;;;:::i;47726:411::-;;;;;;;;;;-1:-1:-1;47726:411:0;;;;;:::i;:::-;;:::i;:::-;;66876:100;;;;;;;;;;;;;:::i;72529:105::-;;;;;;;;;;-1:-1:-1;72529: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;66678:91::-;;;;;;;;;;;;;:::i;65591:31::-;;;;;;;;;;;;;;;;48953:339;;;;;;;;;;-1:-1:-1;48953:339:0;;;;;:::i;:::-;;:::i;69334:1090::-;;;;;;:::i;:::-;;:::i;70432:850::-;;;;;;:::i;:::-;;:::i;59458:256::-;;;;;;;;;;-1:-1:-1;59458:256:0;;;;;:::i;:::-;;:::i;66197: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;65987:34::-;;;;;;;;;;-1:-1:-1;65987:34:0;;;;;;;;;;;72769:337;;;;;;;;;;-1:-1:-1;72769:337:0;;;;;:::i;:::-;;:::i;66590:80::-;;;;;;;;;;;;;:::i;32843:641::-;;;;;;;;;;-1:-1:-1;32843:641:0;;;;;:::i;:::-;;:::i;59980:233::-;;;;;;;;;;-1:-1:-1;59980:233:0;;;;;:::i;:::-;;:::i;65841:28::-;;;;;;;;;;-1:-1:-1;65841:28:0;;;;;;;;;;;72314:105;;;;;;;;;;-1:-1:-1;72314:105:0;;;;;:::i;:::-;;:::i;65911:31::-;;;;;;;;;;-1:-1:-1;65911:31:0;;;;;;;;;;;66984:112;;;;;;;;;;-1:-1:-1;66984:112:0;;;;;:::i;:::-;;:::i;65878:26::-;;;;;;;;;;-1:-1:-1;65878:26:0;;;;;;;;;;;66777:91;;;;;;;;;;;;;:::i;46338:239::-;;;;;;;;;;-1:-1:-1;46338:239:0;;;;;:::i;:::-;;:::i;65692:21::-;;;;;;;;;;;;;:::i;67289:115::-;;;;;;;;;;-1:-1:-1;67289:115:0;;;;;:::i;:::-;;:::i;65659:24::-;;;;;;;;;;;;;;;;46068:208;;;;;;;;;;-1:-1:-1;46068:208:0;;;;;:::i;:::-;;:::i;14018:103::-;;;;;;;;;;;;;:::i;66030:45::-;;;;;;;;;;-1:-1:-1;66030: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;;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;48496:155;;;;;;;;;;-1:-1:-1;48496:155:0;;;;;:::i;:::-;;:::i;72427:94::-;;;;;;;;;;-1:-1:-1;72427:94:0;;;;;:::i;:::-;;:::i;67212:69::-;;;;;;;;;;;;;:::i;67414:657::-;;;;;;;;;;-1:-1:-1;67414:657:0;;;;;:::i;:::-;;:::i;66082:51::-;;;;;;;;;;-1:-1:-1;66082:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;65949:31;;;;;;;;;;-1:-1:-1;65949:31:0;;;;;;;;;;;73114:241;;;;;;;;;;-1:-1:-1;73114:241:0;;;;;:::i;:::-;;:::i;49619:328::-;;;;;;;;;;-1:-1:-1;49619:328:0;;;;;:::i;:::-;;:::i;65755:37::-;;;;;;;;;;;;;:::i;72642:119::-;;;;;;;;;;-1:-1:-1;72642:119:0;;;;;:::i;:::-;;:::i;71290:723::-;;;;;;;;;;-1:-1:-1;71290: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;68079:1247;;;;;;:::i;:::-;;:::i;65553:31::-;;;;;;;;;;;;;;;;30791:119;;;;;;;;;;-1:-1:-1;30791:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;30876:26:0;30849:7;30876:26;;;:19;:26;;;;;;;30791:119;72021:151;;;;;;;;;;-1:-1:-1;72021: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;72180:126;;;;;;;;;;-1:-1:-1;72180: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;;24053:2:1;48299:73:0;;;24035:21:1;24092:2;24072:18;;;24065:30;24131:34;24111:18;;;24104:62;-1:-1:-1;;;24182:18:1;;;24175:42;24234:19;;48299:73:0;;;;;;;;;-1:-1:-1;48392:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;48392:24:0;;48203:221::o;65720: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;;25653:2:1;47857:57:0;;;25635:21:1;25692:2;25672:18;;;25665:30;25731:34;25711:18;;;25704:62;-1:-1:-1;;;25782:18:1;;;25775:31;25823:19;;47857:57:0;25625: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;;21603:2:1;47927:168:0;;;21585:21:1;21642:2;21622:18;;;21615:30;21681:34;21661:18;;;21654:62;21752:26;21732:18;;;21725:54;21796:19;;47927:168:0;21575:246:1;47927:168:0;48108:21;48117:2;48121:7;48108:8;:21::i;:::-;47726:411;;;:::o;66876:100::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;66954:14:::1;::::0;;-1:-1:-1;;66936:32:0;::::1;66954:14:::0;;;;::::1;;;66953:15;66936:32:::0;;::::1;;::::0;;66876:100::o;72529:105::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;72603:10:::1;:23:::0;72529: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;66678:91::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;66750:11:::1;::::0;;-1:-1:-1;;66735:26:0;::::1;66750:11:::0;;;;::::1;;;66749:12;66735:26:::0;;::::1;;::::0;;66678: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;69334:1090::-;69407:11;;;;;;;69399:56;;;;-1:-1:-1;;;69399:56:0;;14453:2:1;69399:56:0;;;14435:21:1;;;14472:18;;;14465:30;14531:34;14511:18;;;14504:62;14583:18;;69399:56:0;14425:182:1;69399:56:0;69475:6;;;;;;;69474:7;69466:57;;;;-1:-1:-1;;;69466:57:0;;;;;;;:::i;:::-;69569:2;69558:7;:13;;69536:111;;;;-1:-1:-1;;;69536:111:0;;;;;;;:::i;:::-;69680:10;69669:22;;;;:10;:22;;;;;;69705:2;;69669:32;;69694:7;;69669:32;:::i;:::-;:38;;69660:100;;;;-1:-1:-1;;;69660:100:0;;;;;;;:::i;:::-;69830:10;;69818:9;;:22;;;;:::i;:::-;69807:7;69795:9;;:19;;;;:::i;:::-;:45;;69773:133;;;;-1:-1:-1;;;69773:133:0;;;;;;;:::i;:::-;69959:9;69948:7;69939:6;;:16;;;;:::i;:::-;:29;;69917:129;;;;-1:-1:-1;;;69917:129:0;;;;;;;:::i;:::-;70057:18;;70086:331;70114:7;70108:3;:13;70086:331;;;70145:21;:9;1083:19;;1101:1;1083:19;;;994:127;70145:21;70194:9;964:14;70181:32;;70228:33;70238:10;70250;70228:9;:33::i;:::-;70312:10;70301:22;;;;:10;:22;;;;;;:26;;70326:1;70301:26;:::i;:::-;70287:10;70276:22;;;;:10;:22;;;;;:51;70353:8;;:12;;70364:1;70353:12;:::i;:::-;70342:8;:23;70392:9;;:13;;70404:1;70392:13;:::i;:::-;70380:9;:25;70123:5;;;;:::i;:::-;;;;70086:331;;70432:850;70505:11;;;;;;;70497:56;;;;-1:-1:-1;;;70497:56:0;;28895:2:1;70497:56:0;;;28877:21:1;;;28914:18;;;28907:30;28973:34;28953:18;;;28946:62;29025:18;;70497:56:0;28867:182:1;70497:56:0;70582:1;70572:7;:11;70564:54;;;;-1:-1:-1;;;70564:54:0;;17248:2:1;70564:54:0;;;17230:21:1;17287:2;17267:18;;;17260:30;17326:32;17306:18;;;17299:60;17376:18;;70564:54:0;17220:180:1;70564:54:0;70686:10;;70674:9;;:22;;;;:::i;:::-;70663:7;70651:9;;:19;;;;:::i;:::-;:45;;70629:133;;;;-1:-1:-1;;;70629:133:0;;;;;;;:::i;:::-;70815:9;70804:7;70795:6;;:16;;;;:::i;:::-;:29;;70773:129;;;;-1:-1:-1;;;70773:129:0;;;;;;;:::i;:::-;70922:6;;;;;;;70921:7;70913:57;;;;-1:-1:-1;;;70913:57:0;;;;;;;:::i;:::-;70981:18;;71010:265;71038:7;71032:3;:13;71010:265;;;71069:21;:9;1083:19;;1101:1;1083:19;;;994:127;71069:21;71118:9;964:14;71105:32;;71152:33;71162:10;71174;71152:9;:33::i;:::-;71211:8;;:12;;71222:1;71211:12;:::i;:::-;71200:8;:23;71250:9;;:13;;71262:1;71250:13;:::i;:::-;71238:9;:25;71047:5;;;;:::i;:::-;;;;71010:265;;59458:256;59555:7;59591:23;59608:5;59591:16;:23::i;:::-;59583:5;:31;59575:87;;;;-1:-1:-1;;;59575:87:0;;14814:2:1;59575:87:0;;;14796:21:1;14853:2;14833:18;;;14826:30;14892:34;14872:18;;;14865:62;-1:-1:-1;;;14943:18:1;;;14936:41;14994:19;;59575:87:0;14786: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;72769:337::-;72828:13;;;;72820:62;;;;-1:-1:-1;;;72820:62:0;;14048:2:1;72820:62:0;;;14030:21:1;14087:2;14067:18;;;14060:30;14126:34;14106:18;;;14099:62;-1:-1:-1;;;14177:18:1;;;14170:34;14221:19;;72820:62:0;14020:226:1;72820:62:0;72915:39;72934:10;72946:7;72915:18;:39::i;:::-;72893:146;;;;-1:-1:-1;;;72893:146:0;;23266:2:1;72893:146:0;;;23248:21:1;23305:2;23285:18;;;23278:30;23344:34;23324:18;;;23317:62;23415:27;23395:18;;;23388:55;23460:19;;72893:146:0;23238:247:1;72893:146:0;73050:14;73056:7;73050:5;:14::i;:::-;73097:1;73086:8;;:12;;;;:::i;:::-;73075:8;:23;-1:-1:-1;72769:337:0:o;66590:80::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;66656:6:::1;::::0;;-1:-1:-1;;66646:16:0;::::1;66656:6:::0;;;;::::1;;;66655:7;66646:16:::0;;::::1;;::::0;;66590: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;;27667:2:1;60075:95:0;;;27649:21:1;27706:2;27686:18;;;27679:30;27745:34;27725:18;;;27718:62;-1:-1:-1;;;27796:18:1;;;27789:42;27848:19;;60075:95:0;27639:234:1;60075:95:0;60188:10;60199:5;60188:17;;;;;;-1:-1:-1;;;60188:17:0;;;;;;;;;;;;;;;;;60181:24;;59980:233;;;:::o;72314:105::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;72389:9:::1;:22:::0;72314:105::o;66984:112::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;67065:23:::1;:7;67075:13:::0;;67065:23:::1;:::i;66777:91::-:0;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;66849:11:::1;::::0;;-1:-1:-1;;66834:26:0;::::1;66849:11:::0;;;;::::1;;;66848:12;66834:26:::0;;::::1;;::::0;;66777: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;;22856:2:1;46473:73:0;;;22838:21:1;22895:2;22875:18;;;22868:30;22934:34;22914:18;;;22907:62;-1:-1:-1;;;22985:18:1;;;22978:39;23034:19;;46473:73:0;22828:231:1;65692:21:0;;;;;;;:::i;67289:115::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;67366:13:::1;:30:::0;;-1:-1:-1;;67366:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;67289:115::o;46068:208::-;46140:7;-1:-1:-1;;;;;46168:19:0;;46160:74;;;;-1:-1:-1;;;46160:74:0;;22445:2:1;46160:74:0;;;22427:21:1;22484:2;22464:18;;;22457:30;22523:34;22503:18;;;22496:62;-1:-1:-1;;;22574:18:1;;;22567:40;22624:19;;46160:74:0;22417: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;46813:104::-;46869:13;46902:7;46895:14;;;;;:::i;48496:155::-;48591:52;12171:10;48624:8;48634;48591:18;:52::i;:::-;48496:155;;:::o;72427:94::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;72495:6:::1;:18:::0;72427:94::o;67212:69::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;67258:8:::1;:15:::0;;-1:-1:-1;;67258:15:0::1;;;::::0;;67212:69::o;67414:657::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;67547:9:::1;::::0;67515:8:::1;::::0;:28:::1;::::0;67526:10;;67515:28:::1;:::i;:::-;:41;;67493:135;;;::::0;-1:-1:-1;;;67493:135:0;;15645:2:1;67493:135:0::1;::::0;::::1;15627:21:1::0;15684:2;15664:18;;;15657:30;15723:34;15703:18;;;15696:62;-1:-1:-1;;;15774:18:1;;;15767:42;15826:19;;67493:135:0::1;15617:234:1::0;67493:135:0::1;67641:18;::::0;67670:394:::1;67692:23:::0;;::::1;67670:394;;;67792:1;67765:10:::0;;67776:3;67765:15;;::::1;;;-1:-1:-1::0;;;67765:15:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;67765:29:0::1;;;67739:139;;;::::0;-1:-1:-1;;;67739:139:0;;22028:2:1;67739:139:0::1;::::0;::::1;22010:21:1::0;22067:2;22047:18;;;22040:30;22106:34;22086:18;;;22079:62;-1:-1:-1;;;22157:18:1;;;22150:46;22213:19;;67739:139:0::1;22000:238:1::0;67739:139:0::1;67893:21;:9;1083:19:::0;;1101:1;1083:19;;;994:127;67893:21:::1;67942:9;964:14:::0;67929:32:::1;;67976:38;67986:10;;67997:3;67986:15;;;;;-1:-1:-1::0;;;67986:15:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68003:10;67976:9;:38::i;:::-;68040:8;::::0;:12:::1;::::0;68051:1:::1;68040:12;:::i;:::-;68029:8;:23:::0;67717:5;::::1;::::0;::::1;:::i;:::-;;;;67670:394;;;;13658:1;67414:657:::0;;:::o;73114:241::-;73257:25;;-1:-1:-1;;9619:2:1;9615:15;;;9611:53;73257:25:0;;;9599:66:1;73210:4:0;;;;9681:12:1;;73257:25:0;;;;;;;;;;;;73247:36;;;;;;73232:51;;73301:46;73320:5;73327:13;;73342:4;73301:18;:46::i;:::-;73294:53;73114:241;-1:-1:-1;;;;73114: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;65755:37::-;;;;;;;:::i;72642:119::-;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;72723:13:::1;:30:::0;72642:119::o;71290:723::-;51522:4;51546:16;;;:7;:16;;;;;;71408:13;;-1:-1:-1;;;;;51546:16:0;71439:113;;;;-1:-1:-1;;;71439:113:0;;25237:2:1;71439:113:0;;;25219:21:1;25276:2;25256:18;;;25249:30;25315:34;25295:18;;;25288:62;-1:-1:-1;;;25366:18:1;;;25359:45;25421:19;;71439:113:0;25209:237:1;71439:113:0;71567:8;;;;;;;71563:71;;71608:14;71601:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71290:723;;;:::o;71563:71::-;71646:28;71677:10;:8;:10::i;:::-;71646:41;;71749:1;71724:14;71718:28;:32;:287;;;;;;;;;;;;;;;;;71842:14;71883:18;:7;:16;:18::i;:::-;71928:13;71799:165;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71718:287;71698:307;71290:723;-1:-1:-1;;;71290:723:0:o;68079:1247::-;68179:14;;;;;;;68171:62;;;;-1:-1:-1;;;68171:62:0;;28491:2:1;68171:62:0;;;28473:21:1;28530:2;28510:18;;;28503:30;28569:34;28549:18;;;28542:62;-1:-1:-1;;;28620:18:1;;;28613:33;28663:19;;68171:62:0;28463:225:1;68171:62:0;68253:6;;;;;;;68252:7;68244:57;;;;-1:-1:-1;;;68244:57:0;;;;;;;:::i;:::-;68347:1;68336:7;:12;;68314:110;;;;-1:-1:-1;;;68314:110:0;;;;;;;:::i;:::-;68463:10;68446:28;;;;:16;:28;;;;;;68488:1;;68446:38;;68477:7;;68446:38;:::i;:::-;:43;;68437:105;;;;-1:-1:-1;;;68437:105:0;;;;;;;:::i;:::-;68563:25;68570:10;68582:5;68563:6;:25::i;:::-;68555:95;;;;-1:-1:-1;;;68555:95:0;;16465:2:1;68555:95:0;;;16447:21:1;16504:2;16484:18;;;16477:30;16543:34;16523:18;;;16516:62;16614:27;16594:18;;;16587:55;16659:19;;68555:95:0;16437:247:1;68555:95:0;68720:10;;68708:9;;:22;;;;:::i;:::-;68697:7;68685:9;;:19;;;;:::i;:::-;:45;;68663:133;;;;-1:-1:-1;;;68663:133:0;;;;;;;:::i;:::-;68849:9;68838:7;68829:6;;:16;;;;:::i;:::-;:29;;68807:129;;;;-1:-1:-1;;;68807:129:0;;;;;;;:::i;:::-;68947:18;;68976:343;69004:7;68998:3;:13;68976:343;;;69035:21;:9;1083:19;;1101:1;1083:19;;;994:127;69035:21;69084:9;964:14;69071:32;;69118:33;69128:10;69140;69118:9;:33::i;:::-;69214:10;69197:28;;;;:16;:28;;;;;;:32;;69228:1;69197:32;:::i;:::-;69183:10;69166:28;;;;:16;:28;;;;;:63;69255:8;;:12;;69266:1;69255:12;:::i;:::-;69244:8;:23;69294:9;;:13;;69306:1;69294:13;:::i;:::-;69282:9;:25;69013:5;;;;:::i;:::-;;;;68976:343;;72021:151;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;72131:33;;::::1;::::0;:13:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;72180:126::-:0;13440:6;;-1:-1:-1;;;;;13440:6:0;12171:10;13587:23;13579:68;;;;-1:-1:-1;;;13579:68:0;;;;;;;:::i;:::-;72266: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;;16058:2:1;14357:73:0::1;::::0;::::1;16040:21:1::0;16097:2;16077:18;;;16070:30;16136:34;16116:18;;;16109:62;-1:-1:-1;;;16187:18:1;;;16180:36;16233:19;;14357:73:0::1;16030: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;;19200:2:1;17059:73:0;;;19182:21:1;19239:2;19219:18;;;19212:30;19278:31;19258:18;;;19251:59;19327:18;;17059:73:0;19172: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;;18773:2:1;17208:78:0;;;18755:21:1;18812:2;18792:18;;;18785:30;18851:34;18831:18;;;18824:62;18922:28;18902:18;;;18895:56;18968:19;;17208:78:0;18745: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;;19965:2:1;51861:73:0;;;19947:21:1;20004:2;19984:18;;;19977:30;20043:34;20023:18;;;20016:62;-1:-1:-1;;;20094:18:1;;;20087:42;20146:19;;51861:73:0;19937: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;;24827:2:1;54867:85:0;;;24809:21:1;24866:2;24846:18;;;24839:30;24905:34;24885:18;;;24878:62;-1:-1:-1;;;24956:18:1;;;24949:39;25005:19;;54867:85:0;24799:231:1;54867:85:0;-1:-1:-1;;;;;54971:16:0;;54963:65;;;;-1:-1:-1;;;54963:65:0;;18014:2:1;54963:65:0;;;17996:21:1;18053:2;18033:18;;;18026:30;18092:34;18072:18;;;18065:62;-1:-1:-1;;;18143:18:1;;;18136:34;18187:19;;54963:65:0;17986: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;;18419:2:1;55893:55:0;;;18401:21:1;18458:2;18438:18;;;18431:30;18497:27;18477:18;;;18470:55;18542:18;;55893:55:0;18391: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;67104:100::-;67156:13;67189:7;67182: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;;28080:2:1;26868:85:0;;;28062:21:1;28119:2;28099:18;;;28092:30;28158:34;28138:18;;;28131:62;-1:-1:-1;;;28209:18:1;;;28202:40;28259:19;;26868:85:0;28052: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;;23692:2:1;53507:61:0;;;23674:21:1;;;23711:18;;;23704:30;23770:34;23750:18;;;23743:62;23822:18;;53507:61:0;23664: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;;16891:2:1;53579:58:0;;;16873:21:1;16930:2;16910:18;;;16903:30;16969;16949:18;;;16942:58;17017:18;;53579:58:0;16863: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;;27309:2:1;19868:60:0;;;27291:21:1;27348:2;27328:18;;;27321:30;27387:31;27367:18;;;27360:59;27436:18;;19868:60:0;27281: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;29563:4;29582:17;;;29632:4;29616: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;15024:414::-;15226:2;15208:21;;;15265:2;15245:18;;;15238:30;15304:34;15299:2;15284:18;;15277:62;-1:-1:-1;;;15370:2:1;15355:18;;15348:48;15428:3;15413:19;;15198:240::o;17405:402::-;17607:2;17589:21;;;17646:2;17626:18;;;17619:30;17685:34;17680:2;17665:18;;17658:62;-1:-1:-1;;;17751:2:1;17736:18;;17729:36;17797:3;17782:19;;17579:228::o;20176:407::-;20378:2;20360:21;;;20417:2;20397:18;;;20390:30;20456:34;20451:2;20436:18;;20429:62;-1:-1:-1;;;20522:2:1;20507:18;;20500:41;20573:3;20558:19;;20350:233::o;20588:402::-;20790:2;20772:21;;;20829:2;20809:18;;;20802:30;20868:34;20863:2;20848:18;;20841:62;-1:-1:-1;;;20934:2:1;20919:18;;20912:36;20980:3;20965:19;;20762:228::o;20995:401::-;21197:2;21179:21;;;21236:2;21216:18;;;21209:30;21275:34;21270:2;21255:18;;21248:62;-1:-1:-1;;;21341:2:1;21326:18;;21319:35;21386:3;21371:19;;21169:227::o;24264:356::-;24466:2;24448:21;;;24485:18;;;24478:30;24544:34;24539:2;24524:18;;24517:62;24611:2;24596:18;;24438:182::o;25853:412::-;26055:2;26037:21;;;26094:2;26074:18;;;26067:30;26133:34;26128:2;26113:18;;26106:62;-1:-1:-1;;;26199:2:1;26184:18;;26177:46;26255:3;26240:19;;26027:238::o;26270:413::-;26472:2;26454:21;;;26511:2;26491:18;;;26484:30;26550:34;26545:2;26530:18;;26523:62;-1:-1:-1;;;26616:2:1;26601:18;;26594:47;26673:3;26658:19;;26444:239::o;26688:414::-;26890:2;26872:21;;;26929:2;26909:18;;;26902:30;26968:34;26963:2;26948:18;;26941:62;-1:-1:-1;;;27034:2:1;27019:18;;27012:48;27092:3;27077:19;;26862:240::o;29236:275::-;29307:2;29301:9;29372:2;29353:13;;-1:-1:-1;;29349:27:1;29337:40;;29407:18;29392:34;;29428:22;;;29389:62;29386:2;;;29454:18;;:::i;:::-;29490:2;29483:22;29281:230;;-1:-1:-1;29281:230:1:o;29648:128::-;29688:3;29719:1;29715:6;29712:1;29709:13;29706:2;;;29725:18;;:::i;:::-;-1:-1:-1;29761:9:1;;29696:80::o;29781:120::-;29821:1;29847;29837:2;;29852:18;;:::i;:::-;-1:-1:-1;29886:9:1;;29827:74::o;29906:168::-;29946:7;30012:1;30008;30004:6;30000:14;29997:1;29994:21;29989:1;29982:9;29975:17;29971:45;29968:2;;;30019:18;;:::i;:::-;-1:-1:-1;30059:9:1;;29958:116::o;30079:125::-;30119:4;30147:1;30144;30141:8;30138:2;;;30152:18;;:::i;:::-;-1:-1:-1;30189:9:1;;30128:76::o;30209:258::-;30281:1;30291:113;30305:6;30302:1;30299:13;30291:113;;;30381:11;;;30375:18;30362:11;;;30355:39;30327:2;30320:10;30291:113;;;30422:6;30419:1;30416:13;30413:2;;;-1:-1:-1;;30457:1:1;30439:16;;30432:27;30262:205::o;30472:380::-;30551:1;30547:12;;;;30594;;;30615:2;;30669:4;30661:6;30657:17;30647:27;;30615:2;30722;30714:6;30711:14;30691:18;30688:38;30685:2;;;30768:10;30763:3;30759:20;30756:1;30749:31;30803:4;30800:1;30793:15;30831:4;30828:1;30821:15;30685:2;;30527:325;;;:::o;30857:135::-;30896:3;-1:-1:-1;;30917:17:1;;30914:2;;;30937:18;;:::i;:::-;-1:-1:-1;30984:1:1;30973:13;;30904:88::o;30997:112::-;31029:1;31055;31045:2;;31060:18;;:::i;:::-;-1:-1:-1;31094:9:1;;31035:74::o;31114:127::-;31175:10;31170:3;31166:20;31163:1;31156:31;31206:4;31203:1;31196:15;31230:4;31227:1;31220:15;31246:127;31307:10;31302:3;31298:20;31295:1;31288:31;31338:4;31335:1;31328:15;31362:4;31359:1;31352:15;31378:127;31439:10;31434:3;31430:20;31427:1;31420:31;31470:4;31467:1;31460:15;31494:4;31491:1;31484:15;31510:131;-1:-1:-1;;;;;31585:31:1;;31575:42;;31565:2;;31631:1;31628;31621:12;31646:118;31732:5;31725:13;31718:21;31711:5;31708:32;31698:2;;31754:1;31751;31744:12;31769:131;-1:-1:-1;;;;;;31843:32:1;;31833:43;;31823:2;;31890:1;31887;31880:12

Swarm Source

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